/* Ansøgning om optagelse på startsiden (12.11.2026) – et 98-vindue i en <dialog>. */
.ha-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 14px; border: 0; border-radius: 0; background: var(--w98-face, #c0c0c0); color: #000; box-shadow: 0 0 0 1px #000, var(--w98-raised, none); font: bold 13px var(--pol-font, Tahoma, sans-serif); text-shadow: none; cursor: pointer; }
.ha-open:active { box-shadow: 0 0 0 1px #000, var(--w98-pressed, none); }
.ha-open:focus-visible, .ha-dialog :is(button, input, textarea):focus-visible { outline: 1px dotted #000; outline-offset: -4px; }
.ha-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 3px; border: 0; background: var(--w98-face, #c0c0c0); color: #000; box-shadow: var(--w98-raised, none), 4px 4px 0 #00000059; font: 12px var(--pol-font, Tahoma, sans-serif); }
.ha-dialog::backdrop { background: #0b2a3a73; }
.ha-title { display: flex; align-items: center; justify-content: space-between; min-height: 22px; padding: 0 3px 0 6px; background: var(--w98-title, #0a246a); color: #fff; font-weight: bold; }
.ha-title button { width: 18px; height: 16px; padding: 0; border: 0; background: var(--w98-face, #c0c0c0); color: #000; box-shadow: var(--w98-raised, none); font: bold 11px/1 var(--pol-font, Tahoma, sans-serif); cursor: pointer; }
.ha-body { max-height: calc(100vh - 80px); overflow: auto; padding: 12px 14px 14px; }
.ha-body p { margin: 0 0 10px; line-height: 1.45; }
.ha-discord { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 8px; background: #fff; box-shadow: var(--w98-sunken, none); }
.ha-discord img { width: 28px; height: 28px; border-radius: 50%; }
.ha-discord span { flex: 1 1 200px; }
.ha-form { display: grid; gap: 10px; }
.ha-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ha-form label { display: grid; gap: 3px; }
.ha-form label small { color: #444; }
.ha-form :is(input[type=text], input[type=number], textarea) { width: 100%; box-sizing: border-box; min-height: 24px; padding: 3px 5px; border: 0; border-radius: 0; background: #fff; color: #000; box-shadow: var(--w98-sunken, none); font: 12px var(--pol-font, Tahoma, sans-serif); }
.ha-form textarea { resize: vertical; }
.ha-form .ha-check { display: flex; align-items: flex-start; gap: 6px; }
.ha-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.ha-btn { min-width: 90px; padding: 5px 12px; border: 0; border-radius: 0; background: var(--w98-face, #c0c0c0); color: #000; box-shadow: 0 0 0 1px #000, var(--w98-raised, none); font: 12px var(--pol-font, Tahoma, sans-serif); cursor: pointer; }
.ha-btn-primary { font-weight: bold; }
.ha-btn:disabled { color: #808080; cursor: default; }
.ha-msg { margin: 0; padding: 6px 8px; border: 1px solid #000; background: var(--w98-tip, #ffffe1); }
.ha-msg[data-kind=error] { color: var(--pol-danger, #a00000); }
.ha-dialog [hidden] { display: none !important; }
.ha-done { padding: 10px; background: #fff; box-shadow: var(--w98-sunken, none); }
@media (max-width: 520px) { .ha-body { padding: 10px; } .ha-actions .ha-btn { flex: 1 1 auto; } }
/* Bekræftelse med kode i Discord-DM (15.11.2026) */
.ha-verify { display: grid; gap: 8px; width: 100%; }
.ha-verify-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.ha-verify-row label { display: grid; gap: 3px; flex: 1 1 200px; }
.ha-verify-row input { width: 100%; box-sizing: border-box; min-height: 24px; padding: 3px 5px; border: 0; border-radius: 0; background: #fff; color: #000; box-shadow: var(--w98-sunken, inset 1px 1px #808080, inset -1px -1px #fff); font: inherit; }
.ha-verify-row input[name=haCode] { letter-spacing: .3em; font-family: monospace; font-size: 15px; }
.ha-alt { color: #333; }
.ha-done a.ha-btn { display: inline-flex; align-items: center; justify-content: center; color: #000; text-decoration: none; }
