/* YourShot web app. The same "blue hour" tokens as the extension's panel and board, so the app and the extension match. */
:root {
  --canvas: #15161E; --lane: #191A23; --card: #1F212B; --control: #292C38; --hover: #323646; --line: rgba(255, 255, 255, 0.07);
  --ivory: #EEF0F6; --haze: #A7ACBD; --dim: #6F7487; --ice: #CFDCFF; --on-ice: #15161E; --ok: #7EE0B0; --bad: #F2A3A3;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --mark: 'Space Grotesk', 'Inter', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--canvas); color: var(--ivory); font: 400 14px/1.55 var(--text); }
a { color: var(--ice); }
button { font: inherit; cursor: pointer; border: 0; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.top { display: flex; align-items: center; gap: 18px; padding: 14px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
/* YourShot's wordmark, as on the Your Shot site: semibold, tracked in a little. */
.brand { display: flex; align-items: center; gap: 9px; font: 600 18px var(--text); letter-spacing: -0.035em; color: var(--ivory); text-decoration: none; }
.brand svg { width: 20px; height: 20px; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--haze); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 13.5px; }
nav a.on, nav a:hover { background: var(--card); color: var(--ivory); }
.who { margin-left: auto; color: var(--haze); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; min-width: 0; }
.who #whoName { overflow-wrap: anywhere; } #whoTeam { color: var(--ivory); }
.who select { width: auto; max-width: 220px; padding: 4px 8px; font-size: 13px; background: var(--card); }
main { max-width: 760px; margin: 0 auto; padding: 28px 24px 64px; }
h1 { font-size: 24px; margin: 0 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 16px; margin: 26px 0 8px; }
p.lead { color: var(--haze); margin: 0 0 20px; }
.muted { color: var(--haze); } .small { font-size: 12.5px; }
.card { background: var(--card); border-radius: 14px; padding: 16px 18px; margin: 12px 0; }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.signin { max-width: 420px; margin: 12vh auto 0; }
.btn.wide { display: block; width: 100%; text-align: center; padding: 10px 16px; }
.btn.google { display: flex; align-items: center; justify-content: center; gap: 10px; }
.gmark { display: inline-flex; }
.signin form .btn.main { margin-top: 14px; }
.signin .or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; margin: 14px 0 0; }
.signin .or::before, .signin .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.signin .links { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 14px; }
.signin .switch { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.signin .switch .textbtn { font-size: inherit; color: var(--ice); }
.signin-foot { max-width: 420px; margin: 14px auto 0; text-align: center; } .signin-foot a { color: var(--dim); }
/* The privacy policy: a reading page. */
.doc { max-width: 680px; } .doc h2 { font-size: 17px; margin-top: 30px; } .doc h3 { font-size: 14px; margin: 18px 0 4px; }
.doc p, .doc li { color: var(--haze); line-height: 1.65; } .doc ul { padding-left: 20px; } .doc li { margin: 4px 0; }
.doc mark { background: var(--ice); color: var(--on-ice); border-radius: 4px; padding: 0 4px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > label { margin: 0; } .row select { width: auto; } .grow { flex: 1; min-width: 200px; }
/* A line of text with its button on the right; the text wraps, the button stays put. */
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 0; }
.line.ruled { border-top: 1px solid var(--line); padding: 8px 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input.short { max-width: 90px; }
dd { margin: 0 0 10px; } .card ol { padding-left: 22px; } .card ol li { margin: 2px 0; }
.btn { border-radius: 9px; padding: 9px 16px; background: var(--control); color: var(--ivory); font-weight: 500; font-size: 13.5px; text-decoration: none; display: inline-block; }
.btn:hover { background: var(--hover); } .btn.main { background: var(--ice); color: var(--on-ice); } .btn.small { padding: 6px 12px; font-size: 12.5px; }
.btn.danger { color: var(--bad); } .btn:disabled { opacity: .45; cursor: default; }
.textbtn { background: none; color: var(--haze); text-decoration: underline; text-underline-offset: 3px; padding: 0; font-size: 12.5px; }
label { display: grid; gap: 5px; font-size: 12.5px; color: var(--haze); margin: 10px 0; }
input[type=text], input[type=email], input[type=url], input[type=password], textarea, select { font: 14px/1.45 var(--text); background: var(--canvas); color: var(--ivory); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; width: 100%; }
textarea { resize: vertical; }
.hint { color: var(--dim); font-size: 12px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--control); font-size: 12px; color: var(--haze); }
.steps li.done::before { content: '✓'; background: var(--ok); color: var(--on-ice); }
.steps b { display: block; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 10px 6px; border-top: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.members td { overflow-wrap: anywhere; } .members td:last-child { text-align: right; } .members select { width: auto; min-width: 104px; }
th { color: var(--haze); font-weight: 500; font-size: 12px; border-top: 0; }
code, .code { font: 13px/1.5 ui-monospace, 'SF Mono', Menlo, monospace; background: var(--canvas); border: 1px solid var(--line); border-radius: 8px; padding: 2px 6px; }
.code { display: block; padding: 10px 12px; word-break: break-all; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ice); color: var(--on-ice); padding: 9px 16px; border-radius: 10px; font-size: 13.5px; max-width: calc(100vw - 32px); width: max-content; text-align: center; }
.toast.bad { background: var(--bad); color: var(--on-ice); } /* not .bad's own pink text, which vanished on the pink */
.pill { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--control); color: var(--haze); }
.ok { color: var(--ok); } .bad { color: var(--bad); }
.follow { border-top: 1px solid var(--line); padding: 12px 0 4px; margin-top: 8px; } .follow .line.ruled { padding: 6px 0; }
.filter { margin: 4px 0 8px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pill.checked { margin-left: 8px; }
.pill.fits { margin-left: 8px; background: var(--ice); color: var(--on-ice); } /* a profile viewer who fits the ideal customer */
.card > .line h2 { margin: 0; }
.code.prompt { word-break: normal; overflow-wrap: anywhere; font: 13.5px/1.5 var(--text); }
.credit { margin: 10px 0; } .credit p { margin: 6px 0 0; }
.meter { height: 6px; border-radius: 3px; background: var(--control); overflow: hidden; } .meter span { display: block; height: 100%; background: var(--ice); }
.result-row { display: grid; gap: 6px; background: var(--canvas); border-radius: 10px; padding: 10px; margin: 8px 0; }
@media (max-width: 560px) {
  .top { padding: 12px 16px; } main { padding: 20px 16px 48px; } .who { margin-left: 0; width: 100%; }
  /* Members: the name on its own line, the role and Remove under it. */
  .members thead { display: none; }
  .members tr { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; border-top: 1px solid var(--line); padding: 10px 0; }
  .members tbody tr:first-child { border-top: 0; }
  .members td { border: 0; padding: 0; } .members td:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
  .signin { margin-top: 6vh; }
}

/* The AI-native first step: the drop area for the file the AI gives back, the summary, and the "update it all" fold */
.drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 26px 16px; border: 1.5px dashed rgba(255, 255, 255, 0.18); border-radius: 12px; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--ice); background: rgba(207, 220, 255, 0.05); }
.done-card { box-shadow: inset 3px 0 0 var(--ok); }
.done-card p { margin: 6px 0; }
.rerun summary { cursor: pointer; font-weight: 600; }
.rerun[open] summary { margin-bottom: 10px; }
.rerun .drop { margin-top: 12px; }
@media (max-width: 560px) { .steps li { grid-template-columns: 28px 1fr; } .steps li > :last-child { grid-column: 2; } }

/* Onboarding: the three steps, the waiting line, two cards side by side */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); background: var(--card); border-radius: 999px; padding: 5px 12px 5px 6px; }
.stepper li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--control); color: var(--haze); font-size: 12px; }
.stepper li.on { color: var(--ivory); } .stepper li.on span { background: var(--ice); color: var(--on-ice); }
.stepper li.done { color: var(--haze); } .stepper li.done span { background: var(--ok); color: var(--on-ice); font-size: 0; } .stepper li.done span::after { content: '✓'; font-size: 12px; }
.waiting { display: flex; align-items: center; gap: 10px; color: var(--haze); font-size: 13.5px; margin: 16px 2px; }
.waiting i { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); animation: kpulse 1.4s ease-in-out infinite; }
@keyframes kpulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .waiting i { animation: none; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two .card { margin: 0; }
.code.grow { flex: 1; min-width: 0; }
ol.plain { margin: 6px 0 0; padding-left: 20px; color: var(--haze); font-size: 13.5px; }
ol.plain li { margin: 4px 0; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
