.halt-page-body { min-height: 100vh; }
.halt-page-body .topbar { padding-top: 10px; padding-bottom: 10px; }
.halt-header-link { min-height: 42px; }
.halt-page-main { padding: 42px clamp(18px, 5vw, 76px) 70px; }
.halt-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--faint); font-size: 12px; }
.halt-breadcrumbs a:hover { color: var(--ink); }
.halt-breadcrumbs span[aria-current="page"] { color: var(--muted); }
.halt-page-hero { padding: 62px 0 46px; display: flex; align-items: end; justify-content: space-between; gap: 42px; border-bottom: 1px solid var(--line); }
.halt-page-hero > div { max-width: 890px; }
.halt-page-kicker { margin: 0 0 15px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; }
.halt-page-hero h1 { margin: 0; font-size: clamp(50px, 6.3vw, 90px); line-height: 0.96; letter-spacing: -0.065em; }
.halt-page-hero h1 span { color: #aaa2ff; }
.halt-page-hero > div > p:not(.halt-page-kicker):not(.halt-related-symbols) { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.halt-related-symbols { margin: 10px 0 0; color: var(--faint); font-size: 12px; }
.halt-status-flow { min-height: 26px; margin-top: 21px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.halt-status-codes { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.halt-status-stage { padding: 5px 10px; border-radius: 999px; background: rgba(117, 104, 255, 0.16); color: #c8c3ff; font-size: 11px; font-weight: 750; }
.halt-status-stage.halted { background: rgba(117, 104, 255, 0.16); color: #c8c3ff; }
.halt-status-stage.resumed { background: rgba(103, 222, 181, 0.11); color: var(--long); }
.halt-status-stage.outcome { background: rgba(255, 137, 149, 0.1); color: var(--short); }
.halt-private-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.halt-private-tags[hidden] { display: none; }
.halt-private-tag { padding: 5px 9px; border: 1px solid rgba(170, 162, 255, 0.22); border-radius: 999px; background: rgba(117, 104, 255, 0.1); color: #c8c3ff; font-size: 10px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.halt-private-tags-detail { margin-top: 13px; }
html[data-private-security-review="pending"] .halt-private-tags-detail[data-admin-tag-shell][hidden] { display: flex; }
.halt-private-tag-shell { width: 54px; min-height: 23px; border-color: rgba(170, 162, 255, 0.12); background: rgba(170, 162, 255, 0.08); }
.halt-private-tag-shell:nth-child(2) { width: 116px; }
.halt-private-tag-shell:nth-child(3) { width: 82px; }
.halt-page-hero > .button { flex: 0 0 auto; margin-bottom: 5px; }
.halt-private-editor { margin: 24px 0 0; overflow: hidden; border: 1px solid rgba(170, 162, 255, 0.24); border-radius: 14px; background: rgba(117, 104, 255, 0.045); }
.halt-private-editor[hidden] { display: none; }
html[data-private-security-review="pending"] .halt-private-editor[data-admin-shell][hidden] { display: block; }
.halt-private-editor-summary { min-height: 70px; padding: 20px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.halt-private-editor-summary::-webkit-details-marker { display: none; }
.halt-private-editor-summary .halt-page-kicker { margin: 0; }
.halt-private-editor-summary strong { font-size: 18px; letter-spacing: -0.025em; }
.halt-private-editor-toggle { color: var(--faint); font-size: 11px; font-weight: 700; }
.halt-private-editor[open] .halt-private-editor-summary { border-bottom: 1px solid var(--line); }
.halt-private-editor-body { padding: 24px; display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr); gap: 32px; }
.halt-private-editor-heading > div > span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.halt-private-editor-form { display: grid; gap: 18px; }
.halt-private-tag-options { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.halt-private-tag-options legend { width: 100%; margin-bottom: 8px; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.halt-private-tag-option { position: relative; cursor: pointer; }
.halt-private-tag-option input { position: absolute; opacity: 0; pointer-events: none; }
.halt-private-tag-option span { min-height: 32px; padding: 0 11px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 700; }
.halt-private-tag-option input:checked + span { border-color: rgba(170, 162, 255, 0.55); background: rgba(117, 104, 255, 0.15); color: #d8d4ff; }
.halt-private-tag-option input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.halt-private-note-label { display: grid; gap: 8px; }
.halt-private-note-label > span { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.halt-private-note-label textarea { width: 100%; min-height: 96px; padding: 13px 14px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 11px; outline: none; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; }
.halt-private-note-label textarea:focus { border-color: rgba(117, 104, 255, 0.75); box-shadow: 0 0 0 3px rgba(117, 104, 255, 0.12); }
.halt-private-editor-actions { min-height: 42px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.halt-private-save-status { color: var(--muted); font-size: 11px; }
.halt-private-error { margin: 0; color: var(--short); font-size: 12px; }
.halt-tag-rank { margin: 34px 0 6px; overflow: hidden; border: 1px solid rgba(170, 162, 255, 0.24); border-radius: 16px; background: rgba(117, 104, 255, 0.04); }
.halt-tag-rank[hidden] { display: none; }
html[data-private-security-review="pending"] .halt-tag-rank[data-admin-shell][hidden] { display: block; }
.halt-tag-rank-heading { min-height: 92px; padding: 22px 26px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.halt-tag-rank-heading .halt-page-kicker { margin-bottom: 7px; }
.halt-tag-rank-heading h2 { margin: 0; font-size: 29px; letter-spacing: -0.04em; }
.halt-tag-rank-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.halt-tag-rank-panel { min-width: 0; padding: 24px 26px 28px; }
.halt-tag-rank-panel + .halt-tag-rank-panel { border-left: 1px solid var(--line); }
.halt-tag-rank-panel h3 { margin: 0 0 13px; color: var(--faint); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; }
.halt-tag-rank-list { display: grid; border-top: 1px solid var(--line); }
.halt-tag-rank-item { min-height: 78px; padding: 14px 8px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 7px; border-bottom: 1px solid var(--line); }
.halt-tag-rank-number { color: #8d85ce; font-size: 13px; font-weight: 800; }
.halt-tag-rank-name, .halt-tag-rank-metric { display: grid; gap: 4px; }
.halt-tag-rank-name strong { font-size: 16px; line-height: 1.25; }
.halt-tag-rank-metric { justify-items: end; text-align: right; }
.halt-tag-rank-metric strong { color: #d8d4ff; font-size: 24px; line-height: 1; }
.halt-tag-rank-symbols { grid-column: 2 / 4; display: flex; align-items: center; flex-wrap: wrap; color: var(--faint); font-size: 12px; line-height: 1.55; }
.halt-tag-rank-symbol { white-space: nowrap; }
.halt-tag-rank-symbol:not(:last-child)::after { margin: 0 6px; color: rgba(255, 255, 255, 0.24); content: "\00b7"; }
.halt-time-rank-list .halt-tag-rank-metric strong { color: var(--blue); }
.halt-admin-shell-row { min-height: 78.59375px; pointer-events: none; }
.halt-admin-shell-row-wrapped { min-height: 97.1875px; }
.halt-admin-shell-bar { display: block; border-radius: 999px; background: rgba(170, 162, 255, 0.1); }
.halt-admin-shell-name { width: min(160px, 72%); height: 13px; }
.halt-admin-shell-metric { width: 24px; height: 20px; }
.halt-admin-shell-symbols { grid-column: 2 / 4; width: min(310px, 82%); height: 9px; }
.halt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.halt-facts > div { min-height: 132px; padding: 28px 30px; display: grid; align-content: center; gap: 5px; border-right: 1px solid var(--line); }
.halt-facts > div:first-child { padding-left: 0; }
.halt-facts > div:last-child { border-right: 0; }
.halt-facts small { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; }
.halt-facts strong { font-size: 20px; line-height: 1.25; letter-spacing: -0.025em; }
.halt-facts span { color: var(--muted); font-size: 12px; }
.halt-page-section, .halt-directory-section { padding: 54px 0 12px; }
.halt-section-heading { margin-bottom: 24px; display: grid; gap: 5px; }
.halt-section-heading p { margin: 0; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.halt-section-heading h2 { margin: 0; font-size: 32px; letter-spacing: -0.045em; }
.halt-section-heading > span { max-width: 780px; color: var(--muted); font-size: 14px; }
.halt-page-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.halt-page-timeline li { min-height: 116px; padding: 24px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 28px; align-items: start; border-bottom: 1px solid var(--line); }
.halt-page-timeline time { display: grid; gap: 3px; color: var(--faint); font-size: 11px; }
.halt-page-timeline time small { font-size: 9px; }
.halt-page-timeline li > div { max-width: 860px; }
.halt-event-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.halt-event-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.halt-event-tag { padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: 0.05em; line-height: 1; text-transform: uppercase; }
.halt-event-tag.code { background: rgba(117, 104, 255, 0.16); color: #d7d3ff; }
.halt-event-tag.outcome { background: rgba(255, 91, 120, 0.12); color: var(--short); }
.halt-event-tag.appeal { background: rgba(255, 189, 89, 0.12); color: #ffd58e; }
.halt-event-tag.resumed { background: rgba(80, 231, 184, 0.12); color: var(--long); }
.halt-page-timeline strong { font-size: 14px; }
.halt-page-timeline p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.halt-page-timeline a { color: #b8b2ff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.halt-page-timeline a:hover { color: var(--ink); }
.halt-page-empty { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--faint); }
.halt-page-safety { margin-top: 52px; padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.halt-page-safety strong { font-size: 13px; }
.halt-page-safety p { margin: 0; color: var(--muted); font-size: 13px; }
.halt-page-footer { margin-top: 0; display: flex; justify-content: space-between; gap: 24px; }
.halt-page-footer nav { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.halt-page-footer nav span { color: rgba(255, 255, 255, 0.22); }
.halt-page-footer a:hover { color: var(--ink); }
.halt-directory-hero { padding-bottom: 54px; }
.halt-code-guide-link { width: fit-content; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: #bdb7ff; font-size: 12px; font-weight: 700; text-decoration: none; }
.halt-code-guide-link:hover { color: var(--ink); }
.halt-code-guide-hero { align-items: start; }
.halt-code-scope-note { margin: 34px 0 6px; padding: 22px 24px; display: grid; grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr); gap: 24px; border: 1px solid rgba(117, 104, 255, 0.25); border-radius: 14px; background: rgba(117, 104, 255, 0.05); }
.halt-code-scope-note strong { font-size: 13px; }
.halt-code-scope-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.halt-code-group { padding: 48px 0 0; }
.halt-code-definition-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.halt-code-definition { min-height: 142px; padding: 24px; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 18px; scroll-margin-top: 24px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.018); }
.halt-code-definition:target { border-color: rgba(117, 104, 255, 0.58); background: rgba(117, 104, 255, 0.07); box-shadow: 0 0 0 3px rgba(117, 104, 255, 0.09); }
.halt-code-definition-code { min-width: 54px; min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(117, 104, 255, 0.16); color: #d7d3ff; font-size: 13px; font-weight: 800; }
.halt-code-definition h3 { margin: 1px 0 8px; font-size: 17px; letter-spacing: -0.025em; }
.halt-code-definition p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.halt-page-safety a { color: #bdb7ff; text-decoration: underline; text-underline-offset: 3px; }
.halt-directory-search { width: min(360px, 100%); height: 50px; position: relative; display: flex; align-items: center; flex: 0 0 auto; }
.halt-directory-search > span:first-child { position: absolute; left: 16px; color: var(--faint); font-size: 21px; line-height: 1; }
.halt-directory-search input { width: 100%; height: 100%; padding: 0 16px 0 44px; border: 1px solid var(--line-strong); border-radius: 12px; outline: none; background: var(--surface); color: var(--ink); font-size: 14px; }
.halt-directory-search input:focus { border-color: rgba(117, 104, 255, 0.75); box-shadow: 0 0 0 3px rgba(117, 104, 255, 0.12); }
.halt-directory-section + .halt-directory-section { margin-top: 24px; border-top: 1px solid var(--line); }
.halt-directory-section .halt-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.halt-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.halt-directory-grid a { min-height: 135px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(105px, 0.62fr); align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.018); }
.halt-directory-grid a:hover { border-color: rgba(117, 104, 255, 0.4); background: rgba(117, 104, 255, 0.055); }
.halt-directory-card-copy { min-width: 0; display: grid; gap: 6px; }
.halt-directory-card-copy strong { font-size: 22px; letter-spacing: -0.04em; }
.halt-directory-card-copy > span { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.halt-directory-card-copy small { color: var(--faint); font-size: 10px; }
.halt-directory-private-tags { min-width: 0; justify-content: flex-end; }
.halt-directory-empty { padding: 54px 0; border-top: 1px solid var(--line); text-align: center; }
.halt-directory-empty strong { font-size: 18px; }
.halt-directory-empty p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .halt-page-hero { align-items: start; flex-direction: column; }
  .halt-private-editor-body { grid-template-columns: 1fr; gap: 20px; }
  .halt-facts { grid-template-columns: 1fr; }
  .halt-facts > div, .halt-facts > div:first-child { min-height: 104px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .halt-facts > div:last-child { border-bottom: 0; }
  .halt-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .halt-directory-search { width: min(460px, 100%); }
  .halt-tag-rank-panels { grid-template-columns: 1fr; }
  .halt-tag-rank-panel + .halt-tag-rank-panel { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 700px) {
  .halt-page-main { padding: 28px 15px 52px; }
  .halt-header-link { padding: 0 12px; font-size: 12px; }
  .halt-page-hero { padding: 44px 0 34px; gap: 28px; }
  .halt-page-hero h1 { font-size: 49px; }
  .halt-page-hero > div > p:not(.halt-page-kicker):not(.halt-related-symbols) { font-size: 15px; }
  .halt-page-timeline li { grid-template-columns: 1fr; gap: 8px; }
  .halt-page-timeline a { width: fit-content; }
  .halt-page-safety { grid-template-columns: 1fr; }
  .halt-page-footer { align-items: flex-start; flex-direction: column; }
  .halt-directory-grid { grid-template-columns: 1fr; }
  .halt-code-scope-note { grid-template-columns: 1fr; gap: 8px; }
  .halt-code-definition-list { grid-template-columns: 1fr; }
  .halt-code-definition { grid-template-columns: 50px minmax(0, 1fr); padding: 20px 16px; gap: 13px; }
  .halt-directory-search { width: 100%; }
  .halt-directory-section .halt-section-heading { align-items: start; flex-direction: column; gap: 3px; }
  .halt-directory-grid a { grid-template-columns: 1fr; gap: 13px; }
  .halt-directory-private-tags { justify-content: flex-start; }
  .halt-private-editor-summary { padding: 18px 16px; grid-template-columns: 1fr auto; }
  .halt-private-editor-summary .halt-page-kicker { grid-column: 1 / -1; }
  .halt-private-editor-body { padding: 20px 16px; }
  .halt-private-editor-actions { align-items: stretch; flex-direction: column; }
  .halt-private-editor-actions .button { width: 100%; }
  .halt-tag-rank { margin-top: 30px; }
  .halt-tag-rank-heading { min-height: 82px; padding: 18px 16px; }
  .halt-tag-rank-panel { padding: 20px 16px 24px; }
  .halt-tag-rank-item { grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 9px; }
  .halt-tag-rank-symbols { grid-column: 2 / 4; }
}
