/* Career Agent look, 2026-11: soft glass surfaces, one teal-to-violet accent, gentle motion.
   Loaded after style.css; it only overrides tokens and a few components, so removing this file restores the old look. */
:root {
  --ground: #f3f5fb; --surface: rgba(255,255,255,.86); --raised: rgba(20,30,60,.05); --active: rgba(20,30,60,.09);
  --border: rgba(20,30,60,.10); --rule: rgba(20,30,60,.07); --control: rgba(20,30,60,.22);
  --text: #0d1222; --muted: #515a70; --faint: #636c82;
  --a1: #077a70; --a2: #5446e0; --grad: linear-gradient(135deg, var(--a1), var(--a2));
  --primary: #0d1222; --on-primary: #ffffff; --on-grad: #ffffff;
  --accent: #077a70; --accent-tint: rgba(7,122,112,.12); --accent-ink: #065d56; --focus: #5446e0;
  --glow: 0 6px 22px rgba(84,70,224,.22);
  --radius-card: 16px; --radius-control: 10px; --radius-chip: 999px;
  --shadow-float: 0 18px 50px rgba(20,30,60,.16);
  --blob1: rgba(45,226,200,.20); --blob2: rgba(139,124,255,.20);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ground: #070910; --surface: rgba(255,255,255,.045); --raised: rgba(255,255,255,.07); --active: rgba(255,255,255,.11);
  --border: rgba(255,255,255,.10); --rule: rgba(255,255,255,.07); --control: rgba(255,255,255,.28);
  --text: #f1f4fb; --muted: #a9b2c7; --faint: #8c95ab;
  --a1: #2de2c8; --a2: #9d8cff; --primary: #f1f4fb; --on-primary: #070910; --on-grad: #06121a;
  --accent: #2de2c8; --accent-tint: rgba(45,226,200,.13); --accent-ink: #6ff0dd; --focus: #9d8cff;
  --glow: 0 6px 26px rgba(125,140,255,.35); --shadow-float: 0 18px 60px rgba(0,0,0,.65);
  --blob1: rgba(45,226,200,.13); --blob2: rgba(139,124,255,.16);
} }
:root[data-theme="dark"] {
  --ground: #070910; --surface: rgba(255,255,255,.045); --raised: rgba(255,255,255,.07); --active: rgba(255,255,255,.11);
  --border: rgba(255,255,255,.10); --rule: rgba(255,255,255,.07); --control: rgba(255,255,255,.28);
  --text: #f1f4fb; --muted: #a9b2c7; --faint: #8c95ab;
  --a1: #2de2c8; --a2: #9d8cff; --primary: #f1f4fb; --on-primary: #070910; --on-grad: #06121a;
  --accent: #2de2c8; --accent-tint: rgba(45,226,200,.13); --accent-ink: #6ff0dd; --focus: #9d8cff;
  --glow: 0 6px 26px rgba(125,140,255,.35); --shadow-float: 0 18px 60px rgba(0,0,0,.65);
  --blob1: rgba(45,226,200,.13); --blob2: rgba(139,124,255,.16);
}

body { font-size: 15px; line-height: 22px; background:
  radial-gradient(900px 520px at 100% -10%, var(--blob2), transparent 62%),
  radial-gradient(760px 480px at -10% 8%, var(--blob1), transparent 60%), var(--ground); background-attachment: fixed; }
