/* next.css: What's next. The idea box (a capture bar for ideas) and the board. Loaded after folio.css and roles.css. */
.nx-hero h1 { max-width: 15em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ask-card { margin-top: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px 18px; box-shadow: var(--shadow); max-width: 860px; }
.ask-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ask-note { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--dim); }
.ask-field { display: block; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 14px 16px; transition: border-color 200ms, box-shadow 200ms; }
.ask-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ask-field textarea { width: 100%; border: 0; background: transparent; resize: none; outline: none; font: inherit; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; color: var(--ink); min-height: 1.4em; display: block; }
.ask-field textarea::placeholder { color: var(--dim); opacity: 0.8; }
.ask-role { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ask-role legend { float: left; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-right: 6px; padding: 0; }
.ask-role label { cursor: pointer; }
.ask-role input { position: absolute; opacity: 0; pointer-events: none; }
.ask-role span { display: inline-block; font-size: 14px; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-wet); min-height: 32px; }
.ask-role input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.ask-role input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.ask-live { margin-top: 12px; display: grid; gap: 10px; }
.ask-live:empty { display: none; }
.ask-live .grp { display: grid; gap: 6px; }
.ask-live .k { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.ask-live .hit { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 18px; padding: 6px 10px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.ask-live .hit:hover { border-color: var(--accent); }
.ask-live .st { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding: 2px 7px; border-radius: 6px; white-space: nowrap; color: var(--accent-ink); background: var(--accent-soft); }
.ask-live .st.exploring { color: var(--capture); background: color-mix(in srgb, var(--capture) 12%, transparent); }
.ask-live .st.shipped, .ask-live .st.yes { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.ask-live .fresh { font-size: 14.5px; color: var(--ink-wet); }
.ask-phi { margin-top: 12px; font-size: 14px; color: var(--behind); background: color-mix(in srgb, var(--behind) 8%, transparent); border: 1px solid color-mix(in srgb, var(--behind) 30%, transparent); border-radius: 10px; padding: 8px 12px; }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.ask-actions .btn.off { opacity: 0.45; cursor: not-allowed; }
.ask-actions .btn.quiet { background: transparent; color: var(--accent-ink); border: 1px solid var(--line); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.ask-fine { font-size: 13px; color: var(--dim); flex: 1 1 260px; }

/* the board */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; align-items: start; }
.shipped-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; align-items: stretch; }
.shipped-grid .bcard { margin: 0; display: flex; flex-direction: column; }
.shipped-grid .bcard .meta { margin-top: auto; padding-top: 10px; }
.lane-col h2 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.lane-col h2 .n { font-family: var(--mono); letter-spacing: 0; color: var(--faint); font-weight: 500; }
.lane-col .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.lane-col.exploring .dot { background: var(--capture); }
.lane-col.shipped .dot { background: var(--ok); }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px; margin-bottom: 12px; border-top: 3px solid var(--accent); transition: box-shadow 300ms, border-color 300ms; scroll-margin-top: calc(var(--hdr, 66px) + 24px); }
.bcard.exploring { border-top-color: var(--capture); }
.bcard.shipped { border-top-color: var(--ok); }
.bcard h3 { font-size: 20px; margin: 0 0 6px; line-height: 1.25; }
.bcard p { margin: 0; font-size: 14.5px; color: var(--ink-wet); }
.bcard .said { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink); margin-bottom: 10px; padding-left: 10px; border-left: 2px solid var(--line); }
.bcard .said span { display: block; font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 2px; }
.bcard .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; font-size: 12.5px; color: var(--dim); align-items: center; }
.bcard .rel { font-family: var(--mono); font-size: 12px; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); border-radius: 6px; padding: 1px 6px; }
.bcard .for::before { content: "For "; }
.bcard.flash { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.lane-col.shipped:not(:has(.bcard))::after { content: "Shipped requests will show here, with their version and date."; display: block; font-size: 14px; color: var(--dim); border: 1px dashed var(--line); border-radius: 14px; padding: 14px; }

@media (max-width: 900px) {
  .board, .shipped-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .bcard, .ask-field { transition: none; } }
