.business-card-carousel { position:relative; width:100%; margin-bottom:28px; touch-action:pan-y; user-select:none; }
.business-card-carousel img { -webkit-user-drag:none; }
.business-card-carousel:focus-visible { outline:2px solid var(--ov-primary, #526bc2); outline-offset:4px; }
.business-card-carousel__viewport { position:relative; width:100%; aspect-ratio:9 / 5; overflow:visible; }
.business-card-carousel__rail { display:contents; }
.business-card-carousel__foreground { position:relative; z-index:1; height:100%; }
.business-card-carousel__foreground.is-settling,.business-card-carousel__incoming.is-settling { transition:transform .36s cubic-bezier(.22,1,.36,1), opacity .36s ease; }
.business-card-carousel__foreground,.business-card-carousel__incoming { will-change:transform; }
.business-card-carousel__incoming { position:absolute; z-index:2; inset:0; display:grid; width:100%; height:100%; place-items:stretch; background:transparent; pointer-events:none; }
.business-card-carousel__incoming > img,.business-card-carousel__incoming .bcard { width:100%; height:100%; max-width:none; object-fit:contain; box-shadow:none; }
.business-card-carousel__side { position:absolute; z-index:2; top:50%; left:calc(100% + clamp(32px, 5vw, 100px)); display:grid; width:clamp(160px, 17vw, 220px); aspect-ratio:9 / 5; place-items:center; overflow:hidden; padding:0; border:2px solid var(--ov-primary, #526bc2); background:var(--ov-panel, #fff); color:var(--ov-primary, #526bc2); cursor:grab; transform:translateY(-50%); }
.business-card-carousel__side--previous { left:auto; right:calc(100% + clamp(32px, 5vw, 100px)); }
.business-card-carousel.is-moving .business-card-carousel__side { visibility:hidden; pointer-events:none; }
.business-card-carousel__side > svg { width:44px; height:44px; stroke-width:1.6; }
.business-card-carousel__side > img,.business-card-carousel__side .bcard { width:100%; height:100%; max-width:none; object-fit:contain; box-shadow:none; }
.business-card-carousel__side:hover,.business-card-carousel__side:focus-visible { border-color:var(--ov-primary-hover, #405bb4); outline:2px solid var(--ov-primary, #526bc2); outline-offset:3px; }
@media (max-width:940px) { .business-card-carousel__side--next { position:relative; top:auto; left:auto; width:min(200px, 42%); margin:16px 0 0 auto; transform:none; } }
@media (prefers-reduced-motion:reduce) { .business-card-carousel__foreground.is-settling,.business-card-carousel__incoming.is-settling { transition:none; } }
.card-image-crop { box-sizing:border-box; width:min(640px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); margin:auto; padding:0; overflow:auto; border:1px solid #dfe3e8; border-radius:8px; background:#fff; color:#222831; font:inherit; }
.card-image-crop::backdrop { background:rgba(20,24,30,.5); }
.card-image-crop header,.card-image-crop footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px; }
.card-image-crop header strong { font-size:18px; }
.card-image-crop button { display:inline-flex; min-height:40px; align-items:center; justify-content:center; gap:6px; padding:8px 12px; border:1px solid #dfe3e8; border-radius:6px; background:#fff; color:inherit; font:inherit; cursor:pointer; }
.card-image-crop button:disabled { opacity:.5; cursor:default; }
.card-image-crop__viewport { position:relative; height:min(360px,44dvh); background:#282c30; touch-action:none; }
.card-image-crop__controls { display:grid; gap:16px; padding:16px; }
.card-image-crop__controls label { display:flex; align-items:center; gap:16px; font-size:14px; }
.card-image-crop__controls select,.card-image-crop__controls input { flex:1; min-width:0; }
.card-image-crop__controls select { min-height:40px; border:1px solid #dfe3e8; border-radius:6px; padding:0 12px; background:#fff; font:inherit; }
.card-image-crop__controls>div { display:flex; gap:8px; }
.card-image-crop footer { justify-content:flex-end; border-top:1px solid #e5e7eb; }
.card-image-crop footer button:last-child { background:#2d3d72; color:#fff; border-color:#2d3d72; }
.card-image-crop__error { margin:0; padding:0 16px 16px; color:#b43b32; font-size:14px; }
.business-card-editor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.business-card-editor__save-scope { display: contents; }

/* 줄(.__row)이 이미 두 칸을 나눈다. 여기까지 두 칸으로 두면 칸이 겹쳐
   네 칸 폭이 되어 가로로 넘쳤다. 여기서는 줄만 쌓는다. */
.business-card-editor__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.business-card-editor__field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text-sub);
}

.business-card-editor__field > input,
.business-card-editor__field > select {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-page);
  color: var(--color-text-main);
  font-size: 14px;
}
.business-card-editor__field-head { display: flex; min-height: 24px; align-items: center; justify-content: space-between; gap: 8px; }
.business-card-editor__field-head > label:first-child { min-width: 0; }
.business-card-editor__visibility { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; color: var(--color-text-muted, #6f727b); font-size: 11px; font-weight: 650; cursor: pointer; }
.business-card-editor__visibility input { width: 15px; height: 15px; margin: 0; accent-color: var(--color-primary, #556ed2); }

.business-card-editor__actions {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}

.business-card-editor__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-soft);
  color: var(--color-text-main);
  font-weight: 700;
  cursor: pointer;
}

.business-card-editor__actions button[type="submit"] {
  background: var(--color-primary, #556ed2);
  border-color: var(--color-primary, #556ed2);
  color: #fff;
}

.business-card-editor__actions button:focus-visible {
  outline: 2px solid var(--color-primary, #556ed2);
  outline-offset: 3px;
}

.business-card-editor__actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── 규격 명함 편집기 ─────────────────────────────────────────────────── */
.business-card-editor__stage { display: flex; justify-content: center; width: 100%; margin-bottom: 12px; }
.business-card-editor__save-bar { width:100%; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; padding:10px 0; background:var(--color-bg-white, #fff); border-bottom:1px solid var(--color-border, #dce1e8); font-size:14px; }
.business-card-editor__save-bar > strong { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.business-card-editor__save-bar > strong span { color:var(--color-text-muted, #6f727b); font-size:12px; font-weight:400; }
.business-card-editor__save-bar .business-card-editor__actions { width:auto; margin-left:auto; flex-wrap:wrap; }
.business-card-editor__save-bar .business-card-editor__actions { align-items: center; }
.business-card-editor__status { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-muted, #6f727b); font-size: 12px; overflow-wrap: anywhere; }
.business-card-editor__status button { padding: 4px; min-height: 28px; }
@media (max-width: 600px) {
  .business-card-editor__save-bar .business-card-editor__actions { width: 100%; justify-content: space-between; margin-left: 0; }
}
.business-card-editor__carousel { width:min(100%, 700px); display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr); align-items:center; gap:12px; }
.business-card-editor__carousel .business-card-carousel__viewport { grid-column:2; grid-row:1; min-width:0; }
.business-card-editor__carousel .business-card-carousel__side { position:relative; top:auto; left:auto; right:auto; width:100%; min-width:0; margin:0; transform:none; }
.business-card-editor__carousel .business-card-carousel__side--previous { grid-column:1; grid-row:1; }
.business-card-editor__carousel .business-card-carousel__side--next { grid-column:3; grid-row:1; }
.business-card-editor__carousel .business-card-editor__flip { width:100%; }
.business-card-editor__carousel .business-card-carousel__side[style*="position: absolute"] { position:absolute; }
@media (max-width:600px) {
  .business-card-editor__carousel { grid-template-columns:minmax(0, 1fr); gap:12px; }
  .business-card-editor__carousel .business-card-carousel__viewport { grid-column:1; grid-row:1; }
  .business-card-editor__carousel .business-card-carousel__rail { display:grid; grid-column:1; grid-row:2; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; height:95px; }
  .business-card-editor__carousel .business-card-carousel__side { width:min(170px, 100%); }
  .business-card-editor__carousel .business-card-carousel__side--previous { grid-column:1; grid-row:1; justify-self:start; }
  .business-card-editor__carousel .business-card-carousel__side--next { grid-column:2; grid-row:1; justify-self:end; }
}
.business-card-editor__flip { position: relative; display: block; width: min(100%, 460px); aspect-ratio: 9 / 5; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; perspective: 1200px; }
.business-card-editor__flip:focus-visible { outline: 3px solid var(--color-primary, #556ed2); outline-offset: 5px; }
.business-card-editor__flip:disabled { cursor: wait; }
.business-card-editor__flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .48s cubic-bezier(.22,.8,.25,1); }
.business-card-editor__flip.is-flipped .business-card-editor__flip-inner { transform: rotateY(180deg); }
.business-card-editor__flip-face { position: absolute; inset: 0; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.business-card-editor__flip-face--back { transform: rotateY(180deg); }
.business-card-editor__flip-face .bcard { max-width: none; height: 100%; }
.business-card-editor__flip-hint { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #dce2ed; border-radius: 5px; background: rgba(255, 255, 255, .95); color: #38465c; font-size: 11px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.business-card-editor__flip:hover .business-card-editor__flip-hint { border-color: var(--color-primary, #556ed2); }
@media (prefers-reduced-motion: reduce) {
  .business-card-editor__flip-inner { transition: none; }
}

/* 이미 있는 명함 올리기 */
.business-card-editor__upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px dashed var(--color-border, #dfe3ea);
  border-radius: 12px;
}
.business-card-editor__upload strong { display: block; font-size: 13px; font-weight: 700; }
.business-card-editor__upload small {
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted, #6f727b);
  font-size: 11.5px;
  line-height: 1.5;
}
.business-card-editor__upload-actions { display: flex; align-items: center; gap: 10px; }
.business-card-editor__upload-actions > button {
  padding: 8px 13px;
  border: 1px solid var(--color-border, #dfe3ea);
  border-radius: 9px;
  background: var(--color-bg-white, #fff);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}
.business-card-editor__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

/* 한글·영문을 한 줄에 짝지어 둔다. */
.business-card-editor__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.business-card-editor__row:has(> :only-child) { grid-template-columns: 1fr; }
.business-card-editor__fields[aria-hidden="true"] { opacity: .45; }

@media (max-width: 520px) {
  .business-card-editor__row { grid-template-columns: 1fr; }
}

.business-card-editor__stage .bcard { max-width: 460px; }
.business-card-editor { gap: 12px; }
.business-card-editor__upload { margin-bottom: 4px; padding: 10px 12px; }

/* 꼭 적어야 하는 칸 표시 */
.business-card-editor__field-head b { margin-left: 3px; color: #c0453c; font-weight: 800; }
.business-card-editor__note {
  margin: 2px 0 0;
  color: var(--color-text-muted, #8b8e97);
  font-size: 11.5px;
  line-height: 1.5;
}
.profile-import { margin: 16px 0; padding: 16px 0; border-block: 1px solid var(--border-color, #dce1e9); color: var(--text-primary, #202532); min-width: 0; }
.profile-import button { border: 1px solid var(--border-color, #dce1e9); background: var(--bg-primary, #fff); color: inherit; border-radius: 6px; min-height: 40px; padding: 9px 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; }
.profile-import .profile-import-trigger { border: 0; padding-left: 0; font-weight: 600; }
.profile-import-body { display: grid; gap: 16px; margin-top: 12px; }
.profile-import label:not(.profile-import-consent):not(.profile-import-experience) { display: grid; gap: 8px; font-size: 14px; }
.profile-import input:not([type=checkbox]), .profile-import textarea { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px; border: 1px solid var(--border-color, #dce1e9); border-radius: 6px; color: inherit; background: var(--bg-primary, #fff); font: inherit; font-size: 14px; }
.profile-import input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; accent-color: #3155b4; }
.profile-import .profile-import-consent, .profile-import .profile-import-experience { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; }
.profile-import p, .profile-import small { color: var(--text-secondary, #677080); font-size: 13px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.profile-import h4 { font-size: 16px; margin: 0; }
.profile-import a { color: #3155b4; text-decoration: underline; }
.profile-import .profile-import-primary { background: #3155b4; color: white; border-color: #3155b4; justify-self: start; }
.profile-import button:disabled { opacity: .5; cursor: not-allowed; }
.profile-import :focus-visible { outline: 2px solid #3155b4; outline-offset: 3px; }
.profile-import-preview { display: grid; gap: 16px; }
.profile-import-field { display: grid; gap: 6px; }
.profile-import .profile-import-field label { display: flex !important; align-items: center; }
.profile-import-experience { padding: 12px 0; border-bottom: 1px solid var(--border-color, #dce1e9); }
.profile-import-experience > span { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.profile-import-actions, .profile-import-file-name { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.profile-import-file-name span { overflow-wrap: anywhere; min-width: 0; }
.profile-import .profile-import-error { color: #b42318; }
.profile-import-spinner { animation: import-spin 1s linear infinite; }
@keyframes import-spin { to { transform: rotate(360deg); } }
.profile-import--compact { margin: 0; padding: 0; border: 0; }
.profile-import--compact .profile-import-trigger { padding: 8px 10px; border: 1px solid var(--border-color, #dce1e9); font-size: 13px; }
.profile-import-dialog { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 20px; border: 1px solid #dce1e9; border-radius: 8px; background: var(--bg-primary, #fff); box-sizing: border-box; overflow-y: auto; }
.profile-import-dialog::backdrop { background: #151a3266; }
.profile-import-dialog .profile-import-body { margin-top: 0; }
.profile-import-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-import-dialog-heading h4 { min-width: 0; }
.profile-import-dialog-heading button { flex-shrink: 0; padding: 8px; }
@media (prefers-reduced-motion: reduce) { .profile-import-spinner { animation: none; } }
.profile-hub-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 24px;
  background: rgba(15, 23, 42, 0.56);
  display: grid;
  place-items: center;
}

.profile-hub-modal {
  letter-spacing: 0;
  width: min(800px, 100%);
  height: min(800px, calc(100dvh - 48px));
  border: 1px solid var(--color-border, #e3e7ef);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-white, #fff);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  color: var(--color-text-main, #182235);
}

.profile-hub-modal *, .resume-editor-dialog, .resume-editor-dialog * { box-sizing:border-box; }

.profile-hub-sidebar {
  min-width: 0;
  padding: 22px 14px 18px;
  border-right: 1px solid var(--color-border, #e5e7eb);
  background: var(--color-bg-soft, #f7f8fb);
  display: flex;
  flex-direction: column;
}

.profile-hub-person { display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.profile-hub-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-avatar { position: relative; width: 42px; height: 42px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.profile-hub-avatar img { display: block; }
.profile-hub-avatar > span { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border: 2px solid var(--color-bg-soft, #f7f8fb); border-radius: 50%; background: #5969df; color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .15s, transform .15s; }
.profile-hub-avatar:hover > span, .profile-hub-avatar:focus-visible > span { opacity: 1; transform: scale(1); }
.profile-hub-avatar:focus-visible { outline: 3px solid rgba(89, 105, 223, .2); outline-offset: 2px; }
.profile-hub-avatar:disabled { cursor: wait; opacity: .65; }
.profile-hub-person div { min-width: 0; display: grid; gap: 3px; }
.profile-hub-person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.profile-hub-person span { color: var(--color-text-muted, #7a8496); font-size: 12px; }

.profile-hub-progress { margin: 18px 8px 14px; }
.profile-hub-progress div { display: flex; justify-content: space-between; color: var(--color-text-muted, #697386); font-size: 12px; }
.profile-hub-progress strong { color: var(--color-brand-strong, #5264d9); }
.profile-hub-progress i { height: 5px; margin-top: 8px; border-radius: 999px; background: #e5e9f2; display: block; overflow: hidden; }
.profile-hub-progress b { height: 100%; border-radius: inherit; background: #5969df; display: block; }

.profile-hub-sidebar nav { display: grid; gap: 4px; margin-top:24px; }
.profile-hub-sidebar nav button { width: 100%; min-height: 42px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: var(--color-text-secondary, #536074); display: flex; align-items: center; gap: 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.profile-hub-sidebar nav button:hover { background: rgba(91, 105, 223, 0.07); }
.profile-hub-sidebar nav button.is-active { background: rgba(91, 105, 223, 0.12); color: #4f5fd2; }
.profile-hub-sidebar nav em { margin-left: auto; min-width: 22px; height: 22px; border-radius: 999px; background: rgba(91, 105, 223, 0.12); font-style: normal; font-size: 11px; display: grid; place-items: center; }

.profile-hub-main { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.profile-hub-topnav { display:flex; align-items:center; gap:20px; padding:0 24px; overflow-x:auto; scrollbar-width:thin; border-bottom:1px solid var(--color-border, #e5e7eb); }
.profile-hub-topnav button { display:flex; flex-shrink:0; align-items:center; justify-content:center; gap:6px; min-height:46px; padding:0 2px; border:0; border-bottom:2px solid transparent; background:none; color:var(--color-text-secondary, #536074); font:inherit; font-size:13px; cursor:pointer; }
.profile-hub-topnav button.is-active { border-bottom-color:#3456b0; color:#3456b0; font-weight:700; }
.profile-hub-topnav button span { white-space:nowrap; }
.profile-hub-topnav em { font-size:11px; font-style:normal; }
.profile-hub-profile-section + .profile-hub-profile-section { margin-top:28px; padding-top:24px; border-top:1px solid var(--color-border, #e5e7eb); }
.profile-hub-profile-title { margin:0 0 20px; font-size:18px; }
.profile-hub-profile-section .profile-hub-form-grid { grid-template-columns:minmax(0, 1fr); }
.profile-hub-header { min-height: 74px; padding: 14px 18px 12px 24px; border-bottom: 1px solid var(--color-border, #e5e7eb); display: flex; align-items: center; justify-content: space-between; }
.profile-hub-header span { color: #6574dc; font-size: 11px; font-weight: 800; letter-spacing: 0; }
.profile-hub-header h2 { margin: 2px 0 0; font-size: 22px; letter-spacing: 0; }
.profile-hub-header button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--color-text-muted, #768094); display: grid; place-items: center; cursor: pointer; }
.profile-hub-header button:hover { background: var(--color-bg-soft, #f4f5f8); }
.profile-hub-scroll { min-width:0; min-height:0; overflow-x:hidden; overflow-y:auto; padding:24px; scrollbar-width:thin; }
.profile-hub-header-actions { display:flex; align-items:center; gap:12px; }
.profile-hub-header .profile-hub-save { width:auto; min-width:76px; height:40px; margin:0; border-radius:6px; background:#3456b0; color:#fff; }
.profile-hub-header .profile-hub-save:hover { background:#28478f; }
.profile-hub-header h2 { font-size:20px; }
.profile-hub-disclosure > summary { font-size:14px; font-weight:650; cursor:pointer; padding-bottom:4px; }
.profile-hub-disclosure[open] > summary { margin-bottom:16px; }
.profile-hub-connection-section { border-top:1px solid var(--color-border,#e3e6eb); padding-top:24px; margin-top:24px; }
.profile-hub-connection-section h3 { margin:0 0 10px; font-size:15px; }
.profile-hub-connection-section p { color:var(--color-text-muted,#687181); font-size:13px; line-height:1.7; }
.profile-hub-modal :is(button,summary,a):focus-visible { outline:2px solid #4b6ccc; outline-offset:3px; }
.profile-hub-loading { min-height: 320px; display: grid; place-items: center; color: var(--color-text-muted, #798399); }
.profile-hub-panel { width: min(700px, 100%); margin: 0 auto; }

.profile-hub-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.profile-hub-form-grid label, .profile-hub-single-field { min-width: 0; display: grid; align-content: start; gap: 8px; }
.profile-hub-form-grid label.is-wide { grid-column: 1 / -1; }
.profile-hub-form-grid label > span, .profile-hub-single-field > span { font-size: 13px; font-weight: 750; }
.profile-hub-form-grid input, .profile-hub-form-grid select, .profile-hub-form-grid textarea, .profile-hub-single-field input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--color-border, #dce1e9); border-radius: 6px; outline: none; background: var(--color-bg-white, #fff); color: var(--color-text-main, #182235); font: inherit; font-size: 13px; resize: vertical; }
.profile-hub-form-grid textarea { min-height: 82px; line-height: 1.6; }
.profile-hub-form-grid input, .profile-hub-form-grid select, .profile-hub-single-field input { box-sizing:border-box; height:42px; }
.profile-hub-form-grid input:focus, .profile-hub-form-grid select:focus, .profile-hub-form-grid textarea:focus, .profile-hub-single-field input:focus { border-color: #7180e6; box-shadow: 0 0 0 3px rgba(89, 105, 223, 0.1); }
.profile-hub-form-grid input:disabled { background: var(--color-bg-soft, #f5f6f8); color: var(--color-text-muted, #7a8494); }
.profile-hub-form-grid small { justify-self: end; margin-top: -4px; color: var(--color-text-muted, #8a93a3); }
.profile-hub-picker { position: relative; }
.profile-hub-form-grid > .profile-hub-picker { display:flex; flex-direction:column; gap:8px; min-width:0; }
.profile-hub-form-grid > .profile-hub-picker.is-wide { grid-column:1/-1; }
.profile-hub-picker__control input { box-sizing:border-box; min-width:0; }
.profile-hub-picker > label { font-size:13px; font-weight:600; }
.profile-hub-picker__menu .profile-hub-picker-logo { display:grid; place-items:center; width:40px; height:28px; flex:0 0 40px; }
.profile-hub-picker-logo .organization-logo { padding:3px; border:0; border-radius:2px; }
.profile-hub-picker__menu .profile-hub-picker-name { flex:1; min-width:0; }
.profile-hub-picker__menu > .profile-hub-picker__direct { border-top:1px solid var(--color-border,#dce1e9); border-radius:0; margin-top:4px; color:var(--color-text-muted,#687181); }
.profile-hub-picker__control { position: relative; }
.profile-hub-picker__control:has(> button) input { padding-right: 42px; }
.profile-hub-picker__control > button { position: absolute; top: 1px; right: 1px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 0 5px 5px 0; background: transparent; color: var(--color-text-muted, #758095); display: grid; place-items: center; cursor: pointer; }
.profile-hub-picker__control > button:hover { background: var(--color-bg-soft, #f5f6f8); color: var(--color-text-main, #182235); }
.profile-hub-picker__control > button svg { width: 17px; height: 17px; }
.profile-hub-picker__menu { position:absolute; top:100%; left:0; right:0; z-index:20; box-sizing:border-box; max-height:224px; margin-top:6px; padding:4px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; border:1px solid var(--color-border, #dce1e9); border-radius:6px; background:var(--color-bg-white, #fff); box-shadow:0 6px 18px rgba(15, 23, 42, .12); }
.profile-hub-picker__menu > button { box-sizing:border-box; width:100%; height:40px; min-height:40px; padding:6px 8px; border:0; border-radius:4px; background:transparent; color:var(--color-text-main, #182235); display:flex; align-items:center; justify-content:space-between; gap:10px; font:inherit; font-size:13px; text-align:left; cursor:pointer; }
.profile-hub-picker__menu > button:hover, .profile-hub-picker__menu > button.is-selected { background: rgba(89, 105, 223, .09); color: #4f5fd2; }
.profile-hub-picker__menu > button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-hub-picker__menu > button svg { width: 15px; height: 15px; flex: 0 0 auto; }
.profile-hub-save { min-width: 136px; min-height: 40px; margin-top: 20px; padding: 0 16px; border: 0; border-radius: 7px; background: #5868dc; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.profile-hub-save:disabled { opacity: .55; cursor: wait; }
.profile-hub-save--inline { margin-top: 14px; }
.profile-hub-photo-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-photo-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.profile-hub-photo-row > div { flex: 1; min-width: 130px; display: grid; gap: 3px; }
.profile-hub-photo-row strong, .profile-hub-settings-section h3 { font-size: 14px; }
.profile-hub-photo-row span, .profile-hub-switch small { color: var(--color-text-muted, #778195); font-size: 12px; }
.profile-hub-photo-row button, .profile-hub-text-action { min-height: 36px; padding: 0 11px; border: 1px solid var(--color-border, #dce1e9); border-radius: 6px; background: var(--color-bg-white, #fff); color: var(--color-text-main, #182235); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.profile-hub-photo-row button:disabled { opacity: .55; cursor: wait; }
.profile-hub-settings-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-settings-section h3 { margin: 0 0 15px; }
.profile-hub-text-action { margin-top: 4px; }
.profile-hub-switch { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.profile-hub-switch + .profile-hub-switch { border-top: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-switch span { display: grid; gap: 3px; }
.profile-hub-switch strong { font-size: 13px; }
.profile-hub-switch input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #5868dc; cursor: pointer; }

.profile-hub-section-heading { margin-bottom: 22px; display: flex; align-items: flex-start; gap: 12px; }
.profile-hub-section-heading > svg { margin-top: 2px; color: #5b6adb; }
.profile-hub-section-heading h3, .profile-hub-liked-heading h3 { margin: 0 0 5px; font-size: 18px; }
.profile-hub-section-heading p, .profile-hub-liked-heading p { margin: 0; color: var(--color-text-muted, #778195); font-size: 13px; line-height: 1.5; }
.profile-hub-section-heading--action > div { flex: 1; }
.profile-hub-section-heading--action > button { min-height: 36px; padding: 0 12px; border: 1px solid #7b88df; border-radius: 6px; background: transparent; color: #5262d4; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.profile-hub-experience-list { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-career-editor { padding: 18px 0; border-top: 1px solid var(--color-border, #edf0f4); }
.profile-hub-career-editor__head { margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; }
.profile-hub-career-editor__head select { min-height: 36px; padding: 0 10px; border: 1px solid var(--color-border, #dce1e9); border-radius: 6px; background: var(--color-bg-white, #fff); color: inherit; font: inherit; font-size: 13px; }
.profile-hub-career-editor__head button { border: 0; background: transparent; color: #d14343; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.profile-hub-career-empty { padding: 24px; border: 1px dashed var(--color-border, #dce1e8); border-radius: 8px; color: var(--color-text-muted, #778195); text-align: center; font-size: 13px; }

.profile-hub-resume { width: min(760px, 100%); }
.resume-editor-dialog { position: fixed; inset: 0; margin: auto; width: min(660px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #e3e7ef; border-radius: 8px; background: #fff; color: #182235; overflow: hidden; }
.resume-editor-dialog[open] { display: flex; flex-direction: column; }
.resume-editor-dialog::backdrop { background: #11182766; }
.resume-editor-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #e5e7eb; flex-shrink: 0; }
.resume-editor-dialog h2 { min-width:0; margin:0; font-size:20px; overflow-wrap:anywhere; }
.resume-editor-dialog > header button { display:grid; flex-shrink:0; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:4px; background:transparent; color:var(--color-service-536074); cursor:pointer; }
.resume-editor-dialog__body { min-width:0; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; padding:24px; }
.resume-editor-dialog :is(.profile-hub-resume-editor,.profile-hub-form-grid,.tag-input-field__control) { min-width:0; max-width:100%; }
.resume-editor-dialog .profile-hub-form-grid :is(input,select,textarea) { min-width:0; max-width:100%; }
.resume-editor-dialog .tag-input-field__control > input { flex:1 1 100px; width:0; min-width:0; }
.resume-editor-dialog .profile-hub-resume-editor { border: 0; padding: 0; margin: 0; }
.resume-editor-dialog > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 12px 24px; border-top: 1px solid #e5e7eb; flex-shrink: 0; }
.resume-editor-dialog__error { flex-basis: 100%; margin: 0; color: #a13932; font-size: 14px; overflow-wrap: anywhere; }
.resume-editor-dialog > footer button { min-height: 40px; padding: 8px 24px; border: 0; border-radius: 6px; background: #354d91; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.resume-editor-dialog button:disabled { opacity: .5; cursor: default; }
@media (max-width:600px) { .resume-editor-dialog__body { padding: 18px; } }
.profile-hub-context-menu { position: fixed; z-index: 3100; width: 180px; padding: 6px; border: 1px solid #e3e7ef; border-radius: 6px; background: #fff; box-shadow: 0 4px 20px #17203326; }
.profile-hub-context-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 4px; background: transparent; color: #b42318; font: inherit; cursor: pointer; }
.profile-hub-context-menu button:hover, .profile-hub-context-menu button:focus-visible { background: #fff1f0; outline: none; }
.profile-hub-resume-section + .profile-hub-resume-section { margin-top: 30px; padding-top: 26px; border-top: 6px solid var(--color-bg-soft, #f3f4f7); }
.profile-hub-resume-heading { min-height: 44px; margin-bottom: 16px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.profile-hub-resume-heading h3 { margin: 0; font-size: 20px; letter-spacing: 0; }
.profile-hub-resume-heading > div { display: flex; align-items: center; gap: 12px; }
.profile-hub-resume-heading button, .profile-hub-resume-row__edit { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-text-secondary, #536074); display: grid; place-items: center; cursor: pointer; }
.profile-hub-resume-heading button:hover, .profile-hub-resume-row__edit:hover { background: var(--color-bg-soft, #f3f4f7); color: #4f5fd2; }
.profile-hub-resume-heading svg { width: 25px; height: 25px; stroke-width: 1.8; }
.profile-hub-resume-row__edit svg { width: 17px; height: 17px; }
.profile-hub-resume-list { display: grid; }
.profile-hub-resume-row { position: relative; min-width: 0; padding: 16px 8px; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 14px; border-radius: 6px; transition: background-color 160ms ease; }
.profile-hub-resume-row:hover { background: var(--color-bg-soft, #f3f4f7); }
.profile-hub-resume-row__open { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.profile-hub-resume-row__open:focus-visible { outline: 2px solid #354d91; outline-offset: 2px; }
.profile-hub-resume-row__open:active { background: rgba(53,77,145,.06); }
.profile-hub-resume-row a { position: relative; z-index: 1; }
.profile-hub-resume-heading .profile-hub-resume-add { width: auto; min-width: 44px; height: 36px; padding: 0 8px; border-radius: 5px; color: #354d91; font: inherit; font-size: 14px; font-weight: 600; }
.profile-hub-resume-row + .profile-hub-resume-row { border-top: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-resume-logo { width: 56px; height: 56px; border-radius: 4px; background: #edf0f6; color: #5d687a; display: grid; place-items: center; }
.profile-hub-resume-logo--school { background: rgba(89, 105, 223, .11); color: #5363d7; }
.profile-hub-resume-logo svg { width: 24px; height: 24px; }
.profile-hub-resume-copy { min-width: 0; display: grid; gap: 3px; }
.profile-hub-resume-copy strong, .profile-hub-resume-copy span, .profile-hub-resume-copy small { overflow-wrap: anywhere; white-space: normal; }
.profile-hub-resume-copy strong { font-size: 17px; line-height: 1.45; }
.profile-hub-resume-copy span { color: var(--color-text-primary, #20242d); font-size: 14px; line-height: 1.6; }
.profile-hub-resume-copy small { color: var(--color-text-muted, #7b8494); font-size: 13px; line-height: 1.6; }
.profile-hub-resume-copy p { margin: 5px 0 0; color: var(--color-text-secondary, #596579); font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.profile-hub-resume-details { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.profile-hub-resume-details li { min-width: 0; padding-left: 11px; border-left: 2px solid #d9dff7; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 8px; }
.profile-hub-resume-details em { margin-top: 1px; padding: 2px 6px; border-radius: 4px; background: #f0f3ff; color: #5060cc; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.profile-hub-resume-details div { min-width: 0; display: grid; gap: 2px; }
.profile-hub-resume-details div strong { font-size: 12px; white-space: normal; }
.profile-hub-resume-details div p { margin: 0; color: var(--color-text-muted, #778195); font-size: 11px; }
.profile-hub-resume-details a { width: 26px; height: 26px; color: #5c6bd5; display: grid; place-items: center; }
.profile-hub-resume-details a svg { width: 14px; height: 14px; }
.profile-hub-resume-editor { margin: 10px 0 16px; padding: 18px; border: 1px solid var(--color-border, #dce1e9); border-radius: 8px; background: var(--color-bg-white, #fff); }
.profile-hub-resume-editor .profile-hub-career-editor__head > strong { font-size: 14px; }
.profile-hub-resume-editor .profile-hub-career-editor__head > button { color: var(--color-text-muted, #778195); }
.profile-hub-detail-editor { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--color-border, #e3e7ee); }
.profile-hub-detail-editor > header { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-hub-detail-editor > header > div { min-width: 0; display: grid; gap: 3px; }
.profile-hub-detail-editor > header strong { font-size: 13px; }
.profile-hub-detail-editor > header span { color: var(--color-text-muted, #778195); font-size: 11px; line-height: 1.4; }
.profile-hub-detail-editor > header button { min-height: 34px; padding: 0 10px; border: 1px solid #bdc7f0; border-radius: 6px; background: #f7f8ff; color: #4f5fca; display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.profile-hub-detail-editor > header button svg { width: 14px; height: 14px; }
.profile-hub-detail-editor__list { display: grid; }
.profile-hub-detail-editor__list article { padding: 14px 0; border-top: 1px solid var(--color-border, #edf0f4); display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.profile-hub-detail-editor__list article:first-child { border-top: 0; }
.profile-hub-detail-editor__toolbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.profile-hub-detail-editor__toolbar select { min-height: 34px; padding: 0 9px; border: 1px solid var(--color-border, #dce1e9); border-radius: 6px; background: var(--color-bg-white, #fff); color: inherit; font: inherit; font-size: 12px; font-weight: 750; }
.profile-hub-detail-editor__toolbar button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #c34b4b; display: grid; place-items: center; cursor: pointer; }
.profile-hub-detail-editor__toolbar button:hover { background: #fff2f2; }
.profile-hub-detail-editor__toolbar button svg { width: 15px; height: 15px; }
.profile-hub-detail-editor__list label { min-width: 0; display: grid; gap: 6px; }
.profile-hub-detail-editor__list label:nth-of-type(2) { grid-column: 1 / -1; }
.profile-hub-detail-editor__list label span { color: var(--color-text-secondary, #536074); font-size: 11px; font-weight: 750; }
.profile-hub-detail-editor__list label small { color: var(--color-text-muted, #8a93a2); font-weight: 600; }
.profile-hub-detail-editor__list input, .profile-hub-detail-editor__list textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid var(--color-border, #dce1e9); border-radius: 6px; outline: 0; background: var(--color-bg-white, #fff); color: inherit; font: inherit; font-size: 12px; resize: vertical; }
.profile-hub-detail-editor__list input:focus, .profile-hub-detail-editor__list textarea:focus { border-color: #7180e6; box-shadow: 0 0 0 3px rgba(89, 105, 223, .1); }
.profile-hub-detail-editor__empty { width: 100%; min-height: 48px; border: 1px dashed #cbd3e5; border-radius: 6px; background: var(--color-bg-soft, #f8f9fb); color: var(--color-text-muted, #778195); display: flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.profile-hub-detail-editor__empty:hover { border-color: #8e9be1; color: #5060cc; }
.profile-hub-detail-editor__empty svg { width: 15px; height: 15px; }
.profile-hub-resume-editor__actions { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-hub-resume-editor__actions button { min-height: 38px; padding: 0 14px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.profile-hub-resume-editor__actions button svg { width: 15px; height: 15px; }
.profile-hub-resume-editor__actions .is-danger { border: 0; background: transparent; color: #c33f3f; }
.profile-hub-resume-editor__actions .is-primary { min-width: 82px; border: 0; background: #5868dc; color: #fff; justify-content: center; }
.profile-hub-resume-editor__actions button:disabled { opacity: .55; cursor: wait; }
.profile-hub-resume-empty { min-height: 92px; padding: 20px; border: 1px dashed var(--color-border, #dce1e8); border-radius: 7px; color: var(--color-text-muted, #778195); display: grid; place-items: center; text-align: center; font-size: 12px; }

.profile-hub-liked-heading { margin: 34px 0 14px; padding-top: 26px; border-top: 1px solid var(--color-border, #e5e7eb); display: flex; justify-content: space-between; align-items: center; }
.profile-hub-liked-heading > span { color: #5969d9; font-size: 13px; font-weight: 800; }
.profile-hub-liked-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.profile-hub-liked-grid > a { min-width: 0; padding: 14px; border: 1px solid var(--color-border, #e2e6ed); border-radius: 8px; color: inherit; text-decoration: none; display: flex; gap: 12px; }
.profile-hub-liked-grid > a:hover { border-color: #9ca8ed; }
.profile-hub-liked-grid img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.profile-hub-liked-grid a div { min-width: 0; display: grid; gap: 3px; }
.profile-hub-liked-grid strong, .profile-hub-liked-grid span, .profile-hub-liked-grid p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-hub-liked-grid span, .profile-hub-liked-grid p { margin: 0; color: var(--color-text-muted, #7a8495); font-size: 12px; }
.profile-hub-empty { grid-column: 1 / -1; min-height: 180px; border: 1px dashed var(--color-border, #dce1e8); border-radius: 8px; color: var(--color-text-muted, #758095); display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; }
.profile-hub-empty p { margin: 0; font-size: 13px; }
.profile-hub-card-panel { width: min(900px, 100%); }

.profile-hub-network-stats { margin-bottom: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--color-border, #e2e6ed); border-radius: 8px; overflow: hidden; }
.profile-hub-network-stats > div { min-height: 88px; padding: 18px; display: grid; align-content: center; gap: 4px; }
.profile-hub-network-stats > div + div { border-left: 1px solid var(--color-border, #e2e6ed); }
.profile-hub-network-stats strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.profile-hub-network-stats span { color: var(--color-text-muted, #778195); font-size: 12px; }
.profile-hub-network-section + .profile-hub-network-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--color-border, #e5e7eb); }
.profile-hub-network-title { margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.profile-hub-network-title h4 { margin: 0; font-size: 16px; }
.profile-hub-network-title span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--color-bg-soft, #f1f3f7); color: var(--color-text-muted, #6f798c); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.profile-hub-network-section--pending .profile-hub-network-title span { background: #5969df; color: #fff; }
.profile-hub-network-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; padding: 5px; border: 1px solid var(--color-border, #e2e6ed); border-radius: 8px; background: var(--color-bg-soft, #f3f4f7); }
.profile-hub-network-tabs button { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--color-text-muted, #778195); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.profile-hub-network-tabs button svg { width: 16px; height: 16px; }
.profile-hub-network-tabs button strong { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--color-bg-white, #fff); font-size: 10px; }
.profile-hub-network-tabs button.is-active { background: var(--color-bg-white, #fff); box-shadow: 0 2px 8px rgba(30, 41, 59, .08); color: #5060d3; }
.profile-hub-network-tabs button.is-active strong { background: rgba(89, 105, 223, .12); color: #5060d3; }
.profile-hub-network-search { min-height: 44px; margin-bottom: 12px; padding: 0 13px; border: 1px solid var(--color-border, #dce1e9); border-radius: 7px; display: flex; align-items: center; gap: 9px; }
.profile-hub-network-search:focus-within { border-color: #7180e6; box-shadow: 0 0 0 3px rgba(89, 105, 223, 0.1); }
.profile-hub-network-search svg { width: 17px; color: var(--color-text-muted, #7a8495); }
.profile-hub-network-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; }
.profile-hub-network-requests, .profile-hub-network-list { display: grid; gap: 8px; }
.profile-hub-network-requests article, .profile-hub-network-list article { min-width: 0; min-height: 70px; padding: 12px 14px; border: 1px solid var(--color-border, #e2e6ed); border-radius: 8px; display: flex; align-items: center; gap: 12px; }
.profile-hub-network-list img, .profile-hub-network-avatar { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.profile-hub-network-avatar { background: rgba(89, 105, 223, 0.12); color: #5060d3; display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.profile-hub-network-requests article > div:nth-child(2), .profile-hub-network-person { min-width: 0; flex: 1; display: grid; gap: 3px; }
.profile-hub-network-requests strong, .profile-hub-network-person strong, .profile-hub-network-requests span, .profile-hub-network-person span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-hub-network-requests strong, .profile-hub-network-person strong { font-size: 14px; }
.profile-hub-network-requests span, .profile-hub-network-person span, .profile-hub-network-person small { color: var(--color-text-muted, #778195); font-size: 12px; }
.profile-hub-network-person small { display: flex; align-items: center; gap: 4px; }
.profile-hub-network-person small svg { width: 12px; height: 12px; }
.profile-hub-network-requests button, .profile-hub-network-list article > button { min-height: 36px; padding: 0 12px; border: 1px solid var(--color-border, #dce1e9); border-radius: 7px; background: var(--color-bg-white, #fff); color: var(--color-text-main, #182235); display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.profile-hub-network-requests button { border-color: transparent; background: #5969df; color: #fff; }
.profile-hub-network-requests button svg, .profile-hub-network-list article > button svg { width: 15px; height: 15px; }
.profile-hub-network-requests button:disabled, .profile-hub-network-list article > button:disabled { opacity: .55; cursor: wait; }
.profile-hub-network-viewers .profile-hub-network-person small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-hub-network-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.profile-hub-network-actions a, .profile-hub-network-actions button { display: inline-flex; min-height: 36px; align-items: center; gap: 5px; padding: 0 11px; border: 1px solid var(--color-border, #dce1e9); border-radius: 7px; background: var(--color-bg-white, #fff); color: var(--color-text-main, #182235); font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.profile-hub-network-actions svg { width: 15px; height: 15px; }

@media (max-width: 760px) {
  html:has(.profile-hub-backdrop) { scrollbar-gutter:auto; }
  .profile-hub-backdrop { padding: 0; }
  .profile-hub-modal { height: 100dvh; border: 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
  .profile-hub-topnav { gap:16px; padding-inline:16px; }
  .profile-hub-topnav button { font-size:12px; min-height:44px; }
  .profile-hub-topnav button > svg { display:none; }
  .profile-hub-sidebar { padding: 12px 12px 10px; border-right: 0; border-bottom: 1px solid var(--color-border, #e5e7eb); }
  .profile-hub-person, .profile-hub-progress { display: none; }
  .profile-hub-sidebar nav { display:flex; overflow-x:auto; scrollbar-width:thin; gap:4px; margin:0; }
  .profile-hub-sidebar nav button { width:auto; flex:0 0 auto; min-height:44px; padding:0 12px; gap:7px; justify-content:center; }
  .profile-hub-sidebar nav button span { white-space: nowrap; }
  .profile-hub-sidebar nav em { margin-left: 0; }
  .profile-hub-header { min-height: 72px; padding: 12px 14px 10px 18px; }
  .profile-hub-header h2 { font-size: 20px; }
  .profile-hub-scroll { padding: 20px 16px 40px; }
  .profile-hub-form-grid, .profile-hub-liked-grid { grid-template-columns: 1fr; }
  .profile-hub-form-grid label.is-wide { grid-column: auto; }
  .profile-hub-form-grid input, .profile-hub-form-grid select, .profile-hub-form-grid textarea, .profile-hub-single-field input { font-size:16px; }
  .profile-hub-resume-section + .profile-hub-resume-section { margin-top: 24px; padding-top: 22px; }
  .profile-hub-resume-heading h3 { font-size: 18px; }
  .profile-hub-resume-row { grid-template-columns: 44px minmax(0, 1fr); gap: 11px; }
  .profile-hub-resume-logo { width: 44px; height: 44px; }
  .profile-hub-resume-editor { padding: 14px; }
  .profile-hub-detail-editor > header { align-items: flex-start; }
  .profile-hub-detail-editor__list article { grid-template-columns: 1fr; }
  .profile-hub-detail-editor__list label:nth-of-type(2) { grid-column: auto; }
  .profile-hub-network-stats > div { min-height: 74px; padding: 12px; }
  .profile-hub-network-stats strong { font-size: 20px; }
  .profile-hub-network-list article > button { width: 38px; padding: 0; justify-content: center; font-size: 0; }
  .profile-hub-network-actions a, .profile-hub-network-actions button { width: 36px; padding: 0; justify-content: center; }
  .profile-hub-network-actions span { display: none; }
}
@media (max-width: 520px) {
  .profile-hub-network-tabs button { padding: 0 7px; }
  .profile-hub-network-viewers article { align-items: flex-start; flex-wrap: wrap; }
  .profile-hub-network-viewers .profile-hub-network-actions { width: 100%; justify-content: flex-end; }
}
.profile-hub-section-heading--cards > div:nth-child(2) { flex:1; min-width:0; }
.business-card-editor__save-bar > .profile-hub-section-heading--cards { flex: 1; min-width: 0; margin: 0; align-items: center; }
.profile-hub-card-panel .business-card-editor__save-bar { padding: 0 0 12px; }
.profile-hub-card-tools { display:flex; align-items:center; gap:6px; margin-left:auto; }
.profile-hub-card-tools button { display:grid; width:36px; height:36px; place-items:center; padding:0; border:1px solid #d9e0ec; border-radius:6px; background:var(--color-bg-main, #fff); color:var(--color-text-main, #374151); cursor:pointer; }
.profile-hub-card-tools button svg { width:17px; height:17px; }
.profile-hub-card-tools button:focus-visible { outline:2px solid #526bc2; outline-offset:2px; }
@media (max-width:600px) { .profile-hub-section-heading--cards { flex-wrap:wrap; } }
.profile-hub-card-delete-confirm { display:flex; align-items:center; gap:10px; margin:0 0 16px; color:#374151; font-size:13px; }
.profile-hub-card-delete-confirm button { padding:7px 12px; border:1px solid #d9e0ec; border-radius:6px; background:#fff; color:#374151; cursor:pointer; }
.profile-hub-card-delete-confirm button:last-child { border-color:#dc6464; color:#b13232; }

.profile-hub-modal--profile { --pp-text:var(--color-text-main,#20242d); --pp-muted:var(--color-text-muted,#687181); --pp-line:var(--color-border,#e3e6eb); --pp-accent:#354d91; }
.profile-hub-modal--profile .profile-hub-scroll { scrollbar-width:none; padding:20px 24px; background:var(--color-bg-soft,#f3f4f6); }
.profile-hub-modal--profile .profile-hub-scroll::-webkit-scrollbar { display:none; }
.profile-hub-modal--profile .profile-hub-profile-section { box-sizing:border-box; width:100%; max-width:700px; padding:20px; border:1px solid var(--pp-line); border-radius:8px; background:var(--color-bg-white,#fff); }
.profile-hub-modal--profile .profile-hub-profile-section + .profile-hub-profile-section { margin-top:12px; padding-top:20px; }
.profile-hub-modal--profile .profile-hub-profile-section.profile-hub-resume { padding:0; border:0; background:transparent; }
.profile-hub-modal--profile .profile-hub-resume-section { box-sizing:border-box; padding:20px; border:1px solid var(--pp-line); border-radius:8px; background:var(--color-bg-white,#fff); }
.profile-hub-modal--profile .profile-hub-profile-title { margin:0 0 16px; color:var(--pp-text); font-size:16px; font-weight:700; }
.profile-hub-identity-editor { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; gap:16px; }
.profile-hub-photo-editor { position:relative; }
.profile-hub-photo-change { position:relative; display:block; width:64px; height:64px; padding:0; border:0; border-radius:50%; background:none; cursor:pointer; }
.profile-hub-photo-change img { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.profile-hub-photo-menu { position:absolute; z-index:10; left:0; top:calc(100% + 8px); width:144px; padding:4px; border:1px solid var(--pp-line,#e3e6eb); border-radius:6px; background:var(--color-bg-white,#fff); box-shadow:0 6px 20px #17203318; }
.profile-hub-photo-menu button { display:flex; align-items:center; gap:8px; width:100%; min-height:38px; padding:8px; border:0; border-radius:4px; background:none; color:var(--pp-text,#20242d); font:inherit; font-size:13px; cursor:pointer; white-space:nowrap; }
.profile-hub-photo-menu button:hover { background:var(--color-bg-soft,#f3f5f8); }
.profile-hub-modal--profile .profile-hub-identity-fields { gap:4px; }
.profile-hub-identity-copy { display:grid; gap:8px; min-width:0; padding:3px 6px; }
.profile-hub-identity-copy strong { color:var(--pp-text); font-size:22px; line-height:1.4; overflow-wrap:anywhere; }
.profile-hub-identity-copy > span { color:var(--pp-muted); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.profile-hub-inline-label { display:block; min-width:0; }
.profile-hub-inline-label > span, .profile-hub-modal--profile :is([data-profile-section="skills"],[data-profile-section="interests"]) .tag-input-field__heading > label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.profile-hub-modal--profile .profile-hub-identity-fields input { height:32px; min-height:32px; padding:3px 6px; border-color:transparent; background:transparent; color:var(--pp-muted); font-size:14px; }
.profile-hub-modal--profile .profile-hub-identity-fields .profile-hub-name-field input { height:34px; min-height:34px; color:var(--pp-text); font-size:22px; font-weight:700; }
.profile-hub-modal--profile .profile-hub-identity-fields input:hover { border-color:var(--pp-line); }
.profile-hub-modal--profile .profile-hub-identity-fields input:focus { border-color:var(--pp-accent); box-shadow:none; background:var(--color-bg-white,#fff); }
.profile-hub-bio-editor textarea { box-sizing:border-box; display:block; width:100%; min-height:52px; max-height:240px; field-sizing:content; padding:8px; border:1px solid transparent; border-radius:6px; resize:vertical; background:transparent; color:var(--pp-text); font:inherit; font-size:14px; line-height:1.85; }
.profile-hub-bio-editor textarea:hover { border-color:var(--pp-line); }
.profile-hub-bio-editor textarea:focus { outline:2px solid var(--pp-accent); outline-offset:1px; }
.profile-hub-modal--profile .profile-hub-resume-heading { justify-content:space-between; min-height:32px; margin-bottom:12px; }
.profile-hub-modal--profile .profile-hub-resume-heading h3 { font-size:16px; }
.profile-hub-modal--profile .profile-hub-resume-heading .profile-hub-resume-add { min-width:32px; width:32px; height:32px; padding:0; color:var(--pp-muted); }
.profile-hub-modal--profile .profile-hub-resume-row { grid-template-columns:44px minmax(0,1fr) 18px; align-items:center; gap:14px; min-height:68px; padding:12px 8px; border:0; }
.profile-hub-modal--profile .profile-hub-resume-row > svg { color:var(--pp-muted); }
.profile-hub-modal--profile .profile-hub-resume-list { gap:4px; }
.profile-hub-modal--profile .profile-hub-resume-section + .profile-hub-resume-section { margin-top:12px; padding-top:20px; }
.profile-hub-modal--profile .profile-hub-resume-empty { padding:4px 0; background:none; color:var(--pp-muted); font-size:13px; }
.profile-hub-modal--profile .tag-input-field__control { padding:4px 0; border-color:transparent; background:transparent; }
.profile-hub-modal--profile .tag-input-field__control:focus-within { border-color:var(--pp-accent); outline:none; }
.profile-hub-modal--profile .tag-input-field__tags > li { background:transparent; border:1px solid var(--pp-line); border-radius:5px; font-size:12px; }
.profile-hub-modal--profile .external-profile-fields { margin:0; padding:0; border:0; }
.profile-hub-modal--profile .profile-hub-disclosure { margin-top:16px; }
.profile-hub-card-preview-button { position:relative; display:block; width:min(300px,100%); margin:0 auto; padding:0; border:0; border-radius:4px; background:transparent; color:inherit; text-align:left; cursor:pointer; }
.profile-hub-card-preview-button .bcard { max-width:none; box-shadow:none; border-radius:4px; }
.profile-hub-card-preview-button:focus-visible { outline:2px solid #354d91; outline-offset:4px; }
.profile-card-editor-dialog { position:fixed; inset:0; box-sizing:border-box; width:min(740px,calc(100vw - 24px)); max-width:calc(100vw - 24px); height:min(760px,calc(100dvh - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; overflow:hidden; border:1px solid var(--color-border,#e3e6eb); border-radius:8px; background:var(--color-bg-white,#fff); color:var(--color-text-main,#20242d); font:inherit; }
.profile-card-editor-dialog[open] { display:flex; flex-direction:column; }
.profile-card-editor-dialog::backdrop { background:#10182066; }
.profile-card-editor-dialog > header { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px; border-bottom:1px solid var(--color-border,#e3e6eb); }
.profile-card-editor-dialog h2 { margin:0; font-size:18px; }
.profile-card-editor-dialog > header button { display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:6px; background:none; color:var(--color-text-muted,#687181); cursor:pointer; }
.profile-card-editor-dialog__body { min-height:0; overflow:auto; padding:20px; overscroll-behavior:contain; scrollbar-width:none; }
.profile-card-editor-dialog__body::-webkit-scrollbar { display:none; }
.profile-card-editor-dialog :is(button,input,select,textarea):focus-visible { outline:2px solid #354d91; outline-offset:2px; }
@media(max-width:600px) {
  .profile-hub-modal--profile .profile-hub-scroll { padding:12px; }
  .profile-hub-modal--profile :is(.profile-hub-profile-section,.profile-hub-resume-section) { padding:18px; }
  .profile-hub-modal--profile .profile-hub-resume { padding:0; }
  .profile-hub-identity-editor { grid-template-columns:56px minmax(0,1fr); gap:12px; }
  .profile-hub-photo-change { width:56px; height:56px; }
  .profile-hub-modal--profile .profile-hub-identity-fields input { font-size:16px; }
  .profile-hub-bio-editor textarea { font-size:16px; }
  .profile-hub-modal--profile .profile-hub-resume-row { gap:12px; padding:12px 0; }
}
.tag-input-field { display:grid; min-width:0; gap:8px; }
.profile-hub-form-grid > .tag-input-field.is-wide { grid-column:1 / -1; }
.tag-input-field__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tag-input-field__heading > label { font-size:13px; font-weight:750; }
.tag-input-field__heading > span { color:var(--color-text-muted, #778195); font-size:12px; font-variant-numeric:tabular-nums; }
.tag-input-field__control { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-height:44px; padding:7px 9px; border:1px solid var(--color-border, #dce1e9); border-radius:6px; background:var(--color-bg-white, #fff); }
.tag-input-field__control:focus-within { border-color:#3456b0; outline:2px solid color-mix(in srgb, #3456b0 15%, transparent); }
.tag-input-field__tags { display:contents; list-style:none; margin:0; padding:0; }
.tag-input-field__tags > li { display:inline-flex; align-items:center; gap:4px; max-width:100%; padding:2px 3px 2px 9px; border-radius:4px; background:var(--color-bg-soft, #f1f4f9); color:var(--color-text-main, #182235); font-size:13px; line-height:1.5; }
.tag-input-field__tags > li > span { min-width:0; overflow-wrap:anywhere; }
.tag-input-field__tags button { display:grid; place-items:center; flex-shrink:0; width:28px; height:28px; padding:0; border:0; border-radius:4px; color:var(--color-text-secondary, #536074); background:transparent; cursor:pointer; }
.tag-input-field__tags button:hover { background:var(--color-border, #dce1e9); }
.tag-input-field__control > input { flex:1; width:auto; min-width:100px; min-height:30px; padding:3px 4px; border:0; box-shadow:none; outline:none; background:transparent; color:inherit; font:inherit; font-size:14px; }
.tag-input-field .tag-input-field__control > input:focus { border:0; box-shadow:none; outline:none; }
.tag-input-field__add { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; padding:0; border:1px solid var(--color-border); border-radius:6px; background:var(--color-bg-white); color:var(--app-primary,var(--color-brand-strong)); cursor:pointer; }
.tag-input-field__add:focus-visible { outline:2px solid var(--app-primary,var(--color-brand-strong)); outline-offset:2px; }
.tag-input-field__add:disabled { opacity:.6; cursor:default; }
.tag-input-field__control > input:read-only { min-width:0; width:0; flex:0 0 0; padding:0; }
.tag-input-field__tags button:focus-visible { outline:2px solid #3456b0; outline-offset:1px; }
.tag-input-field__control.is-disabled { opacity:.6; }
@media(max-width:760px) {
  .tag-input-field__control > input { font-size:16px; min-height:36px; }
  .tag-input-field__tags button { width:36px; height:36px; }
}
.personal-qr-page { max-width: 640px; margin: 0 auto; padding: 36px 24px 64px; }
.personal-qr-page h1 { margin: 0 0 28px; font-size: 26px; }
.personal-qr-panel { max-width: 440px; margin: 0 auto; color: var(--app-text-main); text-align: center; }
.personal-qr-identity { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; text-align: left; }
.personal-qr-identity img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.personal-qr-identity strong { display: block; font-size: 19px; }
.personal-qr-identity span { color: var(--app-text-muted); font-size: 14px; }
.personal-qr-code { display: grid; place-items: center; width: 280px; max-width: 100%; aspect-ratio: 1; margin: 0 auto 24px; border: 1px solid var(--app-border); border-radius: 8px; background: var(--app-bg-card); color: var(--app-text-main); }
.personal-qr-code > img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.personal-qr-code > div { padding: 16px; }
.personal-qr-actions { display: flex; justify-content: center; gap: 8px; }
.personal-qr-panel button, .shared-profile-status button, .shared-profile-card-actions :is(button,a) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--app-border); border-radius: 8px; background: var(--app-bg-card); color: var(--app-text-sub); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.personal-qr-panel .qr-primary, .shared-profile-page .qr-primary { background: var(--app-primary); color: var(--color-text-inverse); border-color: var(--app-primary); }
.personal-qr-panel button:disabled, .shared-profile-page button:disabled { opacity: .55; cursor: default; }
.personal-qr-panel button:focus-visible, .shared-profile-page :is(button, a):focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.personal-qr-url { width: 100%; box-sizing: border-box; margin: 16px 0 12px; padding: 12px; border: 1px solid var(--app-border); border-radius: 6px; background: transparent; color: inherit; font-size: 13px; }
.personal-qr-preview { display: inline-flex; align-items: center; gap: 6px; color: var(--app-primary); font-size: 14px; }
.personal-qr-privacy { display: flex; justify-content: center; align-items: flex-start; gap: 8px; margin: 22px 0 0; color: var(--app-text-muted); font-size: 13px; line-height: 1.6; text-align: left; }
.personal-qr-privacy svg { color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.shared-profile-page { min-height: 100dvh; padding-top:var(--header-height,76px); box-sizing:border-box; background: var(--app-bg-soft,#f3f4f6); color: var(--app-text-main); }
.shared-profile-page * { box-sizing: border-box; letter-spacing: 0; }
.shared-profile-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--app-border); background:var(--app-bg-card,#fff); }
.shared-profile-brand a { display: inline-flex; align-items: center; gap: 8px; color: var(--app-text-main); text-decoration: none; font-size: 18px; }
.shared-profile-brand img { width: 112px; height: 58px; object-fit: contain; }
.shared-profile-brand > span { color: var(--app-text-muted); font-size: 12px; }
.shared-profile-content { max-width: 816px; margin: auto; padding: 24px 28px 56px; }
.shared-profile-identity { display: flex; align-items: center; gap: 22px; padding:24px; margin-bottom:12px; border:1px solid var(--app-border); border-radius:8px; background:var(--app-bg-card,#fff); }
.shared-profile-identity > img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 1px solid var(--app-border); }
.shared-profile-identity > div { min-width: 0; }
.shared-profile-eyebrow { color: var(--color-success); font-size: 13px; font-weight: 600; }
.shared-profile-identity h1 { margin: 4px 0 8px; font-size: 28px; overflow-wrap: anywhere; }
.shared-profile-identity p { margin: 4px 0; font-size: 15px; overflow-wrap: anywhere; }
.shared-profile-muted { color: var(--app-text-muted); }
.shared-profile-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.shared-profile-columns h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 17px; }
.shared-profile-card { min-width: 0; padding:24px; border:1px solid var(--app-border); border-radius:8px; background:var(--app-bg-card,#fff); }
.shared-profile-card .bcard { box-shadow: 0 5px 18px var(--color-shadow-base); width:100%; max-width:480px; margin-inline:auto; }
.shared-profile-card-actions { display: grid; gap: 10px; max-width:480px; margin:24px auto 0; }
.shared-profile-card-actions > * { width: 100%; }
.shared-profile-details { min-width: 0; }
.shared-profile-details section { margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--app-border); }
.shared-profile-bio { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.75; margin: 0; }
.shared-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.shared-profile-tags span { background: var(--app-bg-soft); padding: 6px 10px; border-radius: 4px; font-size: 13px; overflow-wrap: anywhere; max-width: 100%; }
.shared-profile-history { list-style: none; margin: 0; padding: 0; }
.shared-profile-history li + li { margin-top: 18px; }
.shared-profile-history li { overflow-wrap: anywhere; }
.shared-profile-history p { margin: 4px 0; font-size: 14px; }
.shared-profile-history small { color: var(--app-text-muted); font-size: 12px; }
.shared-profile-footer { display: flex; justify-content: center; gap: 20px; border-top: 1px solid var(--app-border); padding: 24px; }
.shared-profile-footer a { color: var(--app-text-muted); font-size: 12px; }
.shared-profile-status { min-height: 60vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 24px; text-align: center; }
.shared-profile-status h1 { font-size: 20px; }
@media (max-width: 640px) {
  .shared-profile-brand { padding: 14px 18px; }
  .shared-profile-brand a { font-size: 16px; }
  .shared-profile-content { padding: 16px 16px 36px; }
  .shared-profile-identity { gap: 16px; padding:20px; }
  .shared-profile-card { padding:20px; }
  .shared-profile-identity > img { width: 64px; height: 64px; }
  .shared-profile-identity h1 { font-size: 24px; }
  .shared-profile-columns { gap:12px; }
}
