/* Summer Jam brand touches for the Filament panel - no build step. */
.fi-sidebar { background: #0F0C0A !important; }
.fi-sidebar-header { background: #0F0C0A !important; }
.fi-sidebar-nav { background: #0F0C0A !important; }
.fi-sidebar-item-label, .fi-sidebar-group-label { color: #D9D2CC !important; }
.fi-sidebar-item-icon { color: #A39A92 !important; }
.fi-sidebar-item:hover .fi-sidebar-item-button { background: rgba(255,255,255,.06) !important; }
.fi-sidebar-item-active .fi-sidebar-item-button { background: #E8623E !important; }
.fi-sidebar-item-active .fi-sidebar-item-label,
.fi-sidebar-item-active .fi-sidebar-item-icon { color: #fff !important; }
.fi-logo { color: #fff; }
.fi-simple-main { border-top: 4px solid #E8623E; }
.fi-header-heading { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.sj-readiness li { display: flex; gap: .6rem; align-items: baseline; padding: .35rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.sj-readiness li:last-child { border-bottom: 0; }
.sj-readiness .ok { color: #2F7D46; font-weight: 700; }
.sj-readiness .no { color: #B02E1C; font-weight: 700; }
.sj-readiness small { color: #8B8078; }
/* the login card: a proper-sized mark, not the topbar thumbnail */
.fi-simple-layout .fi-logo, .fi-simple-page .fi-logo { height: 4.2rem !important; width: auto; margin: 0.25rem auto 1.5rem; }

/* ---- custom pages (Master, Queue): plain CSS, the panel ships no Tailwind utilities ---- */
.sj-card { background: var(--sj-card, #fff); border: 1px solid rgba(0,0,0,.08); border-radius: .75rem; }
.dark .sj-card { --sj-card: rgb(24 24 27); border-color: rgba(255,255,255,.08); }
.sj-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; margin-bottom: 1rem; }
.sj-field { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 600; color: rgb(113 113 122); }
.sj-select { min-width: 18rem; padding: .5rem .75rem; border-radius: .5rem; border: 1px solid rgba(0,0,0,.15); background: #fff; color: inherit; font: inherit; font-size: .9rem; }
.dark .sj-select { background: rgb(24 24 27); border-color: rgba(255,255,255,.15); color: #fff; }
.sj-check { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; padding-bottom: .45rem; }
.sj-muted { color: rgb(113 113 122); }
.sj-small { font-size: .8rem; }
.sj-strong { font-weight: 600; }
.sj-tablewrap { overflow-x: auto; }
.sj-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sj-table th { text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(113 113 122); padding: .85rem 1rem; border-bottom: 1px solid rgba(0,0,0,.08); white-space: nowrap; }
.sj-table td { padding: .85rem 1rem; border-bottom: 1px solid rgba(0,0,0,.06); vertical-align: top; }
.dark .sj-table th, .dark .sj-table td { border-color: rgba(255,255,255,.07); }
.sj-table tr:last-child td { border-bottom: 0; }
.sj-empty { color: rgb(113 113 122); text-align: center; padding: 2.5rem 1rem !important; }
.sj-gap { color: rgba(0,0,0,.2); font-size: 1.2rem; line-height: 1; }
.dark .sj-gap { color: rgba(255,255,255,.18); }
.sj-badge { display: inline-block; padding: .15rem .6rem; border-radius: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.sj-badge.is-good { background: rgba(34,197,94,.15); color: rgb(21 128 61); }
.sj-badge.is-muted { background: rgba(113,113,122,.15); color: rgb(113 113 122); }
.sj-badge.is-primary { background: rgba(232,98,62,.15); color: #C24A2B; }
.dark .sj-badge.is-good { color: rgb(134 239 172); }
.dark .sj-badge.is-primary { color: #F58E6C; }
.sj-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-bottom: 1.5rem; }
.sj-stat { padding: 1.1rem 1.25rem; }
.sj-stat-n { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.sj-stat.is-alarm { border-color: rgba(220,38,38,.5); background: rgba(220,38,38,.08); }
.sj-stat.is-alarm .sj-stat-n { color: rgb(185 28 28); }
.sj-h2 { font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; }
.sj-job { padding: 1rem 1.25rem; margin-bottom: .75rem; }
.sj-job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.sj-actions { display: flex; gap: .5rem; }
.sj-pre { margin: .75rem 0 0; padding: .75rem; border-radius: .5rem; background: rgba(0,0,0,.05); font-size: .75rem; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; }
.dark .sj-pre { background: rgba(255,255,255,.05); }

/* ---- polish pass (25 Aug): tabs, sections, tables, header, thumbnails ---- */
.fi-topbar { border-bottom: 1px solid rgba(15,12,10,.08); }
.fi-header-heading { font-size: 1.75rem; line-height: 1.05; }
.fi-header-subheading { margin-top: .35rem; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: #8B8078; font-weight: 600; }
/* tab row: a pill bar, brand-orange active tab */
.fi-tabs { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: rgba(15,12,10,.06); box-shadow: none !important; border: 0 !important; }
.dark .fi-tabs { background: rgba(255,255,255,.07); }
.fi-tabs-item { border-radius: 999px !important; padding: .5rem 1.05rem !important; font-weight: 600; transition: background .15s, color .15s; }
.fi-tabs-item:hover { background: rgba(232,98,62,.12); }
.fi-tabs-item.fi-active { background: #E8623E !important; color: #fff !important; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.fi-tabs-item.fi-active .fi-tabs-item-label { color: #fff !important; }
/* sections and tables: softer edges, calmer headers */
.fi-section, .fi-ta-ctn { border-radius: 1rem !important; box-shadow: 0 1px 2px rgba(15,12,10,.04), 0 8px 24px -18px rgba(15,12,10,.25) !important; }
.fi-section-header-heading { font-weight: 800; letter-spacing: -.01em; }
.fi-ta-header-cell { font-size: .68rem !important; letter-spacing: .08em; text-transform: uppercase; }
.fi-ta-header-cell .fi-ta-header-cell-label, .fi-ta-header-cell span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #8B8078; }
.fi-ta-row:hover { background: rgba(232,98,62,.04); }
.fi-badge { border-radius: .45rem !important; letter-spacing: .02em; }
.fi-btn { border-radius: .65rem !important; }
/* uploaded-asset thumbnails (Forms / Emails tabs) */
.sj-thumbs { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; padding: .25rem 0 .1rem; }
.sj-thumb-wrap { display: flex; align-items: center; gap: .7rem; }
.sj-thumb { display: block; width: 6.5rem; height: 4.25rem; border-radius: .6rem; overflow: hidden; border: 1px solid rgba(15,12,10,.12); background: #0F0C0A; box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: transform .12s, box-shadow .12s; }
.sj-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.sj-thumb:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px rgba(232,98,62,.35); }
.sj-thumb-pdf { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; letter-spacing: .1em; font-size: .8rem; text-decoration: none; background: #E8623E; }
.sj-thumb-empty { display: flex; align-items: center; justify-content: center; background: rgba(15,12,10,.06); color: #8B8078; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-style: dashed; }
.dark .sj-thumb-empty { background: rgba(255,255,255,.06); }
.sj-thumb-label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 700; line-height: 1.25; }
.sj-thumb-label small { font-weight: 500; color: #8B8078; font-size: .75rem; }
/* readiness list (modal) */
.sj-readiness { margin-top: .25rem; }
.sj-readiness li { padding: .5rem 0; font-size: .92rem; }

/* ---- event-day check-in: phone-first, one big button per person ---- */
.sj-checkin-search { width: 100%; padding: 1rem 1.2rem; font: inherit; font-size: 1.15rem; border-radius: .9rem; border: 2px solid rgba(15,12,10,.15); background: #fff; }
.sj-checkin-search:focus { outline: none; border-color: #E8623E; }
.dark .sj-checkin-search { background: rgb(24 24 27); border-color: rgba(255,255,255,.15); color: #fff; }
.sj-checkin-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; padding: 1rem 1.25rem; margin-top: .9rem; }
.sj-checkin-badges { display: flex; gap: .4rem; margin-top: .45rem; }
.sj-checkin-actions { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; min-width: 14rem; }
.sj-checkin-btn { padding: 1rem 1.6rem; border: 0; border-radius: .8rem; background: #E8623E; color: #fff; font: 800 1.05rem 'Archivo', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.sj-checkin-btn:hover { background: #C24A2B; }
.sj-checkin-done { text-align: center; padding: .9rem 1rem; border-radius: .8rem; background: rgba(34,197,94,.14); color: rgb(21 128 61); font-weight: 800; }
.dark .sj-checkin-done { color: rgb(134 239 172); }
.sj-checkin-blocked { text-align: center; padding: .9rem 1rem; border-radius: .8rem; background: rgba(220,38,38,.1); color: rgb(185 28 28); font-weight: 700; }
.sj-checkin-link { padding: .55rem 1rem; border: 1px solid rgba(15,12,10,.2); border-radius: .7rem; background: transparent; font: 600 .85rem/1.2 inherit; cursor: pointer; }
.dark .sj-checkin-link { border-color: rgba(255,255,255,.25); color: #fff; }
.sj-checkin-none { padding: 1.25rem 1.5rem; margin-top: 1rem; }

/* Check-in confirm popup - replaces the browser's default confirm dialog */
[x-cloak] { display: none !important; }
.sj-confirm-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(15,12,10,.55); backdrop-filter: blur(3px); }
.sj-confirm { width: min(26rem, 100%); padding: 1.5rem 1.5rem 1.25rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.sj-confirm .sj-strong { font: 800 1.15rem 'Archivo', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.sj-confirm .sj-muted { margin-top: .4rem; overflow-wrap: anywhere; }
.sj-confirm-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.sj-confirm-actions .sj-checkin-link { padding: .7rem 1.1rem; }
.sj-confirm-send { padding: .7rem 1.3rem; font-size: .95rem; }
