/* Bill Runner One - the trial page (plans/billing_trial_page_plan.md § 1). The title is Grid Runner's front page
   (gbprogsV2 frontend/src/components/gbSFront.jsx): font-black, tracking-tighter, a cyan > blue > purple gradient
   clipped to the text, a blue glow, 8vw, fading in and sliding up on a dark ground - in plain CSS. */
:root {
  --ground: #0b1020;
  --card: #141b2e;
  --line: #26304a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --green: #16a34a;
  --green-hover: #15803d;
  --grey: #4b5563;
  --red: #f87171;
  --blue: #60a5fa;
  --amber: #fbbf24;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.splash { text-align: center; padding: 28px 16px 8px; }
.title {
  margin: 0; font-size: 8vw; font-weight: 900; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(to right, #22d3ee, #3b82f6, #9333ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5)); transform: scaleY(1.05);
  animation: rise 0.7s ease-out both;
}
.headline { color: var(--muted); margin: 10px 0 0; font-size: 1.05rem; animation: rise 0.9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }
.app { max-width: 1100px; margin: 0 auto; padding: 16px; display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.card.red { border-color: var(--red); color: var(--red); font-weight: 600; }
h2 { margin: 0 0 10px; font-size: 1.05rem; color: var(--blue); }
.note { color: var(--muted); margin: 6px 0 0; }
#need-list { margin: 0; padding-left: 18px; }
#need-list li { margin-bottom: 6px; }
#need-list .eg { color: var(--muted); font-size: 0.9em; }
.inputs { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.row { display: flex; gap: 8px; }
input, select { width: 100%; background: #0f1528; color: var(--text); border: 1px solid var(--line);
  border-radius: 6px; padding: 9px 10px; font: inherit; }
input[readonly] { color: var(--muted); }
select { width: auto; min-width: 180px; }
.hint { color: var(--muted); display: block; margin-top: 4px; }
.ways { padding-left: 18px; margin: 6px 0 0; }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 18px; display: flex; gap: 12px;
  align-items: center; justify-content: space-between; cursor: pointer; outline: none; }
.drop:focus, .drop.over { border-color: var(--blue); background: rgba(96, 165, 250, 0.06); }
button, .download { font: inherit; border-radius: 8px; border: 0; padding: 9px 16px; cursor: pointer;
  text-decoration: none; display: inline-block; }
.secondary { background: #1f2a44; color: var(--text); border: 1px solid var(--line); }
.secondary:hover { background: #26345a; }
.progress { height: 8px; background: #0f1528; border-radius: 4px; margin-top: 10px; overflow: hidden; }
#bar { height: 100%; width: 0; background: var(--blue); transition: width 0.2s; }
.files { list-style: none; padding: 0; margin: 10px 0 0; max-height: 180px; overflow: auto; font-size: 0.9em; }
.files li { padding: 2px 0; color: var(--muted); }
.files .kind { color: var(--text); font-weight: 600; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.run { font-size: 1.5rem; font-weight: 800; padding: 18px 40px; border-radius: 12px; color: #fff;
  background: var(--grey); min-width: 340px; }
.run:not(:disabled) { background: var(--green); box-shadow: 0 0 24px rgba(22, 163, 74, 0.45); }
.run:not(:disabled):hover { background: var(--green-hover); }
.run:disabled { cursor: default; }
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pane { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  display: flex; flex-direction: column; min-height: 360px; }
.output, .chat { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; max-height: 460px;
  font-size: 0.93em; }
.output li { padding: 3px 0; border-bottom: 1px solid rgba(38, 48, 74, 0.5); }
.output li.red { color: var(--red); font-weight: 600; }
.output li.summary { color: #86efac; font-weight: 600; }
.output li.beat { color: var(--muted); font-style: italic; }
.chat li { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: #0f1528; white-space: pre-wrap; }
.chat li.T { background: #1e3a5f; margin-left: 15%; }
.chat li.W, .chat li.O { margin-right: 15%; }
.chat li.ask { border-left: 3px solid var(--amber); }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
@media (max-width: 760px) {
  .panes { grid-template-columns: 1fr; }
  .run { min-width: 0; width: 100%; }
  .title { font-size: 12vw; }
}
