.crm{min-height:100vh;background:#f4f6f1;color:#1c2422;font-size:15px}.crm-top{gap:12px 28px;justify-content:space-between;padding:14px 24px;background:#23362d;color:#fff}.crm-top,.crm-top nav{display:flex;flex-wrap:wrap;align-items:center}.crm-top nav{gap:6px 20px}.crm .crm-top .crm-link,.crm .crm-top a{color:#fff;font-size:.92rem;text-decoration:none}.crm-brand{letter-spacing:.2em;font-weight:600}.crm-brand span{letter-spacing:.05em;font-weight:400;opacity:.7;margin-left:6px}.crm-link{background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;font:inherit}.crm-main{max-width:1280px;margin:0 auto;padding:24px 16px 60px}.crm h1{font-size:1.6rem;margin:0 0 16px;font-family:Georgia,serif;font-weight:400}.crm h2{font-size:1.1rem;margin:0 0 12px}.crm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:22px}.crm-card{background:#fff;border:1px solid #dde2d7;border-radius:10px;padding:16px;margin-bottom:18px}.crm-kpi strong{display:block;font-size:1.7rem;font-weight:500}.crm-kpi span{color:#5d6b61;font-size:.85rem}.crm-cols{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}@media(max-width:900px){.crm-cols{grid-template-columns:1fr}}.crm-table-wrap{overflow-x:auto}.crm table{width:100%;border-collapse:collapse;font-size:.9rem}.crm th{text-align:left;font-weight:500;color:#5d6b61;border-bottom:1px solid #cfd6ca;white-space:nowrap}.crm td,.crm th{padding:8px 10px}.crm td{border-bottom:1px solid #e4e8e0;vertical-align:top}.crm tr:hover td{background:#fafbf8}.crm a{color:#23362d}.crm td a{text-decoration:underline}.pill{display:inline-block;padding:2px 9px;border-radius:99px;font-size:.78rem;background:#e8ece4;white-space:nowrap}.pill.new{background:#eef1f6}.pill.contacted{background:#fff3cf}.pill.replied{background:#dff0ff}.pill.meeting{background:#e3dcff}.pill.offer{background:#ffe2c7}.pill.partner{background:#cfeccf}.pill.lost{background:#eee;color:#888}.pill.A{background:#23362d;color:#fff}.pill.B{background:#8aa08f;color:#fff}.pill.C{background:#cfd6ca}.overdue{color:#b42318;font-weight:600}.countries{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.country{border:1px solid #dde2d7;border-radius:8px;padding:8px 10px;background:#fff;font-size:.85rem;display:flex;justify-content:space-between;gap:8px}.country.none{border-color:#f0b4ad;background:#fff6f5}.country.partner{border-color:#8cc88c;background:#f2fbf2}.country b{font-weight:600}.crm .fields,.crm form.stack{display:grid;gap:12px}.crm .fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.crm label{display:grid;gap:4px;font-size:.85rem;color:#44524a}.crm input,.crm select,.crm textarea{font:inherit;font-size:.95rem;padding:8px 10px;border:1px solid #c9d1c4;border-radius:6px;background:#fff;color:#1c2422;width:100%;box-sizing:border-box}.crm textarea{min-height:90px}.crm textarea.mail{min-height:340px;font-family:inherit;line-height:1.5}.crm .btn{display:inline-block;background:#23362d;color:#fff;border:0;border-radius:6px;padding:9px 16px;font:inherit;font-size:.92rem;cursor:pointer;text-decoration:none}.crm .btn.alt{background:#fff;color:#23362d;border:1px solid #23362d}.crm .btn.danger{background:#fff;color:#b42318;border:1px solid #b42318}.crm .row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.msg{padding:10px 14px;border-radius:8px;margin-bottom:14px}.msg.err{background:#fdecea;border:1px solid #f0b4ad}.msg.ok{background:#e9f6e9;border:1px solid #a9d8a9}.muted{color:#5d6b61;font-size:.85rem}.act{border-left:3px solid #cfd6ca;padding:4px 0 8px 12px;margin-bottom:8px}.act small{color:#5d6b61}.check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important}.check input{width:auto}.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin-bottom:14px}.filters label{min-width:140px}.crm button{min-height:0;gap:6px}.crm .crm-link{background:none;border:0;padding:0;color:inherit;display:inline;width:auto}.crm .crm-note{background:#f4f1e8;border:1px solid #ddd5bf;border-radius:8px;padding:10px 14px}.crm .tpl a,.crm .tpl b{margin-right:10px}