@view-transition { navigation: auto; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }

/* Palette and typography are supplied by workspace/app-theme.css. */
:root {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100svh; display: flex; flex-direction: column; line-height: 1.6; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit;  }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
p, h1, h2, h3, h4 { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; left: -10000px; top: 0; background: var(--white); padding: .75rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header { background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-on-dark); }
.header-shell, .footer-shell { width: min(100% - 3rem, 75rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-shell { min-height: 5.25rem; }
.brand { position: relative; display: block; width: 7.8rem; flex-shrink: 0; aspect-ratio: 1231 / 456; }
.brand-wordmark { display: block; width: 100%; height: 100%; object-fit: contain; clip-path: inset(50% 0 0); }
.brand-star { position: absolute; width: 17.5%; height: auto; top: 0; left: 50%; transform: translateX(-50%); }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--lime); }
.site-header nav .nav-cta { padding: .55rem 1rem; color: var(--ink); background: var(--lime); }
.site-header nav .nav-cta:hover { background: #a6ff65; color: var(--ink); }
.shell { width: min(100% - 3rem, 75rem); margin-inline: auto; padding-block: 3.5rem 4rem; flex: 1; }
.membership-shell { display: flex; flex-direction: column; justify-content: center; padding-block: 2.5rem; }
.membership-shell.workspace-open { justify-content: flex-start; }
.page-loading { color: var(--muted); text-align: center; padding-block: 5rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--violet); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.intro { max-width: 47rem; margin-bottom: 3rem; }
.intro h1 { margin: 0 0 1rem; font-size: clamp(2.5rem, 4.5vw, 4rem); }
.intro > p:not(.eyebrow) { max-width: 40rem; color: var(--muted); margin: 0; }

.auth-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--white); }
.auth-intro { padding: clamp(2rem, 4vw, 3.75rem); background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: flex-start; }
.auth-intro > .eyebrow { color: var(--lime); }
.auth-intro h1 { font-size: clamp(2.5rem, 4vw, 3.6rem); margin: .75rem 0 1rem; white-space: pre-line; }
.auth-intro > p:not(.eyebrow) { max-width: 29rem; margin: 0; color: var(--on-dark); font-size: 1rem; }
.join-steps { width: 100%; list-style: none; margin: 2.25rem 0; padding: 0; }
.join-steps li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line-on-dark); }
.join-steps li > span { font-size: .72rem; color: var(--lavender); padding-top: .2rem; }
.join-steps strong { font-size: .9rem; font-weight: 700; }
.join-steps p { margin: .3rem 0 0; color: var(--on-dark); font-size: .84rem; line-height: 1.6; }
.intro-link { display: flex; gap: .75rem; align-items: center; min-height: 44px; margin-top: auto; color: var(--lime); font-size: .84rem; font-weight: 700; text-decoration: none; }
.intro-link:hover { text-decoration:none; }
.auth-card { min-width: 0; align-self: center; width: 100%; max-width: 34rem; margin-inline: auto; padding: clamp(1.75rem, 3vw, 3rem); }
.verification-email { margin: .5rem 0 1rem; font-size: 1.125rem; font-weight: 700; }
.auth-role-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin-bottom: 1.5rem; padding: .3rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.auth-role-switch button { min-height: 44px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--muted); font: 800 .82rem var(--font-body); }
.auth-role-switch button:hover { color: var(--violet); }
.auth-role-switch button[aria-pressed="true"] { border-color: var(--line-strong); background: var(--white); color: var(--violet); box-shadow: 0 1px 3px rgb(19 8 35 / 10%); }
.company-search { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.company-search .button { justify-self: start; }
.company-search .field-hint { margin: 0; }
.auth-card-heading { margin-bottom: 1.75rem; }
.auth-card h2 { margin: 0 0 .6rem; font-size: clamp(1.8rem, 3vw, 2.25rem); }
.auth-card-heading > p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }
.auth-card form { display: grid; gap: 1rem; }
.auth-card label, .field > label, .upload-form label { display: grid; gap: .45rem; font-weight: 700; font-size: .85rem; }
.field { min-width: 0; }
.auth-card input:not([type="hidden"]), .auth-card select, .upload-form input { width: 100%; min-width: 0; min-height: 3rem; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white); color: var(--text); padding: .65rem .8rem; font-size: 1rem; line-height: 1.4; transition: border-color 160ms ease, box-shadow 160ms ease; }
.auth-card input:focus, .upload-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.password-field { position: relative; display: flex; align-items: center; margin-top: .45rem; }
.password-field input { padding-right: 4.2rem !important; }
.password-field button { position: absolute; right: 2px; min-width: 3.75rem; min-height: 44px; padding: .4rem; border: 0; background: transparent; color: var(--violet); font-size: .75rem; font-weight: 800; border-radius: 2px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.label-row a { color: var(--violet); font-size: .75rem; font-weight: 700; }
.helper { font-size: .78rem; font-weight: 500; line-height: 1.6; color: var(--muted); margin: .45rem 0 0; }
#reset-password-error { color: #8c2424; }
.auth-card input[aria-invalid="true"] { border-color: #a32828; }
[data-auth-panel="reset-invalid"] > p { color: var(--muted); font-size: .9rem; }
[data-auth-panel="reset-invalid"] > .button { margin-top: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 48px; padding: .75rem 1.15rem; font-size: .86rem; font-weight: 800; line-height: 1.4; text-decoration: none; border: 1px solid transparent; border-radius: 3px; transition: background-color 160ms ease, border-color 160ms ease; }
.button.primary { background: var(--lime); color: var(--ink); }
.button.primary:hover { background: #a6ff65; }
.button.secondary { background: var(--white); color: var(--violet); border-color: var(--line-strong); }
.button.secondary:hover, .button.text:hover { background: var(--action-soft); border-color: var(--violet); }
.button.text { background: transparent; color: var(--violet); border-color: var(--line); }
.button.small { min-height: 44px; padding: .6rem .9rem; font-size: .8rem; }
.auth-card form > .button { margin-top: .35rem; }
.auth-switch { margin: 1.5rem 0 0; text-align: center; color: var(--muted); font-size: .84rem; }
.auth-switch a { color: var(--violet); font-weight: 800; }
.auth-switch a { display: inline-block; padding-block: .45rem; }
.auth-account-switch { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.auth-account-switch p { margin: 0 0 .75rem; }
.confirmation > p:first-child { color: var(--muted); overflow-wrap: anywhere; }
.confirmation .button { margin-top: 1.5rem; }
.notice { margin: 0 0 1.4rem; padding: .9rem 1rem; border: 1px solid var(--accent-line); border-top: 3px solid var(--violet); background: var(--action-soft); color: var(--text); font-size: .875rem; line-height: 1.6; overflow-wrap: anywhere; }
.notice[data-tone="error"] { border-color: #d9b0b0; border-left-color: #a32828; background: #fff6f4; color: #8c2424; }
.context-card { border-left: 3px solid var(--violet); background: var(--paper); padding: .85rem 1rem; margin-bottom: 1.5rem; }
.context-card h2 { font-family: var(--font-body); font-size: .95rem; line-height: 1.4; letter-spacing: 0; margin: .15rem 0; }
.context-card p { margin: .2rem 0; font-size: .8rem; color: var(--muted); }

#workspace { width: 100%; max-width: 68rem; margin-inline: auto; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.workspace-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.workspace-nav { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--line); }
.workspace-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem .25rem; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.workspace-nav a:hover { color: var(--violet); border-bottom-color: var(--lavender); }
.workspace-nav a[aria-current="page"] { color: var(--violet); border-bottom-color: var(--violet); }
.state-card { border: 1px solid var(--line); background: var(--action-soft); padding: 1.5rem; margin-bottom: 1.5rem; }
.state-card h3 { margin: 0 0 .5rem; }
.state-card p { color: var(--muted); margin: .5rem 0; }
.company-onboarding h2 { margin: 0 0 .5rem; }
.company-onboarding { max-width: 48rem; margin-inline: auto; margin-block-start: 1.5rem; }
.company-onboarding-form { display: grid; gap: .8rem; min-width: 0; padding: 1.25rem; border: 1px solid var(--line); background: var(--white); }
.company-onboarding-form h3 { margin: 0; }
.company-onboarding-form label, .company-invitation-card label { display: grid; gap: .4rem; font-size: .84rem; font-weight: 800; }
.company-onboarding-form input, .company-onboarding-form select, .company-invitation-card input { width: 100%; min-width: 0; min-height: 48px; padding: .6rem .75rem; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white); color: var(--text); }
.company-onboarding-form .button { justify-self: start; }
.company-invitation-card { display: grid; gap: .8rem; margin: 1rem 0; padding: 1.25rem; border: 1px solid var(--line-strong); background: var(--white); }
.company-invitation-card h3 { margin: 0; }
.company-invitation-actions { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.company-request-status { padding: .75rem 1rem; border-left: 3px solid var(--violet); background: var(--white); }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); background: var(--white); margin: 1.25rem 0; }
.panel-heading { padding-bottom: 1rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.panel-heading h2, .panel-heading h3 { font-size: 1.5rem; margin: 0; }
.panel-heading > p:not(.eyebrow) { color: var(--muted); font-size: .875rem; margin: .65rem 0 0; }
.panel-heading h2:focus { outline: none; }
.panel-heading .eyebrow { margin-bottom: .5rem; }
.upload-form { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; padding-top: 1rem; }
.upload-form label { flex: 1 1 22rem; min-width: 0; }
.upload-form .helper { margin: 0; }
.upload-form input { padding: .55rem; }
.upload-form input::file-selector-button { font: inherit; font-size: .8rem; background: var(--paper); color: var(--violet); border: 1px solid var(--line); padding: .3rem .6rem; margin-right: .7rem; border-radius: 2px; cursor: pointer; }
.card-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.item-card { min-width: 0; border: 1px solid var(--line); padding: 1.25rem; background: var(--white); }
.item-card h4, .item-card h3 { font-size: 1.2rem; margin: .2rem 0 .5rem; }
.item-card p { color: var(--muted); font-size: .9rem; margin: .35rem 0; }
.item-card .meta { font-size: .72rem; color: var(--violet); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.item-card.workflow-card { border-top: 3px solid var(--violet); background: var(--paper); }
.item-card.workflow-card[data-document-status="FAILED"] { border-left-color: #a32828; }
.item-card .processing-eta { color: var(--violet); font-weight: 700; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.status { font-size: .85rem; font-weight: 700; color: var(--violet); }
.status.positive { color: #245b2c; }
.empty { color: var(--muted); margin: .5rem 0; font-size: .9rem; }
.profile-view { margin-top: 1rem; border: 1px solid var(--line); background: var(--white); }
.profile-view-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.4rem; border-bottom: 1px solid var(--line); }
.profile-view-heading h3 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.profile-view-actions { display: flex; flex: 0 0 auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.profile-location { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.profile-fact { min-width: 0; display: grid; gap: .3rem; padding: 1rem 1.4rem; background: var(--paper); }
.profile-fact span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.profile-fact strong, .profile-fact a { overflow-wrap: anywhere; color: var(--text); font-size: .9rem; font-weight: 700; }
.profile-fact a { color: var(--violet); }
.profile-section { padding: 1.35rem 1.4rem; border-bottom: 1px solid var(--line); }
.profile-section:last-child { border-bottom: 0; }
.profile-section > h4 { margin: 0 0 1rem; color: var(--violet); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.profile-summary { margin: 0; color: var(--text); line-height: 1.75; white-space: pre-wrap; }
.profile-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.profile-tags li { padding: .35rem .6rem; background: var(--paper); border: 1px solid var(--line); color: var(--text); font-size: .8rem; font-weight: 700; }
.profile-entry + .profile-entry { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.profile-entry h5 { margin: 0 0 .35rem; font-size: 1rem; }
.profile-entry p, .profile-entry ul { margin: .4rem 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.profile-entry ul { padding-left: 1.2rem; }
.profile-entry-skills { color: var(--violet) !important; font-weight: 700; }
.profile-simple-list { display: grid; gap: .65rem; margin: 0; padding-left: 1.1rem; color: var(--text); font-size: .9rem; }
.profile-editor { display: grid; gap: 1rem; margin-top: 1rem; }
.profile-editor-heading { padding: 1.25rem 1.35rem; background: var(--paper); border-top: 3px solid var(--violet); }
.profile-editor-heading h3 { margin: 0; font-size: 1.3rem; }
.profile-editor-heading p { margin: .4rem 0 0; color: var(--muted); font-size: .88rem; }
.profile-edit-section { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); }
.profile-edit-section > h4, .profile-edit-section-heading h4 { margin: 0; font-size: 1.05rem; }
.profile-edit-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.profile-edit-rows { display: grid; gap: 1rem; }
.profile-edit-entry { position: relative; min-width: 0; margin: 0; padding: 2.7rem 1rem 1rem; border: 1px solid var(--line); background: var(--paper); }
.profile-edit-entry legend { position: absolute; top: 1rem; left: 1rem; padding: 0; color: var(--violet); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.profile-entry-remove { position: absolute; top: .6rem; right: .65rem; min-height: 2rem; border: 0; background: transparent; color: #8c2222; font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; }
.profile-edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profile-edit-field { min-width: 0; display: grid; align-content: start; gap: .4rem; color: var(--text); font-size: .8rem; font-weight: 700; }
.profile-edit-field.wide { grid-column: 1 / -1; }
.profile-edit-field input, .profile-edit-field textarea, .profile-edit-field select { width: 100%; min-width: 0; min-height: 2.8rem; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white); color: var(--text); padding: .65rem .75rem; font: inherit; font-weight: 500; }
.profile-edit-field textarea { min-height: 6rem; resize: vertical; line-height: 1.55; }
.profile-edit-field input:focus, .profile-edit-field textarea:focus, .profile-edit-field select:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.profile-edit-check { display: flex; align-items: center; gap: .65rem; align-self: end; min-height: 2.8rem; font-size: .85rem; font-weight: 700; }
.profile-edit-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--violet); }
.profile-editor-actions { display: flex; justify-content: flex-end; gap: .75rem; padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.profile-progress { border-top: 3px solid var(--violet); background: var(--paper); padding: 1.1rem 1.25rem; }
.profile-progress h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.profile-progress p { margin: .45rem 0; color: var(--muted); font-size: .9rem; }
.profile-progress .processing-eta { color: var(--violet); font-weight: 700; }
.profile-progress .button { margin-top: .75rem; }
.profile-progress[data-status="FAILED"] { border-top-color: #a32828; background: #fff6f4; }
.profile-progress[data-status="FAILED"] h3 { color: #8c2424; }
.profile-replacement { margin-bottom: 1.5rem; border-top: 3px solid var(--violet); background: var(--paper); padding: 1.1rem 1.25rem; }
.profile-replacement[data-status="FAILED"] { border-top-color: #a32828; background: #fff6f4; }
.profile-replacement[data-status="FAILED"] h3 { color: #8c2424; }
.profile-replacement h3 { margin: .25rem 0 .5rem; font-size: 1.2rem; }
.profile-replacement p { max-width: 70ch; margin: .4rem 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.profile-replacement .meta { overflow-wrap: anywhere; }
.profile-replacement-preview { color: var(--text) !important; font-size: 1rem !important; font-weight: 800; }
.profile-replacement-review { position: relative; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--accent-line); border-left: 4px solid var(--violet); background: linear-gradient(115deg, #f5effc 0%, var(--white) 68%); box-shadow: 0 .75rem 2rem rgb(33 13 62 / 7%); }
.profile-replacement-review h3 { margin: .75rem 0 .5rem; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; }
.profile-replacement-review > p { max-width: 56ch; font-size: .92rem; }
.profile-replacement-label { display: inline-flex; align-items: center; min-height: 1.75rem; padding: .25rem .55rem; background: var(--action-soft); color: var(--violet); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.profile-replacement-actions { margin-top: 1.35rem; }
.profile-replacement-actions .button.text { background: transparent; }
.profile-processing-state { display: grid; min-height: clamp(20rem, 48vh, 28rem); place-items: center; align-content: center; gap: 1.5rem; overflow: hidden; padding: clamp(2rem, 6vw, 4rem); text-align: center; }
.profile-processing-visual { position: relative; display: grid; width: 7.5rem; height: 7.5rem; place-items: center; border: 1px solid var(--line-strong); background: var(--action-soft); }
.profile-processing-visual::before, .profile-processing-visual::after { position: absolute; width: .8rem; height: .8rem; border-color: var(--violet); content: ""; }
.profile-processing-visual::before { top: .55rem; left: .55rem; border-top: 2px solid; border-left: 2px solid; }
.profile-processing-visual::after { right: .55rem; bottom: .55rem; border-right: 2px solid; border-bottom: 2px solid; }
.profile-processing-sheet { position: relative; display: grid; width: 3.8rem; height: 4.8rem; align-content: start; gap: .5rem; overflow: hidden; padding: 1rem .65rem .65rem; border: 1px solid var(--violet); background: var(--white); box-shadow: 0 .65rem 1.5rem rgb(19 8 35 / 14%); }
.profile-processing-line { display: block; width: 100%; height: 2px; background: var(--line); }
.profile-processing-line.is-heading { width: 58%; height: 3px; background: var(--violet); }
.profile-processing-line.is-short { width: 72%; }
.profile-processing-scan { position: absolute; z-index: 1; top: .35rem; right: .4rem; left: .4rem; height: .22rem; background: var(--lime); animation: profile-resume-scan 1.55s cubic-bezier(.45, 0, .55, 1) infinite; }
.profile-processing-copy { display: grid; max-width: 36rem; justify-items: center; gap: .3rem; }
.profile-processing-state .profile-processing-copy h3 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.profile-processing-state .profile-processing-copy p { margin: 0; line-height: 1.6; }
.profile-processing-state .processing-note { color: #744326; font-weight: 700; }
@keyframes profile-resume-scan {
  0% { opacity: 0; transform: translateY(0); }
  14%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateY(3.85rem); }
}
#profile-attention a { font-weight: 800; }

/* Member portals */
.membership-shell.workspace-open { width: min(100% - 2rem, 96rem); max-width: none; }
#workspace[data-role="employer"],
#workspace[data-role="talent"][data-verified="true"] { max-width: none; }
#workspace[data-role="employer"] > .workspace-heading,
#workspace[data-role="employer"][data-verified="true"] > #account-state,
#workspace[data-role="talent"][data-verified="true"] > .workspace-heading,
#workspace[data-role="talent"][data-verified="true"] > #account-state { display: none; }
#workspace[data-verified="false"] > .workspace-heading { display: none; }
#workspace[data-verified="false"] { width: 100%; padding: clamp(1rem, 4vw, 3rem); }
#workspace > .verification-panel { max-width: 42rem; margin: 1rem auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--app-radius, 6px); background: var(--white); }
.verification-panel h1 { margin: 0 0 .75rem; font-size: 1.75rem; line-height: 1.3; text-wrap: balance; }
.verification-introduction { margin: 0 0 1.75rem; max-width: 52ch; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.verification-address { margin: 0 0 1.75rem; padding-block: 1rem; border-block: 1px solid var(--line); overflow-wrap: anywhere; }
.verification-address-label { display: block; margin-bottom: .35rem; font-size: .8125rem; color: var(--muted); }
.verification-address strong { font-size: 1rem; font-weight: 700; }
.verification-instruction { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.65; }
.verification-signal { padding: 1rem; background: var(--surface-subtle, #f8fafc); border: 1px solid var(--line); border-radius: var(--app-radius, 6px); }
.verification-signal strong { display: block; font-size: .9375rem; }
.verification-signal p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.6; }
.verification-signal[data-state="sending"] { background: var(--violet-pale); color: var(--violet); }
.verification-signal[data-state="sent"] { background: var(--success-bg); color: var(--success); border-color: var(--success-line); }
.verification-signal[data-state="failed"] { background: var(--error-bg); color: var(--error); border-color: var(--error-line); }
.verification-actions { display: flex; margin: 1.25rem 0 0; }
.verification-actions .button { min-height: 44px; }
.verification-signal:not([hidden]) { margin-top: 1.25rem; }
.verification-help { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.verification-progress { margin: 1.25rem 0 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.verification-progress[data-connection="unavailable"] { color: var(--error); }
.verification-expiry { margin: .5rem 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 480px) { .verification-actions { flex-direction: column; } .verification-panel h1 { font-size: 1.5rem; } }
.employer-portal { min-height: calc(100svh - 10.25rem); display: grid; grid-template-columns: 17rem minmax(0, 1fr); border: 1px solid #2d203c; background: var(--white); box-shadow: 0 1.25rem 4rem rgb(19 8 35 / 8%); }
.employer-sidebar { min-width: 0; display: flex; flex-direction: column; background: var(--ink); color: var(--white); border-right: 1px solid #30233f; }
.employer-identity { min-height: 7.25rem; display: flex; align-items: center; gap: .85rem; padding: 1.35rem; border-bottom: 1px solid var(--line-on-dark); }
.employer-mark, .company-profile-mark { flex: 0 0 auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; }
.employer-identity p { margin: 0 0 .2rem; color: var(--muted-on-dark); font-size: .64rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.employer-identity strong { display: block; max-width: 11rem; font-size: .86rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employer-nav { display: grid; align-content: start; gap: .25rem; padding: 1rem .8rem; }
.employer-nav a { min-height: 3rem; display: grid; grid-template-columns: 1.35rem minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .65rem .75rem; color: var(--on-dark); font-size: .82rem; font-weight: 700; text-decoration: none; border-left: 3px solid transparent; }
.employer-nav a > span { color: var(--muted-on-dark); font-size: 1rem; line-height: 1; text-align: center; }
.employer-nav a > span svg { width: 1.1rem; height: 1.1rem; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; }
.employer-nav a > b { min-width: 1.6rem; padding: .08rem .35rem; background: var(--ink-raised); color: var(--on-dark); font-size: .65rem; line-height: 1.4; text-align: center; }
.employer-nav a:hover { color: var(--white); background: #21142f; }
.employer-nav a[aria-current="page"] { color: var(--white); background: #2a193b; border-left-color: var(--lime); }
.employer-nav a[aria-current="page"] > span { color: var(--lime); }
html[data-member-state="employer"] .site-header nav,
html[data-member-state="talent"] .site-header nav { display: none; }
.employer-nav-label { margin: 1.25rem .75rem .25rem; color: var(--muted-on-dark); font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.employer-sidebar-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.15rem 1.25rem; border-top: 1px solid var(--line-on-dark); }
.employer-sidebar-footer div { min-width: 0; display: grid; }
.employer-sidebar-footer strong { font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employer-sidebar-footer span { color: var(--muted-on-dark); font-size: .64rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employer-sidebar-footer button { min-height: 44px; padding: .4rem; border: 0; background: transparent; color: var(--lavender); font-size: .7rem; font-weight: 800; }
.employer-canvas { min-width: 0; padding: clamp(1.5rem, 3vw, 3rem); background: #f7f5fa; }
.employer-mobile-header, .employer-mobile-nav { display: none; }
.employer-page { min-width: 0; }
.sla-overview-notice, .sla-candidate-notice { margin: 1.25rem 0; padding: 1.1rem 1.25rem; border: 1px solid #d8c4a0; background: #fffaf0; color: var(--text); }
.sla-overview-notice p, .sla-candidate-notice p { margin: .45rem 0 .8rem; }
.sla-overview-notice .button, .sla-candidate-notice .button { display: inline-flex; margin-top: .75rem; }
.sla-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.sla-card { display: grid; justify-items: start; gap: .75rem; }
.sla-card h3, .sla-card p { margin: 0; }
.employer-page-header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; min-height: 6.75rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.employer-page-header > div { max-width: 46rem; }
.employer-page-header .eyebrow { margin-bottom: .45rem; }
.employer-page-header h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.employer-page-header p:last-child { margin: .65rem 0 0; color: var(--muted); font-size: .9rem; }
.employer-page-header.compact { align-items: center; }
.employer-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 1.5rem 0; border: 1px solid var(--line); background: var(--line); }
.employer-kpi { min-width: 0; padding: 1.1rem 1rem 1rem; background: var(--white); }
.employer-kpi strong { display: block; margin-bottom: .15rem; font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.05em; }
.employer-kpi span { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .07em; }
.employer-kpi.attention strong { color: var(--violet); }
.employer-kpis.compact { max-width: 36rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.employer-overview-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: 1.25rem; }
.employer-surface { min-width: 0; padding: 1.35rem; border: 1px solid var(--line); background: var(--white); }
.employer-surface-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.employer-surface-heading .eyebrow { margin: 0 0 .25rem; }
.employer-surface-heading h3 { margin: 0; font-size: 1.35rem; }
.count-badge { min-width: 2rem; min-height: 2rem; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 800; }
.quiet-link { min-height: 44px; padding: .35rem 0; border: 0; background: transparent; color: var(--violet); font-size: .74rem; font-weight: 800; }
.attention-list, .activity-list { list-style: none; margin: 0; padding: 0; }
.attention-item, .activity-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.attention-item:last-child, .activity-item:last-child { border-bottom: 0; }
.attention-signal { width: .55rem; height: .55rem; background: var(--violet); }
.attention-item[data-tone="urgent"] .attention-signal { background: #a32828; }
.attention-item strong, .activity-item strong { display: block; font-size: .82rem; }
.attention-item p, .activity-item p { margin: .2rem 0 0; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.attention-item button { min-height: 44px; padding: .45rem .65rem; border: 1px solid var(--line); background: var(--white); color: var(--violet); font-size: .7rem; font-weight: 800; }
.attention-item button[data-question-action] { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.activity-icon { width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--paper); color: var(--violet); font-size: .75rem; font-weight: 800; }
.activity-time { color: var(--muted); font-size: .68rem; white-space: nowrap; }
.overview-empty { padding: 1.25rem 0 .3rem; color: var(--muted); font-size: .82rem; }

/* Talent workspace */
.talent-portal-notice { margin: 0 0 1rem; }
.talent-kpis .employer-kpi:first-child strong { font-size: clamp(1.25rem, 2.4vw, 1.9rem); }
.talent-toolbar { grid-template-columns: minmax(13rem, 22rem) minmax(11rem, 14rem) 1fr; }
.talent-opportunity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.talent-opportunity-grid > .candidate-empty,
.talent-opportunity-grid > .card-actions { grid-column: 1 / -1; }
.talent-opportunity-card { display: flex; flex-direction: column; padding: 0; background: var(--white); }
.talent-card-top { position: relative; flex: 1; padding: 1.25rem 1.25rem .8rem; }
.talent-application-tags { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.5rem; margin-bottom:.75rem; }
.talent-applied-tag {
  display: flex;
  width: max-content;
  align-items: center;
  gap: .45rem;
  padding: .42rem .7rem;
  border: 1px solid #b7d5b2;
  border-radius: 999px;
  background: #eff9ec;
  box-shadow: 0 2px 7px rgb(36 91 44 / 9%);
  color: #245b2c;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
}
.talent-applied-tag::before {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #3e8b45;
  box-shadow: 0 0 0 3px rgb(62 139 69 / 13%);
  content: "";
}
.talent-applied-tag.is-not-selected { border-color:var(--error-line); background:var(--error-soft); box-shadow:none; color:var(--error); }
.talent-applied-tag.is-not-selected::before { background:var(--error); box-shadow:none; }
.talent-opportunity-card .application-outcome-copy { margin:.4rem 1.25rem 0; padding:.65rem .8rem; border-left:3px solid var(--error); background:var(--error-soft); color:var(--text); line-height:1.5; }
.activity-item.is-not-selected p { color:var(--error); font-weight:700; }
.talent-opportunity-card > .status { margin: 0 1.25rem .45rem; }
.talent-opportunity-card > .helper { margin: .35rem 1.25rem; }
.opportunity-blockers { margin: .5rem 1.25rem 1.25rem; padding: 1rem; border-left: 3px solid var(--violet); background: var(--paper); overflow-wrap: anywhere; }
.opportunity-blockers h3 { margin: 0 0 .5rem; font-size: .875rem; }
.opportunity-blockers ul { margin: 0; padding-left: 1.15rem; color: var(--ink); font-size: .875rem; line-height: 1.6; }
.opportunity-blockers li + li { margin-top: .5rem; }
.talent-opportunity-card button:disabled { opacity: .6; cursor: not-allowed; }
.talent-match-score { margin: .1rem 1.25rem .45rem !important; color: var(--violet) !important; font-size: .72rem !important; font-weight: 800; }
.talent-opportunity-card .card-actions { margin-top: auto; padding: .85rem 1.25rem; border-top: 1px solid var(--line); }
.talent-upload-card { display: grid; width: 100%; gap: 1rem; margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.talent-upload-card > * { width: min(100%, 60rem); justify-self: center; }
.talent-upload-methods { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; border: 0; }
.talent-upload-methods legend { margin-bottom: .6rem; padding: 0; color: var(--text); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.talent-upload-methods label { position: relative; display: flex; min-width: 0; min-height: 3rem; align-items: center; justify-content: center; padding: .65rem .8rem; border: 1px solid var(--line-strong); background: var(--white); color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 800; text-align: center; }
.talent-upload-methods label:hover { border-color: var(--violet); color: var(--violet); }
.talent-upload-methods label:has(input:checked) { border-color: var(--violet); background: var(--action-soft); color: var(--violet); }
.talent-upload-methods label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.talent-upload-methods input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.talent-resume-dropzone { position: relative; display: grid; min-height: 12rem; place-items: center; align-content: center; gap: .65rem; padding: 1.4rem; border: 1px dashed var(--line-strong); background: var(--paper); color: var(--text); cursor: pointer; text-align: center; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.talent-resume-dropzone:hover, .talent-resume-dropzone[data-dragging="true"] { border-color: var(--violet); background: var(--action-soft); color: var(--violet); }
.talent-resume-dropzone[data-dragging="true"] { background: #edffd9; color: var(--ink); }
.talent-resume-dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.talent-resume-dropzone > input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.talent-upload-mark { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border: 1px solid var(--line-strong); background: var(--white); color: var(--violet); }
.talent-upload-mark svg { width: 1.7rem; height: 1.7rem; }
.talent-upload-prompt { display: grid; gap: .1rem; }
.talent-upload-prompt strong, .talent-upload-file-summary strong { font-size: .9rem; }
.talent-upload-prompt > span, .talent-upload-file-summary > span, .talent-upload-limits { color: var(--muted); font-size: .72rem; }
.talent-upload-file-summary { display: grid; gap: .1rem; }
.talent-resume-dropzone[data-selected="true"] .talent-upload-mark, .talent-resume-dropzone[data-selected="true"] .talent-upload-prompt { display: none; }
.talent-resume-dropzone[data-selected="true"] .talent-upload-file-summary strong { color: var(--violet); overflow-wrap: anywhere; }
.talent-resume-text { display: grid; min-width: 0; gap: .55rem; }
.talent-resume-text > label { color: var(--text); font-size: .76rem; font-weight: 800; }
.talent-resume-text textarea { width: 100%; min-height: 13rem; resize: vertical; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); color: var(--text); padding: .9rem; font: inherit; font-size: 1rem; line-height: 1.6; }
.talent-resume-text textarea::placeholder { color: var(--muted); }
.talent-resume-text textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.talent-resume-text-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; }
.talent-upload-actions { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 1rem; }
.talent-upload-actions p { margin: 0; color: var(--muted); font-size: .76rem; }
.profile-clarification-gate .profile-validated-icon { border-color: #a8d3a2; background: #edffd9; color: #245b2c; }
.profile-clarification-gate .status { color: #245b2c; text-transform: uppercase; letter-spacing: .06em; }
.profile-clarification-gate .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.talent-replace-dialog { width: min(calc(100% - 2rem), 68rem); max-width: none; max-height: calc(100svh - 2rem); margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.talent-replace-dialog::backdrop { background: rgb(19 8 35 / 78%); }
.talent-replace-dialog[open] { animation: talent-replace-dialog-in 240ms cubic-bezier(.16, 1, .3, 1) both; }
.talent-replace-dialog-shell { max-height: calc(100svh - 2rem); overflow: auto; overscroll-behavior: contain; background: var(--white); box-shadow: 0 1.5rem 4rem rgb(19 8 35 / 34%); scrollbar-color: var(--violet) var(--paper); scrollbar-width: thin; }
.talent-replace-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; padding: clamp(1.25rem, 4vw, 2rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.talent-replace-dialog-header h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.talent-replace-dialog-header p { max-width: 58ch; margin: .55rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.talent-replace-dialog-header button { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); background: var(--white); color: var(--violet); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.talent-replace-dialog-header button:hover { border-color: var(--violet); background: var(--action-soft); }
.talent-replace-dialog-header button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.talent-replace-dialog-header svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.talent-replace-dialog .talent-upload-card { margin: 0; border: 0; background: var(--white); }
.talent-resume-failure-dialog { width: min(calc(100% - 2rem), 38rem); }
.talent-resume-failure-dialog .talent-replace-dialog-header { border-top: 4px solid #a32828; background: #fff6f4; }
.talent-resume-failure-dialog h2 { color: #8c2424; }
.talent-resume-failure-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; padding: 1.25rem clamp(1.25rem, 4vw, 2rem); }
.talent-ignore-resume-dialog { width: min(calc(100% - 2rem), 36rem); }
.talent-ignore-resume-dialog .talent-replace-dialog-header { border-top: 4px solid var(--violet); }
.talent-ignore-resume-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; padding: 1.25rem clamp(1.25rem, 4vw, 2rem); }
.talent-ignore-resume-error { margin: 0; padding: 0 clamp(1.25rem, 4vw, 2rem); color: #8c2424; font-size: .86rem; }
.talent-ignore-resume-error:empty { display: none; }
@keyframes talent-replace-dialog-in {
  from { opacity: 0; transform: translateY(.75rem) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.talent-page #profile-state > .status { display: inline-flex; margin: 1.5rem 0 0; padding: .35rem .55rem; background: #e3f3df; color: #28632f; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.talent-page .profile-view { margin-top: .75rem; }
.talent-page .profile-progress { margin-top: 1.5rem; }
.talent-page .profile-editor { margin-top: 1.5rem; }
.talent-page #profile-state > .empty { min-height: 10rem; display: grid; place-items: center; margin-top: 1.5rem; border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }

.employer-create-card { margin: 1.5rem 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line-on-dark); background: var(--ink); color: var(--white); }
.employer-create-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.employer-create-heading .eyebrow { color: var(--lime); margin-bottom: .35rem; }
.employer-create-heading h3 { margin: 0; font-size: 1.65rem; }
.employer-create-heading p:last-child { margin: .5rem 0 0; color: var(--on-dark); font-size: .84rem; }
.employer-create-heading p.employer-upload-estimate { margin-top: .75rem; color: var(--lime); font-size: .78rem; font-weight: 700; }
.icon-button { min-width: 44px; min-height: 44px; border: 1px solid var(--line-on-dark); background: transparent; color: var(--white); font-size: 1.25rem; }
.employer-input-switch { display: inline-grid; grid-template-columns: repeat(2, minmax(8.5rem, 1fr)); margin-bottom: .8rem; border: 1px solid var(--line-on-dark); }
.employer-input-switch button { min-height: 44px; padding: .65rem 1rem; border: 0; background: transparent; color: var(--on-dark); font: inherit; font-size: .74rem; font-weight: 800; }
.employer-input-switch button + button { border-left: 1px solid var(--line-on-dark); }
.employer-input-switch button[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.employer-dropzone { min-height: 9.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; align-items: center; gap: .25rem 1rem; padding: 1.4rem; border: 1px dashed var(--line-on-dark); background: #1d102b; cursor: pointer; }
.employer-dropzone:hover, .employer-dropzone[data-dragging="true"] { border-color: var(--lime); background: #241232; }
.employer-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone-icon { grid-row: 1 / 3; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--line-on-dark); color: var(--lime); font-size: 1.4rem; }
.employer-dropzone strong, .employer-dropzone small { display: block; }
.employer-dropzone small { color: var(--muted-on-dark); font-size: .72rem; }
.dropzone-file { grid-column: 2; color: var(--on-dark); font-size: .72rem; }
.employer-dropzone[data-selected="true"] .dropzone-file { color: var(--lime); font-weight: 700; }
.employer-paste-panel label { display: grid; gap: .5rem; color: var(--white); font-size: .74rem; font-weight: 800; }
.employer-paste-panel textarea { width: 100%; min-height: 13rem; resize: vertical; border: 1px solid var(--line-on-dark); border-radius: 0; background: #1d102b; color: var(--white); padding: 1rem; font: inherit; font-size: .84rem; line-height: 1.6; }
.employer-paste-panel textarea::placeholder { color: var(--muted-on-dark); }
.employer-paste-panel textarea:focus { outline: 1px solid var(--lime); border-color: var(--lime); }
.employer-paste-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .55rem; color: var(--muted-on-dark); font-size: .66rem; }
.employer-toolbar { display: grid; grid-template-columns: minmax(13rem, 22rem) minmax(10rem, 14rem) 1fr; align-items: center; gap: .75rem; margin: 1.5rem 0 1rem; }
.employer-toolbar input, .employer-toolbar select, .employer-role-select select,
.portal-form input, .portal-form select, .portal-form textarea { width: 100%; min-height: 2.9rem; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); color: var(--text); padding: .6rem .75rem; font: inherit; font-size: .84rem; }
.employer-toolbar :focus, .employer-role-select select:focus,
.portal-form :is(input, select, textarea):focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.result-count { justify-self: end; color: var(--muted); font-size: .72rem; font-weight: 700; }
.employer-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.employer-role-card { min-width: 0; display: grid; grid-template-rows: 1fr auto auto; border: 1px solid var(--line); background: var(--white); }
.role-card-top { padding: 1.25rem 1.25rem 1rem; }
.role-status-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.portal-status { display: inline-flex; align-items: center; gap: .45rem; color: var(--violet); font-size: .65rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.portal-status::before { content: ""; width: .45rem; height: .45rem; background: currentColor; }
.portal-status[data-state="live"] { color: #28632f; }
.portal-status[data-state="failed"] { color: #962727; }
.portal-status[data-state="processing"] { color: #775b12; }
.role-card-date { color: var(--muted); font-size: .66rem; }
.employer-role-card h3 { margin: 0 0 .45rem; font-size: 1.3rem; }
.employer-role-card .role-summary { min-height: 3.9rem; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.employer-role-card[data-questions-ready="true"] .role-summary { color: var(--ink); font-weight: 700; }
.role-facts { display: flex; flex-wrap: wrap; gap: .45rem .9rem; margin-top: 1rem; color: var(--muted); font-size: .7rem; font-weight: 700; }
.role-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin-top:1.25rem; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.role-fact { display:grid; align-content:center; gap:.25rem; min-width:0; padding:.8rem .7rem; }
.role-fact + .role-fact { border-left:1px solid var(--line); }
.role-fact small { color:var(--muted); font-size:.66rem; font-weight:700; }
.role-fact strong { color:var(--ink); font-size:.79rem; line-height:1.35; overflow-wrap:anywhere; }
.role-card-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
.role-card-metric { padding: .75rem 1rem; background: var(--paper); }
.role-card-metric strong { display: block; font-size: 1rem; }
.role-card-metric span { color: var(--muted); font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.role-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.role-card-actions .button { min-height: 42px; }
.role-question-updates { display: inline-flex; align-items: center; gap: .125rem; max-width: 100%; }
.role-status-updates { display: inline-flex; align-items: center; gap: .125rem; }
.role-status-row { flex-wrap: wrap; }
.role-question-updates > .button { min-height: 44px; }
.role-review-prompt { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--lime); background: var(--paper); color: var(--ink); font-size: .8rem; font-weight: 700; line-height: 1.5; }

.employer-role-detail { min-width: 0; }
.role-detail-back { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: 0; border: 0; background: transparent; color: var(--violet); font-size: .78rem; font-weight: 800; }
.role-detail-hero { position: relative; overflow: hidden; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--ink); color: var(--white); }
.role-detail-hero > * { position: relative; z-index: 1; }
.role-detail-hero .portal-status { min-height: 2rem; padding: .35rem .65rem; background: var(--on-dark); color: var(--ink); border-radius: 2px; }
.role-detail-hero .portal-status[data-state="live"] { background: var(--lime); color: var(--ink); }
.role-detail-hero .portal-status[data-state="attention"], .role-detail-hero .portal-status[data-state="processing"] { background: #ffe3a6; color: #3d2808; }
.role-detail-hero .portal-status[data-state="failed"] { background: #ffd4d4; color: #6d151b; }
.role-detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.role-detail-title-copy { min-width: 0; }
.role-detail-header-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: .75rem; }
.role-detail-hero .role-detail-header-actions .button { background: #ffffff14; color: var(--white); border-color: var(--muted-on-dark); }
.role-detail-hero .role-detail-header-actions .button:hover { background: #ffffff26; border-color: var(--white); }
.role-detail-hero .role-detail-header-actions .button.primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.role-detail-hero .role-detail-header-actions .button.primary:hover { background: #edf2ff; }
body[data-app-scope] .role-detail-hero .role-detail-header-actions .button.secondary { background: #ffffff14; color: var(--white); border-color: var(--muted-on-dark); }
body[data-app-scope] .role-detail-hero .role-detail-header-actions .button.secondary:hover { background: #ffffff26; border-color: var(--white); }
.role-detail-hero h2 { max-width: 50rem; margin: .75rem 0; font-size: clamp(2rem, 5vw, 3.8rem); }
.role-detail-hero p { max-width: 48rem; margin: 0; color: var(--on-dark); }
.role-detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 1.6rem; background: var(--line-on-dark); }
.role-detail-fact { padding: .85rem 1rem; background: #221431; }
.role-detail-fact span { display: block; color: var(--muted-on-dark); font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.role-detail-fact strong { display: block; margin-top: .25rem; font-size: .78rem; }
.role-detail-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.role-detail-section { padding: 1.35rem; border: 1px solid var(--line); background: var(--white); }
.role-detail-section h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.role-detail-grid .role-progress { --journey-columns: 4; margin-top: 0; }
.role-requirement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.role-requirement-group { min-width: 0; padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.role-requirement-heading { display: flex; align-items: start; justify-content: space-between; gap: .6rem; min-height: 2.1rem; }
.role-requirement-heading h4 { margin: 0; color: var(--violet); font-family: var(--font-body); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.role-requirement-count { min-width: 1.6rem; padding: .1rem .3rem; border-radius: 50%; background: #e9e4ef; color: var(--violet); font-size: .65rem; font-weight: 800; text-align: center; }
.role-requirement-group ul { margin: .45rem 0 0; padding-left: 1.1rem; }
.role-requirement-group li { margin: .55rem 0; color: var(--muted); font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.role-requirement-toggle { min-height: 44px; margin-top: .35rem; padding: .25rem 0; border: 0; background: transparent; color: var(--violet); font-size: .72rem; font-weight: 800; cursor: pointer; }
.role-detail-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.role-editor-heading { margin-bottom: 1rem; }
.role-editor-heading h2 { margin: .2rem 0 .45rem; font-size: clamp(2rem, 4vw, 3.1rem); }
.role-editor-heading p:last-child { margin: 0; color: var(--muted); }
.role-editor-alert { display: grid; grid-template-columns: minmax(12rem, .7fr) minmax(18rem, 1.3fr); gap: 1rem; padding: 1rem 1.2rem; border-top: 4px solid var(--lime); background: var(--ink); color: var(--white); }
.role-editor-alert p { margin: 0; color: var(--on-dark); font-size: .78rem; }
.role-editor-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; padding: 0; background: var(--line); }
.role-editor-section { min-width: 0; padding: clamp(1.2rem, 3vw, 1.8rem); background: var(--white); }
.role-editor-section h3 { margin: 0 0 .35rem; font-size: 1.3rem; }
.role-editor-intro { margin: 0 0 1.2rem; color: var(--muted); font-size: .76rem; }
.role-editor-heading-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.role-editor-heading-row .button { flex: 0 0 auto; }
.role-editor-information { align-items: start; }
.role-editor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.role-editor-list > .overview-empty { grid-column: 1 / -1; }
.role-editor-requirement { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(8.5rem, .55fr); gap: .65rem; padding: .8rem; border: 1px solid var(--line); background: var(--paper); }
.role-editor-requirement.role-editor-addition { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.role-editor-addition .role-editor-field.wide { grid-column: 1 / -1; }
.role-editor-addition .role-editor-remove { grid-column: 1 / -1; justify-self: end; }
.role-editor-field { min-width: 0; display: grid; gap: .35rem; color: var(--text); font-size: .68rem; font-weight: 800; }
.role-editor-field input, .role-editor-field select { width: 100%; min-height: 2.65rem; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); padding: .55rem .65rem; font: inherit; font-weight: 600; }
.role-editor-remove { min-height: 2.65rem; border: 0; background: transparent; color: #8c2730; font-size: .7rem; font-weight: 800; }
.role-editor-fixed { margin-top: 1rem; border-top: 1px solid var(--line); }
.role-editor-fixed summary { min-height: 44px; display: flex; align-items: center; color: var(--violet); font-size: .72rem; font-weight: 800; cursor: pointer; }
.role-editor-fixed p, .role-editor-fixed li { color: var(--muted); font-size: .72rem; }
.role-editor-subheading { margin: 1.3rem 0 .7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.role-editor-subheading h4 { margin: 0; font-family: var(--font-body); font-size: .76rem; }
.role-editor-subheading p { margin: .2rem 0 0; color: var(--muted); font-size: .7rem; }
.role-editor-form > .portal-form-footer { grid-column: 1 / -1; margin: 0; background: var(--white); }

.employer-role-select { min-width: min(22rem, 100%); display: grid; gap: .35rem; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.pipeline-toolbar { display: flex; gap: .25rem; margin: 1.5rem 0 1rem; border-bottom: 1px solid var(--line); }
.pipeline-toolbar button { min-height: 46px; padding: .7rem .9rem; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: .78rem; font-weight: 800; }
.pipeline-toolbar button[aria-selected="true"] { color: var(--violet); border-bottom-color: var(--violet); }
.pipeline-toolbar button span { display: inline-grid; place-items: center; min-width: 1.35rem; margin-left: .3rem; padding: .05rem .3rem; background: #e9e4ef; font-size: .62rem; }
.candidate-tabs { overflow-x: auto; scrollbar-width: thin; }
.candidate-tabs button { flex: 0 0 auto; }
.candidate-tabs button:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.company-page { width: 100%; max-width: none; }
.company-page .company-page-header { min-height: 0; align-items: center; padding-bottom: 0; border: 0; }
.company-page .company-page-header p { margin-top: .5rem; font-size: .9375rem; }
.company-page .company-page-header .button { flex: 0 0 auto; gap: .5rem; font-size: .875rem; }
#company-invite-toggle svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2; }
#company-invite-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.company-page .company-tabs { width: fit-content; margin: 1.5rem 0; padding: .25rem; gap: .25rem; border: 0; border-radius: var(--app-radius); background: var(--surface-muted); }
.company-page .company-tabs button { flex: 0 0 auto; min-height: 44px; padding: .6rem 1.125rem; border: 0; border-radius: calc(var(--app-radius) - 2px); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.company-page .company-tabs button[aria-selected="true"] { background: var(--surface); color: var(--violet); }
.company-page .company-tabs button span { min-width: 1.4rem; margin-left: .4rem; background: var(--violet-pale); font-size: .75rem; }
.company-tabs button span[hidden], .company-tab-panel[hidden] { display: none; }
.company-tab-panel > .portal-form { margin-top: 1rem; }
.company-settings-status { margin: 1rem 0 .75rem; color: var(--muted); font-size: .875rem; }
.company-settings-status[data-tone="error"] { color: var(--error); }
#company-settings-retry { margin-bottom: 1rem; }
.company-page .company-team-surface { margin-top: 0; padding: 1.5rem; border: 0; box-shadow: none; }
.company-directory-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.company-directory-heading h3 { margin: 0; font-size: 1.125rem; letter-spacing: -.02em; }
.company-team-summary { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 0; color: var(--muted); font-size: .8125rem; }
#company-invitation-summary { padding-inline-start: .75rem; border-inline-start: 1px solid var(--line-strong); }
.company-team-list { display: grid; }
.company-page .company-team-row { display: grid; grid-template-columns: minmax(0, 1fr) 5rem 44px; align-items: center; gap: .75rem; padding: 1rem; border: 0; border-radius: var(--app-radius); }
.company-page .company-team-row:nth-child(even) { background: var(--surface-subtle); }
.company-team-person { min-width: 0; display: flex; align-items: center; gap: .875rem; }
.company-team-copy { min-width: 0; display: grid; gap: .2rem; }
.company-team-identity { display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .75rem; }
.company-team-person strong { color: var(--ink); font-size: .9375rem; font-weight: 700; line-height: 1.5; }
.company-team-job { color: var(--muted); font-size: .8125rem; }
.company-team-email { color: var(--muted); font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.company-team-avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; border-radius: 50%; background: var(--surface-muted); color: var(--ink-raised); font-size: .875rem; font-weight: 800; }
.company-team-avatar.is-invited { background: var(--violet-pale); color: var(--violet); }
.company-team-avatar svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; }
.company-team-role { justify-self: start; padding: .3rem .65rem; border-radius: var(--app-radius); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.company-team-role[data-role="owner"] { background: var(--violet-pale); color: var(--violet); }
.company-team-role[data-role="invited"] { background: var(--surface-muted); color: var(--text); }
.company-member-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--app-radius); background: transparent; color: var(--muted); }
.company-member-toggle:hover, .company-member-toggle[aria-expanded="true"] { background: var(--surface-muted); color: var(--text); }
.company-member-toggle svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.company-member-menu { position: fixed; inset: auto; width: 14rem; max-width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); margin: 0; padding: .4rem; border: 0; border-radius: var(--app-radius); background: var(--surface); color: var(--text); box-shadow: 0 8px 24px var(--shadow); overflow: auto; }
.company-member-menu:popover-open { display: grid; }
.company-page .company-member-menu .button { justify-content: flex-start; width: 100%; min-height: 44px; padding: .6rem .75rem; border: 0; background: transparent; text-align: left; font-size: .875rem; }
.company-page .company-member-menu .button:hover:not(:disabled) { background: var(--surface-muted); }
.company-page .company-member-menu .button.is-destructive { color: var(--danger); }
.company-page .company-member-menu .button:disabled { cursor: not-allowed; }
.company-member-menu .field-hint { margin: .5rem .75rem; font-size: .8125rem; }
.company-team-empty { margin: 0; padding: 1.5rem 1rem; color: var(--muted); font-size: .9375rem; }
.company-page .company-team-form { display: grid; gap: .875rem; margin: 0 0 1.5rem; padding: 1.5rem; border: 0; border-radius: var(--app-radius); background: var(--violet-pale); }
.company-invite-heading h3 { margin: 0; font-size: 1.125rem; letter-spacing: -.02em; }
.company-invite-heading p { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; }
.company-page .company-team-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: .75rem; }
.company-team-form label { display: grid; gap: .5rem; min-width: 0; color: var(--text); font-size: .875rem; font-weight: 700; }
.company-page .company-team-form > .field-hint { margin: 0; font-size: .8125rem; }
.company-team-form input { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--app-radius); padding: .65rem .875rem; font: inherit; font-size: 1rem; }
.company-team-form input:focus { outline: 2px solid var(--violet); outline-offset: 2px; }
.company-team-form input::placeholder { color: var(--muted); opacity: 1; }
.company-page .company-team-form .button { min-height: 46px; font-size: .875rem; }
.company-team-form[hidden] { display: none; }
.company-inline-feedback { margin: 0; font-size: .875rem; overflow-wrap: anywhere; }
.company-inline-feedback[data-tone="success"] { color: var(--success); }
.company-inline-feedback[data-tone="error"] { color: var(--error); }
.company-pending-invitations { margin-top: 1.5rem; }
.company-section-heading { margin: 0 0 .75rem 1rem; color: var(--muted); font-size: .875rem; letter-spacing: 0; font-weight: 600; }
.company-join-requests { margin: 0 0 1.5rem; padding: 1.5rem; border-radius: var(--app-radius); background: var(--violet-pale); }
.company-join-requests h3 { margin: 0; font-size: 1.125rem; }
.company-join-requests > .field-hint { margin: .4rem 0 1rem; font-size: .875rem; }
.company-page .company-join-requests .company-team-row { grid-template-columns: minmax(0, 1fr) auto; padding: .75rem 0; background: transparent; }
.company-request-actions { display: flex; gap: .5rem; }
.company-page .company-request-actions .button { font-size: .8125rem; }
.company-page .company-request-actions .company-approve { border-color: var(--violet); color: var(--violet); }
.candidate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.candidate-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); background: var(--white); }
.candidate-card[data-outcome="selected"] { border-color:#a9d2b7; background:#f7fbf8; }
.candidate-card[data-outcome="rejected"] { border-color:#dfbdc0; background:#fcf8f8; }
.candidate-card[data-outcome="offer-ended"] { border-color:var(--line); background:var(--surface-muted, #f8fafc); }
.candidate-outcome { display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .55rem; border:1px solid currentColor; color:#21603a; font-size:.7rem; font-weight:800; line-height:1.2; }
.candidate-card[data-outcome="rejected"] .candidate-outcome { color:#923d46; }
.candidate-card[data-outcome="offer-ended"] .candidate-outcome { color:var(--muted); }
.candidate-outcome svg,.activity-icon svg { width:1rem; height:1rem; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.candidate-card-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.candidate-avatar { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--lavender); color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.candidate-card h3 { margin: .8rem 0 .2rem; font-size: 1.15rem; }
.candidate-card .candidate-meta { margin: 0; color: var(--violet); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.candidate-card .candidate-summary { margin: .75rem 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.match-score { display: grid; place-items: center; min-width: 3rem; height: 3rem; border: 1px solid var(--line); color: var(--violet); font-size: .72rem; font-weight: 800; }
.candidate-skills { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0; padding: 0; list-style: none; }
.candidate-skills li { padding: .25rem .45rem; background: var(--paper); color: var(--muted); font-size: .66rem; font-weight: 700; }
.candidate-card summary { min-height: 44px; display: flex; align-items: center; color: var(--violet); font-size: .72rem; font-weight: 800; cursor: pointer; }
.candidate-card .card-actions { padding-top: .8rem; border-top: 1px solid var(--line); }
.candidate-empty { grid-column: 1 / -1; min-height: 15rem; display: grid; place-items: center; padding: 2rem; border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }

.activity-surface { margin-top: 1.5rem; }
.activity-surface .activity-item { grid-template-columns: auto minmax(0, 1fr) auto; }
.activity-item[data-outcome="selected"] { background:#f7fbf8; }
.activity-item[data-outcome="rejected"] { background:#fcf8f8; }
.activity-item[data-outcome="selected"] .activity-icon { color:#21603a; background:#e7f4eb; }
.activity-item[data-outcome="rejected"] .activity-icon { color:#923d46; background:#f8e9eb; }
.activity-item[data-outcome="selected"] p { color:#21603a; font-weight:700; }
.activity-item[data-outcome="rejected"] p { color:#923d46; font-weight:700; }
.portal-form { margin-top: 1.5rem; }
.portal-form-intro { display: flex; align-items: center; gap: 1rem; margin: -.1rem -.1rem 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.portal-form-intro h3 { margin: 0; font-size: 1.35rem; }
.portal-form-intro p { margin: .3rem 0 0; color: var(--muted); font-size: .8rem; }
.company-profile-mark { width: 3.6rem; height: 3.6rem; font-size: 1.35rem; }
.portal-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.portal-form label { min-width: 0; display: grid; align-content: start; gap: .4rem; color: var(--text); font-size: .76rem; font-weight: 800; }
.portal-form label.wide { grid-column: 1 / -1; }
.portal-form textarea { resize: vertical; line-height: 1.55; }
.field-hint { color: var(--muted); font-size: .68rem; font-weight: 500; }
.portal-form-footer { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.portal-form-footer p { flex: 1; margin: 0; color: var(--muted); font-size: .75rem; }
.account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items:stretch; gap: 1rem; margin-top:1.5rem; }
.account-grid .account-panel { min-width:0; margin:0; padding:1.5rem; }
.account-grid .portal-form { display:grid; align-content:start; gap:1.2rem; }
.account-grid .portal-form-footer { align-self:end; }
#talent-billing-tax, #employer-billing-tax { margin-top: 1rem; }
#talent-billing-tax-content, #employer-billing-tax-content { display: grid; gap: .8rem; padding-top: 1rem; }
#talent-billing-tax-content > p, #employer-billing-tax-content > p { margin: 0; }
.caliber-request-form { display: grid; gap: .65rem; }
.caliber-request-form .button { justify-self: start; margin-top: .35rem; }
@media (max-width: 640px) { .caliber-request-form .button { justify-self: stretch; } }
.account-security { display:grid; align-content:start; gap:0; }
.account-setting-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.1rem 0; border-top:1px solid var(--line); }
.account-setting-row > div { display:grid; min-width:0; gap:.3rem; }
.account-setting-row strong { color:var(--text); font-size:.82rem; }
.account-setting-value { overflow-wrap:anywhere; color:var(--muted); font-size:.78rem; line-height:1.5; }
.account-setting-row .button { flex:none; }
.account-dialog { width:min(100% - 2rem,34rem); max-height:90dvh; overflow:auto; padding:0; border:1px solid var(--line); background:var(--white); color:var(--text); box-shadow:0 20px 60px rgb(19 8 35 / 20%); }
.account-dialog::backdrop { background:rgb(19 8 35 / 55%); }
.account-dialog .portal-form { display:grid; gap:1rem; margin:0; padding:1.5rem; }
.account-dialog .portal-form h3 { margin:0; }
.account-dialog .portal-form > p { margin:0; color:var(--muted); font-size:.82rem; }
.company-team-entry { grid-template-columns:minmax(0,1fr) auto; }
@media(max-width:640px){.role-facts{grid-template-columns:1fr}.role-fact+.role-fact{border-left:0;border-top:1px solid var(--line)}}
.verified-line { display: flex; align-items: center; gap: .5rem; margin: 0; color: #28632f; font-size: .74rem; font-weight: 800; }
.verified-line span { width: 1.35rem; height: 1.35rem; display: grid; place-items: center; background: #e3f3df; }
.password-change-form .password-field { margin-top: 0; }
.password-change-form .password-error { color: #8c2424; }
.password-change-form input[aria-invalid="true"] { border-color: #a32828; }
.password-session-note { margin: 0; color: var(--muted); font-size: .76rem; }

.job-title-picker { position: relative; display: block; width: 100%; min-width: 0; }
.job-title-options { position: absolute; z-index: 80; inset-inline: 0; top: calc(100% + .3rem); display: block; max-height: min(19rem, 45dvh); overflow-y: auto; border: 1px solid var(--line-strong); background: var(--white); box-shadow: 0 .8rem 1.8rem rgb(19 8 35 / 17%); font-size: .85rem; font-weight: 600; }
.job-title-option { display: flex; min-height: 44px; flex-direction: column; justify-content: center; gap: .1rem; padding: .65rem .8rem; border-bottom: 1px solid var(--line); color: var(--text); cursor: pointer; line-height: 1.4; overflow-wrap: anywhere; }
.job-title-option:last-child { border-bottom: 0; }
.job-title-option:hover, .job-title-option.is-active { background: var(--action-soft); color: var(--violet); }
.job-title-option.is-custom { position: sticky; bottom: 0; border-top: 1px solid var(--line-strong); background: var(--white); color: var(--violet); font-weight: 800; box-shadow: 0 -.35rem .7rem rgb(19 8 35 / 8%); }
.job-title-option.is-custom:hover, .job-title-option.is-custom.is-active { background: var(--action-soft); }
.job-title-option small { color: var(--muted); font-size: .7rem; font-weight: 500; }
.data-sources-page { max-width: 49rem; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: var(--white); }
.data-sources-page h1 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.data-sources-page h2 { margin: 2rem 0 .5rem; font-size: 1.3rem; }
.data-sources-page p { color: var(--muted); }
.data-sources-page a { color: var(--violet); }

.footer { margin-top: auto; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.footer-shell { min-height: 5rem; flex-direction: column; justify-content: center; gap: .2rem; padding-block: 1.25rem; text-align: center; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; gap: .7rem; color: var(--violet); text-decoration: none; font-weight: 700; }
.footer a:hover { text-decoration:none; }

@media (max-width: 56rem) {
  .role-requirement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-editor-list { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .auth-intro, .auth-card { padding: 2rem; }
  .auth-intro h1 { font-size: 2.6rem; }
  .site-header nav { gap: 1.2rem; }
  .employer-portal { grid-template-columns: 1fr; }
  .employer-sidebar { display: none; }
  .employer-canvas { padding: 1.5rem; }
  .employer-mobile-header { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -1.5rem -1.5rem 1.5rem; padding: .65rem 1rem; background: var(--ink); color: var(--white); }
  .employer-mobile-header > div { min-width: 0; display: flex; align-items: center; gap: .7rem; }
  .employer-mobile-header .employer-mark { width: 2.2rem; height: 2.2rem; font-size: .85rem; }
  .employer-mobile-header strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .employer-mobile-header button { min-width: 44px; min-height: 44px; border: 1px solid var(--line-on-dark); background: transparent; color: var(--white); font-size: .75rem; font-weight: 800; }
  .employer-mobile-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: -1.5rem -1.5rem 1.5rem; padding: 1px; background: var(--line-on-dark); }
  .employer-mobile-nav a { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: .65rem; background: var(--ink); color: var(--muted-on-dark); font-size: .72rem; font-weight: 800; text-align: center; text-decoration: none; }
  .employer-mobile-nav a[aria-current="page"] { color: var(--lime); background: var(--ink-raised); }
  .employer-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employer-overview-grid { grid-template-columns: 1fr; }
  .role-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .role-detail-title-row { flex-direction: column; gap: 1rem; }
  .role-detail-header-actions { justify-content: flex-start; margin-top: 0; }
  .role-requirement-grid { grid-template-columns: 1fr; }
  .role-editor-heading-row { align-items: stretch; flex-direction: column; }
  .role-editor-heading-row .button { align-self: start; margin-bottom: 1rem; }
  .header-shell, .footer-shell, .shell { width: min(100% - 2.5rem, 75rem); }
  .header-shell { min-height: 4.75rem; gap: 1rem; }
  .brand { width: 6.9rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: .78rem; }
  .site-header .nav-browse { display: none; }
  .shell { padding-block: 2rem 2.5rem; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); }
  .auth-intro { padding: 1.5rem; }
  .auth-intro h1 { font-size: 2.3rem; margin: .35rem 0 .75rem; }
  .auth-intro > p:not(.eyebrow) { font-size: .875rem; }
  .join-steps { display: none; }
  .intro-link { margin-top: .8rem; font-size: .8rem; }
  .auth-card { max-width: none; padding: 1.75rem 1.5rem; }
  .auth-card h2 { font-size: 1.85rem; }
  .auth-card-heading { margin-bottom: 1.5rem; }
  .auth-layout:not([data-view="signup"]) .auth-intro { padding-block: 1.25rem; }
  .auth-layout:not([data-view="signup"]) .auth-intro h1 { font-size: 1.75rem; white-space: normal; margin-bottom: 0; }
  .auth-layout:not([data-view="signup"]) #page-intro,
  .auth-layout:not([data-view="signup"]) .intro-link { display: none; }
  .footer-shell { gap: .4rem; flex-wrap: wrap; padding-block: 1rem; }
  .workspace-heading { align-items: start; }
  .workspace-heading .button { flex-shrink: 0; }
  .workspace-nav { gap: .5rem; }
  .workspace-nav a { flex: 1; font-size: .8rem; }
  .intro { margin-bottom: 2rem; }
  .intro h1 { font-size: 2.7rem; }
  .upload-form .button { width: 100%; }
  .profile-view-heading { align-items: stretch; flex-direction: column; }
  .profile-view-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .profile-view-actions .button { width: 100%; }
  .profile-edit-grid { grid-template-columns: 1fr; }
  .profile-edit-field.wide { grid-column: auto; }
  .profile-edit-section-heading { align-items: stretch; flex-direction: column; }
  .profile-editor-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .membership-shell.workspace-open { width: min(100% - 1rem, 96rem); padding-block: .5rem 1.5rem; }
  .employer-portal { min-height: calc(100svh - 7rem); }
  .employer-canvas { padding: 1.1rem; }
  .employer-mobile-header { margin: -1.1rem -1.1rem 1.1rem; }
  .employer-mobile-nav { margin: -1.1rem -1.1rem 1.1rem; grid-template-columns: repeat(2, 1fr); }
  .employer-page-header, .employer-page-header.compact { min-height: auto; align-items: stretch; flex-direction: column; gap: 1rem; }
  .employer-page-header h2 { font-size: 2.2rem; }
  .employer-page-header .button, .employer-role-select { width: 100%; }
  .employer-input-switch { width: 100%; grid-template-columns: 1fr 1fr; }
  .employer-paste-meta { align-items: start; }
  .employer-kpis, .employer-kpis.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employer-kpis > .employer-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .employer-toolbar { grid-template-columns: 1fr; }
  .talent-opportunity-grid { grid-template-columns: 1fr; }
  .talent-upload-card { padding: 1rem; }
  .talent-upload-actions { align-items: stretch; flex-direction: column; }
  .talent-resume-text-meta { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .talent-upload-card .button { width: 100%; }
  .profile-clarification-gate .actions { width: 100%; align-items: stretch; flex-direction: column; }
  .profile-clarification-gate .actions .button { width: 100%; }
  .talent-replace-dialog { width: calc(100% - 1rem); max-height: calc(100svh - 1rem); }
  .talent-replace-dialog-shell { max-height: calc(100svh - 1rem); }
  .talent-replace-dialog-header { padding: 1.25rem; }
  .result-count { justify-self: start; }
  .employer-role-grid, .candidate-grid, .role-detail-grid, .account-grid { grid-template-columns: 1fr; }
  .account-setting-row { align-items:stretch; flex-direction:column; }
  .account-setting-row .button { width:100%; }
  .role-editor-form { grid-template-columns: 1fr; }
  .role-editor-form > .portal-form-footer { grid-column: 1; }
  .role-editor-alert { grid-template-columns: 1fr; }
  .role-editor-requirement, .role-editor-requirement.role-editor-addition { grid-template-columns: 1fr; }
  .employer-role-card .role-summary { min-height: auto; }
  .employer-dropzone { grid-template-columns: auto minmax(0, 1fr); padding: 1rem; }
  .pipeline-toolbar { overflow-x: auto; }
  .pipeline-toolbar button { flex: 0 0 auto; }
  .company-tabs { gap: 0; overflow: visible; }
  .company-tabs button { flex: 1 1 0; min-width: 0; padding: .65rem .25rem; font-size: .7rem; line-height: 1.25; white-space: normal; }
  .company-tabs button span { margin-left: .15rem; }
  .company-team-entry { grid-template-columns: 1fr; }
  .company-team-form .button { width: 100%; }
  .portal-form-grid { grid-template-columns: 1fr; }
  .portal-form label.wide { grid-column: auto; }
  .portal-form-footer { align-items: stretch; flex-direction: column; }
  .portal-form-footer .button { width: 100%; }
  .attention-item { grid-template-columns: auto minmax(0, 1fr); }
  .attention-item button { grid-column: 2; justify-self: start; }
}
@media (max-width: 360px) {
  .header-shell, .footer-shell, .shell { width: calc(100% - 2rem); }
  .header-shell { gap: .5rem; }
  .brand { width: 6rem; }
  .site-header nav { gap: .6rem; }
  .site-header nav .nav-cta { padding-inline: .65rem; font-size: .72rem; gap: .5rem; }
  .auth-card, .auth-intro { padding: 1.25rem; }
  .card-actions .button { width: 100%; }
  .talent-ignore-resume-actions .button { width: 100%; }
  .profile-view-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .01ms; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .profile-processing-scan { opacity: 1; transform: translateY(1.9rem); animation: none; }
  .talent-replace-dialog[open] { animation: none; }
}
@media (max-width: 700px) {
  .company-invitation-actions { flex-direction: column; align-items: stretch; }
  .company-team-row { grid-template-columns: minmax(0, 1fr) auto; }
  .company-team-row > .button:last-child:nth-child(3) { grid-column: 2; }
}
.employer-overview-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:.75rem; }
body[data-app-scope=member] .employer-overview .employer-page-header { align-items:center; min-height:0; padding-bottom:1.5rem; border-color:var(--line); }
body[data-app-scope=member] .employer-overview .employer-page-header h2 { font-size:clamp(1.7rem,2.6vw,2.4rem); }
.employer-overview .eyebrow { font-size:.68rem; letter-spacing:.1em; }
.employer-overview-loading { padding:2rem 0; }
.overview-skeleton { display:grid; gap:1.25rem; }
.overview-skeleton span { display:block; height:4rem; border:1px solid var(--line); border-radius:var(--app-radius); background:var(--surface-muted); }
.overview-skeleton span:nth-child(2) { height:12rem; }
.overview-skeleton span:last-child { width:65%; height:2rem; }
.employer-overview-error { margin-top:1.5rem; padding:clamp(1.5rem,5vw,3rem); border:1px solid var(--line); border-radius:var(--app-radius); background:var(--surface); }
.employer-overview-error h3 { margin:1.25rem 0 .75rem; font-size:1.5rem; }
.employer-overview-error p { margin:0 0 1.5rem; color:var(--muted); }
.employer-overview-error .actions { display:flex; flex-wrap:wrap; gap:.75rem; }
.company-onboarding.access-error { max-width:44rem; padding:clamp(1.5rem,4vw,2.5rem); border:1px solid var(--line); border-radius:var(--app-radius); background:var(--surface); }
.company-onboarding.access-error > h2 { margin:0 0 .75rem; font-size:1.5rem; }
.company-onboarding.access-error > p { color:var(--muted); }
.overview-state-icon { display:grid; place-items:center; width:3.25rem; height:3.25rem; border:1px solid var(--line); border-radius:var(--app-radius); background:var(--violet-pale); color:var(--violet); }
.overview-state-icon svg { width:1.6rem; height:1.6rem; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.employer-overview-error .overview-state-icon { color:var(--muted); background:var(--surface-subtle); }
.employer-overview .sla-overview-notice { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; margin:1.5rem 0; padding:1rem 1.25rem; border-color:var(--line); border-radius:var(--app-radius); background:var(--surface); color:var(--text); }
.sla-overview-copy { min-width:0; }
.sla-overview-copy strong { font-size:.875rem; }
.employer-overview .sla-overview-notice p { max-width:80ch; margin:.35rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.6; }
.employer-overview .sla-overview-notice .button { flex-shrink:0; margin:0; font-size:.8rem; }
.employer-start { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(16rem,1fr); margin-top:1.5rem; border:1px solid var(--line); border-radius:var(--app-radius); background:var(--surface); overflow:hidden; }
.employer-start-main { padding:clamp(1.5rem,4vw,3rem); }
.employer-start-main .overview-state-icon { margin-bottom:1.75rem; }
.employer-start-main .eyebrow { margin:0 0 .75rem; color:var(--violet); }
.employer-start h3 { max-width:14ch; margin:0 0 1rem; font-size:clamp(1.8rem,3vw,2.5rem); line-height:1.15; }
.employer-start-main > p:not(.eyebrow) { max-width:46ch; margin:0 0 1.75rem; color:var(--muted); font-size:.9rem; line-height:1.7; }
.employer-start-main .button { gap:1rem; }
.employer-start-main > .employer-start-hint { margin:.75rem 0 0 !important; font-size:.75rem !important; }
.employer-start-guide { align-content:center; padding:clamp(1.5rem,3vw,2.5rem); border-left:1px solid var(--line); background:var(--surface-subtle); }
.employer-start-guide h4 { margin:0 0 1.75rem; font-size:1rem; letter-spacing:-.02em; }
.employer-start-guide ol { display:grid; gap:1.75rem; margin:0; padding:0; list-style:none; }
.employer-start-guide li { display:grid; grid-template-columns:2rem minmax(0,1fr); gap:.75rem; align-items:baseline; }
.employer-start-guide li > span { color:var(--violet); font-size:.75rem; font-weight:800; font-variant-numeric:tabular-nums; }
.employer-start-guide strong { font-size:.875rem; }
.employer-start-guide p { margin:.35rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.6; }
.employer-overview .employer-attention { margin-top:1.5rem; }
.employer-overview .employer-surface-heading { align-items:center; }
.employer-overview .employer-surface-heading h3 { font-size:1.1rem; }
.employer-overview .employer-attention.is-clear { display:flex; align-items:center; gap:1.25rem; padding:1rem 1.25rem; }
.employer-attention.is-clear .employer-surface-heading { flex-shrink:0; padding:0; border:0; }
.employer-attention.is-clear .employer-surface-heading h3 { font-size:.875rem; }
.employer-attention.is-clear .overview-empty { margin:0; padding:0; }
.employer-overview .employer-kpis { margin:1.5rem 0; border-radius:var(--app-radius); overflow:hidden; }
.employer-hiring { padding:1.25rem; border:1px solid var(--line); border-radius:var(--app-radius); background:var(--surface); }
.employer-hiring-heading { margin-bottom:1.25rem; }
.employer-hiring-heading h3 { margin:0 0 .35rem; font-size:1.1rem; }
.employer-hiring-heading p { margin:0; color:var(--muted); font-size:.8rem; }
.hiring-stage-list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.75rem; margin:0; padding:0; list-style:none; }
.hiring-stage { min-width:0; }
.hiring-stage-link { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1rem .5rem; height:100%; padding:1rem; border:1px solid var(--line); border-radius:var(--app-radius); color:var(--text); text-decoration:none; transition:border-color .15s,background-color .15s; }
.hiring-stage-link:hover { border-color:var(--violet); background:var(--surface-subtle); }
.hiring-stage-icon { display:grid; place-items:center; grid-column:1; grid-row:1; width:2rem; height:2rem; color:var(--muted); }
.hiring-stage-icon svg { width:1.3rem; height:1.3rem; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.hiring-stage-copy { grid-column:1/-1; grid-row:2; min-width:0; }
.hiring-stage-title { display:block; font-size:.85rem; line-height:1.4; }
.hiring-unit { display:block; margin-top:.35rem; color:var(--muted); font-size:.72rem; line-height:1.5; }
.hiring-stage-tally { grid-column:2; grid-row:1; text-align:right; }
.hiring-count { display:block; font-size:1.7rem; font-weight:800; line-height:1.2; font-variant-numeric:tabular-nums; }
.hiring-stage-state { display:block; max-width:9ch; margin-top:.25rem; color:var(--muted); font-size:.6rem; font-weight:700; line-height:1.4; }
.hiring-stage.is-current .hiring-stage-link { border-color:var(--violet); background:var(--violet-pale); }
.hiring-stage.is-current :is(.hiring-stage-icon,.hiring-count,.hiring-stage-state) { color:var(--violet); }
.employer-recent { margin-top:1.5rem; }
.hiring-sla { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; min-height:44px; padding:.5rem .85rem; border:1px solid var(--line-strong); border-radius:var(--app-radius); color:var(--muted); font-size:.75rem; font-weight:700; text-decoration:none; }
.hiring-sla:hover { border-color:var(--violet); color:var(--violet); }
.hiring-sla[data-ready="true"] { border-color:var(--success-line); background:var(--success-bg); color:var(--success); }
.overview-refresh-status { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:1rem 0; padding:.75rem 1rem; border:1px solid var(--line); border-radius:var(--app-radius); background:var(--surface-subtle); }
.overview-refresh-status p { margin:0; color:var(--muted); font-size:.8rem; line-height:1.5; }
.overview-refresh-status .quiet-link { flex-shrink:0; }
.employer-hiring .overview-refresh-status { margin-bottom:0; }
@media(max-width:1250px) { .hiring-stage-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:800px) {
  .employer-start { grid-template-columns:1fr; }
  .employer-start-guide { border-left:0; border-top:1px solid var(--line); }
  .employer-start-guide ol { gap:1.25rem; }
  .employer-overview .sla-overview-notice { align-items:flex-start; gap:1rem; }
}
@media(max-width:640px) {
  .employer-overview-actions { justify-content:flex-start; width:100%; }
  .employer-overview-actions .button { flex:1; }
  .employer-overview .sla-overview-notice { flex-direction:column; }
  .employer-start-main .button { width:100%; justify-content:center; font-size:.8rem; }
  .employer-start-main > p:not(.eyebrow) { font-size:.875rem; }
  .employer-overview .employer-attention.is-clear { align-items:flex-start; flex-direction:column; gap:.4rem; }
  .employer-hiring { padding:1.25rem 1rem; }
  .hiring-stage-list { grid-template-columns:1fr; gap:.6rem; }
  .hiring-stage-link { grid-template-columns:2rem minmax(0,1fr) auto; align-items:center; gap:.6rem; padding:.85rem .75rem; }
  .hiring-stage-copy { grid-column:2; grid-row:1; }
  .hiring-stage-tally { grid-column:3; }
  .hiring-stage-state { font-size:.6rem; }
  .overview-refresh-status { align-items:flex-start; flex-direction:column; gap:.25rem; }
}

/* Organization access settings remain available to workspace owners. */
.company-access-settings { margin-top: 1.25rem; border-radius: var(--app-radius); background: var(--surface-muted); }
.company-access-settings > summary { display: flex; align-items: center; gap: 1rem; min-height: 92px; padding: 1.25rem 1.5rem; list-style: none; cursor: pointer; }
.company-access-settings > summary::-webkit-details-marker { display: none; }
.company-access-settings > summary > svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.75; }
.company-access-summary-copy { display: grid; min-width: 0; gap: .25rem; flex: 1; }
.company-access-summary-copy strong { font-size: .9375rem; font-weight: 700; }
#company-access-summary { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.company-access-disclosure { display: flex; align-items: center; gap: .375rem; color: var(--violet); font-size: .8125rem; font-weight: 700; }
.company-access-disclosure svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.company-access-settings[open] .company-access-disclosure svg { transform: rotate(90deg); }
.company-access-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; padding: .25rem 1.5rem 1.5rem; }
.company-page .company-access-settings .company-onboarding-form { align-content: start; gap: .5rem; margin: 0; padding: 0; border: 0; background: transparent; }
.company-page .company-access-settings .company-onboarding-form .field-hint { margin: 0; font-size: .8125rem; }
.company-access-settings .workspace-checkbox { display: flex; align-items: center; gap: .75rem; min-height: 44px; }
.company-access-settings .workspace-checkbox input { width: 1.2rem; height: 1.2rem; min-height: 0; padding: 0; flex: 0 0 auto; }
#company-access-status:empty { display: none; }
#company-auto-join-hint { max-width: 65ch; }
#company-domain-open { align-self: start; justify-self: start; min-height: 44px; }
.company-domain-dialog { width: min(32rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: 0; border: 0; border-radius: var(--app-radius); background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgb(19 8 35 / 24%); }
.company-domain-dialog::backdrop { background: rgb(19 8 35 / 60%); }
.company-domain-modal-form { display: grid; gap: 1rem; margin: 0; padding: 1.5rem; }
.company-domain-modal-form h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.company-domain-modal-form > label { display: grid; gap: .5rem; min-width: 0; font-size: .875rem; font-weight: 700; }
.company-domain-modal-form input { width: 100%; min-width: 0; min-height: 46px; padding: .65rem .875rem; border: 1px solid var(--line-strong); border-radius: var(--app-radius); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; font-weight: 400; }
.company-domain-modal-form input::placeholder { color: var(--muted); opacity: 1; }
.company-domain-modal-form .field-hint { margin: 0; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.company-domain-modal-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: .5rem; }
.company-domain-modal-actions .button { min-height: 44px; padding: .7rem .875rem; white-space: nowrap; }
#company-auto-join-status[data-tone="error"], #company-domain-feedback[data-tone="error"] { color: var(--danger); }
#company-auto-join-status[data-tone="success"] { color: var(--success); }
@media (max-width: 480px) { .company-domain-modal-form { padding: 1.25rem; } .company-domain-modal-actions .button { flex: 1 1 0; } }
.company-email-domains { display: grid; gap: 1.5rem; grid-column: 1 / -1; }
.company-page .company-domain-card { padding: 0; border: 0; background: transparent; }
.company-domain-card h4 { margin: 0; overflow-wrap: anywhere; }
.company-domain-card label { display: grid; gap: .5rem; margin-block: 1rem; }
.company-domain-card textarea { width: 100%; resize: vertical; overflow-wrap: anywhere; font-family: monospace; }
.workspace-access-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.workspace-access-footer .workspace-access-feedback { flex: 1; min-width: 0; margin: 0; font-size: .875rem; overflow-wrap: anywhere; }
.workspace-access-feedback[data-tone="error"] { color: var(--error, #8c2424); }
#employer-onboarding-refresh { flex-shrink: 0; min-height: 44px; margin-inline-start: auto; }
@media (max-width: 640px) {
  .workspace-access-footer { flex-direction: column; align-items: stretch; gap: .75rem; }
  #employer-onboarding-refresh { width: 100%; margin-inline-start: 0; }
}
.company-profile-summary { padding: 24px; }
.company-profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.company-profile-facts dt { color: var(--muted, #526278); font-size: .875rem; }
.company-profile-facts dd { margin: 6px 0 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .company-profile-facts { grid-template-columns: 1fr; } .company-team-person { min-width: 0; overflow-wrap: anywhere; } }
@media (max-width: 640px) {
  .company-page .company-page-header { align-items: stretch; }
  .company-page .company-page-header .button { width: 100%; }
  .company-page .company-team-surface, .company-page .company-team-form, .company-join-requests { padding: 1.25rem 1rem; }
  .company-page .company-team-entry { grid-template-columns: 1fr 1fr; }
  .company-team-entry label { grid-column: 1 / -1; }
  .company-page .company-team-form .button { width: 100%; }
  .company-page .company-team-row { grid-template-columns: minmax(0, 1fr) 44px; gap: .4rem .5rem; padding: 1rem .5rem; }
  .company-team-person { gap: .75rem; }
  .company-team-avatar { width: 2.5rem; height: 2.5rem; }
  .company-team-role { grid-column: 1; grid-row: 2; margin-left: 3.25rem; }
  .company-member-actions { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .company-page .company-join-requests .company-team-row { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .company-request-actions { margin-left: 3.25rem; }
  .company-access-settings > summary { gap: .75rem; padding: 1.25rem 1rem; }
  .company-access-settings > summary > svg { width: 1.25rem; height: 1.25rem; }
  .company-access-content { grid-template-columns: minmax(0, 1fr); padding: .25rem 1rem 1.25rem; }
  .company-directory-heading { display: grid; }
  .company-team-summary { gap: .25rem .5rem; }
  #company-invitation-summary { padding-inline-start: .5rem; }
}

/* Navigation remains text without underlines, including hover and keyboard focus. */
a:any-link,a:any-link:hover,a:any-link:focus-visible{text-decoration:none}

.talent-account-photo { margin-bottom: 1.5rem; }
.talent-account-photo-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; }
.talent-account-photo-copy { min-width: 0; }
.talent-account-photo-copy h3 { margin: 0; }
.talent-account-photo-copy .helper { margin: .5rem 0 0; }
.talent-account-photo-row > .button { justify-self: start; }
@media (max-width: 640px) {
  .talent-account-photo-row { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; }
  .talent-account-photo-row > .button { grid-column: 1 / -1; }
}
