/* Profile-owned palette outranks the shared site canvas. The graph is a real WebGL surface. */
#profileGraph.profile-graph{--graph-border:var(--profile-accent,#8190a4);color:var(--profile-text,#172b45);background:var(--profile-bg,#f4f7fb);overflow-wrap:anywhere;padding:0;position:relative;min-width:0}
.profile-graph-container{position:relative;min-height:100vh;min-height:100dvh}
.profile-graph h1{color:var(--profile-header-text,var(--profile-text,#172b45));font-size:clamp(1.35rem,2.2vw,2rem);margin:.35rem 0;line-height:1.15}
.profile-graph h2,.profile-graph h3{color:inherit;font-size:1.2rem}
.profile-graph p{color:inherit}
.profile-graph--type-editorial h1,.profile-graph--type-editorial h2{font-family:Georgia,serif}
.profile-graph--type-technical .profile-graph-origin{font-family:monospace}
#profileGraph :where(a:not(.profile-hub__link)){color:inherit;text-decoration:underline;text-underline-offset:3px}
.profile-graph button:not(.btn-close):not(.profile-hub__link),.profile-graph-menu summary:not(.profile-hub__link),.profile-graph-details-link:not(.profile-hub__link){min-height:44px;min-width:44px;border:1px solid var(--graph-border);border-radius:10px;padding:.5rem .75rem;background:var(--profile-surface,#fff);color:var(--profile-text,#172b45);font:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}
.profile-graph button:not(.profile-hub__link):hover{box-shadow:inset 0 0 0 1px currentColor}
.profile-graph :focus-visible{outline:3px solid currentColor;outline-offset:3px}
.profile-graph [hidden]{display:none!important}
.profile-graph-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.profile-graph-toolbar{position:absolute;top:16px;right:16px;display:flex;gap:8px;z-index:6;align-items:start}
.profile-graph-toggle{display:flex;gap:8px}
.profile-graph-toggle button{justify-content:center;min-width:0}
.profile-graph-toggle button[aria-pressed=true]{box-shadow:inset 0 0 0 2px currentColor}
.profile-graph-menu>summary{list-style:none}
.profile-graph-menu>summary::-webkit-details-marker{display:none}
.profile-graph-menu-panel{font-size:.9rem;position:absolute;right:0;top:56px;width:min(310px,calc(100vw - 28px));padding:16px;border:1px solid rgba(23,32,51,.11);border-radius:14px;background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45));box-shadow:0 12px 35px #0004;max-height:calc(100vh - 88px);max-height:calc(100dvh - 88px);overflow:auto;display:grid;gap:12px}
#profileGraph .profile-graph-menu-panel :is(h2,h3){font-size:1.1rem;font-weight:600}
#profileGraph .profile-graph-menu-panel .profile-hub__link{font-size:.875rem;min-height:32px;padding:.25rem .5rem}
#profileGraph .profile-graph-menu-panel button[aria-label^="Close"]{width:32px;padding:.25rem;justify-content:center}
.profile-graph-menu-panel>a{padding:10px 0;min-height:44px}
.profile-graph-menu-panel summary{cursor:pointer}
.profile-graph-workspace{position:relative;height:100vh;height:100dvh;min-height:0;isolation:isolate}
.profile-graph-viewport{position:absolute;inset:0;overflow:hidden;touch-action:none}
#graphCanvas{width:100%;height:100%}
#graphCanvas canvas{display:block;touch-action:none}
.profile-graph-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
#profileGraph .profile-graph-node-badge{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%;border:2px solid var(--graph-border);background:var(--profile-surface,#fff);color:var(--profile-text,#172b45);box-shadow:0 2px 8px #0003;font-size:18px;overflow:hidden}
#profileGraph .profile-graph-node-badge--brand{width:56px;height:56px;font-size:18px;font-weight:700;border-color:var(--profile-accent,#4154f1)}
.profile-graph-node-badge img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--profile-surface,#fff)}
.profile-graph-node-label{position:absolute;transform:translateX(-50%);max-width:150px;padding:3px 6px;border-radius:5px;background:#172b45dd;color:#fff;font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.profile-graph-search{position:absolute;top:16px;left:16px;width:min(350px,calc(100% - 160px));z-index:4}
.profile-graph-search-field{display:flex;gap:10px;align-items:center;padding:0 12px;border:1px solid rgba(23,32,51,.11);border-radius:12px;background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45))}
.profile-graph-search input{width:100%;min-width:0;height:44px;border:0;background:transparent;color:inherit;font:inherit;font-size:.85rem}
.profile-graph-search input::placeholder{color:inherit;opacity:.75}
.profile-graph-search-results{position:absolute;left:0;right:0;top:52px;z-index:1;max-height:min(320px,45vh);overflow:auto;background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45));padding:8px;border:1px solid rgba(23,32,51,.11);border-radius:10px}
.profile-graph-search-results li+li{border-top:1px solid rgba(23,32,51,.11)}
#profileGraph .profile-graph-search-result{display:block;min-height:44px;width:100%;padding:.5rem .75rem;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:.85rem;text-align:left;overflow-wrap:anywhere;box-shadow:none}
#profileGraph .profile-graph-search-result:hover{background:rgba(127,127,127,.1)}
#profileGraph .profile-graph-search-result:focus-visible{background:rgba(127,127,127,.1);outline:2px solid currentColor;outline-offset:-2px}
#graphBreadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;font-size:.8rem}
#graphBreadcrumbs button{border:0;background:transparent;color:inherit;padding:4px 8px;font-size:inherit}
#graphBreadcrumbs button[aria-pressed="true"]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
#graphBreadcrumbs span{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.profile-graph-controls{touch-action:manipulation;position:absolute;right:24px;bottom:100px;display:flex;flex-direction:column;gap:4px;z-index:3}
.profile-graph-controls .profile-hub__link,.profile-graph-menu>summary.profile-hub__link{width:44px;min-height:44px;padding:10px;justify-content:center}
.profile-graph-node-picker{display:block;width:100%;min-height:44px;padding:.5rem;border:1px solid rgba(23,32,51,.11);border-radius:8px;background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45));font:inherit}
.profile-graph button:disabled{opacity:.6;cursor:not-allowed}
.profile-graph-details,.profile-graph-fact{padding:20px;border:1px solid var(--graph-border);border-radius:16px;background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45));overflow-wrap:anywhere}
.profile-graph-details{border:0;position:absolute;top:180px;right:85px;width:280px;max-height:calc(100% - 110px);overflow:auto;overscroll-behavior:contain;z-index:5;box-shadow:0 16px 48px #0005;font-size:.9rem}
.profile-graph-details h2{margin:.5rem 0}
.profile-graph-details p{margin:.65rem 0}
.profile-graph-details img{max-height:60px;object-fit:contain}
.profile-graph-details .profile-hub__link{min-height:32px;padding:.25rem .5rem;gap:8px;border-radius:.375rem;font-size:.875rem}
.profile-graph-details .profile-hub__link span{gap:8px}
.profile-graph-details .profile-hub__link i{font-size:inherit}
.profile-graph-details .profile-graph-close{float:right;width:32px;justify-content:center;margin:-10px -10px 0 0}
.profile-graph-details button:not(.profile-hub__link){background:transparent;color:inherit;border:0;justify-content:start;font-size:.85rem;text-align:left}
.profile-graph-details ul{list-style:none;padding:0;margin:0}
.profile-graph-details li{border-bottom:1px solid #8190a433;padding:4px 0}
.profile-graph-details li span{display:block;font-size:.75rem;opacity:.8}
.profile-graph-details summary{min-height:44px;padding:12px 0;cursor:pointer;border-top:1px solid #8190a444;font-weight:600}
.profile-graph-details a:not(.profile-hub__link),.profile-graph-fact a:not(.profile-hub__link){display:inline-block;min-height:44px;padding:.5rem 0;max-width:100%}
.profile-graph blockquote{padding:.75rem;border-left:3px solid var(--graph-border);margin:1rem 0;background:var(--profile-bg,#f4f7fb);color:var(--profile-text,#172b45)}
.profile-graph-origin{font-size:.8rem}
.profile-graph-legend{position:absolute;bottom:22px;left:28px;max-width:min(640px,calc(100% - 210px));padding:8px 12px;border:1px solid var(--graph-border);border-radius:12px;background:var(--profile-surface,#fff);color:var(--profile-text,#172b45);z-index:3;font-size:.75rem}
.profile-graph-legend summary{cursor:pointer;min-height:28px}
.profile-graph-legend>div{display:flex;flex-wrap:wrap;gap:10px 14px}
.profile-graph-legend span{display:flex;align-items:center;gap:7px}
.graph-color-business{color:#fbbf24}.graph-color-service{color:#38bdf8}.graph-color-project{color:#34d399}.graph-color-area{color:#a78bfa}.graph-color-product{color:#fb923c}.graph-color-audience{color:#22d3ee}.graph-color-claim{color:#fb7185}.graph-color-category{color:#94a3b8}
.profile-graph-gesture-hint{position:absolute;bottom:18px;right:95px;font-size:.75rem;pointer-events:none}
.profile-graph-feedback{position:absolute;bottom:90px;left:28px;max-width:calc(100% - 100px);font-size:.8rem;pointer-events:none;z-index:3}
#graphList{padding:88px 28px 32px;max-width:1000px;margin:auto}
.profile-graph-fact{border:0;margin-bottom:16px}
@media(max-width:767px){
 .profile-graph-container{min-height:100dvh}.profile-graph-workspace{min-height:0}
 .profile-graph-toolbar{top:16px;right:16px;gap:8px}.profile-graph-toggle button{padding:6px;min-width:40px;font-size:.8rem}.profile-graph-toolbar summary{padding:8px}
 .profile-graph-search{top:72px;left:12px;width:min(320px,calc(100% - 24px))}
 .profile-graph-search input{font-size:max(16px,1rem)}
 .profile-graph-details{top:auto!important;left:12px!important;right:12px;bottom:12px;width:auto;max-height:35%;padding:16px}
 .profile-graph-controls{right:12px;bottom:105px}.profile-graph-legend{left:12px;bottom:18px;max-width:calc(100% - 90px)}.profile-graph-legend>div{gap:8px}.profile-graph-gesture-hint{display:none}
 .profile-graph-feedback{left:16px;bottom:82px}#graphList{padding:80px 16px 32px}
}
@media(prefers-reduced-motion:reduce){.profile-graph *{scroll-behavior:auto!important;transition:none!important}}


.profile-graph-recovery{margin:16px 28px;padding:16px;border:1px solid var(--graph-border);border-radius:12px;background:var(--profile-surface,#fff);color:var(--profile-text,#172b45)}
.profile-graph-recovery p{margin:0 0 8px}


/* Dedicated chrome-free explorer; no fixed site header or footer competes with the canvas. */
body.profile-graph-shell{margin:0;background:#f4f7fb}
.profile-graph-exit{display:inline-flex;align-items:center;gap:8px;width:auto;min-height:44px;padding:8px 12px}
#profileGraph .profile-graph-exit{text-decoration:none}
#graphBreadcrumbs{background:var(--profile-surface,#fff);border-radius:10px;padding:4px;width:fit-content;max-width:100%}
#graphModalBody{overflow-wrap:anywhere;outline-offset:-3px}
.profile-graph-modal .modal-content{background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45));border:0}
.profile-graph-modal .modal-title{color:inherit}
.profile-graph-modal .btn-close{background-color:#fff;flex-shrink:0}
.profile-graph-modal summary{cursor:pointer;padding:12px 0;min-height:44px;font-weight:600}
.profile-graph-modal ul{padding-left:20px}
.profile-graph-modal blockquote{margin:12px 0}
.profile-graph-modal img{max-width:100%;height:auto}

/* Hover details sit above graph badges and labels, with a popover-like pointer. */
.profile-graph-hover-tip{position:absolute;z-index:6;pointer-events:none;transform:translate(-50%,-100%);width:max-content;max-width:min(240px,calc(100% - 16px));padding:8px 12px;border-radius:8px;background:var(--profile-card-bg,var(--profile-surface,#fff));color:var(--profile-card-text,var(--profile-text,#172b45));box-shadow:0 4px 16px #0003;font-size:.875rem;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center}
.profile-graph-hover-tip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:var(--profile-card-bg,var(--profile-surface,#fff))}
