/* Keep the close control in its own row above the scrolling detail. */
#detail-dialog[open]{display:flex;flex-direction:column;max-height:85vh;max-height:85dvh;padding:16px 20px 22px;overflow:hidden}
#detail-dialog>.close-dialog{position:static;align-self:flex-end;flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;margin:0 0 12px;padding:0;border:1px solid #f2e5cf66;border-radius:50%;background:#061923;color:#fff;font-size:30px;line-height:1}
#detail-dialog>.close-dialog:hover{background:#173a4b;border-color:#f2e5cf}
#detail-dialog>.close-dialog:focus-visible{outline:3px solid #ffca7b;outline-offset:3px}
#detail-dialog>#dialog-content{min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#detail-dialog #dialog-title{margin:0 0 18px;font-size:clamp(24px,6vw,34px);line-height:1.22;overflow-wrap:anywhere}
