/* Profile cards use the same typography, symbols and palette as the workspace. */
#profileWorkspace { --dp-blue:#2739bb;--dp-teal:#008b79;--dp-amber:#c96317; }
#page-profile .page-topbar { margin-bottom:20px !important; }
.dp-hero { display:flex;align-items:center;gap:22px;padding:26px 28px;margin-bottom:22px;background:linear-gradient(110deg,#edf0ff 0%,#fff 72%);border:1px solid #dbe0f0;border-radius:14px; }
.dp-monogram { display:grid;place-items:center;flex-shrink:0;width:76px;height:76px;border-radius:20px;background:var(--brand);color:#fff;font-size:25px;font-weight:750;letter-spacing:.04em; }
.dp-identity { flex:1;min-width:0; }.dp-eyebrow { display:block;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:var(--brand);margin-bottom:7px; }
.dp-identity h2 { margin:0 0 10px;font-size:25px;line-height:1.25;letter-spacing:-.4px;overflow-wrap:anywhere; }
.dp-identity-meta { display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;color:var(--muted);font-size:13px; }.dp-activity { padding:5px 10px;border-radius:20px;background:#e3e8ff;color:#263aae;font-weight:650; }
.dp-hero>.dh-btn { flex-shrink:0; }
.dp-grid { display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start; }.dp-side { display:grid;gap:20px;min-width:0; }
.dp-card { min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden; }
.dp-card header { display:flex;align-items:center;gap:11px;padding:18px 22px;border-bottom:1px solid #ecedf4; }
.dp-card h3 { font-size:16px;line-height:1.3;margin:0;flex:1; }
.dp-icon { display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:35px;height:35px;border-radius:10px;background:#edf0ff;color:var(--brand); }.dp-icon svg { width:22px;height:22px;fill:currentColor; }
.dp-icon.teal { color:var(--dp-teal,#008b79);background:#e4f6f0; }.dp-icon.amber { color:var(--dp-amber,#c96317);background:#fff0e3; }
.dp-edit { color:var(--brand);background:#fff;border:1px solid #dce0ed;border-radius:8px;padding:8px 11px;font:inherit;font-weight:650;font-size:12px;cursor:pointer; }.dp-edit:hover { background:#f1f3ff;border-color:#bdc6f1; }
.dp-card dl { display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;margin:0;padding:22px; }.dp-detail { min-width:0; }.dp-wide { grid-column:1/-1; }
.dp-detail dt { font-size:12px;color:var(--muted);margin-bottom:6px; }.dp-detail dd { margin:0;font-size:15px;font-weight:650;line-height:1.5;overflow-wrap:anywhere; }
.dp-blue .dp-detail:not(:last-child) { padding-bottom:13px;border-bottom:1px solid #f0f1f6; }
.dp-local-note { color:var(--muted);font-size:12px;margin:18px 2px 0; }
.dp-dialog { border:1px solid var(--line);border-radius:15px;padding:0;width:min(660px,calc(100vw - 32px));max-width:660px;max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 24px 90px #15204438;overflow:auto; }
.dp-dialog::backdrop { background:#10183366; }.dp-dialog>header { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:21px 24px;border-bottom:1px solid var(--line); }
.dp-dialog h2 { font-size:20px;line-height:1.3;margin:0 0 5px; }.dp-dialog header p { margin:0;font-size:12px;color:var(--muted); }
.dp-close { width:34px;height:34px;flex-shrink:0;border:0;border-radius:8px;background:#f1f3f8;font-size:23px;cursor:pointer;color:var(--ink); }
.dp-form-body { padding:22px 24px; }.dp-form-body fieldset { min-width:0;border:0;margin:0 0 27px;padding:0; }.dp-form-body fieldset:last-child { margin-bottom:0; }
.dp-form-body legend { display:flex;align-items:center;gap:9px;font-size:15px;font-weight:700;margin-bottom:15px;padding:0; }.dp-form-body legend .dp-icon { width:29px;height:29px; }
.dp-form-grid { display:grid;grid-template-columns:1fr 1fr;gap:15px; }.dp-form-field { min-width:0; }
.dp-form-field label { display:block;font-size:12px;font-weight:650;color:#475467;margin-bottom:6px; }.dp-form-field label span { color:var(--brand); }
.dp-form-field input,.dp-form-field select { width:100%;height:43px;min-width:0;border:1px solid #d1d7e5;border-radius:8px;padding:9px 11px;font:inherit;font-size:14px;background:#fff;color:var(--ink); }
.dp-form-field input:focus,.dp-form-field select:focus { outline:2px solid #a7b5fa;outline-offset:1px;border-color:var(--brand); }
.dp-dialog footer { position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 24px;background:#fff;border-top:1px solid var(--line); }.dp-dialog footer p { margin:0;color:var(--muted);font-size:11px;max-width:235px; }.dp-dialog footer>div { display:flex;gap:8px; }.dp-dialog footer .dh-btn { white-space:nowrap; }
@media(min-width:1100px){.dp-grid { grid-template-columns:1.05fr 1fr; }.dp-side { grid-template-columns:1fr; }}
@media(max-width:800px){.dp-hero { padding:22px;gap:16px;flex-wrap:wrap; }.dp-hero>.dh-btn { margin-left:92px; }.dp-grid { grid-template-columns:1fr; }.dp-identity h2 { font-size:22px; }}
@media(max-width:520px){.dp-hero { padding:18px;gap:14px; }.dp-monogram { width:52px;height:52px;border-radius:14px;font-size:19px; }.dp-identity { flex-basis:calc(100% - 66px); }.dp-identity h2 { font-size:19px; }.dp-identity-meta { font-size:12px;gap:7px; }.dp-hero>.dh-btn { margin:2px 0 0;width:100%; }.dp-card header { padding:15px;gap:8px; }.dp-card h3 { font-size:14px; }.dp-card dl { padding:18px;gap:18px 12px; }.dp-detail dd { font-size:14px; }.dp-edit { padding:8px;font-size:12px; }.dp-icon { width:30px;height:30px; }.dp-local-note { line-height:1.6; }.dp-dialog { width:calc(100vw - 24px);max-height:calc(100dvh - 24px); }.dp-dialog>header,.dp-form-body { padding:18px; }.dp-dialog footer { padding:14px 18px;flex-direction:column;align-items:stretch;gap:10px; }.dp-dialog footer p { max-width:none; }.dp-dialog footer>div { justify-content:flex-end; }.dp-form-grid { gap:14px 10px; }}

.dp-profile-footer { display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;margin-top:18px; }
.dp-profile-footer .dp-local-note { margin:0; }
.dp-demo-access { position:relative; }
.dp-demo-access summary { display:grid;place-items:center;width:24px;height:24px;list-style:none;cursor:pointer;color:#a2a8b5;border-radius:4px;font-size:14px; }
.dp-demo-access summary::-webkit-details-marker { display:none; }
.dp-demo-access summary:hover,.dp-demo-access summary:focus-visible,.dp-demo-access[open] summary { color:var(--brand);background:#edf0ff; }
.dp-demo-access summary:focus-visible { outline:2px solid var(--brand);outline-offset:2px; }
.dp-demo-options { display:grid;gap:8px;margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;max-width:calc(100vw - 64px); }
.dp-demo-options label { font-size:12px;color:var(--muted); }
.dp-demo-options select { width:100%;min-width:0;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:12px; }
