.crm-shell{max-width:1440px;margin:0 auto;padding:30px 32px 70px}.crm-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.crm-heading h1{font-size:32px;margin:2px 0 0;letter-spacing:-.8px}.crm-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #d9e5e3;margin:18px 0 24px;padding-bottom:8px}.crm-tabs a{padding:10px 16px;text-decoration:none;border-radius:8px;color:#486362;font-weight:600;font-size:14px}.crm-tabs a[aria-current=page]{background:var(--teal-800);color:white}.crm-tabs a:hover{background:#e4efec}.crm-tabs a[aria-current=page]:hover{background:var(--teal-900)}.crm-card{background:#fff;border:1px solid #dce5e2;border-radius:14px;padding:24px;margin:0 0 22px;box-shadow:0 3px 15px #15373205}.crm-card h2{font-size:21px;margin:0 0 14px}.crm-card p{line-height:1.6}.crm-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.crm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.crm-stats article{padding:20px 24px;border:1px solid #dce5e2;background:#fff;border-radius:12px}.crm-stats small{display:block;color:#637775;margin-bottom:12px}.crm-stats strong{display:block;font-size:25px;font-variant-numeric:tabular-nums}.crm-toolbar,.crm-access-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.crm-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crm-inline{display:inline-block;margin:0}.crm-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 16px}.crm-filters .crm-field{min-width:180px;flex:1}.crm-filters button{margin-bottom:0}.crm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.crm-form{display:flex;flex-direction:column;gap:18px}.crm-form>.button{align-self:flex-start}.crm-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#3c5756}.crm-field input,.crm-field select,.crm-field textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid #ccdad7;border-radius:7px;background:#fff;color:#243e3d;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;box-sizing:border-box}.crm-field input:focus,.crm-field select:focus,.crm-field textarea:focus{outline:2px solid #8ec9bb;outline-offset:1px}.crm-field input[type=color]{padding:4px;max-width:100px}.crm-check{display:flex;align-items:center;gap:7px;font-size:14px}.crm-check input{width:17px;height:17px;accent-color:var(--teal-800)}.crm-table-wrap{overflow:auto;max-width:100%;margin:14px 0}.crm-table{width:100%;border-collapse:collapse;font-size:14px;white-space:normal}.crm-table th{text-align:left;background:#f3f7f5;color:#536e6a;text-transform:uppercase;font-size:11px;letter-spacing:.6px;padding:13px 14px;border-bottom:1px solid #dce5e2}.crm-table td{padding:16px 14px;border-bottom:1px solid #e8eeeb;vertical-align:top}.crm-table small,.crm-access-row small,.crm-note small{display:block;color:#758884;margin-top:5px;font-size:12px}.crm-table tr:last-child td{border-bottom:0}.crm-table td.crm-number,.crm-table th.crm-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.crm-badge{display:inline-flex;font-size:11px;letter-spacing:.1px;padding:5px 9px;border-radius:20px;background:#edf2f0;color:#4e6965;white-space:nowrap}.crm-status-paid,.crm-status-accepted,.crm-status-active{background:#e6f3ea;color:#237144}.crm-status-overdue,.crm-status-failed,.crm-status-attention{background:#ffede6;color:#ac431d}.crm-status-draft,.crm-status-prospect{background:#eef0fb;color:#525e91}.crm-status-partial,.crm-status-sending,.crm-status-unknown{background:#fff4d9;color:#916315}.crm-status-sent,.crm-status-agreement{background:#e4f3f3;color:#116e71}.crm-note{border:1px solid #e1e9e5;border-left:3px solid #8cb4a8;border-radius:8px;padding:16px;margin:14px 0}.crm-note-high{border-left-color:#d86a4b;background:#fffcf9}.crm-note .crm-toolbar{margin-bottom:0}.crm-note p{white-space:normal;overflow-wrap:anywhere;margin:10px 0}.crm-muted{opacity:.65}.crm-text-link{color:var(--teal-800);text-decoration:none;font-weight:600}.crm-text-link:hover{text-decoration:underline}.crm-empty{color:#7e8f8a;padding:18px 0;text-align:center}.crm-detail{display:grid;grid-template-columns:180px 1fr;gap:15px}.crm-detail dt{color:#68817a}.crm-detail dd{margin:0}.crm-total-preview{display:flex;justify-content:flex-end;gap:25px;flex-wrap:wrap;padding:22px 0;font-variant-numeric:tabular-nums}.crm-total-preview strong{color:var(--teal-800);font-size:19px}.crm-total-preview output{margin-left:7px}.crm-lines{min-width:890px}.crm-lines td:first-child{min-width:280px;width:40%}.crm-lines td:not(:first-child){min-width:90px}.crm-lines .crm-field{font-size:11px;margin:0 0 7px}.crm-lines .crm-field input,.crm-lines .crm-field select{min-height:35px;padding:6px;font-size:13px}.crm-lines td:first-child input{max-width:140px;display:inline}.crm-remove{display:block;background:#f5edeb;border:0;border-radius:6px;color:#9b4a36;font-size:23px;cursor:pointer;margin-top:12px}.crm-payment{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #e1e9e5}.crm-custom-row{border:1px solid #d4e2dd;padding:20px;margin:16px 0;border-radius:8px}.crm-custom-row legend{padding:0 7px;color:#53756b}.crm-custom-row .crm-check{display:inline-flex;margin:16px 18px 0 0}.crm-access-row{padding:15px 0;border-bottom:1px solid #dce5e2}.crm-logo-preview{max-width:230px;max-height:90px;object-fit:contain;align-self:flex-start}.crm-ticket-context{max-width:1300px;margin:20px auto 0;background:#f3f8ef;border:1px solid #d7e4cd;border-radius:10px;padding:17px 22px}.crm-ticket-context .crm-toolbar{margin-bottom:0}.crm-ticket-context details{margin-top:12px}.crm-ticket-context summary{cursor:pointer;font-size:14px}.crm-ticket-note{border-top:1px solid #d7e4cd;padding-top:10px;margin-top:10px;font-size:13px}.crm-ticket-note p{margin:5px 0;overflow-wrap:anywhere}@media(max-width:900px){.crm-stats{grid-template-columns:1fr 1fr}.crm-columns{grid-template-columns:1fr}.crm-shell{padding:20px 16px}.crm-card{padding:18px}.crm-heading h1{font-size:26px}.crm-ticket-context{margin:15px}}@media(max-width:550px){.crm-grid{grid-template-columns:1fr}.crm-tabs a{padding:9px 10px}.crm-total-preview{flex-direction:column;gap:8px}.crm-detail{grid-template-columns:1fr}.crm-stats article{padding:15px}.crm-stats strong{font-size:21px}}
