:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #21172d; background: #f8f5fc; }
body { margin: 0; }
.manage-page { max-width: 1080px; margin: 0 auto; padding: 28px 20px 56px; }
.manage-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.manage-header a { color: #7656a8; text-decoration: none; }
.eyebrow { color: #7656a8; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3rem); }
h2 { margin: 4px 0; font-size: 1.2rem; }
.event-grid, .queue { display: grid; gap: 14px; }
.event-card, .request-card { background: #fff; border: 1px solid #e5ddef; border-radius: 16px; padding: 18px; box-shadow: 0 4px 20px #2a17400d; }
.event-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.request-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: 20px; }
.request-main p { margin: 4px 0; color: #665876; }
blockquote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid #c7b2df; color: #594b68; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.request-actions { align-content: start; }
button, .button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 8px; background: #7656a8; color: #fff; font: inherit; cursor: pointer; }
button.secondary { background: #e9e2f1; color: #392c48; }
button.danger { background: #b53c5c; }
.empty { padding: 36px 0; color: #665876; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 18px; }
.filters label { display: grid; gap: 5px; color: #665876; font-size: .85rem; font-weight: 700; }
.filters input { min-height: 38px; box-sizing: border-box; padding: 0 10px; border: 1px solid #d8cbe5; border-radius: 8px; font: inherit; color: #21172d; }
.filters .button { display: inline-grid; place-items: center; text-decoration: none; }
.audit-summary { color: #665876; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e5ddef; border-radius: 16px; box-shadow: 0 4px 20px #2a17400d; }
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th, td { padding: 13px 15px; border-bottom: 1px solid #eee8f3; text-align: left; vertical-align: top; }
th { color: #665876; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
td small { display: block; max-width: 190px; overflow: hidden; color: #8c7a9d; text-overflow: ellipsis; white-space: nowrap; }
td code { display: block; max-width: 300px; overflow: hidden; color: #594b68; text-overflow: ellipsis; white-space: nowrap; }
.pagination { display: flex; justify-content: center; gap: 18px; padding: 24px 0; }
.pagination a { color: #7656a8; text-decoration: none; font-weight: 700; }
.login-page { max-width: 480px; min-height: 70vh; display: grid; place-items: center; }
.login-card { width: 100%; background: #fff; border: 1px solid #e5ddef; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px #2a17400d; }
.login-card h1 { margin-bottom: 8px; }
.login-card button { width: 100%; margin-top: 10px; }
.login-help { margin: 18px 0 0; color: #665876; font-size: .9rem; }
.login-error { margin: 16px 0; padding: 12px; border-radius: 8px; background: #ffe5eb; color: #8d2945; }
.notice { margin: 16px 0; padding: 12px 14px; border-radius: 8px; background: #eee8f8; color: #4b3860; }
.notice.success { background: #e4f5eb; color: #22613b; }
.notice.error { background: #ffe5eb; color: #8d2945; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 24px; }
.catalog-card { background: #fff; border: 1px solid #e5ddef; border-radius: 16px; padding: 18px; box-shadow: 0 4px 20px #2a17400d; }
.catalog-card p { color: #665876; }
.catalog-card form { margin-top: 12px; }
.catalog-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.catalog-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; border: 1px solid #e5ddef; border-radius: 12px; background: #fff; }
.catalog-item p { margin: 4px 0 0; color: #665876; font-size: .9rem; }
.catalog-item .actions { justify-content: end; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #e9e2f1; color: #594b68; font-size: .8rem; font-weight: 700; }
.badge.success { background: #e4f5eb; color: #22613b; }
.playlist-options { display: grid; gap: 10px; margin: 18px 0; }
.playlist-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid #e5ddef; border-radius: 12px; cursor: pointer; }
.playlist-option:has(input:checked) { border-color: #7656a8; background: #fbf9fe; }
.playlist-option input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #7656a8; }
.playlist-option strong, .playlist-option small { display: block; }
.playlist-option small { margin-top: 4px; color: #665876; }
.settings-actions { margin-top: 20px; }
.assignment-options { display: grid; gap: 10px; margin-top: 16px; }
.assignment-option { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e5ddef; border-radius: 12px; background: #fff; }
.assignment-option small { display: block; margin-top: 4px; color: #665876; }
button:disabled { opacity: .5; cursor: not-allowed; }
.venue-create-card { margin-top: 24px; }
.report-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.report-summary strong { display: block; margin-top: 8px; font-size: 2rem; }
.qr-page { max-width: 900px; }
.qr-card { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 36px; align-items: center; padding: 34px; background: #fff; border: 1px solid #e5ddef; border-radius: 20px; box-shadow: 0 4px 20px #2a17400d; }
.qr-art { display: grid; place-items: center; padding: 20px; background: #fff; border: 1px solid #eee8f3; border-radius: 16px; }
.qr-art svg { display: block; width: 100%; max-width: 320px; height: auto; }
.qr-copy p { color: #665876; line-height: 1.6; }
.qr-code { margin: 0; color: #665876; }
.qr-url { overflow-wrap: anywhere; padding: 12px; border-radius: 8px; background: #f4f0f8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; }
@media print { .no-print { display: none; } .manage-page { max-width: none; padding: 0; } .qr-card { border: 0; box-shadow: none; } }
@media (max-width: 720px) { .manage-header, .event-card { align-items: stretch; flex-direction: column; } .request-card { grid-template-columns: 1fr; } .qr-card { grid-template-columns: 1fr; padding: 20px; } }
.verify-banner { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; background: #fff6dd; color: #6b4e00; border: 1px solid #f0dca0; }
.verify-banner p { margin: 0 0 10px; }
.login-divider { margin: 18px 0 6px; text-align: center; color: #665876; font-size: .9rem; }
.login-form label { display: block; margin-top: 12px; font-weight: 600; }
.login-form input { width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px; border: 1px solid #d5c9e4; border-radius: 8px; font: inherit; }
.login-form .link-button { background: none; border: 0; color: #7656a8; padding: 0; margin-top: 12px; width: auto; text-decoration: underline; cursor: pointer; }
.login-info { margin: 16px 0; padding: 12px; border-radius: 8px; background: #e6f6ec; color: #1d5b36; }
