.crm-toolbar,.crm-tabs,.crm-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.crm-toolbar{margin:22px 0}.crm-tabs{justify-content:flex-start;gap:8px}.crm-toolbar .button{margin:0}.crm-heading h2{margin-bottom:6px}.crm-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0}.crm-filters .field{margin:0;flex:1 1 160px}.crm-filters .field:first-of-type{flex:2 1 240px}.crm-filters .check{margin:8px 0;min-width:140px}.crm-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-stats .stat strong{font-size:clamp(24px,3vw,36px)}.crm-pipeline{min-width:0}.crm-board{width:100%;overflow-x:auto;padding:4px 0 16px;scrollbar-width:auto}.crm-board:focus-visible{outline:3px solid #8055c9;outline-offset:4px}.crm-board-track{display:flex;align-items:stretch;gap:14px;width:max-content;min-height:260px}.crm-column{width:265px;flex:0 0 265px;background:#f5f6fa;border-radius:14px;border-top:4px solid #9ba6ba}.crm-column h3{font-size:15px;display:flex;justify-content:space-between;padding:15px 14px;margin:0}.crm-column h3 span{font-size:12px;background:#e5e7ef;border-radius:12px;min-width:24px;text-align:center;padding:2px 7px}.crm-stage-new{border-color:#a187df}.crm-stage-contact{border-color:#78a8e8}.crm-stage-qualified{border-color:#5abac1}.crm-stage-proposal{border-color:#e5be65}.crm-stage-negotiation{border-color:#e8a66c}.crm-stage-won{border-color:#59b48d}.crm-stage-lost{border-color:#aaacb7}.crm-column-cards{display:grid;gap:12px;padding:0 10px 12px}.crm-column-empty{padding:12px;color:#7e8598;font-size:13px}.crm-card{padding:16px;background:white;border:1px solid #e3e6ef;border-radius:11px;box-shadow:0 3px 12px #17243b05;overflow-wrap:anywhere}.crm-card h4{font-size:16px;line-height:1.35;margin:10px 0}.crm-card h4 a{color:#25213c;text-decoration:none}.crm-card h4 a:hover{text-decoration:underline}.crm-card p{font-size:13px;line-height:1.45;margin:8px 0}.crm-source{font-size:11px;font-weight:650;letter-spacing:.03em;background:#eee9f8;color:#634598;padding:4px 8px;border-radius:7px}.crm-card-meta{color:#77798c}.crm-task-count{font-size:12px}.crm-move{position:relative;display:flex;gap:6px;margin-top:14px}.crm-move select{min-width:0;width:100%;padding:8px;font-size:12px;border:1px solid #d9dce8;border-radius:7px}.crm-move .button{padding:6px 11px;margin:0}.crm-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:22px;align-items:start}.crm-detail-grid>div{min-width:0}.crm-detail-grid .admin-panel{margin-top:0;margin-bottom:22px}.crm-task{display:flex;justify-content:space-between;gap:15px;padding:16px 0;border-top:1px solid #e7e8ef;overflow-wrap:anywhere}.crm-task>div{min-width:0}.crm-task p{margin:6px 0;font-size:13px}.crm-task-done strong{text-decoration:line-through;color:#7e8598}.crm-task form{flex:0 0 auto}.crm-timeline{border-left:2px solid #e7e1f1;margin-left:7px;padding-left:20px}.crm-timeline article{position:relative;border-bottom:1px solid #eee;padding:0 0 14px;margin:0 0 18px;overflow-wrap:anywhere}.crm-timeline article:before{content:'';position:absolute;left:-26px;top:4px;width:9px;height:9px;border-radius:50%;background:#9874ce;border:1px solid white}.crm-timeline small{font-size:11px;color:#888}.crm-timeline p{font-size:14px;line-height:1.55}.crm-install-control{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.crm-install-pulse{animation:crm-install-glow 2.5s ease-in-out infinite}.crm-install-control p{font-size:12px}.crm-embed{display:block;width:100%;min-height:700px;border:0;border-radius:12px;background:white}.crm-switch{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #ddd8e9;border-radius:12px}.crm-switch input{appearance:none;width:48px;height:27px;background:#b6b4bf;border-radius:20px;position:relative;flex-shrink:0;cursor:pointer}.crm-switch input:before{content:'';position:absolute;width:21px;height:21px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .15s}.crm-switch input:checked{background:#8055c9}.crm-switch input:checked:before{transform:translateX(21px)}.crm-switch input:focus-visible{outline:3px solid #a187df;outline-offset:3px}.crm-switch span{line-height:1.45}.crm-settings-note{padding:14px;background:#f7f5fb;border-radius:10px;line-height:1.6}@keyframes crm-install-glow{0%,100%{box-shadow:0 0 0 0 #9c72d633}50%{box-shadow:0 0 0 7px #9c72d600;background-color:#f1e8ff}}@media(prefers-reduced-motion:reduce){.crm-install-pulse{animation:none}.crm-switch input:before{transition:none}}@media(max-width:1000px){.crm-detail-grid{grid-template-columns:1fr}.crm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.crm-toolbar{align-items:flex-start}.crm-toolbar .button{font-size:12px;padding:9px 11px}.crm-toolbar .crm-tabs{gap:6px}.crm-stats{gap:10px}.crm-filters{display:grid;grid-template-columns:1fr}.crm-filters .field{width:100%}.crm-filters .check{min-width:0}.crm-column{width:250px;flex-basis:250px}.crm-detail-grid .form-pair{grid-template-columns:1fr}.crm-task{flex-wrap:wrap}.crm-switch{align-items:flex-start}.crm-heading{gap:5px}}
.crm-admin-page .crm-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.crm-admin-page .crm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.crm-admin-page .admin-nav{display:flex;flex-wrap:nowrap;flex-direction:row;overflow-x:auto;gap:5px;padding-bottom:8px}.crm-admin-page .admin-nav a{white-space:nowrap;flex:0 0 auto}.crm-admin-page .crm-stats .stat{padding:14px;display:block}.crm-admin-page .crm-stats .stat strong{display:block;font-size:24px}.crm-admin-page .crm-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.crm-admin-page .crm-filters .field:first-of-type{grid-column:1/-1}.crm-admin-page .crm-filters .button{padding:10px 12px}.crm-admin-page .crm-filters>.check{font-size:12px}.crm-admin-page .crm-filters>a{grid-column:1/-1}.crm-admin-page .admin-main>.muted{margin-bottom:14px}.crm-admin-page .crm-toolbar{margin:14px 0}.crm-admin-page .crm-install-control p{margin:0}}
