.portal-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:24px}.portal-profile,.portal-next,.portal-org,.portal-connection{padding:26px}.portal-person{display:flex;align-items:center;gap:18px;margin-bottom:24px}.portal-person .initials,.portal-person .profile-avatar{width:72px;height:72px;flex:0 0 72px;border-radius:20px;font-size:24px}.portal-person h2{font-size:25px;margin:0 0 6px}.portal-person p{margin:0 0 4px}.portal-person span{color:var(--muted,#746981)}.portal-profile h3{font-size:16px;margin-top:24px}.portal-profile p{line-height:1.7;overflow-wrap:anywhere}.portal-skill-tags{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 20px}.portal-skill-tags span{padding:6px 11px;background:#eee7f5;border:1px solid #e1d7ec;border-radius:9px;font-size:14px}.portal-sidebar{display:grid;gap:20px;align-content:start}.portal-next h2{font-size:22px;margin:10px 0}.portal-next p{font-size:16px;line-height:1.7;color:var(--muted,#746981)}.portal-next .portal-access-count{margin-top:24px;font-weight:650;color:inherit}.portal-boundary{padding:20px 24px;background:#f0ebf5;border:1px solid #e1d8ea;border-radius:16px;margin:24px 0;line-height:1.7;font-size:14px}.portal-boundary p{margin:6px 0 0}.portal-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.portal-tabs [aria-pressed=true]{background:#e9dff4;border-color:#aa93c0;color:#51366f}.portal-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) auto;align-items:end;gap:14px;margin:0 0 24px}.portal-search input,.portal-search select{min-width:0;width:100%}.portal-org-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.portal-org{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.portal-org h2{font-size:22px;margin:5px 0}.portal-org p{margin:0;line-height:1.6;overflow-wrap:anywhere}.portal-org .actions{margin-top:auto;padding-top:18px}.portal-status{display:inline-block;align-self:flex-start;padding:7px 12px;border:1px solid #dbcee6;background:#f3edf8;border-radius:9px;font-size:14px;font-weight:650;white-space:nowrap}.portal-connection-list{display:grid;gap:20px}.portal-connection-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.portal-connection-top h2{margin:9px 0;font-size:23px}.portal-connection-top p{margin:0}.portal-access-list{padding-left:20px;font-size:14px;line-height:1.9;margin:14px 0}.portal-small{font-size:14px;color:var(--muted,#746981);line-height:1.7}.portal-share-preview{background:#f5f0f9;border:1px solid #e4daed;border-radius:14px;padding:18px;margin-bottom:20px;font-size:16px;line-height:1.65}.portal-share-preview p{margin:8px 0}.portal-check{display:flex;align-items:flex-start;gap:12px;margin:18px 0;font-size:16px;line-height:1.6}.portal-check input{width:20px;height:20px;flex:0 0 20px;margin-top:3px}.portal-profile .actions,.portal-connection .actions{flex-wrap:wrap}.portal-org,.portal-profile,.portal-next,.portal-connection{min-width:0;box-shadow:0 8px 25px #33204008}.portal-search label{font-size:14px}.portal-layout .btn,.portal-org .btn{white-space:normal}.portal-layout,.portal-org-grid{margin-bottom:24px}

/* Candidate-owned profile, following SEEK's section order while keeping TAP's sharing controls. */
.seek-profile-layout{grid-template-columns:minmax(0,1.7fr) minmax(270px,.82fr);align-items:start}.seek-profile-main{display:grid;gap:18px;min-width:0}.seek-profile-identity{padding:0;overflow:hidden;border-radius:22px}.seek-profile-banner{height:118px;background:linear-gradient(112deg,#101f54 0%,#162d6b 58%,#3f3383 100%);position:relative}.seek-profile-banner:after{content:"";position:absolute;inset:0 0 0 auto;width:42%;background:radial-gradient(circle at 92% 15%,#d8389440 0 27%,transparent 27.5%),radial-gradient(circle at 78% 105%,#9270d94d 0 23%,transparent 23.5%)}.seek-profile-identity-body{padding:0 26px 24px}.seek-profile-identity .portal-person{margin-top:-42px;position:relative;align-items:flex-end;margin-bottom:14px}.seek-profile-identity .portal-person .initials,.seek-profile-identity .portal-person .profile-avatar{width:84px;height:84px;flex-basis:84px;border:4px solid #fff;border-radius:20px;background:#f4eef9;box-shadow:0 4px 14px #1f173019}.seek-profile-identity .portal-person h2{font-size:28px}.seek-profile-identity .portal-person p{font-weight:600}.seek-profile-links{margin-top:9px;font-size:14px}.seek-profile-links a{color:#315cb7;font-weight:600;margin-right:10px}.seek-profile-section{padding:22px 25px;border-radius:18px;min-width:0}.seek-profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.seek-profile-section-head h2{font-size:23px;line-height:1.25;margin:0}.seek-profile-section-head .btn{min-height:38px;padding:7px 12px;font-size:14px}.seek-profile-section-body{min-width:0}.seek-summary,.portal-empty-detail{line-height:1.7;margin:0;overflow-wrap:anywhere}.portal-empty-detail{color:var(--muted,#746981)}.seek-profile-cards{display:grid;gap:12px}.seek-profile-card{position:relative;border:1px solid #e4e1eb;border-radius:14px;padding:17px 19px;background:#fff;min-width:0}.seek-profile-card h3{font-size:18px;line-height:1.35;margin:0 34px 5px 0}.seek-profile-card p{margin:8px 0 0;line-height:1.6;overflow-wrap:anywhere}.seek-profile-card .portal-card-subtitle{font-size:15px;color:var(--muted,#746981);margin-top:3px}.seek-profile-card .portal-card-date{font-size:14px;color:#66718a;margin-top:8px}.seek-language-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.seek-language-card span{color:var(--muted,#746981);font-size:15px}.seek-resume-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.seek-resume-card h3{margin-top:10px}.seek-resume-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.seek-resume-card .portal-status{font-size:12px;padding:4px 8px}.portal-facts{display:grid;gap:0;margin:0}.portal-facts>div{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(0,1.4fr);gap:14px;padding:13px 0;border-bottom:1px solid #ece9f0}.portal-facts>div:last-child{border-bottom:0}.portal-facts dt{font-weight:600}.portal-facts dd{margin:0;line-height:1.55;overflow-wrap:anywhere}.portal-facts .portal-small{display:block}.seek-profile-rail{padding:21px;border-radius:17px}.seek-profile-rail h2{font-size:20px;margin:0 0 12px}.seek-profile-rail p{margin:8px 0}.seek-profile-rail .portal-facts>div{grid-template-columns:1fr;gap:3px;padding:9px 0}.portal-strength-track{height:13px;border-radius:99px;background:#ecebf0;overflow:hidden;margin:15px 0 10px}.portal-strength-track span{display:block;height:100%;border-radius:inherit;background:#168559;transition:width .2s ease}.seek-profile-layout .portal-sidebar{gap:16px}.portal-editor-section{border-top:1px solid #e9e4ee;padding-top:18px;margin-top:20px}.portal-editor-section:first-of-type{border-top:0;padding-top:0;margin-top:0}.portal-editor-section h3{font-size:19px;margin:0 0 12px}.portal-editor-section>.field{margin-top:14px}.portal-repeater-list{display:grid;gap:10px}.portal-repeater-item{position:relative;border:1px solid #e5dfeb;border-radius:13px;padding:18px 16px 14px;margin:0 0 10px;min-width:0}.portal-repeater-item legend{font-weight:650;padding:0 7px}.portal-repeater-item .portal-repeater-remove{position:absolute;right:13px;top:8px;min-height:34px;padding:5px 9px;font-size:14px}.portal-repeater-item .form-grid{margin-top:6px}.portal-current-role{align-self:end}.portal-current-role>span:first-child{font-weight:600}.seek-shared-profile{max-width:100%;}.seek-shared-profile>.seek-profile-section{margin:16px 0}.seek-shared-profile .seek-profile-identity{padding:18px;border:1px solid #e7e1ed}.seek-shared-profile .portal-person{margin:0 0 12px}.portal-shared-access{font-size:14px;color:var(--muted,#746981);margin:0}.seek-shared-profile .portal-skill-tags{margin-bottom:0}
@media(max-width:950px){.portal-layout{grid-template-columns:1fr}.portal-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.seek-profile-layout{grid-template-columns:1fr}.seek-profile-layout .portal-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.seek-profile-layout .portal-next{padding:20px}}
@media(max-width:650px){.portal-org-grid,.portal-sidebar,.portal-search{grid-template-columns:1fr}.portal-profile,.portal-next,.portal-org,.portal-connection{padding:20px}.portal-connection-top{flex-wrap:wrap}.portal-person{align-items:flex-start}.portal-person h2{font-size:22px}.portal-boundary{padding:18px}.portal-search .btn{width:100%}.seek-profile-layout .portal-sidebar{grid-template-columns:1fr}.seek-profile-identity-body{padding:0 19px 20px}.seek-profile-identity .portal-person{align-items:flex-start;flex-wrap:wrap}.seek-profile-identity .portal-person h2{font-size:24px}.seek-profile-section{padding:19px}.seek-profile-section-head h2{font-size:21px}.portal-facts>div{grid-template-columns:1fr;gap:4px}.seek-resume-card{align-items:flex-start;flex-direction:column}.portal-repeater-item{padding:20px 12px 14px}.portal-repeater-item .portal-repeater-remove{position:static;margin:5px 0 8px}.seek-shared-profile>.seek-profile-section{padding:17px}.seek-profile-card{padding:15px}}

/* Compact LinkedIn-style connection rows: one shared list surface, no oversized person cards. */
.portal-connection-list{display:flex;flex-direction:column;gap:0;overflow:hidden;border:1px solid var(--line,#e4e9f1);border-radius:12px;background:#fff}.portal-connection-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:15px;padding:16px 20px;border-bottom:1px solid #e8ebf1;min-width:0}.portal-connection-row:last-child{border-bottom:0}.portal-connection-row:hover{background:#fafbfe}.portal-connection-avatar{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#eef2fa;color:#36568b;font-size:18px;font-weight:650}.portal-connection-avatar img,.portal-connection-avatar .avatar,.portal-connection-avatar .initials,.portal-connection-avatar .profile-avatar,.portal-connection-avatar .profile-picture-link{width:52px;height:52px;display:grid;place-items:center;object-fit:cover;border-radius:50%}.portal-network-initial{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#e9effa;color:#36568b}.portal-connection-copy{min-width:0}.portal-connection-name{font-size:17px;line-height:1.35;font-weight:650}.portal-connection-name a{color:var(--ink,#172b4d);text-decoration:none}.portal-connection-name a:hover{text-decoration:underline}.portal-connection-headline{margin-top:2px;font-size:15px;line-height:1.45;color:#40516a;overflow-wrap:anywhere}.portal-connection-meta{margin-top:3px;font-size:13px;line-height:1.45;color:var(--muted,#64748b)}.portal-connection-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.portal-connection-badges .portal-status{font-size:12px;padding:3px 8px;border-radius:999px}.portal-connection-badges .portal-searchable{background:#eef8f2;border-color:#cbe8d5;color:#237344}.portal-connection-badges .portal-hidden-search{background:#f3f4f6;border-color:#dfe2e7;color:#657082}.portal-connection-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}.portal-connection-actions .btn{white-space:nowrap}.portal-connection-access{margin-top:8px;font-size:13px;color:#53627a}.portal-connection-access summary{width:max-content;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.portal-connection-access .portal-access-list{font-size:13px;line-height:1.6;margin:7px 0}.portal-connection-access[open]{padding:9px 12px;background:#f7f8fb;border-radius:8px}.portal-job-status{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px}.portal-job-status .portal-facts{flex:1}.portal-job-status .portal-facts>div{padding:8px 0}.portal-job-status .portal-small{margin:8px 0 0}.portal-tabs [aria-pressed=true]{box-shadow:inset 0 -2px #0a66c2;background:#fff;border-color:#dce3ee;color:#0a66c2}
@media(max-width:760px){.portal-connection-row{grid-template-columns:46px minmax(0,1fr);gap:11px;padding:14px}.portal-connection-avatar,.portal-connection-avatar img,.portal-connection-avatar .avatar,.portal-connection-avatar .initials,.portal-connection-avatar .profile-avatar,.portal-connection-avatar .profile-picture-link{width:46px;height:46px}.portal-connection-actions{grid-column:2;justify-content:flex-start}.portal-connection-name{font-size:16px}.portal-job-status{align-items:flex-start;flex-direction:column}.portal-job-status .btn{width:100%}}
.portal-network-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.35fr) auto;align-items:end;gap:14px;margin:0 0 14px;padding:15px 17px;border:1px solid var(--line,#e4e9f1);border-radius:10px;background:#fff}.portal-network-toolbar .field{min-width:0;margin:0}.portal-network-toolbar input,.portal-network-toolbar select{width:100%;min-width:0}.portal-network-toolbar .btn{white-space:nowrap}.seek-profile-main>.seek-profile-section:first-child{background:#fbfcff}
@media(max-width:600px){.portal-network-toolbar{grid-template-columns:minmax(0,1fr);gap:10px;padding:13px}.portal-network-toolbar .btn{width:100%}}

.tap-identity-panel{max-width:980px;margin:18px auto;display:grid;gap:12px}.tap-identity-panel p{max-width:760px;margin:0;line-height:1.6}.tap-identity-panel .field{max-width:340px;margin:0}.tap-identity-panel input{font-weight:700;letter-spacing:.045em}.tap-identity-panel .actions{display:flex;flex-wrap:wrap;gap:8px}.tap-request-list{display:grid;gap:0}.tap-request-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid var(--line,#e6eaf0)}.tap-request-row:last-child{border-bottom:0}.tap-request-row>div:first-child{display:grid;gap:4px;min-width:0}.tap-request-row>div:first-child span,.tap-request-row small{font-size:14px;color:var(--muted,#64748b)}.tap-request-row .actions{flex-wrap:wrap}.tap-number-lookup{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);align-items:center;gap:24px;margin:0 0 15px;padding:20px}.tap-number-lookup h2{font-size:19px;margin:0 0 7px}.tap-number-lookup p{margin:0;color:var(--muted,#64748b);line-height:1.5}.tap-number-lookup form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.tap-number-lookup .field{margin:0;min-width:0}.tap-number-lookup input{width:100%;min-width:0;text-transform:uppercase;letter-spacing:.035em}.tap-number-lookup .form-error{grid-column:1/-1}.profile-name-link{appearance:none;border:0;padding:0;background:none;color:var(--ink,#172b4d);font:inherit;font-weight:650;text-align:left;cursor:pointer}.profile-name-link:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.tap-number-lookup{grid-template-columns:1fr;gap:12px}.tap-number-lookup form{grid-template-columns:1fr}.tap-request-row{align-items:flex-start;flex-direction:column}.tap-request-row .actions{width:100%}.tap-identity-panel{margin:12px 0}.tap-identity-panel .actions>*{flex:1 1 auto}}

.discovery-card{display:flex;gap:20px;justify-content:space-between;padding:20px 0;border-bottom:1px solid #e9e3ee}.discovery-card h3{margin:0 0 8px}.discovery-card small{display:block;margin-top:10px;color:#71647e}.discovery-card .actions{flex-wrap:wrap;align-self:center}.discovery-search{display:flex;gap:12px;align-items:end}.discovery-search .field{flex:1}#discovery-settings textarea{min-height:72px}@media(max-width:600px){.discovery-card,.discovery-search{flex-direction:column;align-items:stretch}.discovery-card .actions{align-self:stretch}.discovery-search .field{width:100%}}

/* Only the portrait overlaps the cover; identity text stays on white. */
.seek-profile-identity-body{padding-top:20px;background:#fff}
.seek-profile-identity-body .portal-person{margin-top:0;align-items:flex-start;flex-wrap:nowrap}
.seek-profile-identity-body .portal-person>:first-child{margin-top:-62px;flex-shrink:0}
.seek-profile-identity-body .portal-person>div:last-child{min-width:0;flex:1;overflow-wrap:anywhere}
.seek-profile-identity-body .portal-person h2{color:#30233f;line-height:1.25;margin-bottom:8px}
.seek-profile-identity-body .actions{flex-wrap:wrap;gap:8px}
@media(max-width:650px){
  .seek-profile-identity-body{padding-top:18px}
  .seek-profile-identity-body .portal-person{flex-direction:column;gap:12px}
  .seek-profile-identity-body .portal-person>:first-child{margin-top:-60px;flex-basis:auto}
  .seek-profile-identity-body .portal-person>div:last-child{width:100%}
}