h1 { font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 17px; }
.wordmark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 17px; }
.sidebar, .subtabs, .mobile-bar, .phone-bar { background: color-mix(in srgb, var(--ground) 72%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.side-nav a.active { background: var(--accent-tint); color: var(--text); box-shadow: inset 2px 0 0 var(--a1); }
.subtabs a.active { border-image: var(--grad) 1; }

/* blur only where something sits over moving content (bars, toasts, dialogs), not as decoration */
.toast, dialog { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 10px 30px rgba(0,0,0,.06); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
a.card:hover, a.card.clickable:hover, a.card.step:hover { transform: translateY(-2px); border-color: var(--a2); background: var(--surface); box-shadow: var(--glow); }
.card.next-box, .notice.next { border: 1px solid transparent; background: linear-gradient(var(--ground), var(--ground)) padding-box, var(--grad) border-box; color: var(--text); }
.notice.next strong, .notice.next p { color: var(--text); }

button, a.button { border-radius: var(--radius-control); transition: transform .12s ease, box-shadow .18s ease, opacity .18s ease; }
button:active, a.button:active { transform: scale(.97); }
button.primary, a.button.primary { background: var(--grad); border-color: transparent; color: var(--on-grad); font-weight: 600; box-shadow: var(--glow); }
button.primary:hover, a.button.primary:hover { background: var(--grad); opacity: 1; transform: translateY(-1px); filter: brightness(1.06); }
button.link { box-shadow: none; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], input[type=url], input[type=tel], select, textarea {
  border-radius: var(--radius-control); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); box-shadow: 0 0 0 5px color-mix(in srgb, var(--focus) 22%, transparent); }
input[type=checkbox], input[type=radio] { accent-color: var(--a2); width: 18px; height: 18px; }

.badge, .tier { border-radius: 999px; }
.tier-A, .tier-P { background: var(--grad); color: var(--on-grad); }
.badge.status-ok { box-shadow: 0 0 0 1px color-mix(in srgb, var(--a1) 40%, transparent) inset; }
table.jobs { border-radius: var(--radius-card); overflow: hidden; }
table.jobs tr.row-link:hover td { background: var(--raised); }
.tracker li.done { color: var(--accent-ink); }
.todo-item { border-radius: var(--radius-card); }
.todo-item.tone-warn { border-left: 3px solid var(--warn-ink); }
.callout { border-left: 3px solid var(--a2); border-radius: 12px; }
.phone-bar a.active { color: var(--accent-ink); }
::selection { background: color-mix(in srgb, var(--a2) 35%, transparent); }

/* things arrive softly; nothing moves for people who asked their device for less motion */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.content > .card, .content > section, .content > table, .grid > *, .todo-item { animation: rise .38s cubic-bezier(.2,.7,.2,1) both; }
.content > :nth-child(2), .grid > :nth-child(2) { animation-delay: .04s; } .content > :nth-child(3), .grid > :nth-child(3) { animation-delay: .08s; }
.content > :nth-child(4), .grid > :nth-child(4) { animation-delay: .12s; } .content > :nth-child(n+5), .grid > :nth-child(n+5) { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@supports not (backdrop-filter: blur(1px)) { :root { --surface: #ffffff; } :root[data-theme="dark"] { --surface: #12141c; } }
.side-link { justify-content: flex-start; }
.side-legal a { display: inline; min-height: 0; padding: 0; width: auto; }
.side-foot form.inline { display: block; }

/* ---- swipe deck */
.deck-wrap { position: relative; max-width: 460px; margin: 8px auto 0; }
.deck { position: relative; height: min(62vh, 520px); touch-action: pan-y; }
.swipe-card { position: absolute; inset: 0; margin: 0; padding: 22px; overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none;
  display: flex; flex-direction: column; gap: 6px; animation: none; background: color-mix(in srgb, var(--ground) 88%, var(--a2) 12%);
  border: 1px solid var(--border); box-shadow: var(--shadow-float); transition: transform .25s ease, opacity .25s ease; will-change: transform; }
.swipe-card:active { cursor: grabbing; }
.swipe-card h2 { font-size: 22px; line-height: 28px; margin: 10px 0 0; }
.swipe-co { color: var(--muted); margin: 0; }
.swipe-why { margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.swipe-open { margin-top: auto; align-self: flex-start; }
.fit-ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1.05;
  background: radial-gradient(closest-side, var(--ground) 78%, transparent 80%), conic-gradient(var(--a1), var(--a2) calc(var(--p) * 1%), var(--raised) 0); }
.fit-ring small { color: var(--muted); font-size: 10px; }
.stamp { position: absolute; top: 20px; padding: 4px 10px; border: 2px solid; border-radius: 8px; font-weight: 800; letter-spacing: .08em; opacity: 0; transition: opacity .12s; pointer-events: none; }
.stamp-right { left: 18px; color: var(--accent-ink); transform: rotate(-10deg); } .stamp-left { right: 18px; color: var(--bad); transform: rotate(10deg); }
.stamp-up { left: 50%; top: auto; bottom: 20px; translate: -50% 0; color: var(--muted); }
.swipe-card[data-lean="right"] .stamp-right, .swipe-card[data-lean="left"] .stamp-left, .swipe-card[data-lean="up"] .stamp-up { opacity: 1; }
.deck-actions { display: flex; justify-content: center; gap: 22px; margin: 18px 0 8px; }
button.round { width: 66px; height: 66px; border-radius: 50%; flex-direction: column; gap: 0; font-size: 22px; line-height: 1; padding: 0; }
button.round small { font-size: 9.5px; font-weight: 500; color: inherit; opacity: .85; }
button.round.good { background: var(--grad); color: var(--on-grad); border-color: transparent; box-shadow: var(--glow); }
button.round.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.deck-empty { text-align: center; padding: 36px 22px; }
.swipe-hint { position: absolute; inset: 0; z-index: 200; display: grid; place-content: center; text-align: center; border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--ground) 78%, transparent); backdrop-filter: blur(4px); cursor: pointer; }
.swipe-hint .hand { font-size: 44px; display: block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(-46px) rotate(-12deg); } 50% { transform: translateX(46px) rotate(12deg); } }
/* ---- pipeline board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.board-col { scroll-snap-align: start; min-width: 0; } .board-col h2 { margin-top: 6px; }
.board-card { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; } .board-card small { color: var(--muted); }
.board-card .badge { align-self: flex-start; height: auto; padding: 2px 8px; white-space: normal; }
.board-empty { padding: 14px; border: 1px dashed var(--border); border-radius: var(--radius-card); }
.swipe-hint .hand { margin: 0 auto 18px; width: max-content; }
.swipe-hint p { margin: 0; padding: 0 20px; }
.board-card .badge { border-radius: 10px; }
@media (max-width: 640px) {
  .deck { height: min(50vh, 440px); }
  .swipe-card { padding: 16px; } .swipe-card h2 { font-size: 19px; line-height: 24px; }
  .deck-actions { position: sticky; bottom: 70px; z-index: 20; margin: 12px 0 0; }
  button.round { width: 60px; height: 60px; background: color-mix(in srgb, var(--ground) 90%, transparent); }
  body:has(.deck) .nextbar, body:has(.deck) .notice.next, body:has(.deck) .help-fab { display: none; }
}

@media (max-width: 640px) { body:has(.deck) .helpchat { display: none; } }
/* ---- swipeable explainers: one idea per card */
.story { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.story::-webkit-scrollbar { display: none; }
.story > .card { flex: 0 0 min(86%, 520px); scroll-snap-align: center; margin: 0; min-height: 230px; animation: none; }
.story > .card h2 { font-size: 19px; }
.story-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 18px; }
.story-dots { display: flex; gap: 7px; } .story-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--control); transition: all .2s; }
.story-dots i.on { width: 22px; border-radius: 6px; background: var(--grad); }
/* ---- a thin bar while the next page loads, so a tap always shows something happened */
html.leaving::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 999; background: var(--grad); transform-origin: left;
  animation: loadbar 1.6s cubic-bezier(.1,.6,.2,1) forwards; }
