.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 1.4rem 1.1rem;
  border-right: 1px solid var(--rule);
  background: var(--surface);
}
.rail nav { display: grid; gap: 0.15rem; }
.rail nav a { text-decoration: none; color: var(--ink-2); padding: 0.5rem 0.7rem; border-radius: var(--radius); font-size: 0.95rem; }
.rail nav a:hover { background: var(--surface-2); color: var(--ink); }
.rail nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.signout { margin-top: auto; display: grid; gap: 0.3rem; font-size: 0.82rem; }
.signout .who { color: var(--ink-3); overflow-wrap: anywhere; }

.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.linkish:hover { color: var(--ink); }
.linkish.danger { color: var(--ink-3); text-decoration: none; }
.linkish.danger:hover { color: var(--bad); }

.stage { padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 4vw, 3.5rem) 4rem; max-width: 980px; width: 100%; }
.stage-head { display: grid; gap: 0.5rem; margin-bottom: 1.8rem; }
.stage-head h1 { font-size: var(--step-3); font-weight: 760; }
.stage-head .sub { color: var(--ink-2); max-width: 62ch; }

.panel, fieldset.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  margin: 0 0 1rem;
}
fieldset.panel { min-width: 0; }
.panel legend, .panel h2 { font: 650 1.02rem/1.3 var(--f-body); letter-spacing: -0.005em; padding: 0; }
.panel legend { float: left; width: 100%; margin-bottom: 0.9rem; }
.panel legend + * { clear: both; }
.panel legend em, .field em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.count { font-size: 0.78rem; color: var(--ink-3); }
.spot-strip { margin-bottom: 1.2rem; }
.spot-strip .eyebrow { margin-bottom: 0.6rem; }
.spot-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.spot-chips .idea { font: inherit; font-size: 0.84rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--rule); border-radius: 999px; padding: 0.25rem 0.7rem; cursor: pointer; }
.spot-chips .idea:hover { color: var(--ink); border-color: var(--ink-3); }
.role-ideas {display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin: 0.7rem 0 1rem; font-size: 0.82rem; color: var(--ink-3); }
.role-ideas .idea { font: inherit; font-size: 0.8rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--rule); border-radius: 999px; padding: 0.2rem 0.6rem; cursor: pointer; }
.role-ideas .idea:hover { color: var(--ink); border-color: var(--ink-3); }
.role-ideas .idea:disabled { opacity: 0.45; cursor: default; }
.hint { color: var(--ink-2); font-size: 0.92rem; margin-bottom: 0.9rem; max-width: 66ch; }
.hint.warn, .evidence.warn { color: var(--warn); }

.stack { display: grid; gap: 1rem; }
.panel-form { display: grid; gap: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.grid-2 + .grid-2 { margin-top: 0.9rem; }
.grid-4 { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr; gap: 0.6rem; }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field > span { font-size: 0.88rem; font-weight: 600; }
.field small { color: var(--ink-3); font-size: 0.8rem; }
.field small.err, small.err { color: var(--bad); display: block; margin-top: 0.3rem; }

input:not([type="checkbox"]):not([type="file"]), select, textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
input[type="file"] { font: inherit; font-size: 0.9rem; color: var(--ink-2); }
input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); flex: none; margin-top: 0.2rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger:hover { background: color-mix(in srgb, var(--bad) 85%, #000); }

.form-error, .form-ok { padding: 0.7rem 0.9rem; border-radius: var(--radius); font-size: 0.93rem; margin-bottom: 1rem; }
.form-error { background: var(--bad-soft); color: var(--bad); }
.form-ok { background: var(--ok-soft); color: var(--ok); }
.form-actions { display: flex; gap: 0.7rem; margin-top: 0.6rem; }

.import-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; }
.import-panel h2 { margin-bottom: 0.3rem; }
.import-panel .hint { margin-bottom: 0; }
.inline-form { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }

.role { border-top: 1px solid var(--rule); padding: 1rem 0; }
.role-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.role h3 { font-size: 1.05rem; font-weight: 650; }
.meta { color: var(--ink-3); font-size: 0.85rem; }
.bullets { list-style: none; margin: 0.6rem 0 0.7rem; padding: 0; display: grid; gap: 0.35rem; }
.bullets li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.6rem; background: var(--bg); border-radius: var(--radius); font-size: 0.93rem; }
.bullets.compact li { background: none; padding: 0.15rem 0; display: list-item; list-style: "– "; margin-left: 1rem; }
.bullets .empty-line { color: var(--ink-3); background: none; }
.metric { font-size: 0.78rem; background: var(--mark-soft); color: var(--ink); padding: 0.05rem 0.35rem; border-radius: 3px; white-space: nowrap; }
.add-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.3fr) auto; gap: 0.5rem; align-items: center; }
.add-role { border-top: 1px dashed var(--rule-strong); padding-top: 1rem; display: grid; gap: 0.6rem; }
.add-title { font-weight: 600; font-size: 0.92rem; }
.add-role .btn { justify-self: start; }

