:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#23282f;background:#f3f5f8;font-size:14px;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.5}
button:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #2c7eea;outline-offset:2px}
.skip{position:absolute;left:12px;top:-50px}
.skip:focus{top:3px;z-index:10;background:white}
.demo-bar{background:#fff;border-bottom:1px solid #dee3eb;min-height:70px;padding:12px max(18px,calc((100vw - 1280px)/2));display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.demo-title{font-size:18px;font-weight:700}
.demo-bar small{color:#686f79;margin-left:12px}
.demo-bar nav{display:flex;gap:6px;flex-wrap:wrap}
.demo-bar button,.btn{border:1px solid #d9e0e8;background:white;color:#252a32;padding:8px 14px;border-radius:4px}
.demo-bar button[aria-current=true]{color:#175ca8;background:#eaf3ff;border-color:#c9def8;font-weight:650}
.demo-bar .reset{color:#636c79}
.workspace{display:grid;grid-template-columns:minmax(460px,1fr) 340px;gap:24px;max-width:1280px;margin:28px auto;padding:0 18px;align-items:start}
.crm{background:white;border-radius:7px;border:1px solid #dce3ec;min-width:0;min-height:610px;overflow:hidden}
.bread{border-bottom:1px solid #e6ebf1;padding:15px 21px;color:#536275;font-size:13px}
.crm-main{padding:20px 20px 0}
h1,h2,h3,p{margin:0}
.crm h1{font-size:20px;margin-bottom:16px}
.list-tools{display:flex;justify-content:space-between;align-items:center;min-height:38px;margin-bottom:12px}
.list-tools span{color:#626d7c}
.crm table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}
.crm th,.crm td{padding:11px 8px;border-bottom:1px solid #e8edf3;white-space:nowrap}
.crm th{background:#f5f8fc;color:#536275;font-weight:600}
.tag{color:#91540d;padding:2px 5px;background:#fff2dd;border-radius:4px}
.muted{color:#64707d}
.bad{color:#b3313d}
.link{background:none;border:0;color:#1e69be;padding:2px 0}
.link:hover{text-decoration:underline}
.task{margin:18px 0 20px;border:1px solid #dbe3ed;border-radius:5px;background:#fff;box-shadow:0 4px 15px #25394f14}
.task-title{background:#3679bf;padding:10px 14px;color:white;display:flex;justify-content:space-between;align-items:center}
.task-title h2{font-size:15px}
.task-title button{background:transparent;border:none;color:white;padding:1px 3px;font-size:18px}
.task-content{padding:16px}
.task-content p{margin:0 0 10px;line-height:1.55}
.task-content .field{display:grid;grid-template-columns:90px 1fr;gap:8px;align-items:start;margin-bottom:13px}
.task-content .field>label:first-child{margin-top:8px;font-weight:600}
select,textarea{border:1px solid #cbd5e1;border-radius:4px;padding:8px;width:100%;background:#fff}
textarea{resize:vertical;min-height:75px}
fieldset{margin:0 0 10px;padding:9px 10px;border:1px solid #e3eaf2;border-radius:4px}
fieldset label,.checks label{display:inline-flex;align-items:center;margin:4px 12px 4px 0;gap:5px}
legend{padding:0 4px;font-weight:650}
.actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.primary{background:#3679bf;color:white;border-color:#3679bf}
.preview{padding:12px;background:#f3f6fa;border-radius:4px;line-height:1.55;white-space:pre-wrap}
.error{color:#b3313d;font-size:13px}
.phone{min-height:610px;background:#fff;border:1px solid #dce3ec;border-radius:13px;box-shadow:0 8px 30px #25394f0b;overflow:hidden}
.phone-head{display:flex;gap:12px;align-items:center;padding:15px 16px;border-bottom:1px solid #edf0f3;font-weight:680;font-size:16px}
.phone-head button{border:0;background:transparent;padding:1px 5px;color:#252a32;font-size:21px;line-height:1}
.phone-main{padding:18px}
.phone-main h2{font-size:19px;margin:8px 0 13px}
.phone-main h3{font-size:14px;margin:0 0 6px}
.phone-main p{line-height:1.55}
.phone-main .empty{padding:20px 2px;color:#646d76}
.note{border-radius:6px;padding:12px 13px;background:#f3f5f7;margin:12px 0;color:#272e35;line-height:1.55}
.msg{border:1px solid #e5e9ee;border-radius:7px;padding:14px 12px;margin-bottom:10px}
.msg p{margin-bottom:8px}
.deposit-summary{padding:34px 0 26px;text-align:center}
.deposit-summary small{color:#646d76}
.deposit-summary strong{font-size:27px;display:block;margin:6px 0}
.deposit-summary strong.rejected{color:#898e96;text-decoration:line-through}
dl{margin:17px 0;color:#686f78;font-size:13px;display:grid;gap:12px}
dl div{display:flex;justify-content:space-between;gap:8px}
dd{margin:0;color:#20252a;text-align:right}
.phone-primary{display:block;border:0;border-radius:22px;background:#2c2e33;color:white;padding:10px 18px;width:84%;margin:18px auto 8px}
.phone-secondary{background:#f0f1f3;color:#23282f}
.upload{border-top:1px solid #eef0f3;padding:10px 0}
.upload .btn{margin-top:8px}
.upload .selected{color:#2b673c;background:#eef6ef}
.receipt{text-align:center;padding:65px 0 12px}
.receipt i{display:grid;place-items:center;border:2px solid #27a163;border-radius:50%;width:44px;height:44px;font-size:24px;color:#27a163;margin:0 auto 12px;font-style:normal}
@media(max-width:850px){.workspace{display:block;max-width:680px}.phone{max-width:380px;margin:16px auto 0}.crm-main{overflow-x:auto}}
@media(max-width:480px){.workspace{margin:12px auto;padding:0 8px}.demo-bar{padding:8px 10px}.demo-bar small{margin-left:6px}.crm-main,.task-content{padding:12px}.task-content .field{grid-template-columns:1fr}.crm{min-height:0}}

.workspace.customer-only{grid-template-columns:minmax(280px,380px);justify-content:center}
.customer-only .crm{display:none}
