:root { color-scheme: light; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f6f8; color: #17202a; }
a { color: inherit; }
h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: 0; }
p { line-height: 1.5; }
.muted { color: #74808c; font-size: 13px; }
.public-shell, .login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.public-panel, .login-panel { width: min(520px, 100%); background: #fff; border: 1px solid #d9e0e7; border-radius: 8px; padding: 24px; box-shadow: 0 12px 32px rgba(24, 39, 75, 0.08); }
.primary-button, .primary-link-button { min-height: 44px; border: 0; border-radius: 6px; padding: 0 16px; background: #1769aa; color: #fff; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.primary-button:disabled { opacity: .6; cursor: wait; }
.result { margin-top: 18px; line-height: 1.5; }
.result a { color: #1769aa; font-weight: 700; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 220px 1fr; }
.sidebar { background: #17202a; color: #fff; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sidebar a { color: #d9e8ff; text-decoration: none; }
.admin-main { padding: 24px; min-width: 0; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.queue { display: grid; gap: 12px; }
.application-card { background: #fff; border: 1px solid #d9e0e7; border-radius: 8px; padding: 16px; display: grid; gap: 12px; }
.card-header { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; margin: 0; }
.meta-grid div { border: 1px solid #edf1f5; border-radius: 6px; padding: 8px; background: #fafbfc; }
dt { color: #74808c; font-size: 12px; }
dd { margin: 3px 0 0; font-weight: 700; }
.video-note { width: min(360px, 100%); border-radius: 8px; background: #111; }
.decision-form textarea { width: 100%; min-height: 64px; resize: vertical; border: 1px solid #b8c4d0; border-radius: 6px; padding: 8px; }
.actions, .inline-form, .location-form, .filter-bar { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
button, select, input { min-height: 36px; border: 1px solid #b8c4d0; border-radius: 6px; background: #fff; padding: 0 10px; }
button { cursor: pointer; font-weight: 700; }
.filter-bar { margin: 0 0 14px; background: #fff; border: 1px solid #d9e0e7; border-radius: 8px; padding: 12px; }
.secondary-link { color: #1769aa; font-weight: 700; text-decoration: none; }
.detail-card { margin-bottom: 16px; }
.audit-panel { background: #fff; border: 1px solid #d9e0e7; border-radius: 8px; padding: 16px; overflow-x: auto; }
.audit-panel h2 { margin-top: 0; font-size: 20px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #d9e0e7; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 860px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #edf1f5; vertical-align: top; }
th { color: #5d6a76; font-size: 13px; background: #fafbfc; }
.assignment-cell { display: grid; gap: 8px; }
.location-form { margin-bottom: 14px; background: #fff; border: 1px solid #d9e0e7; border-radius: 8px; padding: 12px; }
@media (max-width: 760px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .admin-main { padding: 16px; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
}
