.customer-profile { max-width: 960px; margin: 0 auto; }
.customer-profile h1 { margin-bottom: var(--ds-space-4, 1rem); }
.customer-profile h2 { margin-top: var(--ds-space-6, 1.5rem); }
.profile-actions { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0; }
.profile-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.profile-field { display:flex; flex-direction:column; gap:8px; min-width:0; font-weight:500; }
.profile-field input,.profile-field textarea { font:inherit; font-weight:400; width:100%; min-height:46px; padding:12px; border:1px solid var(--ds-color-border,#cbd5e1); border-radius:8px; background:#fff; color:inherit; box-sizing:border-box; }
.profile-field textarea { min-height:100px; resize:vertical; }
.profile-field:has(textarea) { grid-column:1 / -1; }
.profile-field input:focus,.profile-field textarea:focus { outline:2px solid var(--ds-color-primary,#087f8c); outline-offset:2px; }
.profile-contact { margin:16px 0; padding:20px; border:1px solid var(--ds-color-border,#cbd5e1); border-radius:12px; min-width:0; background:#fff; }
.profile-contact h3,.profile-contact p { overflow-wrap:anywhere; }
.profile-check { display:flex; align-items:center; gap:10px; margin:20px 0; min-height:44px; }
.profile-check input { width:20px; height:20px; flex:none; }
.profile-summary { display:grid; grid-template-columns:minmax(150px,1fr) minmax(0,3fr); gap:10px 20px; }
.profile-summary dt { font-weight:500; }
.profile-summary dd { margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.profile-status { min-height:24px; }
.profile-context{position:sticky;top:.5rem;z-index:2;padding:.8rem 1rem;margin:1rem 0;border:1px solid var(--ds-color-brand-primary,#087f8c);border-radius:12px;background:var(--ds-color-bg-surface-secondary,#eef7f8);overflow-wrap:anywhere;box-shadow:0 2px 8px rgb(15 23 42 / .08)}.profile-context p{margin:.2rem 0;font-size:.9rem}.profile-context strong{display:block;font-size:1.15rem;font-weight:500}
.profile-review-scroll{margin:1.5rem 0;overflow-x:auto}.profile-review{width:100%;border-collapse:collapse;table-layout:fixed}.profile-review caption{text-align:left;margin-bottom:.75rem;font-weight:500}.profile-review th,.profile-review td{text-align:left;vertical-align:top;border:1px solid var(--ds-color-border,#cbd5e1);padding:.85rem;white-space:pre-wrap;overflow-wrap:anywhere}.profile-review th{font-weight:500;background:var(--ds-color-bg-surface-secondary,#eef7f8)}
@media(max-width:640px){.profile-context{top:.25rem}.profile-review th,.profile-review td{padding:.5rem;font-size:.9rem}}
@media(max-width:640px) { .profile-form,.profile-summary { grid-template-columns:minmax(0,1fr); }.profile-summary dd { margin-bottom:12px; }.profile-actions { flex-direction:column; }.profile-actions .button { width:100%; }.profile-contact { padding:14px; } }
