.company-customers-panel{margin:24px 0;padding:24px;border:1px solid #dce2e8;border-radius:16px;background:#fff;color:#243043;min-width:0}
/* Route-scoped compatibility with the legacy shell and its stronger form rules. */
#customer-workspace #company-customers-panel{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;min-width:0;color:#142036;box-shadow:none}
#customer-workspace #company-customers-panel .cw-search{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;margin:0}
#customer-workspace #company-customers-panel .cw-note-body{border:0;margin:0;padding:22px 23px}
#customer-workspace #company-customers-panel .cw-note-body form{display:block!important;margin:0!important;padding:18px 0 0!important;gap:0}
#customer-workspace #company-customers-panel .cw-note-body textarea{height:150px!important;min-height:150px!important;margin:0!important;padding:13px 15px!important;font-size:15px;line-height:1.8}
#customer-workspace #company-customers-panel .cw-composer-meta label{flex-direction:row!important;align-items:center;gap:8px;margin:0}
#customer-workspace #company-customers-panel .cw-note-body h3{font-size:19px;margin:0 0 8px}
#customer-workspace #company-customers-panel .company-warning{margin:13px 3px 0;padding:0;border:0;border-radius:0;background:transparent;color:#7b8ba2;font-size:12px;line-height:1.7}
#customer-workspace .company-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}
#customer-workspace .company-canonical{font-size:12px;color:#6c7e98}
#customer-workspace .company-pending{border:1px solid #d9e4f3;border-radius:6px;background:#f4f7fc;margin-top:15px;padding:12px;font-size:12px}
#customer-workspace .company-pending code{display:block;font-size:10px;margin:7px 0;color:#71849e;overflow-wrap:anywhere}
#customer-workspace .company-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
#customer-workspace .company-history ul{list-style:none;padding:0}
#customer-workspace .company-history li{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:12px}
#customer-workspace .company-history code{font-size:10px;overflow-wrap:anywhere}
@media(max-width:900px){#customer-workspace #company-customers-panel .cw-note-body{padding:18px 16px}#customer-workspace #company-customers-panel .cw-note-body textarea{height:165px!important;min-height:165px!important;font-size:16px}#customer-workspace .company-fields{grid-template-columns:1fr}}
.company-customers-panel .company-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.company-customers-panel h2{font-size:21px;margin:4px 0 16px}.company-customers-panel h3{font-size:16px;margin:0 0 12px}.company-customers-panel h4{font-size:15px;margin:0 0 12px}
.company-eyebrow,.company-key{color:#657386;font-size:12px;overflow-wrap:anywhere}.company-warning{padding:12px 16px;background:#fff8e9;border:1px solid #edd8a7;border-radius:10px;font-size:13px;line-height:1.7}
.company-feedback{font-size:13px;min-height:22px;overflow-wrap:anywhere}.company-layout{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:24px}
.company-customers-panel button{cursor:pointer;border:1px solid #d5dce5;border-radius:8px;padding:9px 12px;background:#fff;color:#243043;font:inherit;font-size:13px;min-height:38px}
.company-customers-panel button:hover{background:#f3f6fa}.company-customers-panel button:focus-visible,.company-customers-panel input:focus-visible,.company-customers-panel textarea:focus-visible{outline:2px solid #3568a4;outline-offset:2px}
.company-customers-panel button:disabled{opacity:.55;cursor:default}.company-list>button{display:flex;flex-direction:column;text-align:left;width:100%;gap:5px;margin-bottom:8px;overflow-wrap:anywhere}
.company-list>button[aria-pressed=true]{border-color:#426b99;background:#eef4fb}.company-list small,.company-list span{color:#657386}.company-detail{min-width:0}
.company-canonical{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#f6f8fa;padding:16px;border-radius:10px;margin:12px 0 20px}
.company-canonical dt{font-size:12px;color:#657386}.company-canonical dd{margin:5px 0 0;overflow-wrap:anywhere;font-size:14px}
.company-customers-panel form{display:grid;gap:12px;margin:20px 0}.company-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.company-customers-panel label{display:flex;flex-direction:column;gap:6px;font-size:13px}.company-customers-panel input,.company-customers-panel textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #cbd4df;border-radius:8px;background:#fff;color:#243043;font:inherit}
.company-customers-panel textarea{min-height:96px;resize:vertical}.company-customers-panel form>button{justify-self:start;background:#263d58;color:#fff}
.company-private{border-top:1px solid #dce2e8;margin-top:24px}.company-private form>button{background:#fff;color:#243043}
.company-pending{padding:12px;background:#f3f6fa;border:1px solid #dce2e8;border-radius:8px;overflow-wrap:anywhere}.company-pending code{display:block;margin:8px 0;font-size:11px}
.company-actions{display:flex;gap:8px;flex-wrap:wrap}.company-customers-panel ul{list-style:none;padding:0}.company-customers-panel li{padding:12px 0;border-bottom:1px solid #e5eaf0;overflow-wrap:anywhere}
.company-notes p{white-space:pre-wrap;margin:0 0 8px}.company-notes small{color:#657386}.company-history{margin-top:24px}.company-history li{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.company-history code{font-size:11px}.company-empty{padding:24px;color:#657386}
.company-source-memo p{white-space:pre-wrap;overflow-wrap:anywhere}
.company-customers-panel button:active{background:#dce6f2}.company-customers-panel button{min-height:44px}.company-customers-panel p{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:760px){.company-customers-panel{padding:16px;margin:16px 0}.company-customers-panel .company-head{align-items:flex-start;flex-direction:column}.company-layout{grid-template-columns:minmax(0,1fr);gap:16px}.company-fields,.company-canonical{grid-template-columns:minmax(0,1fr)}.company-customers-panel label,.company-customers-panel button,.company-feedback,.company-warning{font-size:17px}.company-customers-panel small,.company-canonical dt{font-size:15px}}
@media(prefers-color-scheme:dark){.company-customers-panel{background:#17202c;color:#edf2f8;border-color:#536174}.company-customers-panel button,.company-customers-panel input,.company-customers-panel textarea{background:#202d3e;color:#edf2f8;border-color:#718198}.company-customers-panel button:hover,.company-customers-panel button:active{background:#354961}.company-customers-panel button:focus-visible,.company-customers-panel input:focus-visible,.company-customers-panel textarea:focus-visible{outline-color:#b5d4ff}.company-list>button[aria-pressed=true]{background:#354961;border-color:#b5d4ff}.company-eyebrow,.company-key,.company-list small,.company-list span,.company-canonical dt,.company-notes small,.company-empty{color:#bdcadb}.company-warning{background:#342c1b;border-color:#a99260}.company-canonical,.company-pending{background:#202d3e}.company-private form>button{background:#202d3e;color:#edf2f8}.company-customers-panel form>button{background:#354f6f;color:#fff}}
