.crm-shell{background:#f4f7f6;min-height:100vh}.crm-layout{grid-template-columns:230px minmax(0,1fr);min-height:720px;display:grid}.crm-sidebar{color:#fff;background:#101d1a;padding:28px 18px}.crm-brand{border-bottom:1px solid #ffffff17;align-items:center;gap:10px;margin-bottom:18px;padding:0 10px 24px;display:flex}.crm-brand-mark{background:var(--main-color,#ca8f43);border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.crm-brand strong{display:block}.crm-brand span{color:#9fb1ac;font-size:12px;display:block}.crm-nav{gap:6px;display:grid}.crm-nav button{color:#c6d2cf;text-align:left;background:0 0;border:0;border-radius:8px;width:100%;padding:11px 12px;transition:all .2s}.crm-nav button i{width:24px}.crm-nav button:hover,.crm-nav button.active{color:#fff;background:#ca8f4329}.crm-main{min-width:0;padding:30px}.crm-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.crm-heading h1{color:#132521;margin:0 0 5px;font-size:28px}.crm-heading p{color:#71817d;margin:0}.crm-add-btn,.crm-secondary-btn,.crm-danger-btn{border:0;border-radius:7px;padding:11px 16px;font-weight:600}.crm-add-btn{background:var(--main-color,#ca8f43);color:#fff}.crm-secondary-btn{color:#4c625d;background:#edf2f0}.crm-danger-btn{color:#b84d3a;background:#fff0ed}.crm-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.crm-stat,.crm-panel,.crm-table-wrap{background:#fff;border:1px solid #e7ecea;border-radius:12px;box-shadow:0 8px 24px #152d260a}.crm-stat{padding:18px}.crm-stat-top{justify-content:space-between;align-items:center;display:flex}.crm-stat-icon{color:#55756b;background:#edf4f1;border-radius:9px;place-items:center;width:40px;height:40px;display:grid}.crm-stat strong{color:#172b25;margin-top:12px;font-size:24px;display:block}.crm-stat span{color:#7a8985;font-size:13px}.crm-grid{grid-template-columns:1.45fr 1fr;gap:18px;display:grid}.crm-panel{padding:20px}.crm-panel-header,.crm-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.crm-panel-header h3,.crm-toolbar h3{color:#1a302a;margin:0;font-size:17px}.crm-search{border:1px solid #dde6e3;border-radius:7px;outline:none;min-width:220px;padding:9px 12px}.crm-search:focus,.crm-modal input:focus,.crm-modal select:focus,.crm-modal textarea:focus{border-color:var(--main-color,#ca8f43);box-shadow:0 0 0 3px #ca8f431f}.crm-list{gap:10px;display:grid}.crm-list-item{border-bottom:1px solid #edf1ef;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 0;display:grid}.crm-list-item:last-child{border-bottom:0}.crm-avatar{color:#526d64;background:#eef3f1;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.crm-list-item strong,.crm-list-item span{display:block}.crm-list-item span,.crm-muted{color:#7d8c88;font-size:13px}.crm-status{color:#587068;background:#edf3f0;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:600;display:inline-block}.crm-status.new,.crm-status.waiting,.crm-status.quote{color:#956815;background:#fff4dc}.crm-status.won,.crm-status.paid,.crm-status.delivered{color:#39825b;background:#e7f5ec}.crm-status.lost,.crm-status.cancelled{color:#b75240;background:#fbeae7}.crm-table-wrap{overflow-x:auto}.crm-table{border-collapse:collapse;width:100%}.crm-table th,.crm-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #edf1ef;padding:13px 16px}.crm-table th{color:#7e8d89;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.crm-table td{color:#425650}.crm-action{color:#71857f;background:0 0;border:0;padding:5px}.crm-actions{gap:4px;display:flex}.crm-kanban{grid-template-columns:repeat(4,minmax(210px,1fr));gap:14px;display:grid;overflow-x:auto}.crm-kanban-column{background:#edf2f0;border-radius:10px;min-height:380px;padding:12px}.crm-kanban-column h3{color:#52665f;justify-content:space-between;margin:2px 2px 12px;font-size:14px;display:flex}.crm-lead{background:#fff;border:1px solid #e3e9e7;border-radius:9px;margin-bottom:9px;padding:12px;box-shadow:0 4px 12px #1e37300a}.crm-lead strong{color:#273c36;margin-bottom:5px;display:block}.crm-lead p{color:#7a8985;margin:0 0 8px;font-size:13px}.crm-modal-backdrop{z-index:1000;background:#0c1d1894;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.crm-modal{background:#fff;border-radius:12px;width:min(560px,100%);max-height:calc(100vh - 40px);padding:22px;overflow-y:auto}.crm-modal-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.crm-modal-header h2{color:#1c302a;margin:0;font-size:20px}.crm-modal-close{color:#7b8a86;background:0 0;border:0}.crm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.crm-field.full{grid-column:1/-1}.crm-field label{color:#5d706a;margin-bottom:6px;font-size:13px;font-weight:600;display:block}.crm-modal input,.crm-modal select,.crm-modal textarea{border:1px solid #dfe7e4;border-radius:7px;outline:none;width:100%;padding:10px 12px}.crm-modal textarea{resize:vertical;min-height:90px}.crm-modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.crm-empty{text-align:center;color:#83918d;padding:28px}.crm-task-row{border-bottom:1px solid #edf1ef;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:12px 0;display:grid}.crm-task-row:last-child{border-bottom:0}.crm-task-row.done strong{color:#98a39f;text-decoration:line-through}.crm-task-row input[type=checkbox]{accent-color:var(--main-color,#ca8f43)}.crm-logout{color:#c6d2cf;text-align:left;background:0 0;border:0;border-radius:8px;width:100%;margin-top:18px;padding:11px 12px}.crm-logout i{width:24px}.crm-logout:hover{color:#fff;background:#ca8f4329}.crm-auth{background:linear-gradient(135deg,#edf3f0 0%,#f8faf9 100%);place-items:center;min-height:620px;padding:40px 20px;display:grid}.crm-auth-card{background:#fff;border:1px solid #e4ebe8;border-radius:12px;gap:14px;width:min(420px,100%);padding:28px;display:grid;box-shadow:0 20px 50px #152d261a}.crm-auth-brand{color:#183028;border:0;border-bottom:1px solid #edf1ef;margin:0 0 6px;padding:0 0 14px}.crm-auth-submit{width:100%;margin-top:4px}.crm-auth-switch{color:#667973;background:0 0;border:0;font-size:13px}.crm-auth-error,.crm-auth-notice{border-radius:7px;padding:10px 12px;font-size:13px}.crm-auth-error{color:#a64b3b;background:#fbeae7}.crm-auth-notice{color:#397b5a;background:#e7f5ec}@media (max-width:991px){.crm-layout{grid-template-columns:76px minmax(0,1fr)}.crm-sidebar{padding:20px 10px}.crm-brand{justify-content:center;padding-inline:0}.crm-brand-text,.crm-nav button span{display:none}.crm-nav button{text-align:center;padding-inline:5px}.crm-nav button i{width:auto}.crm-logout{text-align:center;padding-inline:5px}.crm-logout i{width:auto}.crm-logout span{display:none}.crm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-grid{grid-template-columns:1fr}}@media (max-width:575px){.crm-layout{display:block}.crm-sidebar{z-index:20;align-items:center;padding:8px;display:flex;position:sticky;top:0;overflow-x:auto}.crm-brand{border:0;margin:0 4px 0 0;padding:0}.crm-brand-mark{width:42px;height:42px}.crm-nav{display:flex}.crm-nav button{flex:0 0 42px;width:42px;height:42px}.crm-main{padding:18px 12px}.crm-heading{align-items:flex-start}.crm-heading h1{font-size:22px}.crm-heading p{display:none}.crm-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crm-stat{padding:12px}.crm-stat strong{font-size:19px}.crm-toolbar{flex-direction:column;align-items:stretch}.crm-search{width:100%;min-width:0}.crm-form-grid{grid-template-columns:1fr}.crm-field.full{grid-column:auto}}.crm-shell{background:#f4f5f6}.crm-sidebar{background:#14283f}.crm-brand-mark,.crm-add-btn{background:#c8793d}.crm-nav button:hover,.crm-nav button.active,.crm-logout:hover{background:#c8793d33}.crm-heading h1,.crm-stat strong,.crm-panel-header h3,.crm-toolbar h3,.crm-modal-header h2,.crm-auth-brand{color:#14283f}.crm-heading p,.crm-stat span,.crm-muted,.crm-brand span{color:#687581}.crm-sidebar .crm-brand span{color:#c3cbd2}.crm-add-btn:hover{color:#fff;background:#ad6534}.crm-stat-icon,.crm-avatar,.crm-secondary-btn{color:#14283f;background:#f4f5f6}.crm-stat,.crm-panel,.crm-table-wrap,.crm-modal,.crm-auth-card{border-color:#e1e4e7;box-shadow:0 8px 24px #14283f0f}.crm-auth{background:linear-gradient(135deg,#f4f5f6 0%,#fff 100%)}.crm-auth-layout{background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) 420px;width:min(100%,980px);display:grid;overflow:hidden;box-shadow:0 22px 60px #14283f1f}.crm-auth-intro{color:#fff;background:linear-gradient(145deg,#14283f 0%,#26394e 100%);flex-direction:column;justify-content:center;padding:clamp(32px,5vw,64px);display:flex;position:relative;overflow:hidden}.crm-auth-intro:after{content:"";border:1px solid #c8793d61;border-radius:50%;width:360px;height:360px;position:absolute;bottom:-180px;right:-120px}.crm-auth-eyebrow{z-index:1;color:#e5a06b;letter-spacing:.16em;font-size:11px;font-weight:800;position:relative}.crm-auth-intro h1{z-index:1;color:#fff;max-width:430px;margin:20px 0 14px;font-size:clamp(30px,4vw,44px);line-height:1.15;position:relative}.crm-auth-intro>p{z-index:1;color:#d3dce4;max-width:450px;margin:0;font-size:15px;line-height:1.8;position:relative}.crm-auth-intro ul{z-index:1;color:#f4f5f6;gap:14px;margin:30px 0 0;padding:0;font-size:13px;list-style:none;display:grid;position:relative}.crm-auth-intro li{align-items:center;gap:10px;display:flex}.crm-auth-intro li i{color:#e5a06b}.crm-auth-card{width:auto;box-shadow:none;border:0;border-radius:0;align-content:center;gap:16px;padding:38px}.crm-auth-brand{border-bottom-color:#e1e4e7;margin-bottom:0;padding-bottom:16px}.crm-auth-brand .crm-brand-mark{color:#fff;border-radius:8px;flex:0 0 38px}.crm-auth-brand .crm-brand-text strong{color:#14283f;letter-spacing:.04em;font-size:15px}.crm-auth-brand .crm-brand-text span{color:#687581}.crm-auth-heading h2{color:#14283f;margin:2px 0 5px;font-size:25px}.crm-auth-heading p{color:#687581;margin:0;font-size:13px;line-height:1.6}.crm-auth-card .crm-field label{color:#405366}.crm-auth-card .crm-field input{color:#14283f;background:#fff;border:1px solid #dce2e7;border-radius:6px;outline:none;width:100%;min-height:46px;padding:11px 12px}.crm-auth-card .crm-field input:focus{border-color:#c8793d;box-shadow:0 0 0 3px #c8793d24}.crm-password-field{position:relative}.crm-password-field input{padding-right:46px!important}.crm-password-toggle{color:#687581;cursor:pointer;background:0 0;border:0;border-radius:5px;width:34px;height:34px;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.crm-password-toggle:hover{color:#14283f;background:#f4f5f6}.crm-auth-submit{background:#c8793d;border-radius:6px;min-height:46px}.crm-auth-submit:hover:not(:disabled){background:#ad6534}.crm-auth-submit:disabled{cursor:not-allowed;opacity:.65}.crm-auth-switch{color:#687581;cursor:pointer;padding:8px}.crm-auth-switch:hover:not(:disabled){color:#c8793d}.crm-auth-switch:disabled{cursor:not-allowed;opacity:.65}.crm-auth-error,.crm-auth-notice{border:1px solid #0000;line-height:1.5}.crm-auth-error{border-color:#f2d5cf}.crm-auth-notice{border-color:#cfe7d8}@media (max-width:767px){.crm-auth{min-height:calc(100vh - 100px);padding:24px 16px}.crm-auth-layout{grid-template-columns:1fr;max-width:500px}.crm-auth-intro{padding:28px}.crm-auth-intro h1{margin-top:15px;font-size:30px}.crm-auth-intro ul{gap:9px;margin-top:20px}.crm-auth-card{padding:26px}}