.skills { list-style: none; margin: 0 0 0.9rem; padding: 0; display: grid; gap: 0.35rem; }
.skills li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.55rem 0.7rem; border: 1px solid var(--rule); border-radius: var(--radius); }
.skills li.unbacked { border-style: dashed; }
.skills li > div { display: grid; gap: 0.1rem; }
.evidence { font-size: 0.82rem; color: var(--ink-3); }
#facts .add-row { grid-template-columns: minmax(0, 1fr) auto; }

.review-item { display: flex; gap: 0.7rem; padding: 0.7rem 0; border-top: 1px solid var(--rule); align-items: flex-start; }
.review-item:first-of-type { border-top: 0; }
.chips-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.review-chip { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.35rem 0.6rem; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.88rem; }
.review-chip input { margin-top: 0; }
.review-chip.unbacked { border-style: dashed; }
.review-chip em { color: var(--warn); font-style: normal; font-size: 0.8rem; }

.danger-zone { border-color: color-mix(in srgb, var(--bad) 35%, var(--rule)); }
.danger-zone .add-row { grid-template-columns: minmax(0, 1fr) auto; }
.empty { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.auth { display: grid; place-items: center; padding: clamp(2rem, 8vw, 5rem) 1.2rem; }
.auth-card { width: min(100%, 420px); background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 0.6rem; }
.auth-card h1 { font-size: 1.8rem; font-weight: 760; }
.auth-card .sub { color: var(--ink-2); margin-bottom: 0.6rem; }
.auth-card .btn { justify-content: center; }
.auth-card .aside { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-2); }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .rail nav { display: flex; flex-wrap: wrap; }
  .signout { margin-top: 0; margin-left: auto; }
  .grid-2, .grid-4, .add-row, .import-panel { grid-template-columns: 1fr; }
}

