.crm-page{--crm-ink:#21192f;--crm-muted:#746d80;--crm-line:#eae6ef;--crm-accent:#7137d5;max-width:1420px;margin:0 auto;padding:42px 34px 72px;color:var(--crm-ink);font-family:Inter,Arial,sans-serif;min-width:0}
.crm-page *{box-sizing:border-box}.crm-page button,.crm-page input,.crm-page select,.crm-page textarea{font:inherit}.crm-page button{cursor:pointer}.crm-page button:disabled{cursor:default;opacity:.55}.crm-page button:focus-visible,.crm-page a:focus-visible,.crm-page input:focus-visible,.crm-page select:focus-visible,.crm-page textarea:focus-visible{outline:3px solid #c9a8ff;outline-offset:3px}
.crm-page-heading{margin-bottom:30px}.crm-page .crm-eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;color:var(--crm-accent);margin:0 0 10px}.crm-page h1{font-size:clamp(29px,3vw,42px);letter-spacing:-.045em;line-height:1.12;margin:0 0 12px}.crm-page-heading>p:last-child{font-size:14px;color:var(--crm-muted);line-height:1.6;max-width:620px;margin:0}.crm-page h2{font-size:20px;letter-spacing:-.025em;line-height:1.3;margin:0}.crm-page h3{font-size:15px;line-height:1.4;margin:0}.crm-muted{font-size:13px;color:var(--crm-muted)}
.crm-workspace{display:grid;gap:22px;min-width:0}.crm-panel{min-width:0;background:#fff;border:1px solid var(--crm-line);border-radius:18px;padding:25px}.crm-section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.crm-section-title p:not(.crm-eyebrow){margin:7px 0 0;font-size:13px;line-height:1.6;color:var(--crm-muted)}.crm-section-title>.crm-primary{flex-shrink:0}
.crm-primary,.crm-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:9px;font-size:12px!important;font-weight:650;padding:10px 17px;border:1px solid transparent;text-decoration:none;line-height:1.3}.crm-primary{background:var(--crm-accent);color:#fff;box-shadow:0 4px 10px #7137d518}.crm-primary:hover:not(:disabled){background:#5f27c3}.crm-secondary{background:#fff;border-color:var(--crm-line);color:var(--crm-ink)}.crm-secondary:hover:not(:disabled){background:#faf8fe;border-color:#d4c5e8}.crm-text-button,.crm-text-link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:5px 0;color:var(--crm-accent);font-size:12px;font-weight:650;text-decoration:none;text-align:left}.crm-more{justify-self:center;margin-top:18px}.crm-success,.crm-error{border-radius:10px;padding:13px 15px;font-size:13px;line-height:1.6;margin:0}.crm-success{color:#19643c;background:#eef9f1;border:1px solid #cce9d5}.crm-error{color:#972d41;background:#fff1f3;border:1px solid #f3d9df}.crm-error button{margin:8px 0 0 12px}.crm-empty{padding:45px 15px;text-align:center;color:var(--crm-muted)}.crm-empty>svg{color:#b3a4c9;margin-bottom:12px}.crm-empty h3{color:var(--crm-ink);margin-bottom:7px}.crm-empty p{font-size:13px;line-height:1.5;margin:0}.crm-empty-small{padding:32px 10px}
.crm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.crm-metric{display:block;text-decoration:none;color:inherit;border:1px solid var(--crm-line);border-radius:17px;padding:23px 21px;background:#fff;transition:transform .15s,border-color .15s}.crm-metric:hover{transform:translateY(-2px);border-color:#c7b4e4}.crm-metric-label{display:flex;align-items:center;gap:9px;color:var(--crm-muted);font-size:12px;font-weight:550}.crm-metric-label svg{color:var(--crm-accent)}.crm-metric>strong{display:block;font-size:38px;font-weight:700;letter-spacing:-.055em;line-height:1.1;margin:22px 0 17px}.crm-metric-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--crm-muted);font-size:11px;line-height:1.5}.crm-metric-footer svg{flex-shrink:0;color:var(--crm-accent)}
.crm-dashboard-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;min-width:0}.crm-stage-overview{display:grid;gap:15px;margin:7px 0 26px}.crm-stage-overview>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--crm-muted);border-bottom:1px solid #f1eef5;padding-bottom:13px}.crm-stage-overview strong{background:#f3eefb;color:var(--crm-accent);border-radius:6px;min-width:27px;text-align:center;padding:4px;font-size:12px}.crm-quick-actions{display:flex;flex-wrap:wrap;gap:12px}.crm-task-preview{list-style:none;padding:0;margin:0 0 22px}.crm-task-preview li{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:15px 0;border-bottom:1px solid #f1eef5}.crm-task-open{border:0;background:none;text-align:left;padding:0;color:var(--crm-ink);font-size:13px;line-height:1.5}.crm-task-open small{display:block;color:var(--crm-muted);font-size:11px;font-weight:400;margin-top:5px}
.crm-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:22px}.crm-filters label{display:grid;gap:7px;min-width:145px;max-width:100%;font-size:11px;font-weight:650;color:var(--crm-muted)}.crm-filter-search{flex:1;min-width:180px!important}.crm-page input,.crm-page select,.crm-page textarea{min-width:0;width:100%;border:1px solid #e1dce8;border-radius:8px;padding:11px 12px;background:#fff;color:var(--crm-ink);font-size:13px;line-height:1.45}.crm-page input::placeholder,.crm-page textarea::placeholder{color:#aba4b4}.crm-page textarea{resize:vertical}.crm-page select[multiple]{min-height:125px}.crm-filters input,.crm-filters select{height:42px}.crm-badge{display:inline-flex;align-items:center;white-space:nowrap;background:#f3eefb;color:#694198;border:1px solid #e8dcf7;font-size:10px;font-weight:650;padding:5px 8px;border-radius:6px;line-height:1.3}.crm-danger{color:#a53847;background:#fff0f2;border-color:#f3d4da}
.crm-table-wrap{width:100%;overflow-x:auto;border:1px solid #f0edf4;border-radius:11px}.crm-table{border-collapse:collapse;width:100%;font-size:12px;min-width:680px}.crm-table th{text-align:left;padding:13px 15px;background:#faf9fc;color:var(--crm-muted);font-size:10px;font-weight:650;letter-spacing:.025em;border-bottom:1px solid var(--crm-line)}.crm-table td{padding:16px 15px;vertical-align:middle;border-bottom:1px solid #f1eef5;line-height:1.55}.crm-table tbody tr:last-child td{border-bottom:0}.crm-table td strong{font-size:12px;font-weight:650;display:block}.crm-table td span:not(.crm-badge),.crm-table td small{display:block}.crm-table td small{color:var(--crm-muted);font-size:11px}.crm-table td:last-child{min-width:120px}.crm-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.crm-form-grid{border:0;padding:0;margin:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.crm-field{display:grid;align-content:start;gap:8px;min-width:0;font-size:12px}.crm-field>span{color:#544b62;font-size:11px;font-weight:650}.crm-field>small{color:var(--crm-muted);font-size:10px;line-height:1.5}.crm-wide{grid-column:1/-1}.crm-search-inline{display:flex;gap:8px;min-width:0}.crm-search-inline>.crm-secondary{padding:8px 11px;min-height:36px}.crm-search-inline input{min-height:36px;padding:8px 10px;font-size:12px}.crm-form-actions,.crm-related-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.crm-related-actions{border-top:1px solid var(--crm-line);padding-top:20px;margin-top:24px}.crm-form-grid:disabled{opacity:.86}.crm-form-grid :disabled{background:#faf9fc;color:#6f667b}.crm-note-form{display:grid;gap:12px;margin-bottom:27px}.crm-note-form .crm-primary{justify-self:start}.crm-timeline{list-style:none;padding:0;margin:0}.crm-timeline>li{position:relative;display:flex;gap:13px;min-width:0;padding:0 0 24px}.crm-timeline>li:not(:last-child):before{content:'';position:absolute;top:10px;left:5px;width:1px;height:calc(100% - 5px);background:#e9e0f2}.crm-timeline-dot{width:11px;height:11px;flex-shrink:0;border-radius:50%;background:#c6a9ef;border:3px solid #f3ecfc;margin-top:5px;z-index:1}.crm-timeline p{font-size:13px;line-height:1.7;margin:0 0 6px;white-space:pre-wrap;overflow-wrap:anywhere}.crm-timeline small{font-size:10px;color:var(--crm-muted)}.crm-history>.crm-secondary{margin-top:8px}.crm-lead-detail{display:grid;grid-template-columns:120px 1fr;gap:15px;font-size:13px;line-height:1.6}.crm-lead-detail dt{color:var(--crm-muted)}.crm-lead-detail dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.crm-board-section{min-width:0}.crm-board-tools{margin-bottom:18px}.crm-board-tools .crm-filters{margin-bottom:0}.crm-loaded-count{margin:0 0 13px}.crm-board{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:13px;overflow-x:auto;padding-bottom:15px;align-items:start}.crm-lane{border-radius:13px;background:#f0edf5;border:1px solid #e7e1ee;min-width:0}.crm-lane>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 13px;border-top:3px solid #c3b3df;border-radius:12px 12px 0 0}.crm-lane>header h3{font-size:12px;font-weight:650}.crm-lane>header>span{border-radius:5px;background:#ffffffb3;min-width:22px;padding:3px 6px;text-align:center;font-size:10px;color:#756689}.crm-lane-visit>header{border-top-color:#9e9bda}.crm-lane-proposal>header{border-top-color:#d6af6e}.crm-lane-closed>header{border-top-color:#7aaf90}.crm-lane-lost>header{border-top-color:#c48a99}.crm-lane-cards{display:grid;gap:10px;padding:0 10px 10px}.crm-deal-card{background:#fff;border:1px solid #e8e1f0;border-radius:10px;padding:15px 12px;min-width:0;box-shadow:0 2px 5px #29163d03}.crm-deal-title{display:block;border:0;padding:0;background:none;color:var(--crm-ink);font-size:13px!important;font-weight:650;text-align:left;line-height:1.55;overflow-wrap:anywhere}.crm-deal-card>p{display:flex;gap:7px;align-items:flex-start;font-size:11px;line-height:1.55;color:var(--crm-muted);margin:10px 0;overflow-wrap:anywhere}.crm-deal-card>p svg{flex-shrink:0;margin-top:1px}.crm-deal-value{display:block;font-size:14px;margin:18px 0 8px;font-weight:650;overflow-wrap:anywhere}.crm-deal-card>small{display:block;font-size:10px;color:var(--crm-muted);margin-bottom:15px}.crm-card-stage{display:grid;gap:5px;border-top:1px solid #f1eef5;padding-top:12px;margin-top:6px;font-size:10px;color:var(--crm-muted)}.crm-card-stage select{padding:7px;font-size:11px}.crm-deal-card>.crm-text-button{margin-top:12px;font-size:10px}.crm-lane-empty{font-size:11px;line-height:1.7;padding:16px 7px;color:#a197ad;margin:0}.crm-board-section>.crm-empty{padding:25px}
.crm-task-list{list-style:none;padding:0;margin:0}.crm-task-list>li{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 0;border-bottom:1px solid var(--crm-line)}.crm-task-list>li:first-child{padding-top:5px}.crm-task-list>li:last-child{border-bottom:0}.crm-task-list p{font-size:12px;color:var(--crm-muted);margin:7px 0}.crm-task-list small{font-size:11px;color:var(--crm-muted)}.crm-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.crm-task-actions .crm-secondary{font-size:11px!important;min-height:35px;padding:8px 12px}
@media(max-width:1180px){.crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-dashboard-grid{grid-template-columns:1fr}.crm-page{padding:32px 24px 55px}}
@media(max-width:768px){.crm-page{padding:25px 17px 45px}.crm-page-heading{margin-bottom:24px}.crm-metrics{gap:12px}.crm-metric{padding:18px 14px}.crm-metric-label{font-size:10px;gap:6px}.crm-metric-label svg{width:16px}.crm-metric>strong{font-size:32px;margin:18px 0 12px}.crm-metric-footer{font-size:10px}.crm-panel{border-radius:13px;padding:19px 16px}.crm-section-title{align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:20px}.crm-section-title h2{font-size:18px}.crm-form-grid{grid-template-columns:1fr;gap:18px}.crm-wide{grid-column:auto}.crm-filters{gap:10px}.crm-filters label{flex:1;min-width:130px}.crm-filter-search{flex-basis:100%!important}.crm-filters>.crm-secondary{width:100%}.crm-board{grid-template-columns:repeat(5,230px);gap:12px}.crm-task-list>li{align-items:flex-start;gap:16px}.crm-task-actions{align-items:flex-end;flex-direction:column;gap:9px}.crm-task-actions>.crm-secondary{font-size:10px!important;white-space:nowrap}.crm-quick-actions{display:grid;grid-template-columns:1fr}.crm-quick-actions>button{width:100%}.crm-lead-detail{grid-template-columns:1fr;gap:7px}.crm-lead-detail dd{margin-bottom:10px}.crm-task-preview li{align-items:flex-start}.crm-task-preview .crm-badge{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.crm-metric{transition:none}.crm-metric:hover{transform:none}}

.crm-project-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1.25rem}
.crm-project-nav a{padding:.5rem .75rem;color:#52318a;border-radius:.5rem;text-decoration:none;font-weight:600}
.crm-project-nav a:hover,.crm-project-nav a:focus-visible,.crm-project-nav a[aria-current=page]{background:#eee5fa}
