/* Career Radar home page (#radar, js/radar-page.js), laid out like the November mockup in the app's navy and lime.
   On wide screens the page title sits in the top bar (shell.css keeps the search on the right). */
.radar-home{display:grid;gap:16px;max-width:1560px;margin:0 auto}
.rh-head{display:flex;align-items:center;gap:14px;margin:0 0 2px}
.rh-head h2{margin:0;font-size:30px;line-height:1.1;color:var(--white);letter-spacing:-.6px}
.rh-subtitle{margin:4px 0 0;color:var(--muted);font-size:14px}
.rh-head-mark{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#a7ff7826;color:var(--accent);flex-shrink:0}
.rh-head-mark svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}
.rh-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px 20px;min-width:0;box-shadow:0 10px 24px #00000026}
.rh-card h3{display:flex;align-items:center;gap:10px;margin:0;color:var(--white);font-size:18px;letter-spacing:-.2px}
.rh-h-icon{flex-shrink:0;width:22px;height:22px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rh-card .hint{margin:4px 0 0}
.rh-link{color:var(--accent);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.rh-link:hover{text-decoration:underline}
.rh-icon{flex-shrink:0;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Profile, strength and Employer Discovery: one card, in sections side by side. */
.rh-top{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);padding:16px 0;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 10px 24px #00000026}
.rh-top:has(.rh-available:not([hidden])){grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)}
.rh-top>.rh-card{padding:4px 26px;border:0;border-radius:0;background:none;box-shadow:none}
.rh-top>.rh-card~.rh-card:not([hidden]){border-left:1px solid var(--line)}
.rh-profile{position:relative;display:flex;align-items:center;gap:20px;padding-right:70px!important}
.rh-avatar{display:grid;place-items:center;width:88px;height:88px;border-radius:20px;flex-shrink:0;background:linear-gradient(145deg,#a7ff78,#5fd38a);color:var(--accent-ink);font-size:30px;font-weight:800;letter-spacing:-1px}
.rh-profile-text{min-width:0}
.rh-profile h3{font-size:24px;overflow-wrap:anywhere}
.rh-role{margin:4px 0 0;color:var(--ink);font-size:15px}
.rh-role strong{color:var(--white)}
.rh-meta{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0;color:var(--muted);font-size:13px}
.rh-meta:empty{display:none}
.rh-meta span,.rh-match-meta span{display:inline-flex;align-items:center;gap:6px}
.rh-edit{position:absolute;top:2px;right:22px;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#0f182a}
.rh-edit:hover{border-color:var(--accent-line);color:var(--accent)}
.rh-edit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.rh-strength{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;column-gap:14px}
.rh-strength-head{display:contents}
.rh-strength-head h3{grid-column:1/-1;grid-row:1}
.rh-strength-head strong{grid-column:2;grid-row:2;align-self:center;color:var(--white);font-size:18px}
.rh-meter{grid-column:1;grid-row:2;height:10px;margin:12px 0;border-radius:10px;background:#293f4b;overflow:hidden}
.rh-meter span{display:block;height:100%;width:0;border-radius:10px;background:linear-gradient(90deg,#5fd38a,#a7ff78);transition:width .3s}
.rh-strength-message{grid-column:1/-1;justify-self:start;margin:0 0 6px;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:#ffffff08;color:var(--muted);font-size:12.5px;line-height:1.35}
.rh-strength-message.strong{border-color:var(--accent-line);background:#a7ff7814;color:#d6ffbf}
.rh-strength-message.strong:before{content:'\2713';margin-right:7px;color:var(--accent);font-weight:800}
.rh-strength>.rh-link{grid-column:1/-1;justify-self:start}
.rh-available h3{font-size:16px}
.rh-available-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.rh-available-head+.hint{margin:6px 0 0}
.rh-switch{position:relative;flex-shrink:0;width:52px;height:30px;padding:0;border:1px solid var(--line);border-radius:999px;background:#273149;cursor:pointer;transition:background-color .15s,border-color .15s}
.rh-switch-knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#c9d3e6;transition:transform .15s}
.rh-switch[aria-checked="true"]{border-color:var(--accent);background:var(--accent)}
.rh-switch[aria-checked="true"] .rh-switch-knob{transform:translateX(22px);background:var(--accent-ink)}
.rh-switch[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
.rh-confirm{margin-top:10px;padding:12px 14px;border:1px solid var(--accent-line);border-radius:12px;background:#a7ff780d}
.rh-confirm:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.rh-confirm p{margin:0 0 8px;color:var(--ink);font-size:13px;line-height:1.45}
.rh-confirm .rh-confirm-title{margin-bottom:4px;color:var(--white);font-weight:800}
.rh-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}
.rh-available .status{margin:8px 0 0;font-size:13px}
.rh-available .status:empty{display:none}
.rh-state{display:inline-block;margin:10px 0 0;padding:4px 10px;border-radius:20px;border:1px solid var(--line);color:var(--muted);font-size:13px}
.rh-state.on{border-color:var(--accent-line);color:var(--accent)}

/* Numbers: an icon, the label and number, and this week's change. */
.rh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rh-stat{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 10px 24px #00000026;color:var(--muted);text-decoration:none;min-width:0}
a.rh-stat:hover{border-color:var(--accent-line)}
.rh-stat-icon{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#a7ff7817;color:var(--accent)}
.rh-stat-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rh-stat-text{display:contents}
.rh-stat-label{grid-column:2/-1;grid-row:1;color:var(--ink);font-size:14px;font-weight:700;overflow-wrap:anywhere}
.rh-stat strong{grid-column:2;grid-row:2;color:var(--white);font-size:30px;line-height:1.15}
.rh-stat-note{grid-column:3;grid-row:2;align-self:end;max-width:170px;color:var(--muted);font-size:12px;line-height:1.35;text-align:right;overflow-wrap:anywhere}
.rh-stat-note.up{color:var(--accent);font-weight:700}
.rh-stat-note.up:before{content:'\2191\00a0'}

/* Matches and what's next. */
.rh-main{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;align-items:start}
.rh-col{display:grid;gap:16px;align-content:start;min-width:0}
.rh-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.rh-matches .status{margin:4px 0 8px;font-size:13px}
.rh-match-list{display:grid;gap:10px}
.rh-match{display:grid;grid-template-columns:50px minmax(0,1fr) 64px auto;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:#0f182a}
.rh-match.selected{border-color:var(--accent-line);background:#a7ff780d;box-shadow:inset 0 0 0 1px #a7ff7833}
.rh-mark{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:linear-gradient(145deg,#eaf0ff,#aab6ce);color:#29334a;font-size:16px;font-weight:850;letter-spacing:-1px}
.rh-match:nth-child(3n+2) .rh-mark{background:linear-gradient(130deg,#3c2163,#6f378c);color:#f4dcff}
.rh-match:nth-child(3n+3) .rh-mark{background:linear-gradient(130deg,#163a59,#0b6597);color:#bce8ff}
.rh-match-body{min-width:0}
.rh-match-title{margin:0;color:var(--white);font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.rh-match-company{margin:2px 0 0;color:var(--ink);font-size:13px}
.rh-match-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 0;color:var(--muted);font-size:12px}
.rh-chips{margin-top:6px}
.rh-chips span{font-size:11px}
.rh-match .radar-score-ring.compact{width:64px;height:64px}
.rh-match-actions{display:grid;grid-template-columns:auto 36px;align-items:center;gap:8px}
.rh-match-actions .rh-apply{grid-column:1;grid-row:2;justify-content:center;text-align:center}
.rh-match-actions .btn{white-space:nowrap;min-height:34px;padding-top:5px;padding-bottom:5px}
.rh-view:after{content:'\2192';margin-left:6px}
.rh-save{position:relative;width:36px;min-width:36px;padding:0;font-size:0}
.rh-save:after{content:'';position:absolute;left:12px;top:8px;width:11px;height:16px;border:1.5px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}
.rh-save:before{content:'';position:absolute;width:8px;height:8px;left:13.5px;top:19px;border-left:1.5px solid currentColor;border-top:1.5px solid currentColor;transform:rotate(45deg)}
.rh-save[aria-pressed="true"]{color:var(--accent);border-color:var(--accent-line);background:#a7ff781a}
.radar-home .btn[aria-disabled="true"]{opacity:.55;cursor:default}
.radar-home h3[tabindex="-1"]:focus{outline:none}
.rh-empty{display:grid;justify-items:start;gap:10px;padding:16px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.rh-empty p{margin:0}
.rh-feed{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:10px}
.rh-feed .hint{flex:1 1 260px;margin:0;font-size:12px}
.rh-feed .hint a{color:var(--accent)}
.rh-feed-auto{min-height:36px;color:var(--ink);font-size:13px}
.rh-feed-auto input{width:18px;height:18px}

/* Why you matched: the reasons side by side, divided by lines. */
.rh-why-list{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.rh-reason{display:flex;gap:8px;align-items:flex-start;padding:2px 14px}
.rh-reason:first-child{padding-left:0}
.rh-reason+.rh-reason{border-left:1px solid var(--line)}
.rh-reason strong{display:block;color:var(--white);font-size:13.5px}
.rh-reason p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.rh-why-mark{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;flex-shrink:0;font-size:11px;font-weight:800;border:1.5px solid var(--line);color:var(--muted)}
.rh-good .rh-why-mark{border-color:var(--accent);color:var(--accent)}
.rh-outside .rh-why-mark{border-color:#ffb86b;color:#ffb86b}
.rh-disclaimer{margin-top:12px!important;font-size:11.5px}

/* Right column: Employer Discovery, interview requests, what's coming up and tools. */
.rh-discovery-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-18px -20px 10px;padding:16px 20px 14px;border-bottom:1px solid var(--line);border-radius:18px 18px 0 0;background:#a7ff7812}
.rh-discovery-head .hint{margin:4px 0 0}
.rh-discovery-art{flex-shrink:0;width:52px;height:52px;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.rh-sub{display:flex;align-items:center;gap:8px;margin:6px 0 0;color:var(--white);font-size:15px}
.rh-sub .rh-icon{width:18px;height:18px;color:var(--accent)}
.rh-settings{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0;margin:6px 0 12px}
.rh-settings dt,.rh-settings dd{padding:9px 0;border-bottom:1px solid var(--line)}
.rh-settings dt{display:flex;align-items:center;gap:10px;padding-right:12px;color:var(--ink);font-size:13px}
.rh-settings dt .rh-icon{width:17px;height:17px;color:var(--muted)}
.rh-setting-chips{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.rh-setting-chip{padding:3px 10px;border:1px solid var(--line);border-radius:999px;background:#ffffff0a;color:var(--white);font-size:12px}
.rh-settings dd{margin:0;color:var(--white);font-size:13px;text-align:right;overflow-wrap:anywhere}
.rh-list{list-style:none;margin:10px 0 0;padding:0;display:grid}
.rh-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.rh-list li:last-child{border-bottom:0}
.rh-list li.hint{display:block;font-size:13px}
.rh-list a{color:var(--ink)}
.rh-due-when{color:var(--muted);font-size:12px}
.rh-due.overdue .rh-due-when{color:#ffb86b}
.rh-badge{padding:2px 10px;border-radius:999px;background:#a7ff7826;color:var(--accent);font-size:12px;font-weight:800;letter-spacing:0;white-space:nowrap}
.rh-badge[hidden]{display:none}
.rh-requests{container-type:inline-size}
.rh-request-list .rh-request{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(0,1fr);align-items:center;justify-content:stretch;gap:8px 12px;padding:12px 0}
.rh-request-mark{width:40px;height:40px;border-radius:10px;font-size:13px}
.rh-request-who,.rh-request-info{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.rh-request-who strong{color:var(--white);font-size:14px}
.rh-request-who span{color:var(--muted);font-size:12px}
.rh-request-time{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:12.5px}
.rh-request-actions{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:6px}
.rh-request-actions .btn{min-height:34px;padding:6px 12px;font-size:13px}
.rh-reschedule{grid-column:2/-1;display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#0f182a}
.rh-reschedule .rh-request-actions{grid-column:auto}
.rh-reschedule-field{display:grid;gap:4px;color:var(--ink);font-size:12.5px;font-weight:700}
.rh-reschedule input{min-height:36px;padding:6px 10px;border:1px solid var(--field-border);border-radius:10px;background:var(--navy);color:var(--ink);font:inherit;font-size:13px;color-scheme:dark}
.rh-reschedule input:focus{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:1px}
.rh-requests h3:focus{outline:none}
.rh-requests h3:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
/* Wide: one line per request, the columns lined up from row to row. */
@container (min-width:600px){.rh-request-list{grid-template-columns:40px minmax(0,1.15fr) minmax(0,1fr) auto;column-gap:12px}.rh-request-list>li{grid-column:1/-1}.rh-request-list .rh-request{grid-template-columns:40px minmax(0,1.15fr) minmax(0,1fr) auto;grid-template-columns:subgrid}.rh-request-actions{grid-column:auto;justify-content:flex-end}}
@container (max-width:420px){.rh-request-actions,.rh-reschedule{grid-column:1/-1}}
.rh-tools{display:grid;gap:10px}
.rh-tool{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#0f182a;text-decoration:none;color:var(--muted);font-size:13px}
.rh-tool strong{color:var(--white);font-size:14px}
.rh-tool:hover{border-color:var(--accent-line)}

@media(max-width:1450px){.rh-stat-note{grid-column:2/-1;grid-row:3;max-width:none;text-align:left;margin-top:2px}.rh-stat-icon{grid-row:1/4}.rh-why-list{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}.rh-reason:nth-child(odd){padding-left:0;border-left:0}}
@media(max-width:1250px){.rh-top:has(.rh-available:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rh-top:has(.rh-available:not([hidden])) .rh-profile{grid-column:1/-1}.rh-top:has(.rh-available:not([hidden]))>.rh-card~.rh-card{border-top:1px solid var(--line);padding-top:14px;margin-top:12px}.rh-top:has(.rh-available:not([hidden]))>.rh-strength{border-left:0}.rh-match{grid-template-columns:50px minmax(0,1fr) 64px}.rh-match-actions{grid-column:2/-1;display:flex;flex-wrap:wrap}}
@media(max-width:1100px){.rh-main{grid-template-columns:1fr}.rh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.rh-top,.rh-top:has(.rh-available:not([hidden])){grid-template-columns:1fr}.rh-top>.rh-card~.rh-card:not([hidden]){border-left:0;border-top:1px solid var(--line);padding-top:14px;margin-top:12px}.rh-top>.rh-card{padding:4px 18px}.rh-head h2{font-size:25px}.rh-profile{padding-right:62px!important}.rh-edit{right:16px}.rh-avatar{width:64px;height:64px;border-radius:16px;font-size:22px}.rh-profile h3{font-size:20px}.rh-why-list{grid-template-columns:1fr}.rh-reason{padding:0!important;border-left:0!important}.rh-card-head{flex-wrap:wrap}}
@media(max-width:520px){.rh-discovery-head{margin:-16px -16px 10px;padding:14px 16px 12px}.rh-stats{gap:10px}.rh-stat{padding:14px;column-gap:12px}.rh-stat-icon{width:40px;height:40px}.rh-stat-icon svg{width:21px;height:21px}.rh-stat strong{font-size:26px}.rh-stat-label{font-size:13px}.rh-match{grid-template-columns:42px minmax(0,1fr) 56px;gap:10px;padding:12px}.rh-mark{width:42px;height:42px;font-size:14px}.rh-match .radar-score-ring.compact{width:56px;height:56px}.rh-match-actions{grid-column:1/-1;display:flex;flex-wrap:wrap}.rh-card{padding:16px}.rh-stat{grid-template-columns:auto minmax(0,1fr);row-gap:6px}.rh-stat-icon{grid-row:1;width:34px;height:34px}.rh-stat-icon svg{width:18px;height:18px}.rh-stat-label{grid-column:2;grid-row:1}.rh-stat strong{grid-column:1/-1;grid-row:2}.rh-stat-note{grid-column:1/-1;grid-row:3}}
@media(prefers-reduced-motion:reduce){.rh-meter span{transition:none}}