:root { --ink: #162235; --muted: #6f7b8c; --line: #dbe1e7; --accent: #ec684f; --accent-dark: #bd4937; --teal: #17847c; --paper: #f3f5f7; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, #111d2d 0 255px, var(--paper) 255px); }
button, input, textarea, select { font: inherit; }
.portal-header { height: 74px; padding: 0 max(24px, calc((100vw - 960px) / 2)); display: flex; align-items: center; justify-content: space-between; color: white; }
.portal-header p { margin: 0; color: #aeb8c5; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portal-brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.portal-brand span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); font-weight: 900; }
.portal-brand strong { letter-spacing: -.02em; }
.portal-shell { width: min(960px, calc(100% - 32px)); margin: 0 auto 70px; }
.venue-hero { min-height: 181px; padding: 36px 42px; border-radius: 14px 14px 0 0; color: white; background: linear-gradient(120deg, #17263a, #253d5b); box-shadow: 0 20px 55px rgba(8, 16, 27, .16); }
.eyebrow { margin: 0 0 12px; color: #f19a88; font-size: .67rem; font-weight: 900; letter-spacing: .13em; }
.venue-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.venue-hero > p:not(.eyebrow) { margin: 12px 0 0; color: #bcc6d1; }
.hero-meta { display: flex; gap: 8px; margin-top: 24px; }
.hero-meta span { padding: 5px 8px; border: 1px solid #466078; border-radius: 20px; color: #cbd4dd; font-size: .65rem; }
.verification-note { margin-top: 14px; padding: 17px 20px; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #9dcec5; border-radius: 11px; background: #edf8f5; }
.verification-note > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--teal); color: white; font-weight: 900; }
.verification-note strong { font-size: .85rem; }
.verification-note p { margin: 4px 0 0; color: #527069; font-size: .75rem; line-height: 1.5; }
.form-card, .smart-panel { margin-top: 14px; padding: 31px 36px 36px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 26px rgba(20, 31, 47, .045); }
.smart-panel { padding: 0; overflow: hidden; border-color: #a9d6d1; }
.smart-panel summary { min-height: 86px; padding: 20px 25px; display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; background: #f1faf8; }
.smart-panel summary::-webkit-details-marker { display: none; }
.smart-panel summary > span:nth-child(2) { flex: 1; }
.smart-panel summary strong, .smart-panel summary small { display: block; }
.smart-panel summary strong { font-size: .88rem; }
.smart-panel summary small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.smart-panel summary b { color: var(--teal); font-size: .69rem; }
.smart-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--teal); color: white; }
.smart-body { padding: 25px; border-top: 1px solid #cce5e2; }
.smart-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.smart-actions small { color: var(--muted); font-size: .68rem; }
.smart-result { min-height: 1em; margin: 10px 0 0; color: var(--teal); font-size: .73rem; }
.section-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 24px; }
.section-head > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: var(--accent-dark); background: #fff0ec; font-size: .68rem; font-weight: 900; }
.section-head h2 { margin: 1px 0 3px; font-size: 1.05rem; letter-spacing: -.025em; }
.section-head p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: block; color: #566273; font-size: .72rem; font-weight: 800; }
input, textarea, select { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #cbd3dc; border-radius: 8px; outline: 0; color: var(--ink); background: white; font-size: .87rem; font-weight: 400; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23, 132, 124, .12); }
.wide { grid-column: 1 / -1; }
.verified-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.verified-grid:empty { display: none; }
.verified-item { min-height: 57px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border-radius: 8px; background: #edf7f4; }
.verified-item.venue-confirmed { box-shadow: inset 3px 0 0 var(--teal); }
.verified-item small, .verified-item strong { display: block; }
.verified-item small { color: #5c7b73; font-size: .59rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.verified-item strong { margin-top: 4px; overflow: hidden; color: #245c51; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.verified-item b { color: var(--teal); }
.hall-select { max-width: 430px; margin-bottom: 20px; }
.file-drop { min-height: 112px; padding: 24px; display: grid; place-items: center; align-content: center; border: 1px dashed #aeb9c5; border-radius: 9px; background: #f8fafb; cursor: pointer; text-align: center; }
.file-drop:hover { border-color: var(--teal); background: #f3faf9; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop span, .file-drop small { display: block; }
.file-drop span { color: var(--teal); font-size: .8rem; }
.file-drop small { margin-top: 5px; color: var(--muted); font-size: .65rem; }
.file-selection { display: grid; gap: 6px; margin-top: 10px; }
.file-chip { padding: 9px 11px; display: flex; justify-content: space-between; gap: 12px; border-radius: 7px; background: #f0f3f5; font-size: .7rem; }
.file-chip small { color: var(--muted); }
.button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; font-size: .76rem; }
.button.primary { color: white; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { color: white; background: var(--teal); }
.button:disabled { opacity: .55; cursor: wait; }
.submit-row { min-height: 88px; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-radius: 11px; background: white; box-shadow: 0 8px 26px rgba(20, 31, 47, .06); }
.submit-row p { margin: 0; color: var(--muted); font-size: .72rem; }
.form-error { min-height: 20px; margin: 16px 2px 6px; color: #b42318; font-size: .78rem; }
.loading-card, .message-card { min-height: 330px; padding: 50px; display: grid; place-items: center; align-content: center; border-radius: 14px; background: white; text-align: center; box-shadow: 0 20px 55px rgba(8, 16, 27, .15); }
.loading-card p, .message-card p { max-width: 510px; color: var(--muted); line-height: 1.6; }
.message-card > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-weight: 900; }
.message-card.success > span { background: var(--teal); }
.message-card h1 { margin: 18px 0 0; }
.loader { width: 36px; height: 36px; border: 3px solid #dfe5e9; border-top-color: var(--teal); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  body { overflow-x: hidden; background-position-y: -40px; }
  .portal-shell { width: calc(100% - 16px); margin-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .portal-header { height: 62px; padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); }
  .portal-header p { display: none; }
  .venue-hero { min-height: 150px; padding: 25px 19px; border-radius: 12px 12px 0 0; }
  .venue-hero h1 { font-size: clamp(1.8rem, 10vw, 2.7rem); line-height: 1.05; overflow-wrap: anywhere; }
  .venue-hero > p:not(.eyebrow) { font-size: .9rem; line-height: 1.45; }
  .hero-meta { flex-wrap: wrap; margin-top: 19px; }
  .verification-note { margin-top: 9px; padding: 15px; }
  .form-card { margin-top: 9px; padding: 23px 17px 26px; }
  .form-grid, .verified-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: 1.1rem; }
  .section-head p { font-size: .82rem; }
  label { font-size: .875rem; }
  input, textarea, select { min-height: 46px; font-size: 1rem; }
  .smart-panel summary { min-height: 78px; padding: 16px; }
  .smart-panel summary strong { font-size: .9rem; }
  .smart-panel summary small { font-size: .78rem; line-height: 1.4; }
  .smart-panel summary b { display: none; }
  .smart-body { padding: 19px 16px; }
  .smart-actions, .submit-row { align-items: stretch; flex-direction: column; }
  .smart-actions small { font-size: .75rem; line-height: 1.45; }
  .button { min-height: 46px; font-size: .85rem; }
  .file-drop { min-height: 124px; padding: 20px 14px; }
  .file-drop span { font-size: .9rem; }
  .file-drop small { font-size: .75rem; }
  .file-chip { align-items: flex-start; flex-direction: column; font-size: .8rem; }
  .submit-row { min-height: 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .submit-row p { font-size: .8rem; line-height: 1.45; }
  .submit-row .button { width: 100%; }
  .loading-card, .message-card { min-height: 280px; padding: 32px 20px; }
}
