/* Candidate chat landing only: keep header, navigation and tool pages intact. */
.chat-page .chat-center { width:min(780px,calc(100% - 64px)); padding:64px 0 24px; }
.chat-page .welcome-simple { display:flex; flex-direction:column; align-items:center; gap:18px; margin-bottom:32px; }
.chat-page .welcome-simple img { width:84px; height:84px; object-fit:contain; }
.chat-page .chat-title { margin:0; font-size:clamp(25px,2.5vw,34px); font-weight:600; line-height:1.4; letter-spacing:-.7px; }
.chat-page .welcome-simple.collapsed,.chat-page.conversation-mode .welcome-simple { display:none; }
.chat-page .composer { width:100%; min-height:170px; margin:0; padding:20px; border-radius:20px; background:var(--surface); box-shadow:0 8px 28px rgba(35,29,48,.045); }
.chat-page .composer textarea { min-height:92px; font-size:16px; line-height:1.7; }
.chat-page .composer-status { font-size:11px; color:var(--muted); }
.chat-page .composer-status::before { box-shadow:none; width:5px; height:5px; }
.chat-page .quick-actions { margin:20px 0 32px; gap:10px; display:flex; flex-wrap:wrap; justify-content:center; }
.chat-page .quick-chip { min-height:38px; padding:8px 14px; font-size:13px; font-weight:500; box-shadow:none; background:transparent; border:1px solid var(--line); }
.chat-page .home-secondary { width:100%; border-top:1px solid var(--line); }
.chat-page .secondary-row { width:100%; min-height:54px; display:flex; align-items:center; gap:12px; border:0; padding:10px 6px; text-align:left; background:transparent; color:var(--text); font-size:12px; }
.chat-page .secondary-row strong { font-size:13px; font-weight:600; white-space:nowrap; }
.chat-page .secondary-row > span:not(.row-chevron) { color:var(--muted); }
.chat-page .secondary-row .lucide { width:17px; height:17px; flex-shrink:0; color:var(--muted); }
.chat-page .row-chevron { margin-left:auto; font-size:19px; color:var(--muted); }
.chat-page #journeyToggle .row-chevron { display:grid; place-items:center; flex:0 0 24px; width:24px; height:24px; line-height:0; }
.chat-page #journeyToggle .row-chevron svg { display:block; width:18px; height:18px; transition:transform .18s ease; }
.chat-page #journeyToggle[aria-expanded="true"] .row-chevron svg { transform:rotate(180deg); }
.chat-page .secondary-row:hover { color:var(--blue); background:var(--surface-2); border-radius:9px; }
.chat-page .journey-toolbar { border-top:1px solid var(--line); display:flex; align-items:center; gap:20px; }
.chat-page .journey-toolbar .secondary-row { flex:1; min-width:0; }
.chat-page #onboardingSlot { width:100%; flex-shrink:0; }
.chat-page #careerOnboardingEntry { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:12px; align-items:center; width:100%; min-height:66px; padding:12px 16px; margin:0 0 16px; border:1px solid rgba(80,6,118,.14); border-radius:14px; background:color-mix(in srgb,var(--surface) 94%,#500676); box-shadow:none; text-align:left; color:var(--text); }
.chat-page #careerOnboardingEntry:hover { border-color:rgba(80,6,118,.35); background:color-mix(in srgb,var(--surface) 90%,#500676); }
.chat-page #careerOnboardingEntry .guide-icon { display:grid; place-items:center; width:34px; height:34px; padding:0; border-radius:10px; background:var(--surface); color:var(--blue); }
.chat-page #careerOnboardingEntry svg { width:18px; height:18px; display:block; }
.chat-page #careerOnboardingEntry .guide-copy { display:block; min-width:0; font-size:14px; color:var(--ink); font-weight:650; line-height:1.4; }
.chat-page #careerOnboardingEntry .guide-copy small { display:block; margin-top:3px; color:var(--muted); font-size:12px; font-weight:400; line-height:1.5; }
.chat-page #careerOnboardingEntry .guide-action { display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-size:12px; font-weight:600; white-space:nowrap; }
.chat-page #careerOnboardingEntry .guide-action svg { width:15px; height:15px; }
.chat-page.conversation-mode #onboardingSlot { display:none; }
.chat-page #careerOnboardingEntry[hidden],.chat-page #journeyPanel[hidden] { display:none; }
.chat-page #journeyPanel { width:100%; margin:0; padding:8px 0 16px; border:0; background:transparent; box-shadow:none; }
.chat-page #journeyCards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:0; margin:0; overflow:visible; scroll-snap-type:none; }
.chat-page #journeyPanel .journey-viewport { overflow:visible; margin:0; padding:0; }
.chat-page #journeyCards .journey-card { width:100%; height:auto; min-height:92px; padding:14px; grid-template-columns:32px minmax(0,1fr); border-radius:12px; border:1px solid var(--line); background:var(--surface); box-shadow:none; }
.chat-page #journeyCards .journey-card::before,.chat-page #journeyCards .journey-card::after { display:none; }
.chat-page #journeyCards .journey-icon { width:32px; height:32px; border-radius:9px; background:var(--surface-2); color:var(--blue); box-shadow:none; }
.chat-page #journeyCards .journey-icon .lucide { width:18px; height:18px; }
.chat-page #journeyCards .journey-card strong { font-size:13px; }
.chat-page #journeyCards .journey-card small,.chat-page #journeyCards .journey-card b { font-size:11px; }
.chat-page .chat-footer { margin-top:40px; font-size:10px; line-height:1.8; }
.chat-page.conversation-mode .home-secondary { display:none; }
.chat-page button:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
#duckPowerModal { justify-content:flex-end; align-items:stretch; padding:0; }
#duckPowerModal .modal { width:min(420px,100%)!important; max-height:100dvh; height:100%; border-radius:20px 0 0 20px; display:flex; flex-direction:column; }
#duckPowerModal .modal-body { overflow:auto; flex:1; }
#duckPowerModal .modal-head { padding:24px; }
#duckPowerModal .modal-head h2 { font-size:20px; }
#duckPowerModal .modal-foot { margin-top:auto; }
@media(max-width:760px) {
  .chat-page .chat-center { width:calc(100% - 32px); padding-top:36px; }
  .chat-page .welcome-simple { gap:14px; margin-bottom:26px; }
  .chat-page .welcome-simple img { width:68px; height:68px; }
  .chat-page .chat-title { font-size:25px; }
  .chat-page .composer { padding:16px; }
  .chat-page .quick-actions { gap:8px; margin-bottom:26px; }
  .chat-page .quick-chip { font-size:12px; padding:8px 10px; }
  .chat-page .composer-status { display:none; }
  .chat-page .journey-toolbar { gap:8px; }
  .chat-page #careerOnboardingEntry { grid-template-columns:30px minmax(0,1fr) auto; padding:12px; gap:9px; }
  .chat-page #careerOnboardingEntry .guide-icon { width:30px; height:30px; }
  .chat-page #careerOnboardingEntry .guide-copy { font-size:13px; }
  .chat-page #careerOnboardingEntry .guide-copy small { font-size:11px; }
  .chat-page .secondary-row { gap:8px; }
  .chat-page #journeyCards { grid-template-columns:1fr; }
  .chat-page .chat-footer { margin-top:30px; }
}
@media(prefers-reduced-motion:reduce) { .chat-page #journeyToggle .row-chevron svg { transition:none; } }
