#customerSettings{--cs-blue:#2863ee;--cs-ink:#213550;--cs-muted:#70829d;--cs-line:#e2eaf5;color:var(--cs-ink)}
#customerSettings .cs-page{max-width:1480px;margin:0 auto;padding:0 0 24px}
#customerSettings [hidden]{display:none!important}
#customerSettings h2{margin:0 0 8px;font-size:25px;letter-spacing:0}
#customerSettings h3{margin:0 0 9px;font-size:18px}#customerSettings h4{margin:0 0 8px;font-size:15px}
#customerSettings p{line-height:1.65}#customerSettings .cs-muted,#customerSettings .cs-heading p{color:var(--cs-muted);margin:0 0 16px;font-size:13px}
#customerSettings .cs-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 20px}
#customerSettings .cs-shop-label{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:13px;color:var(--cs-muted)}
#customerSettings input,#customerSettings select,#customerSettings textarea{font:inherit;border:1px solid #cfdaea;border-radius:6px;padding:10px 12px;background:white;color:var(--cs-ink);max-width:100%}
#customerSettings textarea{width:100%;resize:vertical;min-height:85px;margin:8px 0 0;line-height:1.6}
#customerSettings select{min-height:40px}#customerSettings input[type=checkbox],#customerSettings input[type=radio]{accent-color:var(--cs-blue);width:17px;height:17px;flex-shrink:0;margin:0}
#customerSettings button{cursor:pointer;border:1px solid #cfdaea;background:white;border-radius:6px;color:var(--cs-ink);padding:9px 15px;font:inherit;line-height:1.35}
#customerSettings button:hover{border-color:var(--cs-blue);color:var(--cs-blue)}
#customerSettings button.primary{background:var(--cs-blue);border-color:var(--cs-blue);color:white}#customerSettings button:disabled{opacity:.5;cursor:default}
#customerSettings :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #9cc0ff;outline-offset:3px}
#customerSettings .cs-tabs{display:flex;gap:32px;overflow-x:auto;border-bottom:1px solid var(--cs-line);margin-bottom:22px}
#customerSettings .cs-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:13px 0 15px;white-space:nowrap;font-size:15px;color:var(--cs-muted)}
#customerSettings .cs-tabs button.active{border-bottom-color:var(--cs-blue);color:var(--cs-blue);font-weight:600}
#customerSettings .cs-sheet{padding:26px 28px;background:white;border:1px solid var(--cs-line);border-radius:12px;margin-bottom:18px}
#customerSettings .cs-status{min-height:0;color:#15815d;font-size:13px;margin-bottom:14px}#customerSettings .cs-status:empty{display:none}#customerSettings .cs-status.error{color:#ba3f43}
#customerSettings .cs-cycle-line{display:flex;align-items:center;gap:12px;margin:32px 0;flex-wrap:wrap;font-size:15px}#customerSettings #csMinutes{width:110px;margin-right:8px}
#customerSettings .cs-note{background:#f1f6ff;border-left:3px solid #9dbdff;padding:14px 17px;color:#5c7395;font-size:13px;line-height:1.7;margin-top:22px}
#customerSettings .cs-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--cs-line)}#customerSettings .cs-footer>div{display:flex;gap:10px}#customerSettings #csSaveHint{font-size:13px;color:var(--cs-muted)}
#customerSettings .cs-account-intro,#customerSettings .cs-section-head,#customerSettings .cs-replacements-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:16px}
#customerSettings .cs-rule-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start;margin-bottom:18px}
#customerSettings .cs-rule-list{display:flex;flex-direction:column;gap:10px}#customerSettings .cs-rule-item{width:100%;text-align:left;padding:17px 18px;border-color:var(--cs-line);border-radius:10px}
#customerSettings .cs-rule-item.active{background:#eff5ff;border-color:#8ab2ff}#customerSettings .cs-rule-item strong{display:block;font-size:14px;overflow-wrap:anywhere}#customerSettings .cs-rule-item small{display:block;margin-top:8px;color:var(--cs-muted);line-height:1.6;overflow-wrap:anywhere}
#customerSettings .cs-rule-editor{margin:0;min-height:350px}#customerSettings .cs-empty{padding:42px 20px;text-align:center;color:var(--cs-muted);line-height:1.8}
#customerSettings .cs-rule-title{display:flex;gap:16px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--cs-line);padding-bottom:18px;margin-bottom:20px}#customerSettings .cs-rule-title input[type=text]{min-width:0;width:65%;font-weight:600}
#customerSettings .cs-toggle{display:flex;align-items:center;gap:8px;white-space:nowrap}
#customerSettings .cs-condition{display:grid;grid-template-columns:minmax(130px,1fr) minmax(90px,.7fr) minmax(100px,1fr) 40px;gap:10px;margin:10px 0}#customerSettings .cs-condition button{padding:8px}
#customerSettings .cs-rule-actions{display:flex;gap:10px;margin-top:22px;border-top:1px solid var(--cs-line);padding-top:16px}#customerSettings .cs-rule-actions .cs-danger{color:#ba3f43;margin-left:auto}
#customerSettings .cs-condition>*{min-width:0;width:100%}
#customerSettings .cs-action-choice{display:flex;gap:22px;margin:24px 0 16px;flex-wrap:wrap}#customerSettings .cs-action-choice label{display:flex;gap:8px;align-items:center}
#customerSettings .cs-knowledge-search{width:100%;margin:6px 0 10px}#customerSettings .cs-knowledge-list{display:grid;gap:8px;max-height:260px;overflow:auto;padding:4px 2px;overscroll-behavior:contain}
#customerSettings .cs-knowledge-list label{display:flex;align-items:flex-start;gap:10px;padding:11px;background:#f7f9fc;border-radius:6px}#customerSettings .cs-knowledge-list small{display:block;color:var(--cs-muted);margin-top:4px}#customerSettings .cs-knowledge-list label:has(input:checked){background:#eef4ff}
#customerSettings .cs-default-grid,#customerSettings .cs-word-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}#customerSettings .cs-default-grid label{display:flex;flex-direction:column;gap:9px}
#customerSettings .cs-profile-fields{border:0;padding:0;margin:24px 0 0}#customerSettings .cs-profile-fields legend{margin-bottom:12px;font-weight:600}#customerSettings .cs-profile-fields>div{display:flex;gap:22px;flex-wrap:wrap}#customerSettings .cs-profile-fields label{display:flex;align-items:center;gap:8px}
#customerSettings .cs-test summary{cursor:pointer;font-weight:600}#customerSettings .cs-test[open] summary{margin-bottom:18px}#customerSettings .cs-test>button{margin-top:14px}#customerSettings .cs-preview-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}#customerSettings .cs-preview-fields label{display:flex;flex-direction:column;gap:8px;font-size:13px}
#customerSettings .cs-result{white-space:pre-wrap;line-height:1.8;color:var(--cs-muted);margin-top:14px;overflow-wrap:anywhere}#customerSettings .cs-result.error{color:#ba3f43}
#customerSettings .cs-word-tools{display:flex;justify-content:space-between;align-items:center;margin-top:8px;color:var(--cs-muted);font-size:12px}#customerSettings .cs-word-tools button{border:0;padding:4px 6px;color:var(--cs-muted)}
#customerSettings .cs-replacements-head{border-top:1px solid var(--cs-line);padding-top:24px;margin-top:24px;align-items:center}#customerSettings .cs-replacement{display:grid;grid-template-columns:1fr 25px 1fr 40px;gap:10px;align-items:center;margin:10px 0}#customerSettings .cs-replacement>span{text-align:center;color:var(--cs-muted)}#customerSettings .cs-replacement button{padding:8px}
#customerSettings .cs-priority-options{border:0;margin:26px 0 0;padding:0;display:grid;gap:16px}#customerSettings .cs-priority-options label{display:flex;align-items:flex-start;gap:14px;padding:20px;border:1px solid var(--cs-line);border-radius:8px}#customerSettings .cs-priority-options label:has(input:checked){border-color:#94b7ff;background:#f3f7ff}#customerSettings .cs-priority-options strong{font-size:15px}#customerSettings .cs-priority-options small{display:block;line-height:1.7;color:var(--cs-muted);margin-top:7px}#customerSettings #saveTransfer{margin-top:16px}
#customerSettings .cs-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1120px){#customerSettings .cs-rule-workspace{grid-template-columns:210px minmax(0,1fr)}#customerSettings .cs-condition{grid-template-columns:1fr 90px 1fr 35px;gap:6px}#customerSettings .cs-sheet{padding:22px}}
@media(max-width:850px){#customerSettings .cs-heading{align-items:flex-start;flex-direction:column;gap:12px}#customerSettings .cs-rule-workspace,#customerSettings .cs-word-grid,#customerSettings .cs-default-grid{grid-template-columns:1fr}#customerSettings .cs-tabs{gap:24px}#customerSettings .cs-rule-list{max-height:220px;overflow:auto}#customerSettings .cs-condition{grid-template-columns:1fr 1fr}#customerSettings .cs-condition input{width:100%}#customerSettings .cs-footer{align-items:flex-start;flex-direction:column}}
