/* Diamond Operations shell and the shared Ask Ronivo visual contract. */
.talent-shell { --rail-base:64px; --rail-w:var(--rail-base); --bar-h:64px; --assistant-space:0px; --keyboard-offset:0px; padding:0; margin:0; background:#f8f8f7; background-image:none; font:400 14px/20px var(--system-font); }
.talent-shell.navigation-expanded { --rail-w:220px; }
.talent-shell.has-student { --bar-h:72px; }
.talent-shell [hidden] { display:none!important; }
.talent-shell button:focus-visible,.talent-shell a:focus-visible,.talent-shell textarea:focus-visible { outline:2px solid #737373; outline-offset:3px; }
.talent-shell .talent-workspace { margin:0 0 0 var(--rail-w); width:calc(100% - var(--rail-w)); max-width:none; min-height:100dvh; border:0; border-radius:0; background:#f8f8f7; overflow:visible; transition:margin-left 180ms ease,width 180ms ease; }
.talent-shell .page-header { min-height:88px; height:auto; padding:20px 32px 14px; align-items:flex-start; justify-content:space-between; border:0; gap:20px; }
.talent-shell .workspace-title { min-width:0; }
.talent-shell .workspace-title h1 { font:600 30px/34px var(--tn-serif); letter-spacing:-.6px; color:#292823; text-align:left; margin:0; }
.talent-shell .date-label { margin:2px 0 0; font:400 12px/18px var(--system-font); color:#737373; }
.talent-shell .top-actions { display:flex; align-items:center; gap:18px; padding-left:20px; }
.talent-shell .top-actions svg,.talent-shell .rail svg,.talent-shell .assistant-panel svg,.talent-shell .ai-bar svg { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.talent-shell .operator-help-button,.talent-shell .shell-icon-button { border:0; padding:0; display:inline-grid; place-items:center; flex:none; background:transparent; color:#4d4d4d; }
.talent-shell .operator-help-button { width:24px; height:24px; color:#737373; border-radius:4px; }
.talent-shell .operator-help-button svg { width:15px; height:15px; }
.talent-shell .shell-icon-button { width:32px; height:32px; border-radius:5px; }
.talent-shell .shell-icon-button svg { width:18px; height:18px; }
.talent-shell .top-avatar { border-radius:50%; background:#e4e4e2; font:500 10px/20px var(--system-font); }
.talent-shell [data-shell-utility="shell-notifications"] { color:#1a1a1a; }
.talent-shell .company-area { gap:0; margin:0; }
.talent-shell .company-menu { z-index:45; }
.talent-shell .company-menu-heading { padding:10px 12px; font:500 14px/20px var(--system-font); border-bottom:1px solid rgba(0,0,0,.06); margin-bottom:4px; }
.talent-shell #app { padding:8px 32px calc(var(--bar-h) + var(--assistant-space) + 32px)!important; }
.talent-shell .page-intro { margin-bottom:13px; }
.talent-shell .page-intro .page-title { font:500 16px/22px var(--system-font); letter-spacing:0; color:#4d4d4d; }
.talent-shell .school-pool-heading>.school-logo { width:32px; height:32px; }
.talent-shell .job-context-strip { min-height:32px; border:0; background:transparent; padding:0; margin:0 0 8px; }
.talent-shell .job-context-actions { width:100%; justify-content:flex-end; }
.talent-shell .job-context-actions .plain-link { min-height:30px; font:400 12px/18px var(--system-font); }
.talent-shell .shortlist-refine { margin-bottom:13px; }
.talent-shell .profile-footer { margin-bottom:0; }
.talent-shell .rail { position:fixed; inset:0 auto 0 0; z-index:51; width:var(--rail-base); background:#f0f0f0; border-right:1px solid rgba(0,0,0,.06); display:flex; align-items:center; flex-direction:column; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; transition:width 180ms ease; }
.talent-shell .rail[data-expanded=true] { width:220px; align-items:stretch; }
.talent-shell .rail-brand-row { min-height:60px; display:flex; align-items:center; justify-content:center; gap:2px; flex:none; }
.talent-shell .rail-brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:#1a1a1a; }
.talent-shell .rail-brand .network-brand-mark { width:27px; height:24px; }
.talent-shell .rail-brand-name { display:none; font:500 24px/30px var(--tn-serif); letter-spacing:-.7px; }
.talent-shell .navigation-toggle { padding:0; width:20px; height:32px; border:0; background:none; color:#737373; display:grid; place-items:center; }
.talent-shell .navigation-toggle svg { width:14px; height:14px; transform:rotate(-90deg); }
.talent-shell .rail[data-expanded=true] .rail-brand-row { justify-content:flex-start; padding:0 14px; gap:12px; }
.talent-shell .rail[data-expanded=true] .rail-brand-name { display:block; }
.talent-shell .rail[data-expanded=true] .navigation-toggle { margin-left:auto; }
.talent-shell .rail[data-expanded=true] .navigation-toggle svg { transform:rotate(90deg); }
.talent-shell .rail-items { display:flex; flex-direction:column; gap:6px; width:100%; align-items:center; }
.talent-shell .rail-item { width:40px; height:40px; min-height:40px; border:0; border-radius:10px; padding:0; display:grid; place-items:center; background:transparent; color:#4d4d4d; }
.talent-shell .rail-item svg { width:20px; height:20px; }
.talent-shell .rail-item.active { background:rgba(55,53,47,.06); color:#1a1a1a; }
.talent-shell .rail-item:disabled { opacity:.4; cursor:default; }
.talent-shell .navigation-label { display:none; }
.talent-shell .rail[data-expanded=true] .rail-items { padding-inline:8px; align-items:stretch; }
.talent-shell .rail[data-expanded=true] .rail-item { width:100%; display:flex; justify-content:flex-start; gap:12px; padding-inline:12px; border-radius:8px; }
.talent-shell .rail[data-expanded=true] .navigation-label { display:block; font:400 14px/20px var(--system-font); white-space:nowrap; }
.talent-shell .rail-item:not(:disabled):hover,.talent-shell .navigation-profile:hover { background:rgba(0,0,0,.03); }
.talent-shell .navigation-profile { width:32px; height:32px; min-height:32px; margin: auto auto 17px; border:0; padding:0; border-radius:50%; background:#e4e4e2; display:flex; justify-content:center; align-items:center; color:#4d4d4d; }
.talent-shell .navigation-profile svg { width:18px; height:18px; }
.talent-shell .rail[data-expanded=true] .navigation-profile { width:calc(100% - 16px); height:40px; min-height:40px; margin-inline:8px; padding-inline:12px; justify-content:flex-start; gap:12px; border-radius:8px; background:transparent; }
.talent-shell .navigation-backdrop { position:fixed; inset:0 0 0 var(--rail-base); z-index:50; border:0; background:#1a1a1a55; cursor:default; }
.talent-shell .ai-bar { position:fixed; z-index:30; left:var(--rail-w); right:0; bottom:var(--keyboard-offset); min-height:calc(var(--bar-h) + env(safe-area-inset-bottom)); padding:10px 32px calc(10px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:16px; background:#1a1a1a; color:#fff; font:400 14px/20px var(--system-font); }
.talent-shell .ai-ask-trigger { display:flex; align-items:center; gap:10px; min-height:40px; border:0; background:none; padding:0; color:white; white-space:nowrap; }
.talent-shell .ai-ask-trigger svg { width:19px; height:19px; }
.talent-shell .ai-selected-name { color:#c6c6c6; margin-left:10px; font-size:12px; line-height:18px; white-space:nowrap; }
.talent-shell .ai-actions { display:flex; align-items:center; gap:10px; margin-left:auto; }
.talent-shell .ai-student-action { border:1px solid #666; border-radius:5px; padding:9px 14px; min-height:40px; color:white; background:transparent; white-space:nowrap; font:400 14px/20px var(--system-font); }
.talent-shell .ai-student-action.primary { background:white; border-color:white; color:#1a1a1a; }
.talent-shell .ai-student-action:hover { background:#343434; }
.talent-shell .ai-student-action.primary:hover { background:#e9e9e9; }
.talent-shell .ai-expand { display:grid; place-items:center; width:32px; height:32px; margin-left:auto; border:0; padding:0; color:white; background:none; }
.talent-shell.has-student .ai-expand { margin-left:0; }
.talent-shell .ai-expand svg { width:17px; height:17px; transform:rotate(180deg); }
.talent-shell .ai-expand[aria-expanded=true] svg { transform:none; }
.talent-shell .assistant-panel { position:fixed; z-index:29; left:calc(var(--rail-w) + (100% - var(--rail-w))/2); bottom:calc(var(--bar-h) + var(--keyboard-offset) + env(safe-area-inset-bottom) + 12px); transform:translateX(-50%); width:min(880px,calc(100% - var(--rail-w) - 48px)); max-height:min(420px,calc(var(--visual-height,100dvh) - var(--bar-h) - 32px)); display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(0,0,0,.12); border-radius:10px; background:white; box-shadow:0 10px 40px rgba(0,0,0,.12); font:400 14px/20px var(--system-font); color:#4d4d4d; }
.talent-shell .assistant-header { display:flex; align-items:center; flex:none; gap:12px; padding:16px 20px; border-bottom:1px solid rgba(0,0,0,.08); }
.talent-shell .assistant-header h2 { margin:0; color:#1a1a1a; font:500 16px/22px var(--system-font); white-space:nowrap; }
.talent-shell .assistant-context { display:flex; align-items:center; gap:6px; margin-left:auto; min-width:0; padding:4px 8px; background:#f0f0ef; border-radius:5px; font:400 12px/18px var(--system-font); }
.talent-shell .assistant-context>span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.talent-shell .assistant-context button,.talent-shell .assistant-collapse { display:grid; place-items:center; flex:none; border:0; padding:0; background:none; color:#737373; }
.talent-shell .assistant-context button { width:18px; height:18px; }
.talent-shell .assistant-context button svg { width:12px; height:12px; }
.talent-shell .assistant-collapse { width:28px; height:28px; }
.talent-shell .assistant-collapse svg { width:16px; height:16px; }
.talent-shell .assistant-history { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; padding:20px; scrollbar-gutter:stable; }
.talent-shell .assistant-intro { margin:0 0 16px; font:500 16px/22px var(--system-font); color:#1a1a1a; }
.talent-shell .assistant-quick-questions { display:flex; flex-wrap:wrap; gap:8px; }
.talent-shell .assistant-quick-questions button { min-height:36px; border:1px solid #dededb; border-radius:6px; background:#f8f8f7; padding:7px 12px; text-align:left; font:400 14px/20px var(--system-font); color:#4d4d4d; }
.talent-shell .assistant-message { margin:0 0 16px; max-width:720px; }
.talent-shell .assistant-message:last-child { margin-bottom:0; }
.talent-shell .assistant-message.user { width:fit-content; margin-left:auto; border-radius:6px; padding:8px 12px; background:#f0f0ef; }
.talent-shell .assistant-message p { margin:0 0 8px; }
.talent-shell .assistant-message-label { display:block; color:#737373; font:400 12px/18px var(--system-font); margin-bottom:6px; }
.talent-shell .assistant-next-step { font-weight:500; color:#1a1a1a; }
.talent-shell .assistant-sources { border-top:1px solid rgba(0,0,0,.08); margin-top:12px; padding-top:10px; }
.talent-shell .assistant-sources summary { cursor:pointer; color:#4d4d4d; }
.talent-shell .assistant-source-list { display:grid; gap:8px; margin-top:10px; }
.talent-shell .assistant-source { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; background:#f8f8f7; border-radius:5px; }
.talent-shell .assistant-source button { border:0; padding:0; background:none; text-align:left; color:#4d4d4d; text-decoration:underline; text-underline-offset:3px; }
.talent-shell .assistant-source small { flex:none; font:400 12px/18px var(--system-font); color:#737373; }
.talent-shell .assistant-composer { flex:none; display:flex; align-items:flex-end; gap:10px; padding:12px 16px; border-top:1px solid rgba(0,0,0,.08); background:white; }
.talent-shell .assistant-composer textarea { min-width:0; flex:1; resize:none; min-height:42px; max-height:100px; border:1px solid #d5d5d2; border-radius:6px; padding:10px 12px; font:400 14px/20px var(--system-font); color:#1a1a1a; background:white; }
.talent-shell .assistant-composer button { width:40px; height:40px; flex:none; display:grid; place-items:center; border:0; padding:0; border-radius:5px; background:#1a1a1a; color:white; }
.talent-shell .assistant-composer button:disabled { background:#ccc; opacity:1; }
.talent-shell .assistant-composer button svg { width:18px; height:18px; }
@media(max-width:1350px) { .talent-shell { --rail-base:56px; } .talent-shell .ai-bar { gap:12px; padding-inline:24px; } .talent-shell .ai-student-action { padding-inline:11px; } .talent-shell .ai-selected-name { display:none; } }
@media(max-width:1080px) and (min-width:761px) { .talent-shell .page-header { padding-inline:24px; } .talent-shell #app { padding-inline:24px!important; } .talent-shell .shortlist-intro { flex-direction:row; align-items:center; } .talent-shell .shortlist-intro-side { width:auto; } }
@media(max-width:760px) { .talent-shell { --rail-base:48px; } .talent-shell.navigation-expanded { --rail-w:48px; } .talent-shell.has-student { --bar-h:112px; } .talent-shell .rail-item { width:36px; height:36px; min-height:36px; } .talent-shell .rail-brand-row { flex-direction:column; gap:0; min-height:72px; } .talent-shell .navigation-toggle { height:24px; } .talent-shell .rail[data-expanded=true] .rail-brand-row { min-height:60px; flex-direction:row; } .talent-shell .rail[data-expanded=true] .rail-item { height:40px; min-height:40px; } .talent-shell .page-header { min-height:82px; padding:16px 16px 12px; gap:10px; } .talent-shell .top-actions { gap:8px; padding-left:0; } .talent-shell .operator-help-button { width:24px; } .talent-shell #app { padding-inline:16px!important; } .talent-shell .shortlist-intro { gap:12px; } .talent-shell .shortlist-intro-side { width:100%; } .talent-shell .scope-control { width:100%; } .talent-shell .scope-control button { flex:1; white-space:nowrap; padding-inline:6px; } .talent-shell .ai-bar { padding:8px 16px calc(8px + env(safe-area-inset-bottom)); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px 8px; align-content:center; } .talent-shell .ai-ask-trigger { justify-self:start; } .talent-shell .ai-expand { justify-self:end; margin-left:0; } .talent-shell.has-student .ai-expand { display:none; } .talent-shell .ai-actions { display:contents; } .talent-shell .ai-student-action { min-height:42px; padding:9px 6px; width:100%; text-align:center; font-size:14px; } .talent-shell .assistant-panel { width:calc(100% - var(--rail-w) - 24px); bottom:calc(var(--bar-h) + var(--keyboard-offset) + env(safe-area-inset-bottom) + 10px); } .talent-shell .assistant-header { padding:12px 14px; gap:8px; } .talent-shell .assistant-context { max-width:148px; padding:4px 6px; } .talent-shell .assistant-history { padding:16px; } .talent-shell .assistant-quick-questions button { font-size:13px; padding:7px 10px; } .talent-shell .assistant-composer { padding:10px 12px; } .talent-shell .assistant-source { align-items:flex-start; gap:8px; padding:8px; } .talent-shell .assistant-source small { white-space:normal; max-width:82px; } }
@media(max-width:430px) { .talent-shell .page-header { flex-wrap:wrap; } .talent-shell .workspace-title { order:2; flex-basis:100%; } .talent-shell .top-actions { margin-left:auto; } .talent-shell .assistant-context { max-width:116px; } .talent-shell .assistant-header { gap:6px; } .talent-shell .assistant-header h2 { font-size:15px; } }
@media(prefers-reduced-motion:reduce) { .talent-shell .rail,.talent-shell .talent-workspace { transition:none; } }

/* Root native iPad spacing correction: one compact controls row, unbroken labels/dates. */
.talent-shell .shortlist-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:8px 20px; margin-bottom:13px; }
.talent-shell .shortlist-controls .shortlist-refine { margin:0; min-width:0; }
.talent-shell .shortlist-controls summary { min-height:32px; align-items:center; }
.talent-shell .edit-needs-inline { min-height:32px; font:400 12px/18px var(--system-font); color:#4d4d4d; white-space:nowrap; }
.talent-shell .practice-metrics { grid-template-columns:1fr 1fr 1.15fr; gap:0; }
.talent-shell .practice-metrics>span { padding-left:8px; }
.talent-shell .practice-metrics>span:first-child { padding-left:0; }
.talent-shell .practice-metrics>span>span { white-space:nowrap; min-height:18px; font-size:12px; line-height:18px; }
.talent-shell .work-years { display:inline-block; white-space:nowrap; }
@media(max-width:1080px) and (min-width:761px) { .talent-shell .practice-metrics>span { padding-left:6px; } .talent-shell .practice-metrics { grid-template-columns:1fr .9fr 1.15fr; } }

@media(max-width:1080px) and (min-width:761px) { .talent-shell .shortlist-background>div { display:block; min-height:40px; } .talent-shell .shortlist-background>div>span:first-child,.talent-shell .shortlist-reported { display:block; } }

/* Keep iPad skill captions on one readable line and reserve room for its thumbnail strip. */
@media(min-width:761px) { .talent-shell .shortlist-media>figcaption { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-top:6px; white-space:nowrap; } .talent-shell .shortlist-media>figcaption .plain-link { display:inline-flex; margin:0; white-space:nowrap; font-size:12px; line-height:18px; } .talent-shell .shortlist-controls { margin-bottom:7px; } .talent-shell .page-intro { margin-bottom:7px; } .talent-shell .shortlist-media { margin-bottom:10px; } }
.talent-shell .avatar[data-student-avatar] { filter:grayscale(1); }
.talent-shell .avatar[data-student-avatar].is-selected-avatar { filter:grayscale(0); }

/* Latest Simon decision: all three footer requests share black/white outlined treatment. */
.talent-shell .ai-student-action { color:#fff; background:transparent; border-color:#fff; }

/* Onboarding is now a secondary workspace heading, leaving Petrona to the shell page h1. */
.talent-shell .setup-title { font:500 24px/30px var(--system-font); letter-spacing:-.3px; }

/* Cards respond to the actual remaining workspace after the rail expands. */
@media(min-width:761px) { .talent-shell .shortlist-grid { grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); } }
@media(max-width:760px) { .talent-shell .shortlist-grid { grid-template-columns:minmax(0,1fr); } }

/* R9: one Diamond-sized brand button toggles navigation; no separate arrow. */
.talent-shell .rail-brand-row,.talent-shell .rail[data-expanded=true] .rail-brand-row { min-height:52px; height:52px; padding:0; gap:0; flex-direction:row; }
.talent-shell .rail .navigation-toggle { width:var(--rail-base); height:52px; min-height:52px; margin:0; padding:0; border:0; background:transparent; border-radius:0; color:#1a1a1a; display:flex; justify-content:center; align-items:center; cursor:pointer; }
.talent-shell .rail .navigation-toggle .network-brand-mark { width:28px; height:18px; flex:none; }
.talent-shell .rail[data-expanded=true] .navigation-toggle { width:220px; margin:0; padding:0 16px 0 24px; justify-content:flex-start; gap:15px; }
.talent-shell .company-menu a[role=menuitem] { display:block; width:100%; padding:11px 12px; border-radius:5px; font:400 14px/20px var(--system-font); text-align:left; color:#1a1a1a; text-decoration:none; }
.talent-shell .company-menu a[role=menuitem]:hover { background:#f0f0f0; }
.talent-shell .shortlist-card .school-logo { filter:grayscale(1); opacity:.6; }
.talent-shell .shortlist-card.is-selected .school-logo { filter:none; opacity:1; }
@media(hover:hover) and (pointer:fine) { .talent-shell .shortlist-card.is-card-hovered .training-media-visual,.talent-shell .shortlist-card.is-card-hovered .clip-thumb-visual { filter:grayscale(0); } }

/* R9 latest: five equal-height controls keep one stable line in both scopes. */
.talent-shell .page-header { min-height:82px; padding-bottom:8px; }
.talent-shell #app { padding-top:4px!important; }
.talent-shell .shortlist-toolbar { display:flex; flex-wrap:nowrap; align-items:center; justify-content:flex-start; gap:8px; width:100%; max-width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; margin:0 0 12px; padding:0 0 2px; scrollbar-width:thin; }
.talent-shell .shortlist-toolbar .scope-control,.talent-shell .shortlist-control-buttons { display:contents; }
.talent-shell .shortlist-toolbar button { flex:1 0 0; min-width:max-content; max-width:176px; width:auto; height:40px; min-height:40px; margin:0; padding:9px 12px; border:1px solid rgba(0,0,0,.12); border-radius:6px; background:white; color:#4d4d4d; white-space:nowrap; font:400 14px/20px var(--system-font); letter-spacing:0; text-align:center; }
.talent-shell .shortlist-toolbar .scope-control button.active { color:#1a1a1a; background:#f0f0f0; box-shadow:none; }
.talent-shell .shortlist-toolbar .primary-button { background:#1a1a1a; color:#fff; border-color:#1a1a1a; }
.talent-shell .shortlist-school-context { margin:0 0 12px; min-height:32px; gap:9px; }
.talent-shell .shortlist-school-context>.school-logo { width:32px; height:32px; }
.talent-shell .shortlist-school-context>.page-title { font:500 16px/22px var(--system-font); letter-spacing:0; color:#4d4d4d; margin:0; }
.talent-shell .shortlist-filter-controls { margin:0 0 16px; padding:16px; border:1px solid rgba(0,0,0,.1); border-radius:6px; background:white; }
.talent-shell .shortlist-filter-fields { display:grid; grid-template-columns:2fr repeat(3,minmax(0,1fr)); gap:12px; align-items:end; }
.talent-shell .shortlist-filter-fields .form-field { margin:0; min-width:0; }
.talent-shell .shortlist-filter-fields input,.talent-shell .shortlist-filter-fields select { min-width:0; width:100%; min-height:42px; font:400 14px/20px var(--system-font); }
@media(max-width:1080px) { .talent-shell .shortlist-filter-fields { grid-template-columns:repeat(3,minmax(0,1fr)); } .talent-shell .shortlist-filter-fields>.form-field:first-child { grid-column:1/-1; } }
@media(max-width:760px) { .talent-shell .shortlist-toolbar button { flex:0 0 auto; min-width:144px; max-width:none; } .talent-shell .shortlist-filter-fields { grid-template-columns:minmax(0,1fr); } .talent-shell .shortlist-filter-fields>.form-field:first-child { grid-column:auto; } }

/* R10: no visible role subtitle or min-height hole; title-to-toolbar gap is16+4px. */
.talent-shell .page-header { min-height:0; padding-bottom:16px; }

/* 2026-10-27: one product spacing contract supersedes the compact R8–R10 overrides. */
.talent-shell {
  --tn-space-1:4px;
  --tn-space-2:8px;
  --tn-space-3:12px;
  --tn-space-4:16px;
  --tn-space-5:24px;
  --tn-space-6:32px;
  --tn-space-7:48px;
  --tn-page-inline:var(--tn-space-7);
  --tn-page-top:var(--tn-space-6);
  --tn-title-toolbar:var(--tn-space-6);
  --tn-card-padding:20px;
  --tn-grid-gap:var(--tn-space-5);
  --tn-content-clearance:var(--tn-space-6);
}
.talent-shell .page-header {
  min-height:0;
  padding:var(--tn-page-top) var(--tn-page-inline) 0;
  gap:var(--tn-space-4) var(--tn-space-5);
}
.talent-shell #app {
  padding:var(--tn-title-toolbar) var(--tn-page-inline) calc(var(--bar-h) + var(--assistant-space) + var(--tn-content-clearance))!important;
}
.talent-shell .shortlist-toolbar {
  gap:var(--tn-space-2);
  margin:0 0 var(--tn-space-5);
  padding:0;
  scrollbar-width:none;
}
.talent-shell .shortlist-toolbar::-webkit-scrollbar { display:none; }
.talent-shell .shortlist-toolbar:has(+.shortlist-school-context) { margin-bottom:var(--tn-space-4); }
.talent-shell .shortlist-school-context {
  margin:0 0 var(--tn-space-5);
  gap:var(--tn-space-3);
}
.talent-shell .shortlist-filter-controls {
  margin:0 0 var(--tn-space-5);
  padding:var(--tn-space-5);
}
.talent-shell .shortlist-filter-fields { gap:var(--tn-space-4); }
.talent-shell .shortlist-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,344px),1fr));
  gap:var(--tn-grid-gap);
  max-width:none;
}
.talent-shell .shortlist-card {
  display:flex;
  flex-direction:column;
  gap:var(--tn-space-4);
  padding:var(--tn-card-padding);
}
.talent-shell .shortlist-card>* { min-width:0; margin:0; }
.talent-shell .shortlist-identity { gap:var(--tn-space-3); min-height:0; }
.talent-shell .shortlist-background { padding-bottom:var(--tn-space-3); }
.talent-shell .shortlist-background>div {
  display:flex;
  flex-wrap:wrap;
  gap:var(--tn-space-2);
  min-height:0;
}
.talent-shell .shortlist-background>p { min-height:0; margin-top:var(--tn-space-2); }
.talent-shell .practice-metrics { margin:0; }
.talent-shell .practice-metrics>span { padding-left:var(--tn-space-3); }
.talent-shell .practice-metrics>span:first-child { padding-left:0; }
.talent-shell .practice-metrics>span>span { margin-top:var(--tn-space-1); min-height:0; }
.talent-shell .shortlist-strengths { padding:0; }
.talent-shell .shortlist-strengths>div {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:var(--tn-space-2) var(--tn-space-3);
}
.talent-shell .shortlist-strengths .plain-link { display:inline; margin:0; }
.talent-shell .shortlist-strengths>p { margin-top:var(--tn-space-2); min-height:0; }
.talent-shell .skill-preview-region { display:grid; gap:var(--tn-space-3); }
.talent-shell .shortlist-media { margin:0; }
.talent-shell .shortlist-media>figcaption { margin-top:var(--tn-space-2); gap:var(--tn-space-2); }
.talent-shell .training-clip-strip { margin:0; gap:var(--tn-space-2); }
.talent-shell .vehicle-exposures { padding-top:var(--tn-space-3); }
.talent-shell .vehicle-exposure-grid { margin-top:var(--tn-space-2); gap:var(--tn-space-2); }
.talent-shell .ai-bar { padding-inline:var(--tn-page-inline); }
/* Card scale: preserve type and source media; reduce only shortlist visual geometry. */
.talent-shell .shortlist-card .skill-preview-region { gap:var(--tn-space-2); }
.talent-shell .shortlist-card .shortlist-identity>.avatar { width:40px; height:40px; }
.talent-shell .shortlist-card .media-surface,
.talent-shell .shortlist-card .shortlist-media video,
.talent-shell .shortlist-card .media-still,
.talent-shell .shortlist-card .media-awaiting { height:144px; }
.talent-shell .shortlist-card .clip-thumb-visual,
.talent-shell .shortlist-card .clip-thumb-placeholder { height:32px; aspect-ratio:auto; }
.talent-shell .shortlist-card .exposure-truck { height:32px; }
@supports(grid-template-rows:subgrid) {
  .talent-shell .shortlist-card {
    display:grid;
    grid-template-rows:subgrid;
    grid-row:span 6;
  }
}
@media(max-width:1399px) {
  .talent-shell { --tn-page-inline:var(--tn-space-6); }
}
@media(max-width:740px) {
  .talent-shell {
    --tn-page-inline:var(--tn-space-4);
    --tn-page-top:var(--tn-space-5);
    --tn-title-toolbar:var(--tn-space-5);
    --tn-card-padding:20px;
  }
  .talent-shell .shortlist-grid { grid-template-columns:minmax(0,1fr); }
  .talent-shell .shortlist-card { display:flex; grid-row:auto; }
}

/* Hiring Needs uses the same 540px right-side dialog as Coach notes. */
.talent-shell .detail-panel[open].hiring-needs-panel {
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.talent-shell .hiring-needs-panel .panel-header {
  flex:none;
  padding:var(--tn-space-5);
  gap:var(--tn-space-5);
}
.talent-shell .hiring-needs-panel .panel-body {
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  padding:var(--tn-space-5);
}
.talent-shell #hiring-needs-form { display:grid; gap:var(--tn-space-6); }
.talent-shell .hiring-needs-group { border:0; padding:0; margin:0; min-width:0; }
.talent-shell .hiring-needs-group legend {
  padding:0;
  margin-bottom:var(--tn-space-4);
  color:#1a1a1a;
  font:500 14px/20px var(--system-font);
}
.talent-shell .hiring-needs-group .form-grid { gap:var(--tn-space-4); }
.talent-shell .hiring-needs-group .form-field { gap:var(--tn-space-2); }
.talent-shell .hiring-needs-footer {
  display:flex;
  flex:none;
  gap:var(--tn-space-3);
  padding:var(--tn-space-4) var(--tn-space-5);
  border-top:1px solid rgba(0,0,0,.12);
  background:#fff;
}
.talent-shell .hiring-needs-footer button { flex:1; min-height:42px; }
.talent-shell #hiring-needs-error:empty { display:none; }
@media(max-width:430px) {
  .talent-shell .hiring-needs-panel .panel-header,
  .talent-shell .hiring-needs-panel .panel-body { padding:var(--tn-space-5) var(--tn-space-4); }
  .talent-shell .hiring-needs-group .form-grid { grid-template-columns:minmax(0,1fr); }
  .talent-shell .hiring-needs-footer { padding-inline:var(--tn-space-4); }
}

.talent-shell .shortlist-card .vehicle-exposure-grid figcaption>span { white-space:normal; }

/* Talent setup: native centered setup before any workspace or student context. */
.talent-shell.setup-mode { --rail-w:0px; --bar-h:0px; --assistant-space:0px; background:#f8f8f7; }
.talent-shell.setup-mode #talent-navigation,.talent-shell.setup-mode .page-header,.talent-shell.setup-mode #talent-ai-footer,.talent-shell.setup-mode #ronivo-assistant,.talent-shell.setup-mode #navigation-backdrop { display:none!important; }
.talent-shell.setup-mode .talent-workspace { margin:0; width:100%; min-height:0; transition:none; }
.talent-shell.setup-mode #app { padding:8px 32px 32px!important; }
.talent-shell .setup-site-header { display:flex; align-items:center; gap:28px; padding:24px 48px; min-height:84px; }
.talent-shell .setup-home-brand { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:#1a1a1a; font:600 30px/36px var(--tn-serif); letter-spacing:-.8px; }
.talent-shell .setup-home-brand .network-brand-mark { width:35px; height:28px; }
.talent-shell .setup-product-name { padding-left:28px; border-left:1px solid #c7c7c7; font:400 16px/24px var(--system-font); color:#626262; }
.talent-shell .centered-setup { width:100%; max-width:880px; margin:0 auto; }
.talent-shell .centered-setup .setup-progress { justify-content:center; gap:16px; margin:0 auto 32px; padding:8px 0; font:400 13px/20px var(--system-font); }
.talent-shell .centered-setup .setup-progress>span { flex-direction:column; gap:6px; min-width:68px; }
.talent-shell .centered-setup .setup-progress i { width:28px; height:28px; border:0; background:#e7e7e5; color:#444; }
.talent-shell .centered-setup .setup-progress .active i { background:#1a1a1a; color:#fff; }
.talent-shell .centered-setup .progress-line { width:90px; align-self:flex-start; margin-top:14px; background:#bdbdbb; }
.talent-shell .setup-card { border:1px solid #dededb; border-radius:8px; padding:32px 40px 24px; background:#fff; }
.talent-shell .setup-heading { text-align:center; margin:0 0 28px; }
.talent-shell .centered-setup .setup-title { font:600 42px/48px var(--tn-serif); letter-spacing:-1.2px; color:#222; margin:0 0 8px; text-align:center; }
.talent-shell .centered-setup .setup-description { max-width:none; margin:0; font:400 16px/24px var(--system-font); color:#737373; }
.talent-shell .centered-setup .form-grid { gap:16px 20px; }
.talent-shell .centered-setup .form-field>span { font:400 14px/20px var(--system-font); color:#626262; }
.talent-shell .centered-setup input,.talent-shell .centered-setup select { min-height:44px; font:400 16px/22px var(--system-font); }
.talent-shell .setup-field-group { min-width:0; margin:0 0 24px; padding:0; border:0; }
.talent-shell .setup-field-group legend { float:none; width:auto; padding:0; margin:0 0 12px; font:500 16px/22px var(--system-font); color:#222; }
.talent-shell .setup-field-hint { margin:-8px 0 12px; font:400 12px/18px var(--system-font); color:#737373; }
.talent-shell .setup-field-group:last-of-type { margin-bottom:0; }
.talent-shell .setup-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.talent-shell .setup-choice { display:block; position:relative; margin:0; min-width:0; cursor:pointer; }
.talent-shell .setup-choice>input { position:absolute; width:1px; height:1px; min-height:0; opacity:0; margin:0; }
.talent-shell .setup-choice>span { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px; height:100%; min-height:44px; padding:10px 8px; border:1px solid #d5d5d2; border-radius:6px; background:#fff; color:#444; text-align:center; font:400 14px/20px var(--system-font); }
.talent-shell .setup-choice>input:checked+span { background:#1a1a1a; border-color:#1a1a1a; color:#fff; }
.talent-shell .setup-choice>input:focus-visible+span { outline:2px solid #737373; outline-offset:3px; }
.talent-shell .setup-vehicles .setup-choice>span { min-height:112px; }
.talent-shell .setup-vehicles .setup-choice>input:checked+span { background:#f0f0ee; color:#222; box-shadow:inset 0 0 0 1px #1a1a1a; }
.talent-shell .setup-vehicles .exposure-truck { display:block; width:100%; height:64px; max-width:210px; object-fit:contain; }
.talent-shell .centered-setup .setup-buttons { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:24px 0 0; padding-top:24px; border-top:1px solid #e3e3df; }
.talent-shell .centered-setup .setup-buttons button { min-height:44px; min-width:128px; padding:10px 20px; font:400 14px/20px var(--system-font); border-radius:6px; }
.talent-shell .centered-setup .form-error:empty { display:none; }
.talent-shell .setup-footnote { margin:12px 0 0; text-align:center; color:#737373; font:400 12px/18px var(--system-font); }
.talent-shell .setup-review { display:grid; gap:24px; }
.talent-shell .setup-review section { min-width:0; }
.talent-shell .setup-review section+section { padding-top:20px; border-top:1px solid #e3e3df; }
.talent-shell .setup-review header { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:12px; }
.talent-shell .setup-review h3 { margin:0; font:500 16px/24px var(--system-font); color:#222; }
.talent-shell .setup-review .plain-link { min-height:32px; font:400 14px/20px var(--system-font); }
.talent-shell .setup-review dl { margin:0; display:grid; gap:12px; }
.talent-shell .setup-review dl>div { display:grid; grid-template-columns:160px minmax(0,1fr); gap:20px; }
.talent-shell .setup-review dt { color:#737373; }
.talent-shell .setup-review dd { margin:0; color:#222; overflow-wrap:anywhere; }
.talent-shell .centered-setup select:focus-visible,.talent-shell .centered-setup input:focus-visible { outline:2px solid #737373; outline-offset:3px; }
/* Home and menu have independent targets. The menu icon is below the brand. */
.talent-shell .rail-brand-row,.talent-shell .rail[data-expanded=true] .rail-brand-row { height:auto; min-height:96px; flex-direction:column; gap:0; padding:0 8px 8px; align-items:center; }
.talent-shell .rail .rail-brand { display:flex; min-height:52px; justify-content:center; width:100%; }
.talent-shell .rail .navigation-toggle,.talent-shell .rail[data-expanded=true] .navigation-toggle { width:36px; height:36px; min-height:36px; padding:0; margin:0; display:grid; place-items:center; border-radius:6px; }
.talent-shell .rail .navigation-toggle:hover { background:rgba(0,0,0,.04); }
.talent-shell .rail .navigation-toggle svg,.talent-shell .rail[data-expanded=true] .navigation-toggle svg { width:18px; height:18px; transform:none; }
.talent-shell .rail[data-expanded=true] .rail-brand-row { align-items:flex-start; padding-inline:16px; }
.talent-shell .rail[data-expanded=true] .rail-brand { justify-content:flex-start; }
@media(max-width:760px) {
  .talent-shell .setup-site-header { min-height:72px; padding:18px 20px; gap:18px; }
  .talent-shell .setup-home-brand { gap:7px; font-size:26px; line-height:32px; }
  .talent-shell .setup-home-brand .network-brand-mark { width:29px; height:24px; }
  .talent-shell .setup-product-name { padding-left:18px; font-size:14px; line-height:20px; }
  .talent-shell.setup-mode #app { padding:8px 16px 24px!important; }
  .talent-shell .centered-setup .setup-progress { gap:8px; margin-bottom:20px; font-size:12px; }
  .talent-shell .centered-setup .setup-progress>span { min-width:62px; }
  .talent-shell .centered-setup .progress-line { width:40px; }
  .talent-shell .setup-card { padding:24px 20px 20px; }
  .talent-shell .setup-heading { margin-bottom:24px; }
  .talent-shell .centered-setup .setup-title { font-size:32px; line-height:38px; letter-spacing:-.8px; }
  .talent-shell .centered-setup .setup-description { font-size:14px; line-height:21px; }
  .talent-shell .centered-setup .form-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .talent-shell .setup-field-group { margin-bottom:24px; }
  .talent-shell .setup-choice-grid { grid-template-columns:minmax(0,1fr); gap:8px; }
  .talent-shell .setup-vehicles { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .talent-shell .setup-vehicles .setup-choice>span { min-height:98px; padding:8px 4px; gap:4px; font-size:12px; line-height:18px; }
  .talent-shell .setup-vehicles .exposure-truck { height:48px; }
  .talent-shell .centered-setup .setup-buttons { margin-top:24px; padding-top:20px; gap:12px; }
  .talent-shell .centered-setup .setup-buttons button { min-width:0; padding-inline:16px; }
  .talent-shell .setup-review header { gap:8px; flex-wrap:wrap; margin-bottom:8px; }
  .talent-shell .setup-review dl>div { grid-template-columns:minmax(0,1fr); gap:2px; }
}
/* A programmatically focused heading announces the step without a control ring. */
.talent-shell .centered-setup .setup-title:focus { outline:none; }

/* Public fictional demo persona; keeps presentation separate from reviewed records. */
.talent-shell .avatar > img { width:100%; height:100%; display:block; object-fit:cover; }
.talent-shell .demo-profile-badge { display:inline-flex; align-items:center; min-height:22px; padding:2px 8px; border:1px solid var(--line,#dededb); border-radius:12px; background:var(--soft,#f0f0f0); color:var(--ink,#1a1a1a); font:400 11px/16px var(--sans,system-ui,sans-serif); white-space:nowrap; }
.talent-shell .shortlist-identity .demo-profile-badge { flex:0 0 auto; margin-left:auto; align-self:flex-start; }
.talent-shell .profile-heading .demo-profile-badge { margin-top:6px; }
