:root {
  --red: #ef1118;
  --red-dark: #d80d15;
  --ink: #080808;
  --muted: #666;
  --soft: #f6f6f6;
  --line: #e5e5e5;
  --white: #fff;
  --green: #169c5c;
  --shadow: 0 28px 80px rgba(18, 18, 18, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.talent-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 86px;
  padding: 0 clamp(24px, 3vw, 54px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
/* Keep the original logo intact; the frame hides only its transparent vertical padding. */
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; width: 280px; height: 68px; overflow: hidden; border-radius: 4px; }
.brand-logo { display: block; flex: 0 0 auto; width: 100%; height: auto; }
.brand:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.talent-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 42px); margin-left: clamp(45px, 7vw, 120px); text-transform: uppercase; font-size: 11px; font-weight: 700; }
.talent-nav a { position: relative; padding: 35px 0 31px; white-space: nowrap; }
.talent-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.talent-nav a:hover, .talent-nav a.active { color: var(--red); }
.talent-nav a:hover::after, .talent-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 12px; margin-left: auto; }
.header-link, .account-button, .manager-button { border: 0; cursor: pointer; font-weight: 700; }
.header-link { padding: 12px 14px; background: transparent; font-size: 12px; }
.header-link:hover { color: var(--red); }
.account-button { min-width: 78px; height: 40px; padding: 0 17px; border: 1px solid #dedede; border-radius: 21px; background: #fff; font-size: 11px; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.account-button:hover { border-color: var(--red); color: var(--red); }
.logout-button { border-color: #111; background: #111; color: #fff; }
.logout-button:hover { border-color: var(--red); background: var(--red); color: #fff; }
.account-button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.manager-button { height: 44px; padding: 0 7px 0 20px; display: inline-flex; align-items: center; gap: 18px; border-radius: 24px; background: var(--red); color: #fff; font-size: 12px; }
.manager-button svg { width: 31px; height: 31px; padding: 7px; border-radius: 50%; background: #fff; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.8; }

.talent-layout {
  position: relative;
  min-height: calc(100vh - 86px);
  padding: clamp(54px, 6vw, 96px) clamp(24px, 7vw, 112px) 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 610px);
  gap: clamp(54px, 7vw, 120px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 9%, rgba(239, 17, 24, .09), transparent 25%),
    radial-gradient(circle at 88% 70%, rgba(239, 17, 24, .065), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fafafa 55%, #fff 100%);
}
.talent-layout::before { content: ""; position: absolute; left: -10vw; bottom: -31vw; width: 62vw; height: 62vw; border: 1px solid rgba(239, 17, 24, .1); border-radius: 50%; box-shadow: 0 0 0 6vw rgba(239, 17, 24, .025), 0 0 0 15vw rgba(239, 17, 24, .018); pointer-events: none; }
.talent-layout::after { content: ""; position: absolute; right: 42%; top: 5%; width: 1px; height: 90%; background: linear-gradient(transparent, rgba(239, 17, 24, .14), transparent); transform: rotate(18deg); pointer-events: none; }
.talent-intro, .portal-card { position: relative; z-index: 2; }
.talent-intro { max-width: 650px; }
.kicker { margin: 0 0 22px; color: var(--red); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.kicker::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 12px; background: var(--red); }
.talent-intro h1, .manager-titlebar h1 { margin: 0; font-size: clamp(48px, 5vw, 78px); line-height: .98; letter-spacing: -3px; }
.talent-intro h1 em, .manager-titlebar h1 em { color: var(--red); font-style: normal; }
.intro-copy { max-width: 600px; margin: 28px 0 0; color: #414141; font-size: 15px; line-height: 1.8; }
.benefit-list { display: grid; gap: 20px; margin-top: 38px; }
.benefit-list article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; }
.benefit-list article > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #f1c8ca; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .04); color: var(--red); }
.benefit-list svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.benefit-list strong { font-size: 14px; }
.benefit-list p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.trust-note { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 25px; border-top: 1px solid #ddd; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 34px; height: 34px; margin-left: -8px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #161616; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.avatar-stack i:first-child { margin-left: 0; background: var(--red); }
.avatar-stack i:nth-child(2) { background: #3c3c3c; }
.avatar-stack i:nth-child(3) { background: #858585; }
.avatar-stack i:last-child { background: #fff; color: var(--red); border-color: #eee; }
.trust-note p { margin: 0; color: #666; font-size: 11px; line-height: 1.55; }
.trust-note strong { color: #111; font-size: 12px; }

.portal-card { min-height: 620px; padding: clamp(30px, 3vw, 46px); border: 1px solid #e8e8e8; border-radius: 26px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); overflow: hidden; }
.portal-accent { position: absolute; right: -85px; top: -100px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 17, 24, .17), rgba(239, 17, 24, 0) 70%); pointer-events: none; }
.portal-view { position: relative; z-index: 1; }
.portal-heading p, .step-header p, .dashboard-heading p, .assignment-header p, .directory-head p { margin: 0 0 7px; color: var(--red); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.portal-heading h2, .step-header h2, .dashboard-heading h2 { margin: 0; font-size: 31px; letter-spacing: -.8px; }
.portal-heading > span { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; }
.account-type-picker { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-type-picker button { min-height: 78px; padding: 13px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; border: 1px solid #dedede; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.account-type-picker button > span { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #f3f3f3; color: #777; }
.account-type-picker svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.account-type-picker strong { align-self: end; font-size: 12px; }
.account-type-picker small { align-self: start; margin-top: 3px; color: #888; font-size: 9px; }
.account-type-picker button.active { border-color: var(--red); background: #fff8f8; box-shadow: 0 0 0 3px rgba(239, 17, 24, .06); }
.account-type-picker button.active > span { background: var(--red); color: #fff; }
.account-type-picker button.active strong { color: var(--red); }
.auth-tabs { margin: 30px 0 24px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; background: #f1f1f1; }
.auth-tabs button { height: 40px; border: 0; border-radius: 8px; background: transparent; color: #777; cursor: pointer; font-size: 12px; font-weight: 750; }
.auth-tabs button.active { background: #fff; color: #111; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.auth-form, #profile-form, #assignment-form { display: grid; gap: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: grid; gap: 8px; color: #252525; font-size: 11px; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #dedede; border-radius: 8px; background: #fff; color: #111; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
input, select { height: 45px; padding: 0 13px; }
textarea { padding: 12px 13px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 17, 24, .08); }
input::placeholder, textarea::placeholder { color: #aaa; font-weight: 400; }
.agreement { grid-template-columns: 18px 1fr; align-items: start; gap: 9px; color: #656565; font-weight: 500; line-height: 1.5; }
.agreement input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--red); }
.primary-action, .secondary-action { border: 0; cursor: pointer; font-weight: 750; }
.primary-action { height: 48px; padding: 0 8px 0 20px; display: inline-flex; align-items: center; justify-content: space-between; border-radius: 8px; background: var(--red); color: #fff; font-size: 12px; box-shadow: 0 9px 22px rgba(239, 17, 24, .17); }
.primary-action:hover { background: var(--red-dark); }
.primary-action svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.8; }
.secondary-action { min-height: 45px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #ddd; border-radius: 9px; background: #fff; font-size: 12px; }
.secondary-action svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.7; }
.form-message { min-height: 17px; margin: -5px 0 0; color: var(--red); font-size: 11px; }
.privacy-note { margin: 22px 0 0; text-align: center; color: #999; font-size: 10px; }

.step-header, .dashboard-heading, .assignment-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.step-header > span { padding: 8px 11px; border-radius: 18px; background: #fff0f0; color: var(--red); font-size: 10px; font-weight: 800; }
.step-progress { height: 4px; margin: 20px 0 25px; overflow: hidden; border-radius: 4px; background: #eee; }
.step-progress i { display: block; width: 100%; height: 100%; background: var(--red); }
.skills-fieldset { margin: 0; padding: 0; border: 0; }
.skills-fieldset legend { width: 100%; margin-bottom: 11px; color: #252525; font-size: 11px; font-weight: 750; }
.skills-fieldset legend span { float: right; color: #999; font-weight: 500; }
.skill-options { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-options label { display: block; }
.skill-options input { position: absolute; opacity: 0; pointer-events: none; }
.skill-options span { min-height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 18px; background: #fff; color: #555; cursor: pointer; font-size: 10px; font-weight: 650; }
.skill-options input:checked + span { border-color: var(--red); background: #fff0f0; color: var(--red); }

.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: var(--red); cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.worker-profile-card { margin-top: 24px; padding: 24px; border: 1px solid #e5e5e5; border-radius: 18px; background: linear-gradient(145deg, #fff, #fafafa); }
.profile-topline { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; }
.profile-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--red); color: #fff; font-size: 17px; font-weight: 850; box-shadow: 0 9px 20px rgba(239, 17, 24, .18); }
.profile-identity h3 { margin: 0; font-size: 17px; }
.profile-identity p { margin: 4px 0 7px; color: #666; font-size: 11px; }
.availability-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 9px; font-weight: 750; }
.availability-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(22, 156, 92, .1); }
.profile-score { text-align: right; }
.profile-score strong, .profile-score span { display: block; }
.profile-score strong { color: var(--red); font-size: 18px; }
.profile-score span { margin-top: 4px; color: #999; font-size: 8px; text-transform: uppercase; }
.profile-bio { margin: 19px 0; color: #565656; font-size: 11px; line-height: 1.65; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 14px 0; border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.profile-facts span { display: inline-flex; align-items: center; gap: 7px; color: #666; font-size: 9px; }
.profile-facts svg { width: 14px; height: 14px; fill: none; stroke: var(--red); stroke-width: 1.8; }
.profile-facts b { font-weight: 650; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.skill-list span { padding: 6px 9px; border-radius: 14px; background: #fff0f0; color: var(--red); font-size: 9px; font-weight: 700; }
.assignment-header { margin: 28px 0 14px; }
.assignment-header h3 { margin: 0; font-size: 18px; }
.assignment-header > span { color: #888; font-size: 10px; }
.assignment-list { display: grid; gap: 10px; max-height: 210px; overflow: auto; }
.assignment-card { padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; border: 1px solid #e4e4e4; border-radius: 11px; background: #fff; }
.assignment-card h4 { margin: 0; font-size: 12px; }
.assignment-card p { margin: 6px 0 0; color: #777; font-size: 9px; line-height: 1.5; }
.assignment-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 9px; color: #777; font-size: 9px; }
.assignment-status { align-self: start; padding: 6px 8px; border-radius: 12px; background: #fff0f0; color: var(--red); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.empty-assignments { padding: 28px 20px; border: 1px dashed #d9d9d9; border-radius: 12px; text-align: center; color: #999; font-size: 11px; }
.text-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--red); cursor: pointer; font-size: 11px; font-weight: 750; }

.client-project-card { margin-top: 25px; padding: 25px; border: 1px solid #e3e3e3; border-radius: 18px; background: linear-gradient(145deg, #fff, #fafafa); }
.client-project-head { display: grid; grid-template-columns: 50px 1fr auto; gap: 13px; align-items: center; }
.client-project-head > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--red); color: #fff; box-shadow: 0 9px 20px rgba(239, 17, 24, .16); }
.client-project-head svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.client-project-head small { display: block; margin-bottom: 5px; color: #999; text-transform: uppercase; font-size: 8px; font-weight: 750; letter-spacing: .7px; }
.client-project-head h3 { margin: 0; font-size: 17px; }
.client-project-head b { padding: 7px 9px; border-radius: 14px; background: #eaf8f1; color: var(--green); text-transform: uppercase; font-size: 8px; }
.client-project-card > p { margin: 21px 0; color: #5d5d5d; font-size: 11px; line-height: 1.7; }
.client-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.client-project-grid article { padding: 13px; border-radius: 10px; background: #f3f3f3; }
.client-project-grid span, .client-project-grid strong { display: block; }
.client-project-grid span { color: #999; text-transform: uppercase; font-size: 8px; }
.client-project-grid strong { margin-top: 6px; font-size: 10px; }
.client-next-step { margin-top: 18px; padding: 16px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; border: 1px solid #dcefe5; border-radius: 12px; background: #f5fcf8; }
.client-next-step > svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--green); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; }
.client-next-step strong { font-size: 11px; }
.client-next-step p { margin: 4px 0 0; color: #738078; font-size: 9px; line-height: 1.5; }

.manager-view { min-height: calc(100vh - 86px); padding: 64px clamp(24px, 6vw, 90px) 90px; background: #f7f7f7; }
.manager-titlebar { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.manager-titlebar h1 { font-size: clamp(42px, 4.6vw, 67px); }
.manager-stats { margin-top: 42px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.manager-stats article { padding: 22px; border: 1px solid #e2e2e2; border-radius: 15px; background: #fff; box-shadow: 0 9px 26px rgba(0, 0, 0, .035); }
.manager-stats span, .manager-stats strong, .manager-stats i { display: block; }
.manager-stats span { color: #666; font-size: 10px; text-transform: uppercase; font-weight: 750; }
.manager-stats strong { margin: 14px 0 8px; color: var(--red); font-size: 31px; }
.manager-stats i { color: #aaa; font-size: 9px; font-style: normal; }
.talent-directory { margin-top: 25px; padding: 30px; border: 1px solid #e2e2e2; border-radius: 20px; background: #fff; }
.directory-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.directory-head h2 { margin: 0; font-size: 26px; }
.directory-tools { display: flex; gap: 10px; }
.search-field { position: relative; width: min(330px, 34vw); }
.search-field svg { position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: #999; stroke-width: 1.7; }
.search-field input { padding-left: 39px; }
.directory-tools select { width: 190px; }
.talent-grid { margin-top: 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.talent-card { padding: 20px; border: 1px solid #e4e4e4; border-radius: 15px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.talent-card:hover { transform: translateY(-3px); border-color: #efc6c8; box-shadow: 0 15px 34px rgba(0, 0, 0, .07); }
.talent-card-head { display: grid; grid-template-columns: 45px 1fr auto; gap: 11px; align-items: center; }
.talent-card-avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: #101010; color: #fff; font-size: 12px; font-weight: 800; }
.talent-card h3 { margin: 0; font-size: 13px; }
.talent-card-head p { margin: 4px 0 0; color: #777; font-size: 9px; }
.mini-status { width: 8px; height: 8px; border-radius: 50%; background: #bbb; }
.mini-status.available { background: var(--green); box-shadow: 0 0 0 4px rgba(22, 156, 92, .1); }
.talent-card-facts { display: flex; gap: 12px; margin: 18px 0 13px; color: #777; font-size: 9px; }
.talent-card-facts span { display: inline-flex; align-items: center; gap: 5px; }
.talent-card-facts svg { width: 13px; height: 13px; fill: none; stroke: var(--red); stroke-width: 1.7; }
.talent-card .skill-list { min-height: 48px; align-content: start; margin-top: 0; }
.talent-card-actions { margin-top: 17px; padding-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid #eee; }
.talent-card-actions button { min-height: 37px; border-radius: 8px; cursor: pointer; font-size: 9px; font-weight: 750; }
.view-profile { border: 1px solid #ddd; background: #fff; }
.assign-work { border: 1px solid var(--red); background: var(--red); color: #fff; }
.directory-empty { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed #d7d7d7; border-radius: 14px; text-align: center; }
.directory-empty strong { display: block; font-size: 17px; }
.directory-empty p { margin: 9px 0 0; color: #888; font-size: 11px; }

dialog { color: var(--ink); }
.assignment-dialog, .profile-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100vh - 30px); padding: 34px; border: 1px solid #ddd; border-radius: 22px; background: #fff; box-shadow: 0 35px 110px rgba(0, 0, 0, .25); overflow: auto; }
.profile-dialog { width: min(650px, calc(100% - 28px)); }
dialog::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 17px; top: 17px; width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f4f4f4; cursor: pointer; }
.dialog-close svg { width: 16px; height: 16px; fill: none; stroke: #222; stroke-width: 1.8; }
.assignment-dialog h2 { margin: 0; font-size: 27px; }
.assignment-dialog h2 span { color: var(--red); }
.dialog-subtitle { margin: 8px 0 25px; color: #777; font-size: 11px; }
.manager-profile-head { display: grid; grid-template-columns: 62px 1fr; gap: 15px; align-items: center; }
.manager-profile-head .profile-avatar { width: 62px; height: 62px; }
.manager-profile-head h2 { margin: 0; font-size: 25px; }
.manager-profile-head p { margin: 5px 0 0; color: #777; font-size: 12px; }
.manager-profile-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e5e5e5; }
.manager-profile-section h3 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .7px; }
.manager-profile-section p { margin: 0; color: #666; font-size: 11px; line-height: 1.7; }
.manager-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.manager-profile-grid article { padding: 13px; border-radius: 9px; background: #f7f7f7; }
.manager-profile-grid span, .manager-profile-grid strong { display: block; }
.manager-profile-grid span { color: #999; font-size: 8px; text-transform: uppercase; }
.manager-profile-grid strong { margin-top: 5px; font-size: 11px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; min-width: 250px; max-width: calc(100% - 32px); padding: 13px 17px; border-radius: 9px; background: #111; color: #fff; text-align: center; font-size: 11px; box-shadow: 0 12px 40px rgba(0, 0, 0, .2); transform: translate(-50%, 25px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
footer { min-height: 70px; padding: 0 clamp(24px, 6vw, 90px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e5e5e5; color: #888; font-size: 10px; }
footer a { color: var(--red); font-weight: 700; }

@media (max-width: 1180px) {
  .talent-nav { display: none; }
  .talent-layout { grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); gap: 45px; padding-left: 36px; padding-right: 36px; }
  .talent-intro h1 { font-size: 55px; }
  .talent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .talent-header { height: auto; min-height: 76px; padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
  .brand { width: 228px; height: 56px; }
  .header-actions { gap: 5px; }
  .header-link { display: none; }
  .account-button { min-width: 67px; height: 38px; padding: 0 13px; font-size: 10px; }
  .manager-button { height: 40px; padding-left: 14px; gap: 9px; font-size: 10px; }
  .manager-button svg { width: 28px; height: 28px; }
  .talent-layout { min-height: auto; grid-template-columns: 1fr; padding: 55px 24px 70px; }
  .talent-layout::after { display: none; }
  .talent-intro { max-width: 720px; }
  .talent-intro h1 { font-size: clamp(45px, 9vw, 68px); }
  .benefit-list { grid-template-columns: repeat(3, 1fr); }
  .benefit-list article { grid-template-columns: 1fr; align-items: start; }
  .portal-card { width: 100%; max-width: 680px; margin: 0 auto; }
  .manager-view { padding: 45px 24px 70px; }
  .manager-stats { grid-template-columns: 1fr 1fr; }
  .manager-titlebar { align-items: start; }
}

@media (max-width: 650px) {
  .brand { width: clamp(154px, calc(100vw - 172px), 218px); height: 54px; }
  .manager-button { width: 40px; padding: 0; justify-content: center; gap: 0; font-size: 0; }
  .manager-button svg { margin-left: 0; }
  .talent-layout { padding-left: 16px; padding-right: 16px; }
  .talent-intro h1 { letter-spacing: -2px; }
  .benefit-list { grid-template-columns: 1fr; }
  .benefit-list article { grid-template-columns: 48px 1fr; }
  .portal-card { min-height: 0; padding: 27px 19px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .account-type-picker { grid-template-columns: 1fr; }
  .account-type-picker button { min-height: 68px; }
  .profile-topline { grid-template-columns: 52px 1fr; }
  .profile-score { grid-column: 1 / -1; padding-top: 11px; display: flex; align-items: center; gap: 8px; text-align: left; border-top: 1px solid #eee; }
  .profile-score span { margin: 0; }
  .manager-titlebar { display: block; }
  .manager-titlebar .secondary-action { margin-top: 25px; }
  .manager-stats { grid-template-columns: 1fr; }
  .talent-directory { padding: 20px 15px; }
  .directory-head { display: block; }
  .directory-tools { margin-top: 18px; display: grid; }
  .search-field, .directory-tools select { width: 100%; }
  .talent-grid { grid-template-columns: 1fr; }
  .assignment-dialog, .profile-dialog { padding: 28px 19px; }
  .manager-profile-grid { grid-template-columns: 1fr; }
  .client-project-grid { grid-template-columns: 1fr; }
  footer { padding: 20px; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
