:root { color-scheme: dark; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #090f1c; color: #f4f6fa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 75% -10%, #243357 0, transparent 38%), #090f1c; }
main { max-width: 1040px; margin: 0 auto; padding: 48px 28px 80px; }
.masthead { padding: 10px 0 44px; border-bottom: 1px solid #2a3752; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .17em; }
.brand b { color: #84e4d4; font-weight: 700; }
.mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #79e4cf; border-radius: 9px; color: #79e4cf; font-size: 19px; }
.eyebrow { color: #8da1bc; font-size: 12px; letter-spacing: .2em; margin-top: 72px; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; line-height: 1.15; margin: 13px 0 18px; }
.masthead p { color: #9eafc7; max-width: 640px; line-height: 1.75; margin: 0; }
.panel { margin-top: 32px; padding: 28px; border: 1px solid #2c3850; border-radius: 18px; background: #111a2b; box-shadow: 0 18px 42px #0003; }
.hidden { display: none; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #c5d3e6; text-transform: uppercase; margin-bottom: 26px; }
.accent { color: #80dfcd; font-size: 12px; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 740px; }
label { color: #aabbd1; font-size: 13px; display: flex; flex-direction: column; gap: 9px; }
input { width: 100%; padding: 13px 14px; border-radius: 9px; border: 1px solid #3a4962; outline: none; background: #0b1321; color: #f4f6fa; font: inherit; }
input:focus { border-color: #79e4cf; box-shadow: 0 0 0 3px #79e4cf25; }
button { cursor: pointer; font: inherit; }
button:disabled { cursor: not-allowed; opacity: .5; }
.primary { justify-self: start; padding: 12px 22px; color: #071821; border: 0; background: #82e4d0; border-radius: 9px; font-weight: 700; }
.quiet { border: 0; background: transparent; color: #82e4d0; padding: 8px 0; }
.toolbar { display: flex; justify-content: space-between; color: #90a3be; font-size: 13px; margin-bottom: 16px; }
.queue { display: grid; gap: 12px; }
.ticket { padding: 19px 21px; border: 1px solid #34425a; border-radius: 12px; background: #0b1321; }
.ticket-top, .ticket-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ticket h2 { font-size: 17px; margin: 12px 0 9px; }
.ticket p { color: #aebed0; margin: 0 0 14px; line-height: 1.6; }
.ticket dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.ticket dt { color: #7188a7; font-size: 11px; margin-bottom: 6px; }
.ticket dd { color: #d1dced; font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.badge { padding: 5px 9px; border-radius: 7px; background: #19374a; color: #8ce2d4; font-size: 11px; font-weight: 700; }
.badge.rejected, .badge.expired { background: #46242a; color: #ef9ca1; }
.badge.consumed { background: #2b3953; color: #a9bbdf; }
.ticket-id { color: #778ca9; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.actions { display: flex; gap: 9px; }
.actions button { padding: 8px 15px; border: 1px solid #53617b; border-radius: 7px; color: #e5eaf4; background: transparent; }
.actions .approve { background: #82e4d0; color: #061821; border-color: #82e4d0; font-weight: 700; }
.notice { color: #9cb2ce; min-height: 22px; margin-top: 18px; }
@media (max-width: 680px) { main { padding: 28px 16px 60px; } .eyebrow { margin-top: 45px; } .panel { padding: 19px; } form, .ticket dl { grid-template-columns: 1fr; } .ticket-footer { align-items: flex-start; flex-direction: column; } }
