/* Home profile reference. Scoped so the detailed graph and evidence keep their styles. */
.hp-shell{--ink:#081849;--text:#102454;--muted:#50658b;--line:#e0edff;--green:#0055bf;--bg:#fff;--paper:#fff;font-family:Arial,'Segoe UI',sans-serif;color:var(--text);background:#fff}
.hp-profile{color:var(--ink)}
.hp-profile a{text-decoration:none;color:#005ac9}
.hp-profile button,.hp-profile a{touch-action:manipulation}
.hp-profile :is(button,a):focus-visible{outline:3px solid #0074ed;outline-offset:4px}
.hp-profile svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-profile h1,.hp-profile h2,.hp-profile h3{color:#081849}
.hp-portrait{display:block;position:relative;overflow:hidden;flex:none;background-image:url('assets/devon-home-reference.png');background-repeat:no-repeat;background-size:538.947368% 698.181818%;background-position:23.141487% 10.410334%;background-color:#e9edf0}
.hp-identity{display:grid;grid-template-columns:190px minmax(0,1fr);gap:26px;align-items:start;margin-bottom:30px}
.hp-identity>.hp-portrait{width:190px;height:220px;border-radius:19px;box-shadow:0 2px 6px #06204b0d}
.hp-identity-copy{min-width:0}
.hp-identity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hp-identity h1{font-size:40px;font-weight:700;letter-spacing:-1.2px;line-height:1.15;margin:0 0 7px}
.hp-identity-role{font-size:20px;font-weight:600;line-height:1.3;color:#081849}
.hp-identity-team{font-size:17px;line-height:1.5;color:#50658b;margin-top:3px}
.hp-identity-actions{display:flex;gap:8px;align-items:center}
.hp-message,.hp-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;border-radius:9px;border:1px solid #d9e9ff;padding:8px 13px;font-size:13px;line-height:1.2;color:#fff;background:linear-gradient(110deg,#005bc7,#004ab0);white-space:nowrap}
.hp-more{width:37px;padding:8px;background:#fff;color:#003b91}
.hp-profile button:disabled{opacity:.7;cursor:not-allowed}
.hp-identity .hp-metadata{display:flex;align-items:center;flex-wrap:wrap;gap:28px;margin-top:18px;min-height:30px}
.hp-location{display:inline-flex;align-items:center;gap:11px;font-size:14px;line-height:1.5;color:#50658b;white-space:nowrap}
.hp-location svg{width:20px;height:20px;color:#3e5886}
.hp-linkedin{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none}
.hp-linkedin svg{width:24px;height:24px;fill:#fff;stroke:none}
.hp-linkedin-background{fill:#0a66c2}
.hp-bio{font-size:16px;line-height:1.6;font-style:italic;color:#50658b;margin-top:12px;max-width:600px}
.hp-section{border:1px solid #e0edff;border-radius:11px;padding:18px;margin-bottom:23px;background:linear-gradient(120deg,#fff,#fdfefe);min-width:0}
.hp-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.hp-section h2{font-size:23px;line-height:1.3;font-weight:700;letter-spacing:-.55px}
.hp-section-heading p{font-size:14px;line-height:1.6;color:#50658b;margin-top:1px}
.hp-view-all{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:34px;font-size:14px;line-height:1.4;white-space:nowrap}
.hp-view-all svg{width:18px;height:18px}
.hp-capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hp-capability{--hp-accent:#005ce0;--hp-fill:#bfe2ff;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:228px;padding:16px 18px 14px;border:1px solid #e7f1ff;border-radius:11px;background:linear-gradient(130deg,#f1f8ff,#edf7ff);color:#081849!important;transition:border-color .15s,box-shadow .15s}
.hp-capability:hover{border-color:#93c3fb;box-shadow:0 3px 14px #0062c80c}
.hp-capability-manager-coaching{--hp-accent:#008574;--hp-fill:#c7f7e9;background:linear-gradient(120deg,#f0fdf8,#ebfcf9);border-color:#e0f7ed}
.hp-capability-ai-workflow{--hp-accent:#3611c9;--hp-fill:#d7d1ff;background:linear-gradient(120deg,#f6f3ff,#f6f5ff);border-color:#efebff}
.hp-capability-icon{display:grid;place-items:center;width:59px;height:59px;border-radius:50%;background:var(--hp-fill);color:var(--hp-accent);margin-bottom:11px}
.hp-capability-icon svg{width:32px;height:32px;stroke-width:2.2}
.hp-capability-ai-workflow .hp-capability-icon svg{fill:currentColor;stroke-width:.7}
.hp-capability h3{font-size:20px;line-height:1.25;font-weight:700;letter-spacing:-.55px;margin-bottom:6px}
.hp-capability p{font-size:14px;line-height:1.35;color:#50658b;margin:0 0 7px}
.hp-capability-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto;padding-top:7px;font-size:13px;line-height:1.4;color:#081849}
.hp-capability-footer svg{width:17px;height:17px}
.hp-connected{margin-top:19px}
.hp-connected h3{font-size:14px;font-weight:600;letter-spacing:-.2px;line-height:1.5;margin:0 3px 10px}
.hp-skill-chips{display:flex;flex-wrap:wrap;gap:10px}
.hp-skill-chip{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:26px;background:#e6fbf5;color:#007d6a!important;font-size:13px;line-height:1.4}
.hp-skill-chip:nth-child(3n){background:#f1eeff;color:#341ac7!important}
.hp-skill-chip:nth-child(5n){background:#fff2e9;color:#ad3800!important}
.hp-skill-chip:hover{border-color:currentColor}
.hp-skill-chip svg{width:20px;height:20px}
@media(min-width:761px) and (max-width:950px){.hp-identity-heading{position:relative;padding-right:0}.hp-identity-actions{position:absolute;right:0;top:-57px}}
@media(max-width:760px){.hp-identity{grid-template-columns:140px minmax(0,1fr);gap:20px}.hp-identity>.hp-portrait{width:140px;height:162px}.hp-identity h1{font-size:32px}.hp-identity-role{font-size:17px}.hp-identity-team{font-size:15px}.hp-metadata{gap:7px}.hp-meta{font-size:11px;padding:7px 9px}.hp-bio{font-size:14px}.hp-capability-grid{gap:10px}.hp-capability{padding:14px;min-height:252px}.hp-capability h3{font-size:18px}.hp-capability p{font-size:13px}.hp-skill-chip{font-size:12px;padding:10px 13px}}
@media(max-width:560px){.hp-identity{grid-template-columns:minmax(0,1fr);gap:17px}.hp-identity>.hp-portrait{width:140px;height:162px}.hp-identity h1{font-size:32px}.hp-identity-actions{top:-61px}.hp-section{padding:16px}.hp-section-heading{flex-wrap:wrap;gap:7px}.hp-section h2{font-size:22px}.hp-section-heading p{font-size:13px}.hp-view-all{font-size:13px;min-height:30px}.hp-capability-grid{grid-template-columns:minmax(0,1fr);gap:12px}.hp-capability{min-height:210px;padding:18px}.hp-capability h3{font-size:20px}.hp-capability p{font-size:14px;max-width:30ch}.hp-skill-chips{gap:8px}.hp-skill-chip{padding:10px 12px;max-width:100%;text-align:left}.hp-skill-chip svg{flex:none}.hp-metadata{gap:7px}.hp-meta{font-size:12px}.hp-bio{font-size:15px}}
@media(prefers-reduced-motion:reduce){.hp-capability{transition:none}}

/* The reference shell is used on Home only. */
.hp-shell{grid-template-columns:161px minmax(0,1fr)}
.hp-sidebar{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:100vh;background:linear-gradient(110deg,#f4faff,#f7fbff);border-right:1px solid #e4efff;padding:0 11px 24px}
.hp-brand{display:flex;align-items:center;justify-content:center;gap:6px;height:66px;margin:0 0 14px;width:100%;min-width:0;text-decoration:none;color:#081849;position:relative;z-index:2}
.hp-brand strong{font-size:18px;letter-spacing:-.5px;font-weight:700;white-space:nowrap}
.hp-skillforce{display:block;width:52px;height:39.2px;flex:none;background-image:url('assets/skillforce-logo.png');background-repeat:no-repeat;background-size:contain;background-position:center}
.hp-nav{display:grid;gap:7px}
.hp-nav button,.hp-sidebar-bottom button{display:flex;align-items:center;gap:13px;width:100%;min-height:39px;border:0;border-radius:9px;background:transparent;text-align:left;padding:9px 13px;color:#3e5886;font-size:14px;line-height:1.4}
.hp-nav button svg,.hp-sidebar-bottom button svg{width:23px;height:23px;color:#004aab;fill:none;stroke-width:1.8}
.hp-nav button.active{background:#d5eaff;color:#00459e;font-weight:600}
.hp-nav button:not(:disabled):hover,.hp-sidebar-bottom button:not(:disabled):hover{background:#e7f2ff}
.hp-nav button:disabled,.hp-sidebar-bottom button:disabled{opacity:.62}
.hp-sidebar-bottom{display:grid;gap:6px;margin-top:auto;padding-top:40px}
.hp-topbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;height:66px;padding:11px 26px 11px 58px;background:linear-gradient(110deg,#edf7ff,#c0e2fc 80%,#eaf7ff);overflow:hidden}
.hp-topbar:before{content:'';position:absolute;width:200px;height:75px;right:112px;top:21px;opacity:.47;background:radial-gradient(circle at 52% 46%,#fff 0 38px,transparent 39px),radial-gradient(circle at 29% 73%,#fff 0 29px,transparent 30px),radial-gradient(circle at 71% 65%,#fff 0 30px,transparent 31px),radial-gradient(circle at 10% 92%,#fff 0 31px,transparent 32px),radial-gradient(circle at 90% 92%,#fff 0 28px,transparent 29px)}
.hp-search{position:relative;display:flex;align-items:center;gap:12px;width:444px;max-width:75%;height:40px;padding:0 13px;background:#ffffffeb;border:1px solid #fff;border-radius:13px;color:#204b86}
.hp-search svg{width:19px;height:19px}
.hp-search input{border:0;outline:none!important;background:none;font-size:13px;line-height:1.4;color:#50658b;min-width:0;width:100%;padding:0;opacity:1;cursor:not-allowed}
.hp-search input::placeholder{color:#50658b;opacity:1}
.hp-topbar-actions{display:flex;align-items:center;gap:25px;position:relative}
.hp-bell{display:grid;place-items:center;border:0;background:none;padding:5px;color:#004393}
.hp-bell:disabled{opacity:.65}
.hp-bell svg{width:23px;height:23px}
.hp-mini-avatar{display:block;width:39px;height:39px;border-radius:50%;overflow:hidden;background:#e7ebee}
.hp-mini-avatar .hp-portrait{width:100%;height:115.789474%;top:-5%}
.hp-shell .main{padding:16px 13px 27px 31px;max-width:1180px;width:100%}
.hp-page-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;height:36px;margin-bottom:19px}
.hp-all-people{display:inline-flex;align-items:center;gap:11px;border:0;background:none;color:#005ac9;font-size:14px;line-height:1.4;padding:0}
.hp-profile .hp-all-people:disabled{opacity:.7}
.hp-all-people svg{width:17px;height:17px}
.hp-person-paging{display:flex;gap:17px}
.hp-person-paging button{display:grid;place-items:center;width:38px;height:36px;border:1px solid #dceaff;border-radius:9px;background:#f4f8fd;color:#003483;padding:7px}
.hp-person-paging button:first-child svg{transform:rotate(180deg)}
.hp-person-paging svg{width:19px;height:19px}
.hp-profile blockquote{margin-left:0;margin-right:0;margin-bottom:0}
.hp-footer{display:flex;flex-direction:column;gap:9px;font-size:11px;line-height:1.5;color:#607397;margin-top:5px}
.hp-footer nav{display:flex;flex-wrap:wrap;gap:5px 16px}
.hp-footer a,.hp-footer button{color:#45618e;font-size:11px;border:0;background:none;padding:2px 0;text-decoration:none}
.hp-footer a:hover,.hp-footer button:hover{text-decoration:underline}
.hp-shell :is(button,a,input):focus-visible{outline:3px solid #0074ed;outline-offset:3px}

/* Home overview shares the accepted graph circles, portrait, and connection styles. */
.hp-orbit-section{padding:24px;container-type:inline-size}
.hp-orbit-section>.hp-section-heading{margin-bottom:4px}
.hp-orbit-switch{display:inline-flex;align-items:center;flex:none;padding:0;background:#f0f6ff;border-radius:11px;min-height:36px}
.hp-orbit-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 15px;font-size:12px;color:#365283;border-radius:10px;line-height:1.4}
.hp-orbit-switch a[aria-current]{background:linear-gradient(100deg,#0060cf,#004aab);color:#fff;font-weight:600;box-shadow:0 3px 7px #005ac917}
.hp-capability-map.sf-detail-map .sm-canvas{max-width:700px;height:auto;aspect-ratio:700/470;margin:28px auto 24px}
.hp-capability-map.sf-detail-map .sm-cap-workforce-advice{left:50%;top:calc(13.652482% - var(--sm-icon-size)/2)}
.hp-capability-map.sf-detail-map .sm-cap-manager-coaching{left:23.306784%;top:calc(70% - var(--sm-icon-size)/2)}
.hp-capability-map.sf-detail-map .sm-cap-ai-workflow{left:76.693216%;top:calc(70% - var(--sm-icon-size)/2)}
.hp-capability-map.sf-detail-map .sm-person{left:50%;top:calc(55.851064% - var(--sm-icon-size)/2);cursor:default}
.hp-orbit-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0;padding:20px 4px 0;border-top:1px solid #e6effc}
.hp-orbit-legend{display:flex;flex-wrap:wrap;gap:20px 28px;align-items:flex-start;min-width:0;color:#07174c;font-size:11px;line-height:1.5}
.hp-orbit-legend>span{display:flex;align-items:flex-start;gap:13px;min-width:0}
.hp-orbit-legend>span>span{padding-top:6px}
.hp-orbit-legend strong{display:block;font-size:11px;font-weight:600;line-height:1.3;color:#07174c}
.hp-orbit-legend small{display:block;margin-top:3px;font-size:10px;line-height:1.4;color:#506895}
.hp-orbit-legend i{display:block;flex:none}
.hp-orbit-legend .hp-legend-capability{width:34px;height:34px;border:4px solid #dcefff;border-radius:50%;background:#2494ff;box-shadow:inset 0 0 0 3px #a7d5ff}
.hp-orbit-legend .hp-legend-connection{width:35px;height:0;margin-top:15px;border-top:2px solid #849ed5}
.hp-orbit-explore{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:40px;flex:none;padding:9px 16px;border:1px solid #d6e8ff;border-radius:10px;font-size:13px;color:#08285e!important;line-height:1.4}
.hp-orbit-explore:hover{background:#f0f7ff}
.hp-orbit-explore svg{width:18px;height:18px}
@media(max-width:1000px) and (min-width:761px){.hp-identity{grid-template-columns:170px minmax(0,1fr);gap:22px}.hp-identity>.hp-portrait{width:170px;height:197px}.hp-identity h1{font-size:36px}.hp-identity-role{font-size:18px}.hp-meta{padding:7px 9px;font-size:11px}.hp-identity-actions{position:static}.hp-message{padding:8px}.hp-orbit-legend{gap:7px 15px}.hp-orbit-footer{align-items:flex-start}}
@media(max-width:760px){.hp-shell{grid-template-columns:minmax(0,1fr)}.hp-sidebar{display:contents}.hp-brand{position:absolute;top:0;left:15px;margin:0;height:66px;width:165px;z-index:2}.hp-topbar{padding:12px 18px 12px 195px}.hp-search{max-width:none;width:100%}.hp-topbar-actions{gap:10px}.hp-bell{display:none}.hp-nav{grid-row:2;display:flex;overflow:auto;padding:10px 15px;gap:6px;border-bottom:1px solid #e0edff;background:#f7fbff}.hp-nav button{width:auto;flex:none;padding:8px 11px;font-size:12px;gap:7px}.hp-nav button svg{width:19px;height:19px}.hp-sidebar-bottom{display:none}.hp-shell>.main-shell{display:contents}.hp-topbar{grid-row:1}.hp-shell .main{grid-row:3;padding:17px 20px 24px}.hp-identity-heading{flex-wrap:wrap;gap:6px}.hp-identity-actions{position:static;margin:2px 0 8px}.hp-identity h1{margin-bottom:2px}.hp-orbit-footer{flex-wrap:wrap;gap:18px}.hp-orbit-legend{gap:8px 18px}}
@media(max-width:560px){.hp-topbar{padding-left:188px;gap:12px}.hp-search{display:none}.hp-topbar-actions{margin-left:auto}.hp-shell .main{padding:15px 16px 22px}.hp-page-nav{margin-bottom:20px}.hp-person-paging{gap:10px}.hp-identity{position:relative}.hp-identity-heading{display:block}.hp-identity-actions{position:absolute;right:0;top:10px;margin:0}.hp-identity-copy{min-width:0}.hp-identity-role{font-size:18px}.hp-identity h1{font-size:34px;margin-bottom:7px}.hp-meta{padding:7px 10px}.hp-bio-break{display:none}.hp-orbit-section>.hp-section-heading{gap:14px}.hp-orbit-switch{min-height:36px}.hp-orbit-explore{min-height:42px;font-size:12px}.hp-footer{font-size:10px}.hp-footer nav{gap:7px 14px}}
@media(max-width:760px){.hp-nav{scrollbar-width:none}.hp-nav::-webkit-scrollbar{display:none}}
@media(max-width:760px){.hp-brand{justify-content:flex-start}}
@media(max-width:360px){.hp-identity-actions{gap:5px}.hp-message{padding:8px;font-size:12px}.hp-more{width:32px}.hp-identity>.hp-portrait{width:128px;height:148px}}
/* Keep all captions below their circles, with room for the shared compact sizes. */
@container(max-width:660px){
  .hp-capability-map.sf-detail-map .sm-canvas{height:500px;aspect-ratio:auto}
  .hp-capability-map.sf-detail-map .sm-cap-workforce-advice{top:calc(64px - var(--sm-icon-size)/2)}
  .hp-capability-map.sf-detail-map .sm-cap-manager-coaching{left:23%;top:calc(385px - var(--sm-icon-size)/2)}
  .hp-capability-map.sf-detail-map .sm-cap-ai-workflow{left:77%;top:calc(385px - var(--sm-icon-size)/2)}
  .hp-capability-map.sf-detail-map .sm-person{top:calc(250px - var(--sm-icon-size)/2)}
}
@media(max-width:680px){
  .hp-orbit-section{padding:20px 14px}
  .hp-orbit-footer{gap:24px}
  .hp-orbit-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:16px 12px}
  .hp-orbit-legend>span{gap:9px}
  .hp-orbit-legend>span>span{padding-top:3px}
  .hp-orbit-legend .hp-legend-capability{width:28px;height:28px;border-width:3px}
  .hp-orbit-legend .hp-legend-connection{width:29px;margin-top:12px}
}

/* Dialogs opened from finished SkillMap screens inherit their screen palette. */
body:has(.hp-shell,.sa-shell) #detail-dialog{--ink:#0b204d;--text:#29446f;--muted:#526a92;--line:#dce7f6;--accent:#dcecff;--green:#0060ca;border-color:var(--line);color:var(--text)}
body:has(.hp-shell,.sa-shell) #detail-dialog .btn-primary{background:#0064df;border-color:#0064df;color:#fff}
body:has(.hp-shell,.sa-shell) #detail-dialog .btn:hover{background:#eff6ff;color:#0058bf}
body:has(.hp-shell,.sa-shell) #detail-dialog .btn-primary:hover{background:#0054bd;color:#fff}
body:has(.hp-shell,.sa-shell) #detail-dialog :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #0074ed;outline-offset:3px}
body:has(.hp-shell,.sa-shell) #detail-dialog :is(.quote-panel,.proof-scope,.as-transcript){background:#f3f8ff;border-color:#d3e3f8;color:#375985}
body:has(.hp-shell,.sa-shell) #detail-dialog :is(input,textarea,select){border-color:#cbdcf0;accent-color:#0064df}

/* I/V evidence flags on the profile. Flag colors mean evidence state only. */
.hp-capability-status{display:inline-flex;align-items:center;gap:8px}
.hp-flag{display:inline-grid;place-items:center;flex:none;min-width:22px;height:22px;padding:0 5px;border:1px solid transparent;border-radius:6px;font:700 11.5px/1 Arial,'Segoe UI',sans-serif;letter-spacing:.2px}
.hp-flag-v{background:#e2f4eb;color:#146c4f;border-color:#a9dcc4}
.hp-flag-i{background:#fff;color:#35547a;border-color:#b8cbe3}
.hp-flag-none{background:#f2f5f9;color:#6a7d95;border-color:#dbe3ee}
.hp-skill-chip .hp-flag{min-width:20px;height:20px;margin-left:2px;font-size:11px}
.hp-connected-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin:0 3px 10px}
.hp-connected-heading h3{margin:0}
.hp-flag-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;font-size:12px;line-height:1.5;color:#40597a}
.hp-flag-legend>span{display:inline-flex;align-items:center;gap:6px}
.hp-flag-legend a{display:inline-flex;align-items:center;gap:4px;color:#0b5cb7;font-weight:600;text-decoration:none}
.hp-flag-legend a:hover{text-decoration:underline}
.hp-flag-legend a svg{width:14px;height:14px}