@keyframes loadbar { from { transform: scaleX(.05); } to { transform: scaleX(.92); } }
.skeleton { border-radius: 10px; min-height: 18px; background: linear-gradient(90deg, var(--raised), var(--active), var(--raised)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- from the UI/UX Pro Max rules: readable size on phones, no tap delay, safe areas, real icons */
button, a.button, .side-nav a, .phone-bar a, .swipe-card { touch-action: manipulation; }
.deck .swipe-card { touch-action: pan-y; }
.icon-lg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.swipe-hint .hand { color: var(--a1); } .swipe-hint .hand .icon-lg { width: 54px; height: 54px; }
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 24px; }
  input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], input[type=url], input[type=tel], select, textarea { font-size: 16px; min-height: 44px; }
  .deck-actions { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .phone-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
  small, .hint small { font-size: 13px; }
}

/* Simple UI, 2026-11-16: one clear action per screen, plain cards, bigger targets. */
body { font-size: 16px; line-height: 24px; }
button, .button, input, select { min-height: 44px; }
.button.small, button.small { min-height: 36px; }
.content { padding-bottom: 110px; }               /* room so the Help button never sits on top of content */
.center { text-align: center; }
.lead { color: var(--muted); font-size: 18px; margin: 4px 0 18px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px; }
.do-now { padding: 24px; border: 2px solid var(--accent); box-shadow: var(--glow); }
.do-now h2 { font-size: 22px; line-height: 28px; margin: 0 0 8px; }
.button.big { font-size: 17px; padding: 0 22px; min-height: 52px; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.tile3 { display: flex; flex-direction: column; gap: 2px; padding: 16px; text-decoration: none; color: var(--text); }
.tile3 .num { font-size: 34px; line-height: 40px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile3.muted .num { background: none; color: var(--faint); }
.setup-fold > summary { cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
.setup-fold .progressline { display: block; }
.home-foot { margin-top: 18px; color: var(--muted); }
.page-guide { border-left: 4px solid var(--accent); background: var(--accent-tint); border-radius: var(--radius-control); padding: 10px 14px; margin: 0 0 18px; max-width: 72ch; }
.page-guide p { margin: 0; }
.page-guide p + p { margin-top: 2px; }
.more-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.more-item { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.filters.simple { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 16px; }
.filters.simple input[type=search] { flex: 1 1 260px; }
.more-filters { flex-basis: 100%; }
.more-filters > summary { cursor: pointer; color: var(--accent-ink); font-weight: 500; padding: 6px 0; }
.more-filters label { display: inline-flex; flex-direction: column; gap: 4px; margin: 6px 10px 6px 0; font-size: 14px; color: var(--muted); }
.job-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.job-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; cursor: pointer; }
.job-card h2 { font-size: 17px; line-height: 23px; margin: 0; }
.job-card h2 a { color: var(--text); text-decoration: none; }
.job-card .job-meta, .job-card .hint { margin: 0; }
.job-card .button { align-self: flex-start; margin-top: auto; }
.fit { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--raised); color: var(--muted); }
.fit-A, .fit-P { background: var(--grad); color: var(--on-grad); }
.fit-B { background: var(--accent-tint); color: var(--accent-ink); }
.fit-C { background: var(--warn-bg); color: var(--warn-ink); }
.tour-steps { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.tour-steps li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.tour-steps b { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-grad); }
.helpchat > summary { height: 44px; }
@media (max-width: 640px) {
  .tiles3 { grid-template-columns: 1fr; }
  .tile3 { flex-direction: row; align-items: baseline; gap: 10px; }
  .tile3 .num { font-size: 26px; }
  .tile3 small { margin-left: auto; }
  .job-cards { grid-template-columns: 1fr; }
  .content { padding-bottom: 150px; }
  .helpchat > summary span { display: none; }          /* phone: just the round ? button */
  .helpchat > summary { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
}

.shot-pick { flex-basis: 100%; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.shot-pick input { min-height: 0; font-size: 14px; }
.help-form { flex-wrap: wrap; }
.fb-shot { max-width: 260px; max-height: 180px; margin-top: 6px; border: 1px solid var(--border); border-radius: 8px; }

/* Help button v2: sits outside the content column, never over it */
.helpchat > summary { position: relative; width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
.helpchat > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.helpchat > summary .dot-count { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #e5484d; }
@media (min-width: 641px) { .content { padding-right: 88px; } }
@media (max-width: 640px) {
  .helpchat { top: calc(6px + env(safe-area-inset-top)); bottom: auto; right: 8px; }
  .helpchat > summary { width: 40px; height: 40px; min-height: 40px; }
  .helpchat-body { top: calc(100% + 8px); bottom: auto; }
  .content { padding-bottom: 96px; }
}
.helpchat-body { background: var(--ground); }  /* solid: page text must not show through the chat */
@media (max-width: 640px) { .helpchat-body { max-height: calc(100dvh - 150px); } }
.facts-known { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; margin: 0; }
.facts-known dt { font-size: .8rem; color: var(--muted, #888); } .facts-known dd { margin: 0; overflow-wrap: anywhere; }
.notice.view-as { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.changes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.changes li { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.changes .before { color: var(--muted, #888); margin: 4px 0 2px; } .changes .after { margin: 0 0 6px; }
.style-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.style-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent; color: inherit; cursor: pointer; min-height: 44px; }
.style-chip.active { border-color: var(--accent, #4f7cff); box-shadow: 0 0 0 2px var(--accent, #4f7cff) inset; }
.style-chip small { color: var(--muted, #888); font-weight: normal; }

a.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; border: 1px solid var(--border); color: inherit; text-decoration: none; }
a.chip.active { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.job-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 10px 0 16px; counter-reset: st; flex-wrap: wrap; }
.job-steps li { counter-increment: st; flex: 1 1 120px; border: 1px solid var(--border); border-radius: var(--radius-chip, 999px); padding: 8px 12px; font-size: 14px; }
.job-steps li::before { content: counter(st) ". "; color: var(--muted); }
.job-steps li.done { color: var(--muted); } .job-steps li.done::before { content: "\2713  "; color: var(--accent); }
.job-steps li.now { border-color: var(--accent); background: var(--accent-tint); font-weight: 600; }
.job-steps a { color: inherit; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.style-chip, .style-chip small { white-space: normal; line-height: 1.3; }
