.hd-shell { max-width: 56rem; margin: 32px auto; padding: 0; width: calc(100% - 2rem); }
.hd-card { padding: clamp(1rem,4vw,2.5rem); overflow-wrap: anywhere; }
.hd-card h1 { margin: 0 0 .75rem; font-size: clamp(24px,2.2vw,34px); }
.hd-card h2 { margin: 0 0 .75rem; font-size: 20px; }
.hd-id,.hd-note { color: var(--muted); font-size: .875rem; }
.hd-state { color: var(--ok); margin: 1rem 0; }
.hd-section { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.5rem; }
.hd-card article { padding: .75rem 1rem; background: var(--paper); border-radius: .5rem; margin: .5rem 0; }
.hd-card article p { margin: .25rem 0; white-space: normal; }
.hd-compose { display: grid; gap: .75rem; margin: 1.25rem 0; }
.hd-compose label { display: grid; gap: .4rem; }
.hd-compose :is(input,select,textarea) { width: 100%; max-width: 100%; min-width: 0; font: inherit; border: 1px solid var(--line); padding: .65rem; border-radius: .45rem; background: var(--surface); color: var(--ink); }
.hd-compose textarea { resize: vertical; min-height: 6rem; }
.hd-compose button { justify-self: start; }
.hd-card :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hd-server-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.hd-server-fields[hidden] { display: none; }
.hd-compose label { font-size: 12px; font-weight: 600; color: var(--muted); }
.hd-compose :is(input,select,textarea) { font-size: 16px; font-weight: 400; border-radius: 8px; }
.hd-compose :is(input,select) { height: 40px; }
.hd-details { border-top: 1px solid var(--line); padding-top: 12px; }
.hd-details summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.hd-details[open] .hd-server-fields { margin-top: 12px; }
.hd-card .hd-note { max-width: 70ch; margin: 0; }
.hd-card :is(button,.button) { min-height: 40px; height: 40px; padding: 0 20px; font-size: 14px; font-weight: 650; border-radius: 8px; }
.hd-footer { margin: 0 auto; max-width: 56rem; width: 100%; }
.hd-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.hd-footer a { padding: 8px 0; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.hd-footer [aria-current] { text-decoration-thickness: 2px; }
.hd-list-heading { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 24px 0 16px; }
.hd-list-heading h2 { margin: 0; }
.hd-ticket-list { list-style: none; padding: 0; margin: 0; }
.hd-ticket-list li { border-top: 1px solid var(--line); }
.hd-ticket-list a { display: grid; gap: 8px; padding: 16px 0; text-decoration: none; }
.hd-ticket-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hd-ticket-list span { font-size: 14px; }
@media (max-width: 600px) {
  .hd-server-fields { grid-template-columns: 1fr; }
  .hd-shell { width: 100%; }
  .hd-card .hd-compose button { justify-self: stretch; min-height: 48px; height: 48px; font-size: 16px; }
}
