/* Only customer detail and follow-up panels are affected. */
.cw-overlay{padding:24px!important;align-items:center!important;justify-content:center!important}.cw-shell{--cw-line:#e7e8e2;--cw-ink:#292d30;--cw-muted:#727771;--cw-accent:#b95428;width:min(1100px,100%)!important;max-width:1100px!important;height:auto!important;max-height:calc(100dvh - 48px)!important;border-radius:14px!important;color:var(--cw-ink);background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 18px 65px #23362b26;font-size:14px;line-height:1.6}.cw-shell *{box-sizing:border-box}.cw-shell .dialog-header{padding:24px 30px 20px;border-bottom:1px solid var(--cw-line);flex-shrink:0}.cw-company{display:flex;gap:15px;align-items:center;min-width:0}.cw-company h2{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.cw-company p{margin-top:4px;font-size:12px;color:var(--cw-muted)}.cw-symbol{width:47px;height:47px;flex-shrink:0;display:grid;place-items:center;background:#fff2e9;color:var(--cw-accent);border-radius:10px;font-size:21px;font-weight:700}.cw-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:5px}.cw-shell .tag{font-size:12px}.cw-shell .btn{min-height:40px;border-radius:7px;font-size:13px;white-space:normal}.cw-shell .btn.sm{min-height:32px;font-size:12px}.cw-shell .btn.primary{background:var(--cw-accent);border-color:var(--cw-accent);color:#fff}.cw-shell button:focus-visible{outline:3px solid #d99873;outline-offset:2px}.cw-tabs{display:flex;gap:23px;padding:0 30px;border-bottom:1px solid var(--cw-line);flex-shrink:0;overflow-x:auto}.cw-tabs button{flex-shrink:0;padding:14px 0;border:0;border-bottom:3px solid transparent;background:none;color:var(--cw-muted);font:inherit;cursor:pointer}.cw-tabs button.active{color:var(--cw-accent);border-bottom-color:var(--cw-accent);font-weight:700}.cw-shell .cw-body{padding:0;overflow:auto;min-height:0;flex:1}.cw-detail-grid{display:grid;grid-template-columns:1.5fr 1fr}.cw-main{padding:25px 28px 27px;border-right:1px solid var(--cw-line);min-width:0}.cw-side{padding:25px;background:#fcfcfa;min-width:0;overflow-wrap:anywhere}.cw-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.cw-heading h3{margin:0;font-size:17px}.cw-heading .btn{font-size:12px;color:var(--cw-accent);min-height:32px;padding:2px 7px}.cw-plan{padding:20px;background:#fbf4e9;border:1px solid #efdfc7;border-radius:9px;margin-bottom:25px}.cw-date{font-size:25px;font-weight:700;line-height:1.6;margin:5px 0;overflow-wrap:anywhere}.cw-date small{font-size:12px;font-weight:400;color:#786a54;margin-left:10px}.cw-plan p{color:var(--cw-muted);margin:0}.cw-rule{border-top:1px solid #eadfce;padding-top:12px;margin-top:14px;font-size:12px;color:#786a54}.cw-timeline{padding-left:20px;border-left:1px solid #e3e6df;margin-left:5px}.cw-event{position:relative;padding-bottom:24px;overflow-wrap:anywhere}.cw-event:last-child{padding-bottom:0}.cw-event:before{content:'';width:8px;height:8px;border:3px solid white;background:#7d9786;position:absolute;left:-28px;top:6px;border-radius:50%;box-sizing:content-box}.cw-event .cw-tags{margin-top:8px}.cw-event p{margin:9px 0 0;line-height:1.85;white-space:pre-wrap}.cw-event h3{margin-top:8px}.cw-next-note{margin-top:10px;padding:9px 12px;background:#f6f7f3;border-radius:5px;font-size:12px;color:#5c655b}.cw-person{padding:13px 0;border-bottom:1px solid var(--cw-line)}.cw-person:last-child{border-bottom:0}.cw-number{margin-top:8px;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.cw-number .btn{color:var(--cw-accent)}.cw-aside-block{padding-top:20px;margin-top:14px;border-top:1px solid var(--cw-line)}.cw-aside-block h3{font-size:14px;margin:0}.cw-aside-block p{margin-top:9px;white-space:pre-wrap}.cw-accounts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.cw-accounts span{border:1px solid #e7ddd4;border-radius:5px;background:#fff;padding:4px 9px;font-size:12px;overflow-wrap:anywhere;max-width:100%}.cw-shell .dialog-footer{padding:15px 28px;border-top:1px solid var(--cw-line);background:#fff;flex-shrink:0;gap:12px}.cw-shell .dialog-footer .row{flex-wrap:wrap}.cw-shell .dialog-footer .primary{min-width:156px}.cw-page{padding:28px;max-width:900px}.cw-empty{color:var(--cw-muted);padding:15px 0}.cw-body>.detail-info,.cw-body>.section-label,.cw-body>.customer-extension,.cw-body>.notice,.cw-body>.reminder-detail{margin:20px 28px}.cw-body>.detail-info{padding:0}.cw-body>.customer-extension{padding:15px 0}.cw-channel-note,.cw-archive-note,.cw-draft-note{padding:12px 28px;background:#f6f7f3;color:#5c655b;font-size:12px;border-bottom:1px solid var(--cw-line)}.cw-draft-note{background:#fff2e9;color:#944820}.cw-follow-grid{display:grid;grid-template-columns:290px 1fr}.cw-follow-grid>.cw-side{padding:22px;border-right:1px solid var(--cw-line);background:#fafbf7}.cw-follow-main{padding:22px 30px;min-width:0}.cw-form-section+.cw-form-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--cw-line)}.cw-form-section>h3{font-size:17px;margin-bottom:13px}.cw-form-section>h3>span{display:inline-grid;place-items:center;background:#f0f1eb;width:22px;height:22px;margin-right:8px;border-radius:50%;font-size:12px}.cw-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cw-fields>.cw-full{grid-column:1/-1}.cw-shell .field>label{font-size:13px}.cw-shell .input,.cw-shell .select,.cw-shell .textarea{font-size:14px;min-height:42px;border:1px solid #dfe2d9;border-radius:6px;color:var(--cw-ink);background:#fff;width:100%;min-width:0}.cw-shell .textarea{min-height:110px;resize:vertical}.cw-shell .field-help,.cw-shell .small{font-size:12px;line-height:1.65}.cw-shell .field{min-width:0}.cw-form-section>.field{margin-top:12px}.cw-shell .date-input-group{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cw-quick{display:flex;gap:7px;margin-top:8px}.cw-preview{margin-top:12px;font-size:12px;padding:10px 12px;border-radius:6px;background:#eff5ec;color:#55704c}.cw-scope{margin-bottom:24px}.cw-shell .detail-info dd{overflow-wrap:anywhere}.cw-shell .form-actions-busy{pointer-events:none;opacity:.65}@media(max-width:760px){.cw-overlay{padding:10px!important}.cw-shell{max-height:calc(100dvh - 20px)!important;border-radius:10px!important}.cw-shell .dialog-header{padding:17px}.cw-company h2{font-size:18px}.cw-symbol{display:none}.cw-tabs{padding:0 16px;gap:18px}.cw-detail-grid,.cw-follow-grid{grid-template-columns:1fr}.cw-main{padding:20px;border-right:0}.cw-side{padding:20px;border-top:1px solid var(--cw-line)}.cw-follow-grid>.cw-side{padding:14px 20px;border-right:0}.cw-follow-grid>.cw-side .cw-aside-block{display:none}.cw-follow-main{padding:20px}.cw-shell .dialog-footer{padding:12px 15px;flex-wrap:wrap}.cw-shell .dialog-footer>.small{display:none}.cw-shell .dialog-footer .primary{min-width:110px}.cw-date{font-size:21px}.cw-fields{grid-template-columns:1fr}.cw-page{padding:20px}.cw-shell .dialog-footer>.row{gap:6px}.cw-body>.detail-info,.cw-body>.section-label,.cw-body>.customer-extension,.cw-body>.notice{margin:20px}.cw-shell .detail-info{grid-template-columns:1fr}.cw-shell .orders-section .row{flex-wrap:wrap}.cw-shell .order-row{flex-wrap:wrap}.cw-shell .radio-group{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.cw-shell,.cw-overlay{animation:none!important;transition:none!important}}

.cw-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0;pointer-events:none}.cw-choices{display:flex;gap:7px;flex-wrap:wrap}.cw-choices .btn{padding:6px 13px}.cw-choices .selected{border-color:#bc784f;background:#fff2e9;color:#b95428}.cw-choices .btn:disabled{opacity:.65;cursor:not-allowed}

.cw-no-next{margin:15px 0;padding:13px 15px;background:#faf8f3;border:1px solid #e8e1d8;border-radius:7px}.cw-no-next label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.cw-no-next input{width:18px;height:18px;margin:3px 0;accent-color:var(--accent)}.cw-no-next small{display:block;color:var(--muted);font-size:12px;margin-top:4px;font-weight:normal}
.cw-profile{padding:24px 26px;display:grid;gap:16px}.cw-profile-top{display:grid;grid-template-columns:36% 1fr;gap:16px}.cw-profile-card{min-width:0;padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:#fff}.cw-profile-card>h3{display:flex;gap:10px;align-items:center;margin:0 0 17px;font-size:16px}.cw-profile-card>h3:before{content:'';height:19px;width:3px;background:var(--accent);border-radius:2px}.cw-profile-card>h3 small{font-size:12px;font-weight:400;color:var(--muted)}.cw-profile-contacts .cw-person{padding:12px 0}.cw-profile-contacts .cw-person b{font-size:20px}.cw-company-fields{margin:0}.cw-company-fields>div{display:flex;gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.cw-company-fields>div:last-child{border-bottom:0}.cw-company-fields dt{color:var(--muted);flex:0 0 90px;font-size:13px}.cw-company-fields dd{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.cw-profile-line{display:grid;grid-template-columns:130px 1fr auto;gap:20px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.cw-profile-line:last-child{border-bottom:0}.cw-profile-line>div{min-width:0;overflow-wrap:anywhere}.cw-profile .btn.sm{color:var(--accent);border-color:#e5b69d;white-space:nowrap}.cw-profile-links{display:grid;gap:6px;margin-top:8px}.cw-profile-links a{color:var(--accent);overflow-wrap:anywhere}.cw-profile-notes{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.cw-profile-notes p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.cw-profile-orders>summary{cursor:pointer;padding:6px 0;color:var(--muted);font-size:13px}.cw-profile-orders .customer-extension{margin:12px 0 0}.cw-profile-contacts .cw-number{flex-wrap:wrap}@media(max-width:760px){.cw-profile{padding:15px;gap:12px}.cw-profile-top{grid-template-columns:1fr}.cw-profile-card{padding:15px}.cw-company-fields>div:first-child{flex-wrap:wrap}.cw-company-fields>div:first-child dd{flex:1 0 calc(100% - 105px)}.cw-profile-line{grid-template-columns:90px 1fr auto;gap:8px}.cw-profile-notes{gap:10px}.cw-profile-notes button{flex-shrink:0}}
