:root {
	--ink: #e8eeeb;
	--paper: #151a1c;
	--cream: #20272a;
	--gold: #d5a34c;
	--green: #31b887;
	--red: #d15a54;
	--line: #374245;
	--muted: #a5b0ae;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
.shell { max-width: 1240px; margin: auto; padding: 0 28px; }
.topbar:not(.shared-navbar), .topbar + .notification-menu { display: none; }
.shared-navbar { min-height: 82px; background: #0d1214; border-bottom: 1px solid #2d383b; display: flex; align-items: center; }
.shared-navbar > .shell { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); font: 25px 'Barlow Condensed', sans-serif; letter-spacing: .5px; }
.brand img { height: 51px; width: auto; }
.nav { display: flex; flex: 1 1 auto; gap: 2px; align-items: center; flex-wrap: wrap; justify-content: center; }
.nav a, .nav button { color: #d9e2df; padding: 10px 13px; border: 0; background: none; font: 500 15px 'DM Sans', sans-serif; cursor: pointer; line-height: 20px; }
.nav a:hover, .nav a.active, .nav button:hover { color: #e1b35d; }
.applications-nav-link { display: inline-flex; align-items: center; gap: 7px; }
.pending-request-count { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; }
.nav form { display: flex; align-items: center; height: 100%; margin: 0; }
.nav button { display: inline-flex; align-items: center; height: 40px; }
.login { border: 1px solid #65746f !important; border-radius: 4px; }
.notification-menu { position: relative; margin-left: 2px; }
.notification-menu summary { display: grid; width: 42px; height: 42px; place-items: center; list-style: none; cursor: pointer; position: relative; border: 1px solid #405052; border-radius: 50%; background: #182326; color: var(--gold); box-shadow: inset 0 0 0 4px #101719; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.notification-menu summary:hover, .notification-menu[open] summary { border-color: var(--gold); background: #2b3026; transform: translateY(-1px); }
.notification-menu summary::-webkit-details-marker { display: none; }
.notification-icon { font-size: 19px; line-height: 1; filter: drop-shadow(0 1px 2px #0008); }
.notification-count { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; background: var(--red); color: #fff; border: 2px solid #0d1214; border-radius: 50%; font-size: 10px; font-weight: 700; line-height: 14px; }
.notification-panel { position: absolute; right: 0; top: 44px; width: 310px; background: var(--cream); border: 1px solid var(--line); padding: 14px; z-index: 10; box-shadow: 0 12px 30px #0008; }
.notification { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.notification.unread { color: var(--ink); font-weight: 700; }
.notification small { display: block; color: var(--muted); margin-top: 4px; }
.hero { max-width: 850px; padding: 82px 0 60px; }
.eyebrow { color: var(--gold); font: 600 15px 'DM Sans', sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.hero h1 { font: 600 clamp(45px, 8vw, 94px)/.93 'Barlow Condensed', sans-serif; margin: 18px 0 24px; }
.hero p { max-width: 700px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.section-head { display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin: 22px 0; }
.section-head h1, .section-head h2 { margin: 0; font: 600 40px 'Barlow Condensed', sans-serif; }
.businesses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.business { overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 12px 30px #0003; }
.business img { width: 100%; height: 210px; object-fit: cover; display: block; }
.business-content { padding: 21px; }
.business h3 { margin: 0 0 14px; font: 600 29px/1 'Barlow Condensed', sans-serif; }
.business p, .entry-body { color: #c2cdca; line-height: 1.6; }
.changelog-wrap { max-width: 820px; padding: 72px 0; }
.changelog { border-top: 3px solid var(--gold); }
.announcement-wrap { padding-top: 28px; }
.announcements { border-top: 3px solid var(--green); }
.announcement { padding: 24px; margin-bottom: 12px; background: #202a2d; border: 1px solid var(--line); border-left: 4px solid var(--green); }
.announcement h3 { margin: 6px 0 8px; font: 600 30px 'Barlow Condensed', sans-serif; }
.announcement-admin { margin-top: 28px; margin-bottom: 30px; padding: 28px; background: var(--cream); border: 1px solid var(--line); }
.announcement-admin h2 { margin: 0 0 8px; font: 600 34px 'Barlow Condensed', sans-serif; }
.announcement-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.announcement-admin-list { margin-top: 28px; border-top: 1px solid var(--line); }
.announcement-admin-list h3 { font: 600 26px 'Barlow Condensed', sans-serif; }
.announcement-admin-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.announcement-admin-item small { display: block; margin-top: 4px; color: var(--muted); }
.entry { padding: 24px 0; border-bottom: 1px solid var(--line); }
.entry h3 { margin: 0 0 5px; font: 600 28px 'Barlow Condensed', sans-serif; }
.entry-meta { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.flash { margin: 18px 0; padding: 13px 16px; border-left: 4px solid var(--green); background: #17372f; }
.flash.error { border-color: var(--red); background: #3c2223; }
.panel { max-width: 650px; margin: 70px auto; padding: 28px; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 12px 30px #0003; }
.panel h1 { margin: 0 0 24px; font: 600 48px 'Barlow Condensed', sans-serif; }
.field { display: grid; gap: 7px; margin: 15px 0; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 12px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .member-search:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.btn { padding: 12px 18px; border: 1px solid #4d5b5c; border-radius: 3px; background: #0e1517; color: #fff; font-weight: 700; cursor: pointer; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #151a1c; }
.btn.danger { padding: 8px 10px; background: var(--red); border-color: var(--red); font-size: 12px; }
.auth-note { color: var(--muted); font-size: 13px; }
.request-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 18px; margin: 38px 0; }
.request-card, .request-item { padding: 22px; background: #202a2d; border: 1px solid #354245; }
.request-card h2, .request-item h2 { margin: 0 0 18px; font: 600 30px/1 'Barlow Condensed', sans-serif; }
.request-card select, .request-card input, .request-card textarea { width: 100%; padding: 11px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.request-card textarea { min-height: 100px; resize: vertical; }
.request-fields { display: grid; gap: 12px; }
.request-list { display: grid; gap: 12px; }
.request-category { display: grid; gap: 12px; }
.request-category-title { margin: 8px 0 0; color: var(--gold); font: 600 24px/1 'Barlow Condensed', sans-serif; }
.request-category-history { display: grid; gap: 12px; }
.request-category-history summary { padding: 12px 14px; border: 1px solid var(--line); background: #182326; color: var(--muted); cursor: pointer; font-weight: 700; list-style: none; }
.request-category-history summary::-webkit-details-marker { display: none; }
.request-category-history summary::before { content: '+ '; color: var(--gold); }
.request-category-history[open] summary::before { content: '- '; }
.request-category-history summary:hover { border-color: var(--gold); color: var(--ink); }
.request-item { display: grid; gap: 14px; }
.request-item-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.request-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.request-item dt { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.request-item dd { margin: 3px 0 0; }
.request-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.request-status { padding: 4px 9px; border: 1px solid currentColor; border-radius: 3px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.request-status.pending { color: var(--gold); }.request-status.approved { color: var(--green); }.request-status.rejected { color: var(--red); }
.ticket-layout { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(250px, .85fr) minmax(0, 1.5fr); gap: 18px; margin: 38px 0; }
.ticket-form, .ticket-list, .ticket-conversation { padding: 22px; background: #202a2d; border: 1px solid #354245; }
.ticket-form h2, .ticket-list h2, .ticket-conversation h2 { margin: 0 0 18px; font: 600 30px/1 'Barlow Condensed', sans-serif; }
.ticket-form select, .ticket-form input, .ticket-form textarea, .ticket-reply textarea { width: 100%; padding: 11px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.ticket-form textarea, .ticket-reply textarea { min-height: 130px; resize: vertical; }
.ticket-list { display: grid; gap: 8px; align-content: start; }
.ticket-link { display: grid; gap: 4px; padding: 13px; border: 1px solid #354245; background: #182326; }
.ticket-link:hover, .ticket-link.active { border-color: var(--gold); background: #2d2920; }
.ticket-link strong { font-size: 15px; }
.ticket-link small, .ticket-muted { color: var(--muted); }
.ticket-link-meta, .ticket-header-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.ticket-conversation { min-width: 0; }
.ticket-layout .ticket-conversation { grid-column: 3; }
.ticket-header { display: flex; justify-content: space-between; gap: 15px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ticket-header h2 { margin-bottom: 7px; }
.ticket-description { margin: 18px 0; padding: 14px; white-space: pre-wrap; line-height: 1.6; background: #182326; border-left: 3px solid var(--gold); }
.ticket-messages { display: grid; gap: 10px; margin: 20px 0; }
.ticket-message { max-width: 82%; padding: 12px 14px; background: #182326; border: 1px solid #354245; }
.ticket-message.member { justify-self: start; border-left: 3px solid var(--green); }
.ticket-message.admin { justify-self: end; border-right: 3px solid var(--gold); }
.ticket-message-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 6px; color: var(--gold); font-size: 12px; font-weight: 700; }
.ticket-message-body { white-space: pre-wrap; line-height: 1.55; }
.ticket-reply { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticket-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ticket-status-open { color: var(--gold); }.ticket-status-closed { color: var(--red); }
.receipt-preview-link { display: block; width: 120px; height: 90px; border: 1px solid var(--line); background: #151b1d; overflow: hidden; cursor: zoom-in; }
.receipt-preview { display: block; width: 100%; height: 100%; object-fit: cover; }
.member-layout, .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.member-layout { grid-template-columns: minmax(300px, 1fr) minmax(350px, 1.2fr); margin: 45px 0; }
.member-list, .member-detail { background: #202a2d; border: 1px solid #354245; color: #f1f4f0; }
.member-list { min-height: 550px; }
.member-search { width: 100%; padding: 13px; border: 0; border-bottom: 1px solid #354245; background: #141a1c; color: #fff; font: inherit; }
.admin-user-search { width: 100%; margin: 0 0 14px; padding: 11px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.member-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 17px; border-bottom: 1px solid #354245; cursor: pointer; transition: background .16s ease, box-shadow .16s ease; }
.member-row:hover { background: #2b3739; box-shadow: inset 3px 0 0 var(--gold); }
.member-row.selected { background: #354346; box-shadow: inset 3px 0 0 var(--green); }
.member-row.own-member { background: #263c39; box-shadow: inset 4px 0 0 var(--green); }
.member-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.inactive-badge { color: var(--red); border: 1px solid currentColor; padding: 2px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.unlinked-badge { color: var(--gold); border: 1px solid currentColor; padding: 2px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.status { width: 10px; height: 10px; border-radius: 50%; background: #bb3e3e; border: 1px solid #ec6960; }
.status.online { background: #35b982; border: 0; }
.rank { color: #d8ae5c; font-size: 13px; }
.member-detail { padding: 30px; }
.member-detail h2 { margin: 0 0 20px; font: 600 42px 'Barlow Condensed', sans-serif; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.details dt { color: #9ba7a4; font-size: 12px; text-transform: uppercase; }
.details dd { margin: 3px 0 0; color: #f2f5ee; }
.member-assets { margin-top: 28px; border-top: 1px solid var(--line); }
.member-assets > h3 { margin: 20px 0 8px; color: var(--ink); font: 600 24px 'Barlow Condensed', sans-serif; }
.member-assets-group { border-top: 1px solid #303b3e; }
.member-assets-group h3 { margin: 0; padding: 10px 0 5px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.member-assets-list { display: grid; gap: 1px; margin: 0 0 10px; padding: 0; list-style: none; }
.member-assets-list li { display: flex; align-items: center; gap: 9px; padding: 7px 8px; background: #182326; color: #f2f5ee; line-height: 1.35; }
.member-asset-icon { width: 20px; text-align: center; font-size: 16px; }
.member-asset-vehicle { color: var(--green); }
.member-asset-interior { display: inline-block; width: 17px; height: 17px; background: currentColor; color: #b34bd0; clip-path: polygon(50% 3%, 97% 42%, 84% 42%, 84% 96%, 16% 96%, 16% 42%, 3% 42%); }
.member-asset-parking { color: var(--gold); }
.member-asset-empty { color: var(--muted) !important; font-size: 13px; }
.member-requests { margin-top: 20px; border-top: 1px solid #303b3e; }
.member-requests > h3 { margin: 16px 0 8px; color: var(--ink); font: 600 20px 'Barlow Condensed', sans-serif; }
.member-request-history { display: grid; gap: 10px; }
.member-request-history summary { padding: 10px 12px; border: 1px solid var(--line); background: #182326; color: var(--muted); cursor: pointer; font-weight: 700; list-style: none; }
.member-request-history summary::-webkit-details-marker { display: none; }
.member-request-history summary::before { content: '+ '; color: var(--gold); }
.member-request-history[open] summary::before { content: '- '; }
.member-request-history summary:hover { border-color: var(--gold); color: var(--ink); }
.member-request-list { display: grid; gap: 10px; }
.member-request-item { padding: 12px; border: 1px solid #303b3e; background: #182326; }
.member-request-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; margin-bottom: 10px; }
.member-request-item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.member-request-item dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.member-request-item dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.member-request-empty { margin: 0; color: var(--muted); font-size: 13px; }
.vehicles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 45px 0; }
.vehicle-card { padding: 24px; background: #202a2d; border: 1px solid #354245; }
.vehicle-card-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.vehicle-card h2 { margin: 7px 0 0; font: 600 34px/1 'Barlow Condensed', sans-serif; }
.vehicle-details { margin-top: 20px; }
.vehicle-details > div { order: 12; }
.vehicle-details > div:nth-child(1) { order: 1; }
.vehicle-details > div:nth-child(2) { order: 2; }
.vehicle-details > div:nth-child(5) { order: 3; }
.vehicle-details > div:nth-child(9) { order: 4; }
.vehicle-details > div:nth-child(8) { order: 5; }
.vehicle-details > div:nth-child(4) { order: 6; }
.vehicle-details > div:nth-child(7) { order: 7; }
.vehicle-details > div:nth-child(3) { order: 8; }
.vehicle-details > div:nth-child(6) { order: 9; }
.vehicle-details > div:nth-child(10) { order: 10; }
.vehicle-details > div:nth-child(11) { order: 11; }
.vehicle-details > div:nth-child(12) { order: 12; }
.vehicle-details > div:nth-child(13) { order: 13; }
.vehicle-details dd pre { max-width: 100%; margin: 3px 0 0; color: #f2f5ee; white-space: pre-wrap; word-break: break-word; font: inherit; }
.vehicle-keys { display: grid; gap: 5px; margin: 6px 0 0; padding: 0; list-style: none; }
.vehicle-keys li { padding: 6px 9px; border-left: 3px solid var(--gold); background: #182326; color: #f2f5ee; line-height: 1.35; }
.vehicle-badge { display: inline-block; padding: 4px 9px; border: 1px solid currentColor; border-radius: 3px; font-size: 12px; font-weight: 700; }
.vehicle-badge-factory { color: rgb(60,184,170); }
.vehicle-badge-pro { color: #27f595; }
.vehicle-badge-race { color: #f5dd27; }
.vehicle-badge-venom { color: #319ad7; }
.vehicle-badge-custom-venom { color: #943cb8; }
.vehicle-badge-none { color: #7d7d7d; }
.vehicle-badge-available { color: rgb(60,184,170); }
.vehicle-badge-impounded { color: #a30505; }
.vehicle-badge-unknown { color: var(--muted); }
.vehicle-plate { color: var(--gold); font: 500 22px 'DM Sans', sans-serif; }
.vehicle-points { color: var(--gold); font-weight: 700; }
.vehicle-points-danger { color: var(--red); }
.vehicle-warning { margin: 18px 0 -4px; padding: 10px 12px; border-left: 4px solid var(--red); background: #4a2022; color: #ffb2ad; font-weight: 700; line-height: 1.4; }
.vehicle-warning-warning { border-color: var(--gold); background: #4a3d20; color: #f5d985; }
.vehicle-warning-danger { border-color: var(--red); background: #4a2022; color: #ffb2ad; }
.vehicle-controls { display: grid; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.vehicle-form { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.vehicle-form label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.vehicle-form input { min-width: 170px; padding: 10px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.vehicle-violation-list { display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
.vehicle-violation-list > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 9px; background: #182326; border-left: 3px solid var(--red); }
.vehicle-violation-list small { color: #91a09e; white-space: nowrap; }
.parking-intro { display: block; margin: 34px 0 18px; padding: 18px; background: #202a2d; border: 1px solid #354245; }
.parking-intro img { width: 100%; max-height: 420px; object-fit: contain; display: block; }
.parking-intro h2 { margin: 0 0 8px; font: 600 34px/1 'Barlow Condensed', sans-serif; }
.parking-intro p { margin: 0; color: var(--muted); line-height: 1.5; }
.helicopter-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.helicopter-intro img { max-height: 360px; }
.parking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
.parking-spot { display: grid; gap: 9px; min-height: 124px; padding: 14px; background: #202a2d; border: 1px solid #354245; }
.parking-spot > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.parking-spot strong { color: #f1f4f0; }
.parking-number { color: var(--gold); font: 600 22px 'Barlow Condensed', sans-serif; }
.leadership-spot { border-color: var(--gold); background: #2d2920; }
.parking-spot:has(select option:checked:not([value=""])) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.parking-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; min-width: 0; }
.parking-form select { width: 100%; min-width: 0; padding: 9px 7px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.parking-form .btn { padding: 9px 10px; white-space: nowrap; }
.member-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.member-section-nav { display: inline-flex; gap: 3px; align-items: center; padding: 4px; border: 1px solid #3d4a4d; border-radius: 7px; background: #121a1c; box-shadow: 0 6px 18px #0004; }
.member-section-nav .btn { min-width: 112px; padding: 9px 15px; border: 1px solid transparent; border-radius: 4px; color: var(--muted); font: 700 14px/1 'DM Sans', sans-serif; text-align: center; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.member-section-nav .btn:hover { border-color: #536366; color: var(--ink); background: #243033; transform: none; }
.member-section-nav .btn.gold { border-color: var(--gold); background: var(--gold); color: #151a1c; box-shadow: 0 2px 8px #d5a34c44; }
.member-section-nav .btn.gold:hover { border-color: #e1b35d; background: #e1b35d; color: #151a1c; }
.field select { width: 100%; padding: 12px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.member-summary { display: inline-block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 3px; background: #182326; color: var(--muted); font-size: 13px; }
.member-alert { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; margin-left: 8px; border-radius: 50%; font-weight: 800; }
.member-alert.warning { background: var(--gold); color: #171b1c; }
.member-alert.danger { background: var(--red); color: #fff; }
.member-row.warning-member { box-shadow: inset 4px 0 0 var(--gold); }
.member-row.danger-member { box-shadow: inset 4px 0 0 var(--red); }
.violation-list { display: grid; gap: 10px; margin: 15px 0 22px; }
.violation-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px; border: 1px solid #455357; border-left: 4px solid var(--red); border-radius: 4px; background: #182326; }
.violation-card p { margin: 5px 0; color: #c2cdca; }
.violation-card small { color: #91a09e; }
.violation-empty { padding: 14px; border: 1px dashed #536164; color: var(--muted); text-align: center; }
.modal { display: none; position: fixed; inset: 0; z-index: 20; align-items: center; justify-content: center; padding: 18px; background: #000b; }
.modal.open { display: flex; }
.modal-card { width: min(680px, 100%); max-height: 90vh; overflow: auto; padding: 24px; border: 1px solid var(--line); background: var(--cream); box-shadow: 0 20px 60px #000b; }
.modal-card h3 { margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--gold); }
.inline-form { display: inline-flex; gap: 5px; align-items: center; }
.inline-form input { width: 120px; padding: 7px; border: 1px solid var(--line); }
.toolbar { display: flex; gap: 6px; margin-bottom: 6px; }
.toolbar button { padding: 7px 10px; border: 1px solid var(--line); background: #151b1d; color: var(--ink); cursor: pointer; }
.editor { min-height: 150px; padding: 12px; border: 1px solid #465357; background: #151b1d; }
.weekly-page { max-width: 1240px; margin: 0 auto; padding: 42px 28px; }
.weekly-head { display: flex; justify-content: space-between; align-items: end; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.weekly-head h1 { margin: 8px 0; font: 600 48px 'Barlow Condensed', sans-serif; }
.weekly-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.weekly-toolbar span { margin-right: auto; color: var(--muted); }
.weekly-toolbar a { padding: 9px 12px; border: 1px solid #455357; border-radius: 3px; }
.weekly-toolbar a:hover { border-color: var(--gold); color: var(--gold); }
.weekly-search { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.weekly-search input, .weekly-period-toolbar select { padding: 9px 11px; border: 1px solid #455357; border-radius: 3px; background: #151b1d; color: var(--ink); font: inherit; }
.weekly-search input:focus, .weekly-period-toolbar select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.weekly-periods { display: grid; gap: 16px; }
.weekly-period { border: 1px solid var(--line); background: var(--cream); box-shadow: 0 10px 24px #0003; }
.weekly-period summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; }
.weekly-period summary::-webkit-details-marker { display: none; }
.weekly-period summary::before { content: '+'; color: var(--gold); font-size: 23px; line-height: 1; }
.weekly-period[open] summary::before { content: '-'; }
.weekly-period summary > span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 22px 'Barlow Condensed', sans-serif; }
.weekly-period-arrow { color: var(--gold); }
.weekly-period summary small { color: var(--muted); white-space: nowrap; }
.weekly-period-content { padding: 0 22px 22px; }
.weekly-period-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.weekly-period-toolbar label { display: flex; align-items: center; gap: 8px; }
.weekly-period .table-wrap { margin: 0; }
.weekly-period .weekly-table { background: #182225; min-width: 0; }
.weekly-period .weekly-table th, .weekly-period .weekly-table td { padding: 12px 15px; }
.weekly-filter-empty { margin: 0; }
.weekly-table, .data-table { width: 100%; border-collapse: collapse; background: var(--cream); }
.weekly-table { min-width: 680px; }
.weekly-table th, .weekly-table td, .data-table th, .data-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; }
.weekly-table th, .data-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.account-summary { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 38px 0 45px; padding: 28px; background: #202a2d; border: 1px solid #354245; }
.account-summary strong { display: block; margin-top: 8px; color: var(--green); font: 600 54px/1 'Barlow Condensed', sans-serif; }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.account-history { margin-bottom: 50px; }
.account-history .section-head { margin-top: 0; }
.account-deposit { color: var(--green); font-weight: 700; }
.account-withdraw { color: var(--red); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.account-history .data-table { width: 100%; min-width: 0; table-layout: fixed; }
.account-history-table th, .account-history-table td { padding: 13px 10px; }
.account-history-table th:nth-child(1), .account-history-table td:nth-child(1) { width: 12%; }
.account-history-table th:nth-child(2), .account-history-table td:nth-child(2) { width: 16%; white-space: nowrap; font-size: 13px; }
.account-history-table th:nth-child(3), .account-history-table td:nth-child(3) { width: 18%; }
.account-history-table th:nth-child(5), .account-history-table td:nth-child(5) { width: 14%; white-space: normal; overflow-wrap: anywhere; }
.account-history-table td:nth-child(1) { white-space: nowrap; }
.account-history-table td:nth-child(4) { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.empty-state { padding: 36px !important; color: var(--muted); text-align: center; }
.telescope-page { padding-bottom: 48px; }
.telescope-state { padding: 7px 11px; border: 1px solid currentColor; border-radius: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.telescope-state.is-on { color: var(--green); }
.telescope-state.is-off { color: var(--red); }
.telescope-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 30px 0 14px; padding: 18px; background: #202a2d; border: 1px solid #354245; }
.telescope-toolbar strong { color: var(--gold); font: 600 32px/1 'Barlow Condensed', sans-serif; }
.telescope-muted { color: var(--muted); }
.telescope-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.telescope-actions form { margin: 0; }
.telescope-table { min-width: 1040px; }
.telescope-table code { color: var(--gold); font: 12px 'DM Sans', sans-serif; word-break: break-all; }
.telescope-long-text { max-width: 260px; color: var(--muted); font-size: 12px; word-break: break-word; }
.shop-page { padding-bottom: 30px; }
.shop-create { margin: 34px 0 28px; padding: 22px; background: #202a2d; border: 1px solid #354245; }
.shop-create h2 { margin: 6px 0 0; font: 600 30px/1 'Barlow Condensed', sans-serif; }
.shop-create-form { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr auto; gap: 12px; align-items: end; margin-top: 18px; }
.shop-create-form select { width: 100%; padding: 11px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.shop-create-form .field:has(.shop-image-picker) { grid-column: 1 / -1; }
.shop-image-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 270px; overflow-y: auto; padding: 10px; border: 1px solid #465357; background: #151b1d; scrollbar-color: #65746f #151b1d; }
.shop-image-option { min-width: 0; padding: 5px; border: 1px solid #354245; border-radius: 3px; background: #202a2d; color: var(--muted); cursor: pointer; font: 11px 'DM Sans', sans-serif; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.shop-image-option:hover { border-color: #9a7b42; background: #2a302e; transform: translateY(-1px); }
.shop-image-option.selected { border-color: var(--gold); background: #3a3223; box-shadow: 0 0 0 2px #d5a34c55; color: var(--ink); }
.shop-image-option img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #182326; }
.shop-image-option span { display: block; overflow: hidden; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 34px 0 52px; }
.shop-item { overflow: hidden; background: #202a2d; border: 1px solid #354245; }
.shop-item > img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 20px; background: #182326; }
.shop-item-body { display: grid; gap: 10px; padding: 17px; }
.shop-item h2 { margin: 0; font: 600 28px/1 'Barlow Condensed', sans-serif; }
.shop-price { color: var(--green); font-size: 17px; }
.shop-item .btn { justify-self: start; margin-top: 4px; }
.shop-edit-button { border-color: #65746f; color: var(--muted); }
.shop-out-of-stock { color: var(--red); font-weight: 700; }
.shop-orders { margin-bottom: 46px; }
.shop-orders .section-head { margin-top: 0; }
.shop-orders-table { min-width: 850px; }
.shop-order-image { width: 38px; height: 38px; margin-right: 9px; vertical-align: middle; object-fit: contain; background: #182326; }
.shop-orders-table td:first-child { white-space: nowrap; }
.shop-orders-table .inline-form { flex-wrap: wrap; }
.prices-page { padding-bottom: 44px; }
.prices-lead { max-width: 680px; margin: 28px 0 34px; color: var(--muted); line-height: 1.6; }
.prices-search { display: grid; gap: 7px; max-width: 520px; margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 700; }
.prices-search input { width: 100%; padding: 12px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.prices-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.price-editor { margin: 0 0 34px; padding: 22px; background: #202a2d; border: 1px solid #354245; border-left: 4px solid var(--gold); }
.price-editor h2 { margin: 6px 0 0; font: 600 30px/1 'Barlow Condensed', sans-serif; }
.price-form { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; align-items: end; margin-top: 18px; }
.price-form .field:last-of-type { grid-column: 1 / -1; }
.price-form > .btn { justify-self: start; }
.price-image-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 270px; overflow-y: auto; padding: 10px; border: 1px solid #465357; background: #151b1d; scrollbar-color: #65746f #151b1d; }
.price-image-option { appearance: none; display: block; min-width: 0; width: 100%; padding: 6px; border: 1px solid #354245; border-radius: 3px; background: #202a2d; color: var(--muted); cursor: pointer; font: 11px 'DM Sans', sans-serif; text-align: left; }
.price-image-option:hover, .price-image-option:focus-visible, .price-image-option.selected { border-color: var(--gold); background: #3a3223; color: var(--ink); outline: none; box-shadow: 0 0 0 2px #d5a34c55; }
.price-image-option img { display: block; width: 100%; height: 58px; aspect-ratio: 1; object-fit: contain; background: #182326; }
.price-image-option span { display: block; overflow: hidden; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; }
.prices-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { overflow: hidden; background: #202a2d; border: 1px solid #354245; }
.price-card > img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 20px; background: #182326; }
.price-card-body { display: grid; gap: 10px; padding: 17px; }
.price-card h2 { margin: 0; font: 600 28px/1 'Barlow Condensed', sans-serif; }
.price-range { display: grid; gap: 3px; padding: 8px 0; border-top: 1px solid #354245; }
.price-range span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.price-card strong { color: var(--green); font-size: 20px; }
.price-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price-card-actions form { margin: 0; }
.price-edit-button { border-color: #65746f; color: var(--muted); }
.records-page { padding-bottom: 44px; }
.records-lead { max-width: 720px; margin: 28px 0 34px; color: var(--muted); line-height: 1.6; }
.records-filter { display: grid; gap: 7px; max-width: 420px; margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 700; }
.records-filter input { width: 100%; padding: 12px; border: 1px solid #465357; border-radius: 2px; background: #151b1d; color: var(--ink); font: inherit; }
.record-import { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin: 28px 0 34px; padding: 22px; background: #202a2d; border: 1px solid #354245; border-left: 4px solid var(--gold); }
.record-import h2 { margin: 6px 0 8px; font: 600 32px/1 'Barlow Condensed', sans-serif; }
.record-import p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.5; }
.record-import form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: end; }
.record-upload { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.record-upload input { max-width: 230px; color: var(--muted); font: inherit; }
.records-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.record-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; min-height: 178px; padding: 20px; background: linear-gradient(145deg, #273234, #182326); border: 1px solid #3d4b4e; border-top: 3px solid var(--gold); box-shadow: 0 12px 26px #0003; }
.record-card-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); color: var(--gold); font: 600 26px 'Barlow Condensed', sans-serif; }
.record-card strong { display: block; margin-top: 10px; font: 600 26px/1 'Barlow Condensed', sans-serif; }
.record-value { margin-top: 16px; color: var(--green); font: 600 32px/1 'Barlow Condensed', sans-serif; }
.record-value small { color: var(--muted); font: 500 14px 'DM Sans', sans-serif; }
.record-source { display: block; margin-top: 14px; color: #91a09e; font-size: 11px; word-break: break-word; }
.record-import-history { margin-top: 48px; }
.footer { margin-top: 70px; padding: 26px 0; border-top: 1px solid #2d383b; background: #0d1214; color: #96a5a2; font-size: 13px; }
.two-col > section:last-child > h2 { margin: 0 0 16px; font: 600 34px/1 'Barlow Condensed', sans-serif; }
.two-col > section:last-child > div[style*="border-bottom"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; margin-top: 12px; padding: 19px 20px !important; border: 1px solid #3d4b4e !important; border-left: 4px solid var(--gold) !important; background: linear-gradient(135deg, #202a2d, #182225); box-shadow: 0 10px 24px #0003; }
.two-col > section:last-child > div[style*="border-bottom"]:first-of-type { margin-top: 0; }
.two-col > section:last-child > div[style*="border-bottom"] > strong { display: inline-block; margin: 0 8px 7px 0; color: var(--ink); font: 700 21px/1 'Barlow Condensed', sans-serif; letter-spacing: .2px; }
.two-col > section:last-child > div[style*="border-bottom"] > strong::after { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px; border-radius: 50%; background: var(--green); }
.two-col > section:last-child > div[style*="border-bottom"] .inline-form { margin: 0 !important; vertical-align: middle; }
.two-col > section:last-child > div[style*="border-bottom"] .inline-form input { width: 145px; height: 40px; padding: 0 11px; border: 1px solid #465357; border-radius: 3px; background: #151b1d; color: var(--ink); }
.two-col > section:last-child > div[style*="border-bottom"] .inline-form .btn, .two-col > section:last-child > div[style*="border-bottom"] .btn.danger { height: 40px; }
.two-col > section:last-child > div[style*="border-bottom"] .btn.danger { margin-left: 5px; }
.two-col > section:last-child > div[style*="border-bottom"] .inline-form:first-of-type { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; align-items: center; }
.two-col > section:last-child > div[style*="border-bottom"] .inline-form:last-of-type { grid-column: 1; }
.two-col > section:last-child > div[style*="border-bottom"]::first-line { color: var(--muted); }
@media (max-width: 1050px) { .shop-grid, .prices-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shop-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-create-form .btn { justify-self: start; } }
@media (max-width: 620px) { .shop-grid, .prices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .shop-item-body, .price-card-body { padding: 12px; } .shop-item h2, .price-card h2 { font-size: 24px; } .shop-create-form, .price-form { grid-template-columns: 1fr; } .price-form .field:last-of-type { grid-column: auto; } }
@media (max-width: 950px) { .records-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .record-import { align-items: start; flex-direction: column; } .record-import form { justify-content: start; } }
@media (max-width: 800px) { .shared-navbar { padding: 13px 0; } .shared-navbar > .shell { align-items: start; } .nav { flex-wrap: wrap; justify-content: center; } .brand { font-size: 20px; } .brand img { height: 40px; } .businesses, .member-layout, .two-col, .vehicles-grid, .parking-grid, .helicopter-intro, .request-layout, .ticket-layout { grid-template-columns: 1fr; } .ticket-layout .ticket-conversation { grid-column: auto; } .hero { padding-top: 55px; } .shell { padding: 0 18px; } .member-detail { min-height: 380px; } .weekly-page { padding: 28px 18px; } .weekly-head { align-items: start; flex-direction: column; gap: 15px; } .weekly-toolbar span { width: 100%; } .weekly-table { min-width: 720px; } .account-summary { align-items: start; flex-direction: column; } }
@media (max-width: 620px) { .records-grid { grid-template-columns: 1fr; } .record-card { min-height: 0; } }
@media (max-width: 520px) { .announcement-dates { grid-template-columns: 1fr; gap: 0; } .announcement-admin-item { align-items: start; flex-direction: column; } .member-request-item dl { grid-template-columns: 1fr; } .two-col > section:last-child > div[style*="border-bottom"] { display: block; } .two-col > section:last-child > div[style*="border-bottom"] .inline-form, .two-col > section:last-child > div[style*="border-bottom"] .inline-form:first-of-type, .two-col > section:last-child > div[style*="border-bottom"] .inline-form:last-of-type { display: flex; width: 100%; margin-top: 12px !important; } .two-col > section:last-child > div[style*="border-bottom"] .inline-form input { flex: 1; min-width: 0; } .two-col > section:last-child > div[style*="border-bottom"] .btn { white-space: nowrap; } }