.feed-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.feed-section { margin-top: 1.8rem; }
.feed-section > .panel-head h2 { font: 700 1.2rem/1.2 var(--f-display); }
.feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.9rem; }
.feed-card { box-shadow: none; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0; }
.feed-card h3 { font-size: 1.05rem; }
.feed-card h3 a { text-decoration: none; }
.feed-card h3 a:hover { text-decoration: underline; }
.feed-card .score b { font-size: 1.5rem; }
.score .muted, .score b.muted { color: var(--ink-3); }
.strength-strong { color: var(--ok); }
.strength-medium { color: var(--warn); }
.strength-weak { color: var(--ink-3); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.reasons { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.86rem; }
.reasons li { padding-left: 1rem; position: relative; color: var(--ink-2); }
.reasons li::before { content: "•"; position: absolute; left: 0.1rem; color: var(--ink-3); }
.reasons li.lvl-block::before { content: "✗"; color: var(--bad); }
.reasons li.lvl-review::before { content: "?"; color: var(--warn); font-weight: 700; }
.reasons li.lvl-info::before { content: "i"; color: var(--ink-3); font-family: var(--f-mono); }
.reasons.full { font-size: 0.93rem; gap: 0.45rem; margin-bottom: 0.8rem; }
.via { margin-top: auto; padding-top: 0.8rem; font-size: 0.78rem; color: var(--ink-3); }
.hidden-jobs { border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); padding: 0.2rem 1.2rem; }
.hidden-jobs summary { cursor: pointer; display: flex; justify-content: space-between; padding: 0.8rem 0; font-weight: 600; }
.blocked-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.blocked-list li { display: grid; gap: 0.1rem; border-top: 1px solid var(--rule); padding-top: 0.5rem; }
.blocked-list .why { color: var(--bad); font-size: 0.84rem; }
.empty-feed .runs { list-style: none; padding: 0; margin: 0.6rem 0 0; font-size: 0.8rem; color: var(--ink-3); display: grid; gap: 0.2rem; }
.crumb { margin-bottom: 1rem; font-size: 0.9rem; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.detail-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.score.big b { font-size: 2.6rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
.detail-grid aside .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.provenance { font-size: 0.78rem; color: var(--ink-3); margin-top: 0.7rem; }
.requirements { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.requirements li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; padding: 0.6rem 0.7rem; border-radius: var(--radius); background: var(--bg); }
.requirements .st { font-family: var(--f-mono); font-weight: 700; text-align: center; }
.requirements .st-met .st { color: var(--ok); }
.requirements .st-partial .st { color: var(--warn); }
.requirements .st-missing .st { color: var(--bad); }
.requirements p { font-size: 0.93rem; }
.requirements .imp { font-size: 0.74rem; color: var(--ink-3); font-family: var(--f-mono); margin-left: 0.3rem; }
.posting { white-space: pre-line; font-size: 0.93rem; color: var(--ink-2); max-height: 32rem; overflow: auto; line-height: 1.55; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }
form.inline { display: inline; margin-left: 0.4rem; font-size: 0.82rem; }
.funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; }
.funnel div { background: var(--surface); padding: 0.9rem 1rem; display: grid; gap: 0.15rem; }
.funnel b { font: 650 1.6rem/1 var(--f-mono); }
.funnel span { font-size: 0.8rem; color: var(--ink-3); }
.funnel div:first-child b { background: var(--mark); color: var(--mark-ink); justify-self: start; padding: 0 0.3rem; border-radius: 3px; }
.app-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.app-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto auto; gap: 0.8rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.app-list a { color: var(--ink); text-decoration: none; }
.app-list .meta { color: var(--ink-3); font-size: 0.86rem; }
.status { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.45rem; border-radius: 3px; background: var(--surface-2); color: var(--ink-2); }
.status.st-interview { background: var(--mark); color: var(--mark-ink); }
.status.st-replied, .status.st-viewed, .status.st-delivered, .status.st-sent { background: var(--ok-soft); color: var(--ok); }
.status.st-rejected, .status.st-silent, .status.st-skipped { color: var(--ink-3); }
.opener { font-size: 1.1rem; font-weight: 600; }
.letter { white-space: pre-line; color: var(--ink-2); }
.diff { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.9rem; }
.diff .was { color: var(--ink-3); text-decoration: line-through; font-size: 0.9rem; }
.diff .now { font-size: 0.95rem; }
.diff .why { font-size: 0.74rem; color: var(--ink-3); }
.ats { white-space: pre-wrap; font-size: 0.8rem; background: var(--surface-2); padding: 0.9rem; border-radius: var(--radius); margin-top: 0.8rem; overflow-x: auto; }
.warn-panel { border-color: var(--warn); }
.stack-buttons { display: grid; gap: 0.5rem; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: 0.78rem; color: var(--ink-3); display: grid; gap: 0.25rem; }
.skip-form { display: grid; gap: 0.6rem; }
.skip-form select { font: inherit; }
aside .panel .btn + .btn, aside .panel form + .btn { margin-top: 0.6rem; }
@media (max-width: 700px) {
  .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-list li { grid-template-columns: 1fr auto; }
}
.provenance .mono { overflow-wrap: anywhere; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.people li { border-top: 1px solid var(--rule); padding-top: 0.6rem; }
.people summary { cursor: pointer; font-size: 0.84rem; color: var(--ink-2); margin-top: 0.2rem; }
.people .intro { font-size: 0.9rem; background: var(--surface-2); padding: 0.6rem 0.7rem; border-radius: var(--radius); margin-top: 0.4rem; user-select: all; }
.steps-inline { padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data th, table.data td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.data th { font-weight: 600; color: var(--ink-3); font-size: 0.78rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.setup { display: grid; gap: 0.6rem; }
.setup .panel-head { margin-bottom: 0; }
.setup-bar { height: 5px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.setup-bar i { display: block; height: 100%; background: var(--ok); }
.setup-steps { list-style: none; margin: 0.3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.5rem 1rem; font-size: 0.9rem; }
.setup-steps li { display: flex; gap: 0.5rem; align-items: center; }
.setup-steps .tick { width: 1.4rem; height: 1.4rem; flex: none; border-radius: 50%; display: grid; place-items: center; font: 600 0.72rem/1 var(--f-mono); border: 1px solid var(--rule-strong); color: var(--ink-3); }
.setup-steps li.done { color: var(--ink-3); }
.setup-steps li.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.tabs { display: flex; gap: 0.2rem; border-bottom: 1px solid var(--rule); margin: 1.2rem 0 0.9rem; overflow-x: auto; }
.tabs a { padding: 0.6rem 0.9rem; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 500; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs .mono { font-size: 0.75rem; color: var(--ink-3); margin-left: 0.2rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; align-items: center; margin-bottom: 1rem; }
.toolbar .search { flex: 1 1 240px; }
.toolbar .filters { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.toggle { display: inline-flex; align-items: center; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span { font-size: 0.84rem; padding: 0.35rem 0.75rem; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink-2); background: var(--surface); }
.toggle input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toggle input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.toolbar .sort select { width: auto; padding: 0.35rem 0.6rem; font-size: 0.84rem; }
.spot-strip { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; margin: 0 0 1rem; }
.spot-strip .hint { margin: 0; }
.why { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; margin: 0.7rem 0 0; font-size: 0.8rem; color: var(--ink-2); }
.why span::before { content: "↑ "; color: var(--ok); }
.why .why-learned::before { content: "↓ "; color: var(--warn); }
.card-actions { margin-top: auto; padding-top: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.card-actions form { display: inline; }
.card-actions .via { margin: 0 0 0 auto; padding: 0; }
.btn-small { padding: 0.4rem 0.8rem; font-size: 0.86rem; }
.feed-card.is-hidden { opacity: 0.8; }
.age { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-3); }
.more { text-align: center; margin-top: 1.2rem; }
.rail .nav-secondary { display: grid; gap: 0.15rem; border-top: 1px solid var(--rule); padding-top: 0.6rem; margin-top: 0.4rem; }
@media (max-width: 860px) {
  .rail { flex-wrap: nowrap; overflow-x: auto; gap: 0.6rem; padding: 0.7rem 1rem; }
  .rail nav { flex-wrap: nowrap; }
  .rail nav a { white-space: nowrap; padding: 0.4rem 0.6rem; }
  .rail .nav-secondary { display: flex; border-top: 0; padding-top: 0; margin-top: 0; border-left: 1px solid var(--rule); padding-left: 0.4rem; }
  .signout .who { display: none; }
}
.connect-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
.connect-card { display: grid; gap: 0.5rem; align-content: start; text-decoration: none; color: var(--ink); margin: 0; }
.connect-card:hover { border-color: var(--ink-3); }
.connect-card .chip { justify-self: start; }
.connect-card .hint { margin: 0; }
.connect-card .go { font-weight: 600; font-size: 0.9rem; }
.tabs { scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.rail { scrollbar-width: none; }
.shell > * { min-width: 0; }
.feed-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
@media (max-width: 860px) { .rail { max-width: 100vw; } .rail .wordmark { white-space: nowrap; } }
.elsewhere { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.elsewhere .hint { margin: 0; }
.elsewhere .idea { font-size: 0.84rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--rule); border-radius: 999px; padding: 0.25rem 0.7rem; text-decoration: none; }
.feedback-link { font-size: 0.86rem; color: var(--ink-2); text-decoration: none; border: 1px dashed var(--rule-strong); border-radius: var(--radius); padding: 0.45rem 0.7rem; text-align: center; margin-top: auto; }
.feedback-link:hover { color: var(--ink); border-color: var(--ink-3); }
.feedback-link + .signout { margin-top: 0.6rem; }
.choice-row { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.choice-row legend { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; width: 100%; }
.choice-row legend em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.fb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.fb-list li { border-top: 1px solid var(--rule); padding-top: 0.7rem; display: grid; gap: 0.3rem; }
.fb-list li.fb-done { opacity: 0.55; }
.fb-text { white-space: pre-line; }
@media (max-width: 860px) { .feedback-link { margin-top: 0; white-space: nowrap; } }

.withdraw { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; margin-top: 0.75rem; }
.withdraw .fine { margin-top: 0.5rem; color: var(--ink-3); font-size: var(--step--1); }
.other-refund { margin-top: 1rem; }
.other-refund summary { cursor: pointer; color: var(--ink-2); font-size: var(--step--1); }
.other-refund .stack { margin-top: 0.75rem; }

.role-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.6rem; margin: 0.9rem 0 1.1rem; }
.role-group { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.75rem 0.85rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.role-group:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.role-group input { margin-top: 0.2rem; }
.rg-body { display: flex; flex-direction: column; gap: 0.15rem; }
.rg-body b { font-weight: 640; }
.rg-body small { color: var(--ink-2); font-size: var(--step--1); line-height: 1.4; }
.rg-titles { color: var(--ink-3) !important; font-family: var(--f-mono); font-size: 0.74rem !important; }

.strength .strength-bar { height: 8px; border-radius: 4px; background: var(--off); overflow: hidden; margin: 0.4rem 0 0.8rem; }
.strength .strength-bar i { display: block; height: 100%; background: var(--warn); }
.strength-working .strength-bar i { background: var(--mark); }
.strength-strong .strength-bar i { background: var(--ok); }
.strength-thin { border-color: var(--warn); }
.strength-verdict { margin-bottom: 0.6rem; }
.strength-steps { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; }
.strength-steps li + li { margin-top: 0.35rem; }
.strength .fine { color: var(--ink-3); font-size: var(--step--1); margin-bottom: 0.6rem; }
