:root {
  --ink: #1A1A1A; --g6: #636466; --g4: #9C9B9C; --g3: #C7C8CA; --g2: #EEEEEE; --g1: #F8F8F8;
  --red: #ED1C24; --dred: #B11116; --teal: #006574; --tealbg: #E2F1F2; --green: #3F6B4F; --greenbg: #E8F1EA;
  --amber: #7A4F12; --amberbg: #FBF0E0; --redbg: #FDE4E5; --slate: #494E5E;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--g1); color: var(--ink); font: 15px/1.5 Aptos, "Segoe UI", Inter, system-ui, sans-serif; }
a { color: var(--teal); } a:hover { color: #004B57; }
header.top { background: #fff; border-bottom: 1px solid #E6E6E6; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
header.top .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.brand img { height: 22px; }
.brand .sep { width: 1px; height: 28px; background: var(--g3); }
.brand b { font-size: 17px; display: block; } .brand small { color: var(--g6); font-size: 12px; }
nav.main a { margin-left: 18px; font-weight: 600; text-decoration: none; color: var(--ink); }
nav.main a.on { border-bottom: 3px solid var(--red); padding-bottom: 4px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--greenbg); color: var(--green); } .pill.warn { background: var(--amberbg); color: var(--amber); }
main { padding: 28px 24px 40px; max-width: 1320px; margin: 0 auto; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
h1 { margin: 4px 0 0; font-size: 34px; letter-spacing: -.01em; }
h1 + .bar, .bar { width: 56px; height: 4px; background: var(--red); margin: 10px 0 0; }
.lead { color: var(--g6); margin: 10px 0 0; max-width: 900px; }
h2 { margin: 0 0 8px; font-size: 18px; }
.grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 22px; }
.col-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.card { background: #fff; border: 1px solid #E6E6E6; border-radius: 4px; padding: 20px; }
.card.dark { background: var(--ink); color: #fff; border: none; }
.muted { color: var(--g6); font-size: 13px; }
.tag { font-size: 11px; font-weight: 600; color: var(--teal); background: var(--tealbg); padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.tag.inf { color: var(--amber); background: var(--amberbg); }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip.good { background: var(--greenbg); color: var(--green); } .chip.mid { background: var(--amberbg); color: var(--amber); }
.chip.bad { background: var(--redbg); color: var(--dred); } .chip.grey { background: var(--g2); color: var(--slate); }
.chip.vbad { background: var(--dred); color: #fff; }
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--g6); font-weight: 600; }
input[type=text], input[type=search], textarea, select { font: inherit; font-size: 14px; border: 1px solid var(--g3); border-radius: 6px; padding: 8px 10px; color: var(--ink); background: #fff; width: 100%; }
textarea { resize: vertical; min-height: 60px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; border: 1px solid var(--g3); background: #fff; color: var(--ink); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.green { background: #4E7D5F; border-color: #4E7D5F; color: #fff; }
.btn.outline-red { border-color: var(--red); color: var(--red); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; color: var(--g6); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid #E6E6E6; }
table.t td { padding: 9px 6px; border-bottom: 1px solid var(--g2); vertical-align: top; }
.scroll { overflow-x: auto; }
.q { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(220px, 320px); gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--g2); }
.q .num { color: var(--g6); font-size: 13px; padding-top: 2px; }
.q .text { font-weight: 600; font-size: 14px; }
.q .why { color: var(--slate); font-size: 13px; margin-top: 4px; }
.q .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.q form { display: flex; flex-direction: column; gap: 6px; }
.q.changed { background: #FFFBF3; }
.group-h { padding: 14px 6px 4px; font-size: 12px; font-weight: 700; color: var(--g6); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 800px) { .q { grid-template-columns: 36px minmax(0, 1fr); } .q form { grid-column: 2; } }
.kv { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0; }
.big { font-size: 28px; font-weight: 700; }
.verdict { font-size: 30px; font-weight: 700; color: #fff; background: #4E7D5F; padding: 6px 16px; border-radius: 8px; display: inline-block; }
.verdict.nogo { background: var(--red); }
.progress { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.progress li::before { content: "✓ "; color: #4E7D5F; font-weight: 700; }
.progress li:last-child::before { content: "… "; color: var(--red); }
.banner { padding: 12px 16px; border-radius: 6px; font-size: 14px; background: var(--amberbg); color: var(--amber); }
.banner.err { background: var(--redbg); color: var(--dred); }
.log li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--g2); font-size: 13px; }
.log { list-style: none; margin: 0; padding: 0; }
footer.f { text-align: center; font-size: 10px; letter-spacing: .06em; color: var(--g4); padding: 0 0 28px; }
.snippet b { background: #FFF1B8; font-weight: 600; }
blockquote.src { margin: 0; padding: 14px 16px; background: var(--g1); border-left: 3px solid var(--ink); white-space: pre-wrap; }
details summary { cursor: pointer; font-weight: 600; }

/* ---------- live run view ---------- */
.run { border-top: 4px solid var(--red); }
.run-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.run-title { margin: 6px 0 4px; font-size: 24px; }
.run-clock { display: flex; flex-direction: column; align-items: flex-end; }
.run-clock b { font-size: 30px; font-variant-numeric: tabular-nums; }
.flow { list-style: none; margin: 26px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.flow .node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 4px; }
.flow .node::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 3px; background: var(--g2); z-index: 0; }
.flow .node:first-child::before { display: none; }
.flow .node.done::before, .flow .node.now::before { background: #4E7D5F; }
.flow .dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 999px; background: #fff; border: 3px solid var(--g3);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--g6); }
.flow .lbl { font-weight: 700; font-size: 14px; margin-top: 4px; }
.flow .sub { font-size: 12px; color: var(--g6); }
.flow .node.done .dot { background: #4E7D5F; border-color: #4E7D5F; color: #fff; }
.flow .node.done .dot .n { display: none; }
.flow .node.done .dot::after { content: "✓"; font-size: 18px; }
.flow .node.now .dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 0 rgba(237, 28, 36, .45); animation: ring 1.6s infinite; }
.flow .node.now .lbl { color: var(--red); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(237, 28, 36, .45); } 70% { box-shadow: 0 0 0 14px rgba(237, 28, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, 0); } }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow .node { flex-direction: row; text-align: left; gap: 12px; }
  .flow .node::before { display: none; }
  .flow .sub { margin-left: auto; }
}
.pulse-line { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 12px 14px; background: var(--g1); border-radius: 6px; font-size: 14px; }
.pulse-line .beat { flex: none; width: 10px; height: 10px; border-radius: 999px; background: var(--red); animation: beat 1.2s ease-in-out infinite; }
.pulse-line.slow { background: var(--amberbg); color: var(--amber); }
@keyframes beat { 0%, 100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flow .node.now .dot, .pulse-line .beat { animation: none; } }
.run-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; align-items: flex-start; }
.stats { flex: 1 1 220px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--g1); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; }
.stat b { font-size: 22px; font-variant-numeric: tabular-nums; }
.feed { flex: 999 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.feed-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--g2); font-size: 14px; }
.feed-item .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feed-item .ic { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--g2); color: var(--slate); }
.feed-item.search .ic { background: var(--tealbg); color: var(--teal); }
.feed-item.tech .ic { background: #F1EAF5; color: #6B4C7A; }
.feed-item.read .ic { background: var(--amberbg); color: var(--amber); }
.feed-item.latest { font-weight: 600; }
.feed-item .tm { color: var(--g4); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- context fields ---------- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
@media (max-width: 760px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--g2); border-radius: 6px; background: #fff; min-width: 0; }
.field.is-inferred { background: #FFFBF3; border-color: #F3E2C4; }
.field.is-missing { background: #FFF6F6; border-color: #F5C6C8; }
.field-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field-label .req { color: var(--red); }
.field-meta { display: flex; gap: 6px; align-items: center; min-width: 0; font-size: 12px; color: var(--g6); }
.field-src { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tag.miss { color: var(--dred); background: var(--redbg); }

.feed-item.web .ic { background: #E7EEF8; color: #1F4E8C; }
.field-src a, .tag a { color: inherit; }

/* ---------- shell with sidebar ---------- */
.shell { display: flex; min-height: 100vh; }
.side { flex: none; width: 248px; background: #fff; border-right: 1px solid #E6E6E6; padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; box-sizing: border-box; }
.side-brand { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); padding: 4px 8px 10px; border-bottom: 1px solid var(--g2); }
.side-brand img { height: 20px; width: auto; align-self: flex-start; }
.side-brand b { display: block; font-size: 16px; } .side-brand small { color: var(--g6); font-size: 12px; }
.side-h { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g6); padding: 0 8px 6px; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; min-height: 40px; box-sizing: border-box; }
.side-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-link:hover { background: var(--g1); color: var(--ink); }
.side-link.on { background: var(--redbg); color: var(--dred); }
.side-step { display: flex; align-items: center; gap: 10px; padding: 6px 10px; font-size: 13px; color: var(--g6); }
.side-step .sd { width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--g3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: none; box-sizing: border-box; }
.side-step.done { color: var(--ink); } .side-step.done .sd { background: #4E7D5F; border-color: #4E7D5F; color: #fff; }
.side-step.now { color: var(--dred); font-weight: 700; } .side-step.now .sd { border-color: var(--red); color: var(--red); }
.side-step small { color: var(--g4); font-weight: 400; }
.side-foot { margin-top: auto; padding: 0 8px; }
.content { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.content main { width: 100%; box-sizing: border-box; }
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .side { width: auto; height: auto; position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px; border-right: none; border-bottom: 1px solid #E6E6E6; align-items: center; }
  .side-brand { border-bottom: none; padding: 0 8px 0 0; } .side-brand span { display: none; }
  .side-h, .side-foot { display: none; }
  .side-group { flex-direction: row; flex-wrap: wrap; }
  .side-group:has(.side-step) { display: none; }
  .side-link { padding: 6px 8px; min-height: 36px; }
}
/* ---------- process tracker on the bid page ---------- */
.tracker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fff; border: 1px solid #E6E6E6; border-radius: 4px; padding: 16px 10px 12px; }
.tk { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 4px; }
.tk::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--g2); }
.tk:first-child::before { display: none; }
.tk.done::before, .tk.now::before { background: #4E7D5F; }
.tk-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 999px; border: 3px solid var(--g3); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--g6); box-sizing: border-box; }
.tk-lbl { font-size: 13px; font-weight: 600; }
.tk-soon { font-size: 11px; color: var(--g4); }
.tk.done .tk-dot { background: #4E7D5F; border-color: #4E7D5F; color: #fff; }
.tk.now .tk-dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 4px var(--redbg); }
.tk.now .tk-lbl { color: var(--dred); }
.tk.soon .tk-lbl { color: var(--g6); font-weight: 500; }
.tracker.closed .tk.done:last-of-type .tk-dot { background: var(--red); border-color: var(--red); }
.tracker-note { margin-top: 8px; font-size: 14px; color: var(--slate); }
.tracker-note.bad b { color: var(--dred); }
@media (max-width: 760px) {
  .tracker { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px; }
  .tk { flex-direction: row; text-align: left; gap: 10px; } .tk::before { display: none; }
}
/* ---------- mini tracker in the bid list ---------- */
.mini { display: flex; gap: 3px; margin-bottom: 4px; }
.mini .m { width: 16px; height: 6px; border-radius: 3px; background: var(--g2); }
.mini .m.done { background: #4E7D5F; } .mini .m.now { background: var(--red); }
.mini .m.soon.todo { background: repeating-linear-gradient(90deg, var(--g2) 0 3px, #fff 3px 5px); }
.mini-lbl { font-size: 13px; font-weight: 600; } .mini-lbl.bad { color: var(--dred); } .mini-lbl.is-running { color: var(--red); }

a.side-step, a.tk { text-decoration: none; color: inherit; }
a.side-step:hover { background: var(--g1); border-radius: 6px; }
a.tk:hover .tk-lbl { text-decoration: underline; }

/* ---------- proposal build ---------- */
fieldset.topic { border: 1px solid var(--g2); border-radius: 6px; padding: 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
fieldset.topic legend { padding: 0 6px; font-size: 16px; }
.topic-q { font-weight: 600; font-size: 14px; }
.topic-s { font-size: 13px; color: var(--teal); background: var(--tealbg); border-radius: 6px; padding: 8px 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--g3); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 36px; box-sizing: border-box; }
.opt:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input { accent-color: var(--red); }
.outline { display: flex; flex-direction: column; border-top: 1px solid var(--g2); margin-top: 8px; }
.sec { border-bottom: 1px solid var(--g2); }
.sec summary { display: flex; align-items: center; gap: 10px; padding: 10px 4px; cursor: pointer; list-style: none; flex-wrap: wrap; }
.sec summary::-webkit-details-marker { display: none; }
.sec.lvl1 summary { font-size: 16px; font-weight: 700; background: var(--g1); }
.sec.lvl3 summary { padding-left: 28px; }
.sec-num { color: var(--red); font-weight: 700; min-width: 34px; font-variant-numeric: tabular-nums; }
.sec-title { font-weight: 600; flex: 1 1 auto; }
.sec-body { padding: 4px 8px 14px 48px; font-size: 14px; line-height: 1.6; }
.sec-body p { margin: 0 0 8px; }
table.doc-t caption { text-align: left; font-size: 12px; color: var(--g6); padding: 6px 0; caption-side: top; }
table.doc-t th { background: var(--ink); color: #fff; }
.pp { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--g2); font-size: 13px; }
.pp-dot { color: var(--red); flex: none; } .pp.off { opacity: .55; } .pp.off .pp-dot { color: var(--g4); }

/* ---------- pricing ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.diff { border: 1px solid var(--g2); border-radius: 6px; padding: 12px; margin-top: 10px; }
.diff.open { border-color: #F5C6C8; background: #FFF9F9; }
.diff-grid { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 12px; font-size: 13px; margin-top: 8px; }
.sheet-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.sheet-tabs a { font-size: 12px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--g3); border-radius: 6px 6px 0 0; text-decoration: none; color: var(--slate); background: var(--g1); }
.sheet-tabs a.on { background: #fff; color: #3F6B4F; border-color: #3F6B4F; }
.sheet { max-height: 420px; border: 1px solid var(--g3); }
table.xl { font-size: 12px; }
table.xl th { background: var(--g2); color: var(--g6); width: 34px; text-align: center; position: sticky; left: 0; }
table.xl td { white-space: nowrap; border-right: 1px solid var(--g2); padding: 5px 8px; }
table.edit-t input, table.edit-t select { padding: 6px 8px; font-size: 13px; }
table.edit-t td { padding: 4px; }

.est { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
@media (max-width: 760px) { .est { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.btn-link { border: none; background: none; padding: 6px 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--teal); cursor: pointer; text-decoration: underline; min-height: 32px; }
.btn-link.danger { color: var(--dred); }

.sec-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sec-edit { margin-top: 10px; border-top: 1px dashed var(--g3); padding-top: 8px; }
.sec-edit summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--teal); }
form.redo { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
form.redo input { flex: 1 1 320px; }
.unsaved { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: var(--amberbg); color: var(--amber); border-radius: 6px; padding: 10px 14px; margin: 10px 0; }

/* ---------- visual risk mode ---------- */
.vm-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
@media (max-width: 900px) { .vm-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vm-summary .stat b { font-size: 18px; }
.dflow { display: flex; align-items: flex-start; gap: 0; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; }
.dnode, .dq, .dout { border-radius: 6px; padding: 12px; font-size: 13px; box-sizing: border-box; }
.dnode { flex: none; width: 150px; border: 2px solid var(--g3); background: var(--g1); text-align: center; margin-top: 4px; }
.dnode.end.on { border-color: #4E7D5F; background: var(--greenbg); }
.dnode.end.off { opacity: .45; }
.dcol { flex: 1 1 190px; min-width: 190px; display: flex; flex-direction: column; align-items: stretch; }
.dq { border: 2px solid var(--g3); background: #fff; font-weight: 600; position: relative; padding-top: 22px; min-height: 92px; }
.dq-n { position: absolute; top: 6px; left: 10px; font-size: 11px; color: var(--g6); }
.dq-a { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--g6); text-transform: uppercase; letter-spacing: .06em; }
.dq.reached { border-color: #4E7D5F; } .dq.reached .dq-a { color: #3F6B4F; }
.dq.taken { border-color: var(--red); } .dq.taken .dq-a { color: var(--dred); }
.dq.skip { opacity: .45; }
.dbranch { width: 3px; height: 22px; background: var(--g2); margin: 0 auto; }
.dbranch.on { background: var(--red); }
.dout { border: 2px dashed var(--g3); background: #fff; }
.dout.off { opacity: .45; }
.dout.on { border: 2px solid var(--dred); background: var(--redbg); }
.dout.on.nogo { background: var(--dred); color: #fff; } .dout.on.nogo .muted { color: #fde4e5; }
.dout ul { margin: 6px 0 4px; padding-left: 16px; font-size: 12px; }
.darrow { flex: none; width: 34px; height: 3px; background: var(--g2); margin-top: 48px; position: relative; }
.darrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--g2); }
.darrow.on { background: #4E7D5F; } .darrow.on::after { border-left-color: #4E7D5F; }
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
@media (max-width: 900px) { .sides { grid-template-columns: 1fr; } }
.side-card { border: 1px solid var(--g2); border-radius: 6px; padding: 14px; }
.bars { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.bar-scale { position: relative; height: 16px; margin-left: 42%; margin-right: 34px; font-size: 10px; color: var(--g6); }
.bar-scale span { position: absolute; transform: translateX(-50%); }
.brow { display: grid; grid-template-columns: 42% minmax(0, 1fr) 30px; gap: 8px; align-items: center; text-decoration: none; color: var(--ink); font-size: 12px; padding: 3px 0; border-radius: 4px; }
.brow:hover { background: var(--g1); }
.brow.top .blabel { font-weight: 700; }
.blabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toptag { font-size: 9px; font-weight: 800; letter-spacing: .06em; background: var(--ink); color: #fff; border-radius: 3px; padding: 1px 4px; margin-right: 5px; }
.btrack { position: relative; height: 12px; background: var(--g1); border-radius: 3px; overflow: hidden; }
.bfill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.brow.top .btrack { outline: 2px solid var(--ink); outline-offset: 1px; }
.bline { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,.18); z-index: 1; }
.bval { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.formula { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--g2); }
.fchip { display: inline-flex; flex-direction: column; border: 2px solid; border-radius: 6px; padding: 4px 8px; font-size: 12px; max-width: 160px; }
.fchip .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.op { font-weight: 700; color: var(--g6); }
.fres { color: #fff; font-weight: 800; border-radius: 6px; padding: 6px 10px; }
.gauge { position: relative; height: 26px; margin: 34px 0 4px; background: var(--g2); border-radius: 4px; }
.gz { position: absolute; top: 0; bottom: 0; opacity: .85; display: flex; align-items: center; justify-content: center; }
.gz span { font-size: 10px; font-weight: 800; color: #fff; letter-spacing: .06em; }
.gm { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--ink); }
.gm span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; padding-bottom: 2px; }
.gm.final { width: 4px; background: var(--red); top: -12px; bottom: -12px; }
.gm.final span { top: 100%; bottom: auto; padding-top: 2px; color: var(--dred); }
.gticks { position: relative; height: 18px; font-size: 10px; color: var(--g6); margin-top: 16px; }
.gticks span { position: absolute; transform: translateX(-50%); }
.gates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
@media (max-width: 900px) { .gates-grid { grid-template-columns: 1fr; } }
.grow { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--g2); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; opacity: .55; }
.grow.on { opacity: 1; border: 2px solid var(--red); background: var(--redbg); }
.gwhen { font-weight: 700; font-size: 13px; } .glist { display: flex; gap: 6px; flex-wrap: wrap; }
.appr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acol { border: 1px solid var(--g2); border-radius: 6px; padding: 10px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; opacity: .55; }
.acol.on { opacity: 1; border: 2px solid var(--red); background: var(--redbg); }
.arange { font-size: 12px; color: var(--g6); font-weight: 700; }
details.rule { border-bottom: 1px solid var(--g2); }
details.rule summary { display: flex; gap: 8px; align-items: center; padding: 10px 4px; cursor: pointer; list-style: none; flex-wrap: wrap; }
details.rule summary::-webkit-details-marker { display: none; }
.heat { display: inline-block; min-width: 26px; text-align: center; border-radius: 4px; padding: 2px 6px; font-weight: 700; font-size: 12px; }

.gauge { margin-top: 46px; }
.gm.second span { bottom: calc(100% + 16px); }
.gm.second::before { content: ""; position: absolute; left: 0; bottom: 100%; height: 16px; width: 2px; background: var(--ink); }

.chips-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips-filter a { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--g3); text-decoration: none; color: var(--ink); background: #fff; }
.chips-filter a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
/* ---------- sign-in ---------- */
.side-user { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 2px; margin-bottom: 8px; border-top: 1px solid #E6E6E6; font-size: 13px; }
.side-user a { color: var(--ink); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user form { margin: 0; }
@media (max-width: 900px) { .side-foot { display: block; margin-top: 0; } .side-foot .pill { display: none; } .side-user { border-top: none; margin: 0; padding: 0; } }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login { width: 100%; max-width: 400px; background: #fff; border: 1px solid #E6E6E6; border-radius: 8px; padding: 32px 28px; }
.login img { height: 22px; }
.login h1 { font-size: 26px; margin: 22px 0 4px; }
.login .bar { margin-bottom: 18px; }
.login form { display: flex; flex-direction: column; gap: 14px; }
.login input { min-height: 44px; }
.login .btn { width: 100%; }
.login .note { font-size: 13px; color: var(--g6); margin: 16px 0 0; }
/* ---------- activity log ---------- */
.act-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: end; }
.act-filters input, .act-filters select { min-height: 40px; }
.act-det summary { display: inline; font-size: 12px; }
.act-det pre { white-space: pre-wrap; word-break: break-word; font-size: 12px; background: var(--g1); padding: 8px 10px; border-radius: 6px; max-width: 640px; margin: 6px 0 0; }
/* ---------- review gates ---------- */
.side-count { margin-left: auto; background: var(--red); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 1px 7px; }
.gate-row { border-top: 1px solid var(--g2); padding: 14px 0; }
.gate-row:first-of-type { border-top: none; }
.gate-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gate-meta { font-size: 13px; margin-top: 6px; }
.gate-note { font-size: 13px; color: var(--ink); background: var(--g1); border-radius: 6px; padding: 6px 10px; margin-top: 4px; }
.gate-revs { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.vdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--g3); }
.vdot.approve { background: #4E7D5F; } .vdot.changes { background: #E6A855; } .vdot.reject { background: var(--red); }
.gate-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.gate-form fieldset { border: none; padding: 0; margin: 0; }
.gate-people { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.gate-req summary, .gate-hist summary { list-style: none; cursor: pointer; margin-top: 8px; }
.gate-req summary::-webkit-details-marker { display: none; }
.gate-send { border-top: 2px solid var(--ink); padding-top: 14px; margin-top: 6px; }
/* ---------- outcome suggestions ---------- */
.hint-box { margin-top: 6px; background: var(--amberbg); border-radius: 6px; padding: 8px 10px; font-size: 13px; max-width: 420px; }
.hint-box .muted { font-size: 12.5px; }
.hint-quote { margin-top: 4px; font-size: 12px; font-style: italic; color: var(--g6); border-left: 2px solid #E6A855; padding-left: 8px; }
/* ---------- lists in agent text ---------- */
.sub-h { font-size: 14px; margin: 14px 0 6px; }
ul.list { margin: 0 0 10px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
ul.list.sm { font-size: 13px; color: var(--g6); }
ul.list .tag { margin-right: 4px; }
/* ==========================================================================
   Bid workspace: header, stepper, next action, tabs
   ========================================================================== */
.bh { background: #fff; border: 1px solid #E6E6E6; border-radius: 8px; padding: 18px 22px 16px; }
.bh-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bh-title { font-size: 26px; line-height: 1.2; margin: 4px 0 0; letter-spacing: -.01em; }
.bh-facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 16px 0 0; border-top: 1px solid var(--g2); padding-top: 12px; }
.bh-facts > div { padding: 0 14px; border-left: 1px solid var(--g2); min-width: 0; }
.bh-facts > div:first-child { padding-left: 0; border-left: none; }
.bh-facts dt { font-size: 12px; color: var(--g6); font-weight: 600; }
.bh-facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-facts dd small { font-size: 12px; font-weight: 400; color: var(--g6); }
.rk-pair { display: inline-flex; gap: 4px; }
/* risk scale: its own colours, never the brand red */
.rk { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.rk.low { background: #E8F1EA; color: #3F6B4F; } .rk.medium { background: #FBF0E0; color: #7A4F12; }
.rk.high { background: #F9E1D6; color: #9A3412; } .rk.vhigh { background: #6B1D2A; color: #fff; } .rk.na { background: var(--g2); color: var(--g6); }
.stepper { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.stepper .st { position: relative; text-align: center; }
.stepper .st::before { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--g2); z-index: 0; }
.stepper .st:first-child::before { display: none; }
.stepper .st.done::before, .stepper .st.now::before { background: #4E7D5F; }
.stepper a { position: relative; z-index: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--g6); font-size: 13px; }
.st-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #fff; border: 2px solid var(--g3); color: var(--g6); }
.st.done .st-dot { background: #4E7D5F; border-color: #4E7D5F; color: #fff; }
.st.now .st-dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.st.now a { color: var(--ink); font-weight: 700; }
.stepper.closed .st.now .st-dot { background: var(--g6); border-color: var(--g6); }
.next { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--g1); border: 1px solid var(--g2); }
.next-k { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g6); }
.next-t { flex: 1; font-size: 15px; }
.next .btn { flex: none; }
.next.you { background: #FFF4E5; border-color: #F2C98C; } .next.you .next-k { color: #7A4F12; }
.next.bad { background: var(--redbg); border-color: #F5B9BC; } .next.bad .next-k { color: var(--dred); }
.next.done { background: #E8F1EA; border-color: #BFD8C6; } .next.done .next-k { color: #3F6B4F; }
.tabs { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2px; margin: 14px 0 18px; padding: 0 4px; background: var(--g1); border-bottom: 1px solid #DCDCDC; overflow-x: auto; }
.tabs-title { display: none; font-size: 13px; font-weight: 700; margin-right: 12px; white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.tabs.stuck .tabs-title { display: inline; }
.tab { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--g6); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--red); }
.tab.off { color: var(--g3); cursor: not-allowed; }
.tab-n { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--g2); color: var(--ink); font-size: 12px; text-align: center; }
.tab-n.you { background: #E6A855; color: #fff; }
.page-h { font-size: 22px; margin: 0 0 4px; }
/* "More" menu */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 260px; background: #fff; border: 1px solid #DCDCDC; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 6px; display: flex; flex-direction: column; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; font: inherit; font-size: 14px; color: var(--ink); text-decoration: none; background: none; border: none; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--g1); }
.menu-pop form { margin: 0; }
.menu-pop .menu-danger { color: var(--dred); border-top: 1px solid var(--g2); margin-top: 4px; border-radius: 0 0 6px 6px; }
/* overview pieces */
.count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--g2); font-size: 13px; text-align: center; vertical-align: 2px; }
ol.todo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
ol.todo li { padding: 10px 0; border-top: 1px solid var(--g2); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
ol.todo li:first-child { border-top: none; padding-top: 0; }
ol.todo span { color: var(--ink); } ol.todo small { color: var(--g6); font-size: 13px; }
.gstrip-h { display: flex; justify-content: space-between; align-items: baseline; }
.gs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--g2); color: var(--ink); text-decoration: none; }
.gs-row:hover .gs-t { text-decoration: underline; }
.gs-t { font-weight: 700; font-size: 14px; }
.gs-n { grid-column: 1 / -1; font-size: 13px; }
.gs-n .you { color: #7A4F12; }
.ans-tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.chk { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.ans-jump { display: flex; gap: 18px; margin-top: 10px; font-size: 14px; }
body.attn-only .q:not(.attn), body.attn-only .field:not(.attn) { display: none; }
.fold { padding: 12px 0; border-top: 1px solid var(--g2); }
.fold:first-of-type { border-top: none; }
.fold-h { font-weight: 700; margin-bottom: 6px; }
dl.kvlist { margin: 0; display: grid; gap: 2px 0; font-size: 14px; }
dl.kvlist dt { color: var(--g6); font-size: 12px; font-weight: 600; margin-top: 8px; }
dl.kvlist dd { margin: 0; }
tr.sys td { color: var(--g6); }
/* in-page navigation and collapsed content */
.subnav { position: sticky; top: 46px; z-index: 15; display: flex; gap: 18px; padding: 8px 2px; margin: 4px 0 14px; background: var(--g1); font-size: 14px; border-bottom: 1px solid var(--g2); }
.subnav a { color: var(--g6); text-decoration: none; font-weight: 600; } .subnav a:hover { color: var(--ink); }
.topic-d { border: 1px solid #E6E6E6; border-radius: 8px; background: #fff; }
.topic-d > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 14px; }
.topic-d > summary::-webkit-details-marker { display: none; }
.topic-d[open] > summary { border-bottom: 1px solid var(--g2); }
.td-t { font-weight: 700; } .td-a { font-size: 14px; color: var(--g6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-x { font-size: 13px; font-weight: 600; color: var(--teal); }
.topic-d[open] .td-x { visibility: hidden; }
.topic-d .topic { border: none; margin: 0; }
.diffs-done { margin-top: 8px; }
.wb > summary, .help > summary { cursor: pointer; list-style: none; }
.wb > summary::-webkit-details-marker, .help > summary::-webkit-details-marker { display: none; }
.help > summary::after, .wb > summary::after { content: " ▾"; color: var(--g6); }
:target { scroll-margin-top: 110px; }
/* ---------- all bids ---------- */
.page-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.waiting { margin-top: 18px; background: #FFF4E5; border: 1px solid #F2C98C; border-radius: 8px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.wait-item { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; text-decoration: none; color: var(--ink); padding: 6px 0; border-top: 1px solid #F2DDB8; }
.wait-item:first-of-type { border-top: none; }
.wait-go { font-weight: 700; color: #7A4F12; }
.list-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.list-tools input[type=search] { min-width: 280px; min-height: 40px; }
.list-tools select { min-height: 40px; }
.bids-t th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.bids-t th.sortable::after { content: " ↕"; color: var(--g3); font-size: 11px; }
.bids-t th[aria-sort=ascending]::after { content: " ↑"; color: var(--ink); }
.bids-t th[aria-sort=descending]::after { content: " ↓"; color: var(--ink); }
.bids-t td, .bids-t th { vertical-align: top; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.bid-link { color: var(--ink); text-decoration: none; } .bid-link:hover { text-decoration: underline; }
.btn-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; font-size: 18px; color: var(--g6); }
.btn-icon:hover, .menu[open] > .btn-icon { border-color: var(--g3); background: #fff; color: var(--ink); }
.empty { text-align: center; padding: 30px 10px; }
/* ==========================================================================
   Visual system pass: red for brand and the main action only; risk has its own scale;
   quiet destructive actions; 12px minimum for labels; readable line length.
   ========================================================================== */
.tag { font-size: 12px; }
.pill { font-size: 12px; }
label.f { font-size: 13px; }
.muted { color: #5F6163; }
.chip.bad { background: #FBE3E4; color: #8E1015; }
.chip.vbad { background: #6B1D2A; color: #fff; }
.mini .m.now { background: var(--ink); }
.side-link.on { background: #fff; color: var(--ink); box-shadow: inset 3px 0 0 var(--red); }
.btn-link.danger, .btn-quiet-danger { color: #8E1015; text-decoration: none; font-weight: 600; background: none; border: none; cursor: pointer; font: inherit; font-size: 13px; padding: 6px 4px; }
.btn-link.danger:hover, .btn-quiet-danger:hover { text-decoration: underline; }
.btn.outline-red { border-color: #C9898C; color: #8E1015; }
.col-main .card > p, .lead, .card > p.muted { max-width: 82ch; }
.list-tools input, .list-tools select { width: auto; }
/* drop zone */
.drop { position: relative; border: 2px dashed var(--g3); border-radius: 8px; padding: 18px; background: #fff; text-align: center; transition: border-color .15s, background .15s; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-hint { font-size: 14px; color: var(--g6); pointer-events: none; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.drop-hint b { color: var(--ink); } .drop-pick { color: var(--teal); text-decoration: underline; } .drop-hint small { font-size: 12px; color: var(--g4); }
.drop.over { border-color: var(--teal); background: var(--tealbg); }
.drop.has { border-style: solid; border-color: #4E7D5F; }
.drop-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; text-align: left; pointer-events: none; }
.drop-list li { padding: 3px 0; } .drop-list li::before { content: "📄 "; }
/* toast */
.toast { position: fixed; top: 18px; right: 18px; z-index: 60; max-width: 460px; display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: #fff; border-radius: 8px; padding: 12px 14px 12px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: 14px; transition: opacity .4s, transform .4s; }
.toast.err { background: #8E1015; }
.toast.out { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.toast button { background: none; border: none; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; opacity: .8; }
/* global search */
.side-search { display: flex; align-items: center; gap: 8px; width: 100%; margin: 4px 0 10px; padding: 8px 10px; border: 1px solid var(--g3); border-radius: 8px; background: #fff; color: var(--g6); font: inherit; font-size: 14px; cursor: pointer; }
.side-search kbd { margin-left: auto; font: inherit; font-size: 12px; border: 1px solid var(--g3); border-radius: 4px; padding: 0 5px; }
#gsearch { position: fixed; inset: 0; z-index: 70; background: rgba(20,20,20,.35); display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; }
#gsearch[hidden] { display: none; }
.gs-box { width: min(680px, 92vw); background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; }
.gs-box input { border: none; border-bottom: 1px solid var(--g2); border-radius: 0; font-size: 17px; padding: 16px 18px; }
.gs-box input:focus { outline: none; }
.gs-results { max-height: 60vh; overflow: auto; padding: 6px 8px 10px; }
.gs-g { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g6); padding: 10px 10px 4px; }
.gs-i { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.gs-i span { font-size: 13px; color: var(--g6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-i.sel, .gs-i:hover { background: var(--g1); }
.gs-results p { padding: 10px; margin: 0; }
