/* The buglist page and the private status page (Track G, Task G-7; spec 7.4, SHEET-4). Loaded on /buglist/ and
   /feedback/status/ only. The site's own language: charcoal surfaces, cyan for what you can act on, the Segoe UI Variable
   stack, glass panels, Caveat only for our hand notes to a credited proposer. Two meanings of its own, used for nothing
   else: amber is "being built", mint is "shipped". No inline style attributes (the site's CSP forbids them). */
:root { --bl-build: #e5b657; --bl-build-tint: rgba(229, 182, 87, .10); --bl-build-line: rgba(229, 182, 87, .38);
  --bl-ship: #8fd6b4; --bl-ship-tint: rgba(143, 214, 180, .09); --bl-ship-line: rgba(143, 214, 180, .38); }
.bl [hidden], .fbs [hidden] { display: none !important; }

.bl { padding: 36px 0 80px; background: var(--bg-deep); }
.bl-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.bl-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.bl-h1 { margin: 0; font: 650 clamp(34px, 3.4vw, 52px)/1.05 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.bl-lead { margin: 12px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* The statuses, a real sequence, so numbered; the two endings get a dot instead of a number. */
.bl-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: bl; }
.bl-steps li { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px 4px 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 13.5px; line-height: 1.3; color: var(--text); counter-increment: bl; }
.bl-steps li::before { content: counter(bl); display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--raised); color: var(--muted); font-size: 12px; font-weight: 650; }
.bl-steps li.is-end::before { content: ""; width: 10px; height: 10px; margin: 0 5px; background: var(--bl-ship); }
.bl-steps li.is-alt::before { content: ""; width: 10px; height: 10px; margin: 0 5px; background: var(--dim); }

.bl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 14px; }
.bl-chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 13.5px/1 var(--font-ui); cursor: pointer; }
.bl-chip:hover { border-color: var(--line-strong); color: var(--text); }
.bl-chip[aria-pressed="true"] { border-color: var(--glass-hot-line); background: var(--accent-tint); color: var(--text); }
.bl-chip:focus-visible, .bl-head-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bl-empty { display: flex; align-items: flex-start; gap: 10px; margin: 30px 0 0; padding: 18px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; line-height: 1.5; }
.bl-empty .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.bl-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.bl-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px; gap: 18px; align-items: start; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.bl-id { font: 600 13.5px/1.6 var(--font-ui); color: var(--dim); font-variant-numeric: tabular-nums; }
.bl-item h2 { margin: 0; max-width: 60ch; font: 600 16.5px/1.4 var(--font-ui); color: var(--text); text-wrap: pretty; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.bl-kind { color: var(--text); }
.bl-credit { color: var(--accent-hover); }
.bl-note { margin: 8px 0 0; }
.bl-note .hand { font-size: 21px; line-height: 1.1; }
.bl-status { justify-self: end; display: grid; gap: 6px; text-align: right; }
.bl-pill { justify-self: end; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font: 600 13px/1 var(--font-ui); white-space: nowrap; }
.bl-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bl-pill[data-s="in-progress"] { color: var(--bl-build); border-color: var(--bl-build-line); background: var(--bl-build-tint); }
.bl-pill[data-s="planned"] { color: var(--blue); border-color: rgba(141, 183, 238, .35); }
.bl-pill[data-s="read"] { color: var(--text); }
.bl-pill[data-s="fixed"] { color: var(--bl-ship); border-color: var(--bl-ship-line); background: var(--bl-ship-tint); }
.bl-pill[data-s="not-planned"] { color: var(--dim); }
.bl-why { max-width: 220px; font-size: 12.5px; line-height: 1.45; color: var(--dim); }
.bl-none { margin: 18px 4px 0; font-size: 14.5px; color: var(--muted); }

/* The site's feedback form: the same four kinds as the app; no picture and no diagnostics on the site (G-36). */
.bl-send { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 40px; margin-top: 56px; padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--glass-line); background: var(--glass-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); scroll-margin-top: calc(var(--header-h) + 16px); }
.bl-send h2 { margin: 0; font: 650 28px/1.15 var(--font-display); color: var(--text); }
.bl-send-copy p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.bl-send-main { min-width: 0; }
.bl-form { display: grid; gap: 18px; }
.bl-kinds { margin: 0; padding: 0; border: 0; min-width: 0; }
.bl-kinds legend { padding: 0 0 8px; font: 600 14px/1.3 var(--font-ui); color: var(--text); }
.bl-segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .22); }
.bl-segs label { position: relative; display: grid; place-items: center; min-height: 40px; padding: 0 8px; border-radius: 9px; font: 600 14px/1 var(--font-ui); color: var(--muted); cursor: pointer; }
.bl-segs label:hover { color: var(--text); }
.bl-segs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bl-segs label:has(input:checked) { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--glass-hot-line); }
.bl-segs label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.bl-field { display: grid; gap: 6px; min-width: 0; }
.bl-label { font: 600 14px/1.4 var(--font-ui); color: var(--text); }
.bl-prompt { margin: 0; max-width: 62ch; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.bl-field .input { font-size: 15px; }
.bl-field textarea.input { min-height: 132px; padding: 11px 14px; line-height: 1.5; resize: vertical; }
.bl-hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--dim); }
.bl-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 10px; align-items: start; }
.bl-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.bl-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bl-check label { font: 600 14px/1.45 var(--font-ui); color: var(--text); cursor: pointer; }
.bl-check .bl-hint { grid-column: 2; }
.bl-name { margin-left: 30px; max-width: 320px; }
.bl-status-line { min-height: 0; }
.bl-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bl-actions p { margin: 0; max-width: 52ch; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.bl-actions a { color: var(--accent-hover); text-underline-offset: 3px; }
.bl-actions .btn { flex: none; }

/* After sending: the receipt replaces the form. */
.bl-receipt { display: grid; gap: 12px; padding: 4px 0; outline: none; }
.bl-receipt:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.bl-receipt-h { display: flex; align-items: center; gap: 10px; margin: 0; font: 650 22px/1.2 var(--font-display); color: var(--text); }
.bl-receipt-h .i { width: 22px; height: 22px; color: var(--ok); }
.bl-receipt-line { margin: 0; max-width: 62ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.bl-receipt-line:empty { display: none; }
.bl-receipt-link { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--glass-hot-line); background: var(--accent-tint); font-size: 14px; line-height: 1.5; color: var(--muted); }
.bl-receipt-link .i { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.bl-receipt-link a { font-weight: 600; color: var(--accent-hover); text-underline-offset: 3px; }
.bl-receipt .bl-steps { margin: 0; }
.bl-receipt-again { margin: 4px 0 0; }

/* The private status page. */
.fbs { padding-bottom: 72px; }
.fbs-card { display: grid; gap: 14px; margin-top: 22px; padding: 24px; }
.fbs-result { display: grid; gap: 14px; }
.fbs-intro { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.fbs-id { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 15px; color: var(--muted); }
.fbs-num { font: 650 26px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.fbs-steps .bl-steps { margin: 4px 0 0; }
.fbs-steps .bl-steps li.is-done { color: var(--muted); }
.fbs-steps .bl-steps li.is-done::before { background: rgba(87, 203, 233, .16); color: var(--accent-hover); }
.fbs-steps .bl-steps li[aria-current="step"] { border-color: var(--glass-hot-line); background: var(--accent-tint); color: var(--text); box-shadow: var(--glow); }
.fbs-steps .bl-steps li[aria-current="step"]::before { background: var(--accent); color: var(--on-accent); }
.fbs-steps .bl-steps li.is-end[aria-current="step"]::before { background: var(--bl-ship); }
.fbs-word { margin: 0; max-width: 62ch; font-size: 15px; line-height: 1.55; color: var(--text); }
.fbs-foot { margin: 4px 0 0; }

@media (max-width: 899px) {
  .bl-head { grid-template-columns: 1fr; align-items: start; }
  .bl-head-go { justify-self: start; }
  .bl-item { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 14px; }
  .bl-status { grid-column: 2; justify-self: start; text-align: left; }
  .bl-pill { justify-self: start; }
  .bl-why { max-width: none; }
  .bl-send { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
}
@media (max-width: 719px) {
  .bl { padding: 22px 0 56px; }
  .bl-wrap { width: calc(100% - 32px); }
  .bl-segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-send { padding: 18px 16px; margin-top: 40px; }
  .bl-actions { flex-direction: column; align-items: stretch; }
  .bl-name { margin-left: 0; }
  .fbs-card { padding: 18px 16px; }
}
/* Motion: only the hover colour eases, and only under Full (the footer switch; Reduced and Off, or a system that asks for
   reduced motion, change at once). */
html[data-motion="full"] .bl-chip, html[data-motion="full"] .bl-segs label { transition: border-color var(--sb-dur-hover) var(--sb-ease-out), color var(--sb-dur-hover) var(--sb-ease-out), background-color var(--sb-dur-hover) var(--sb-ease-out); }
