/* Temple-inspired theme layered over style.css */
:root { --blue: #00587c; --blue-dark: #004a68; --orange: #f7941d; --orange-dark: #e0820a; }
body { font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; background: #fff; }

header.site { background: #fff; }
.site-top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; gap: 20px; flex-wrap: wrap; }
.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #1b1b1b; }
.wordmark span { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark b { font-size: 1.9rem; font-weight: 900; letter-spacing: -.01em; color: var(--blue); }
.wordmark i { font-style: normal; font-weight: 700; font-size: 1.05rem; color: #333; }
.wordmark small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #777; margin-top: 3px; }
.site-cta { display: flex; gap: 10px; }
.btn-sq { border-radius: 6px; text-transform: uppercase; font-weight: 700; font-size: .85rem; padding: 12px 20px; letter-spacing: .01em; color: #fff; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }

.mainnav { background: var(--blue); }
.mainnav .wrap { display: flex; flex-wrap: wrap; justify-content: center; }
.mainnav a { color: #fff; text-transform: uppercase; font-weight: 700; font-size: .95rem; padding: 18px 26px; text-decoration: none; border-left: 1px solid rgba(255,255,255,.25); }
.mainnav a:first-child { border-left: 0; }
.mainnav a:hover { background: var(--blue-dark); }

.page-title { text-align: center; text-transform: uppercase; color: var(--blue); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.25rem); margin: 26px 20px 8px; letter-spacing: -.005em; }

.hero { background: #fff; color: var(--ink); padding: 0 0 36px; text-align: center; }
.hero .kicker { display: inline-block; background: linear-gradient(90deg, #2e8b57, #2b7bd9, #6c3fb5, #c2398a, #f7941d); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding: 6px 16px; border-radius: 999px; margin: 4px 0 14px; }
.hero .lead { max-width: 680px; margin: 0 auto; font-size: 1.15rem; color: var(--muted); }
main { margin-top: 0; border-top: 1px solid var(--line); padding-top: 32px; }

.panel { box-shadow: none; border: 1px solid var(--line); border-radius: 10px; }
.panel h2 { text-transform: uppercase; color: var(--blue); font-size: 1.3rem; letter-spacing: .01em; }
.chip { border-radius: 6px; }
.chip.on { background: var(--blue); }
.card { border-radius: 10px; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 8px 22px rgba(0,60,90,.12); transform: translateY(-2px); }
.btn-ghost { border-radius: 6px; text-transform: uppercase; font-size: .8rem; }
input, select, textarea { border-radius: 4px; border-color: #b9c6ce; }
footer { background: var(--blue); color: #dbeaf1; padding: 26px 0; }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-block; border-radius: 4px; font-size: .75rem; font-weight: 700; padding: 2px 7px; margin-left: 4px; }
dialog::backdrop, dialog#volModal::backdrop { background: rgba(0,20,40,.55); }
@media (max-width: 720px) { .mainnav a { padding: 12px 14px; font-size: .8rem; } .vol-filters { grid-template-columns: 1fr; } .wordmark b { font-size: 1.4rem; } }
[hidden] { display: none !important; }

/* Ask RSJI assistant */
.ask-hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; border-radius: 12px; padding: 28px; margin-bottom: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.ask-hero h2 { margin: 0 0 6px; font-size: 1.5rem; text-transform: none; color: #fff; }
.ask-hero p { margin: 0; opacity: .9; }
.ask-hero form { display: flex; gap: 8px; }
.ask-hero input { border: 0; border-radius: 6px; padding: 14px; }
.ask-hero .btn { white-space: nowrap; border-radius: 6px; text-transform: uppercase; }
.ask-hero .chips { margin: 12px 0 0; }
.ask-hero .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; font-size: .8rem; }
.ask-hero .chip:hover { background: rgba(255,255,255,.25); }
.ask-fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: var(--orange); color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(0,40,60,.3); }
.ask-fab:hover { background: var(--orange-dark); }
dialog#askDialog { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 24px)); max-height: min(720px, calc(100vh - 24px)); box-shadow: 0 24px 60px rgba(0,30,50,.4); overflow: hidden; }
dialog#askDialog[open] { display: flex; flex-direction: column; }
dialog#askDialog::backdrop { background: rgba(0,30,50,.5); }
.ask-head { background: var(--blue); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.ask-head div { display: flex; flex-direction: column; }
.ask-head span { font-size: .8rem; opacity: .85; }
.ask-x { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f9fb; min-height: 220px; }
.ask-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; }
.ask-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.ask-msg.me { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ask-results { display: grid; gap: 8px; margin-top: 10px; }
.ask-opp { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 8px; padding: 8px 10px; background: #fff; }
.ask-opp:hover { background: var(--blue-soft); }
.ask-opp span { font-size: .78rem; color: var(--blue); font-weight: 700; }
.ask-opp small { color: var(--muted); }
.ask-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 0; }
.ask-chips .chip { white-space: nowrap; font-size: .78rem; padding: 5px 11px; }
.ask-form { display: flex; gap: 8px; padding: 12px 14px; }
.ask-form .btn { border-radius: 6px; padding: 10px 18px; }
.ask-note { margin: 0; padding: 0 14px 12px; font-size: .72rem; color: var(--muted); }
@media (max-width: 720px) { .ask-hero { grid-template-columns: 1fr; } }

/* User & Event Statistics Styles */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; border-left: 4px solid var(--blue); }
.stat-card .num { font-size: 1.85rem; font-weight: 800; color: var(--blue-dark); line-height: 1.1; }
.stat-card .lbl { font-size: 0.78rem; text-transform: uppercase; font-weight: 700; color: var(--muted); letter-spacing: 0.05em; }
.stat-card .sub { font-size: 0.75rem; color: var(--muted); margin: 0; }

.chart-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 24px; }
.chart-bars-wrap { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.chart-col { flex: 1; min-width: 22px; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; position: relative; }
.chart-bar-fill { width: 100%; max-width: 32px; background: linear-gradient(180deg, var(--blue), #1b7aa3); border-radius: 4px 4px 0 0; min-height: 3px; transition: height 0.3s ease, background 0.2s; cursor: pointer; }
.chart-bar-fill:hover { background: var(--orange); }
.chart-col-date { font-size: 0.65rem; color: var(--muted); margin-top: 6px; transform: rotate(-35deg); white-space: nowrap; }

.capacity-meter { display: flex; align-items: center; gap: 8px; }
.capacity-track { flex: 1; max-width: 100px; height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.capacity-fill { height: 100%; border-radius: 999px; transition: width 0.3s; }
.capacity-text { font-size: 0.78rem; font-weight: 700; min-width: 45px; }

@media (max-width: 850px) {
  .stats-two-col { grid-template-columns: 1fr !important; }
}
