body.client-rules-page main{background:#f4eefb}body.client-rules-page header{background:#fff}.client-rules{--cr-purple:#7750b8;--cr-light:#f4eefb;color:#334155}.client-rules h2{font-size:17px;margin:24px 0 14px}.cr-tabs{display:flex;gap:8px;border-bottom:1px solid #d9c9ee;margin-bottom:20px}.cr-tabs button{padding:12px 18px;border:0;background:transparent;color:#6e6082}.cr-tabs button.active{border-bottom:3px solid #7750b8;color:#65419d;font-weight:700}.client-rules .primary{background:#7750b8;border-color:#7750b8}.client-rules-nav button.active{background:#eee5fb;color:#68419e}.cr-notice{padding:15px 18px;line-height:1.8;background:#f4eefb;border:1px solid #e4d7f4;border-radius:8px;font-size:13px}.cr-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.cr-fields{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:16px;background:white;padding:20px;border:1px solid #e2d9ed;border-radius:8px}.cr-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.cr-fields input,.cr-table input{min-width:80px;width:100%;border:1px solid #d8d1e2;border-radius:5px;padding:8px;background:#fff;color:#334155}.cr-table input[type=checkbox],.cr-fields input[type=checkbox]{width:auto;min-width:0;accent-color:#7750b8}.cr-scroll{overflow:auto;border:1px solid #e1d8ed;border-radius:8px;background:white}.cr-table{border-collapse:collapse;width:100%;font-size:12px}.cr-table th,.cr-table td{padding:12px;border-right:1px solid #ece6f3;border-bottom:1px solid #ece6f3;vertical-align:top;text-align:left}.cr-table thead th{background:#f1eaf9;color:#65438c;white-space:nowrap}.cr-table small{display:block;color:#7e748b;font-size:11px;line-height:1.7;margin:4px 0}.cr-table td:first-child{min-width:185px}.cr-table label{display:block;line-height:1.8;font-size:11px}.cr-table input[type=time]{min-width:95px;margin-bottom:5px}.cr-table td:nth-child(2){min-width:110px}.cr-table button{font-size:11px}.cr-small{font-size:12px;line-height:1.8;color:#7a6d89}.cr-issues{padding:16px 20px;border-radius:8px;margin:15px 0;font-size:12px;line-height:1.8}.cr-issues ul{margin:10px 0 0;padding-left:22px;max-height:230px;overflow:auto}.cr-issues.bad{background:#fff3ed;border:1px solid #f0c8b4;color:#9c4b27}.cr-issues.ok{background:#edf7ef;border:1px solid #c9e5ce;color:#30623d}.cr-issues.ok ul:empty{display:none}.cr-month th:first-child{position:sticky;left:0;background:#f8f5fc;z-index:1;min-width:140px}.cr-month td{padding:3px;min-width:104px}.cr-month .shift{min-height:70px;height:auto;white-space:normal;padding:6px;font-size:11px;border:0}.cr-month .cr-conflict{background:#fff0e8}.client-rules details{margin-top:20px;font-size:12px;line-height:1.9}.cr-checks{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.cr-checks label{font-size:12px;margin:0;display:flex;gap:5px;align-items:center}.cr-checks input{accent-color:#7750b8;width:auto}#crProfiles fieldset{border:1px solid #e3d9ef;border-radius:7px;margin:12px 0;padding:12px}#crProfiles legend{font-size:12px;color:#71519c}#crProfiles>h3{margin-top:22px}@media(max-width:800px){.cr-fields{grid-template-columns:repeat(2,minmax(120px,1fr))}.cr-tabs button{font-size:12px;padding:10px}.cr-actions .primary{width:100%}}
