/* Use the existing Apple-inspired theme tokens in both appearances. */
.customer-workspace .customer-directory-panel{background:transparent;box-shadow:none;border:0;overflow:visible}
.customer-workspace .customer-card-grid{background:transparent;padding:0;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:stretch}
.customer-workspace .customer-card{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:24px;min-height:0;box-shadow:none;gap:0}
.customer-workspace .customer-card:hover{transform:none;border-color:var(--blue);box-shadow:none}
.customer-workspace .customer-card-heading{margin:20px 0;align-items:center;min-height:44px}
.customer-workspace .customer-card h3{font-size:18px;line-height:1.4;letter-spacing:-.02em;overflow-wrap:anywhere}
.customer-workspace .customer-card-details{gap:18px;margin-bottom:24px}
.customer-workspace .customer-card-details dt{font-size:12px;line-height:1.4;letter-spacing:.045em;color:var(--muted)}
.customer-workspace .customer-card-details dd{font-size:14px;line-height:1.5;margin-top:6px;font-weight:600}
.customer-workspace .customer-card-details small{font-size:13px;line-height:1.5;color:var(--muted)}
.customer-workspace .customer-card .record-card-foot{margin-top:auto;border-color:var(--line);padding-top:20px;gap:16px}
.customer-workspace .customer-card .record-card-foot small{color:var(--muted);font-size:13px;line-height:1.4}
.customer-workspace .customer-card .record-card-foot strong{font-size:22px;line-height:1.3;font-variant-numeric:tabular-nums}
.customer-workspace .customer-card .document-count strong{font-size:18px}
.customer-workspace .customer-directory-panel .table-wrap{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:auto}
.customer-workspace .customer-directory-panel table{min-width:1120px;width:100%;table-layout:fixed}
.customer-workspace .customer-directory-panel th{padding:16px 14px;font-size:12px;letter-spacing:.045em;white-space:normal}
.customer-workspace .customer-directory-panel td{padding:18px 14px;font-size:14px;line-height:1.5;vertical-align:middle;border-color:var(--line)}
.customer-workspace .customer-directory-panel th:nth-child(1){width:21%}
.customer-workspace .customer-directory-panel th:nth-child(2){width:18%}
.customer-workspace .customer-directory-panel th:nth-child(3){width:12%}
.customer-workspace .customer-directory-panel th:nth-child(4){width:23%}
.customer-workspace .customer-directory-panel th:nth-child(5){width:8%}
.customer-workspace .customer-directory-panel th:nth-child(6){width:10%}
.customer-workspace .customer-directory-panel th:nth-child(7){width:8%}
.customer-workspace .customer-directory-panel td .customer-engineer-control>span:first-child{overflow-wrap:normal;word-break:normal}
.customer-workspace .customer-directory-panel .cell-main{font-size:14px;line-height:1.5;color:var(--ink)}
.customer-workspace .customer-directory-panel .cell-sub{font-size:13px;line-height:1.5;color:var(--muted);white-space:normal;overflow-wrap:anywhere}
.customer-workspace .customer-directory-panel .status,.customer-workspace .source-pill{font-size:12px;line-height:1.4;border-radius:6px;padding:5px 8px;white-space:normal}
.customer-workspace .workspace-directory-controls{gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.customer-workspace .workspace-directory-controls :is(input,select){min-height:44px;font-size:14px;border-radius:10px}
.customer-workspace .customer-engineer-control{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.customer-engineer-control>span:first-child{overflow-wrap:anywhere;min-width:0}
.customer-engineer-action{color:var(--blue);font-size:13px;font-weight:600;flex-shrink:0}
.customer-workspace .customer-engineer-control:hover{border-color:var(--blue)}
.customer-engineer-control:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.customer-assignment-form{display:grid;gap:16px;align-content:start}
.customer-assignment-form label{font-size:14px;font-weight:600}
.customer-assignment-form select{min-height:44px;width:100%;font-size:15px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink)}
.customer-assignment-form p{font-size:14px;line-height:1.5;margin:0}
.customer-assignment-form [role=alert]{color:var(--red)}
html[data-theme="dark"] .customer-workspace .customer-directory-panel{background:transparent;box-shadow:none}
html[data-theme="dark"] .customer-workspace .customer-card{background:var(--paper);box-shadow:none;border-color:var(--line)}
@media(max-width:700px){.customer-workspace .customer-card{padding:20px}.customer-workspace .customer-card-grid{gap:16px}.customer-workspace .workspace-directory-controls{display:grid;grid-template-columns:1fr 1fr}.customer-workspace .workspace-directory-controls input{grid-column:1/-1;grid-row:1;min-width:0}.customer-workspace .workspace-directory-controls select{width:100%;min-width:0}.customer-workspace .workspace-heading{align-items:flex-start;flex-direction:column}.customer-workspace .workspace-heading-actions{justify-content:flex-start;flex-shrink:1}}
