/* View-specific states for the monochrome appeal portal. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.server-picker-wrap{display:inline-flex;align-items:center;margin:0 .4rem}.server-picker-wrap select{max-width:13rem;padding:.55rem .7rem;border:1px solid #41434a;border-radius:.55rem;background:#15161a;color:inherit;font:inherit}.guild-manager-panel{margin-bottom:1.5rem}.guild-manager-panel .permission-form{max-width:42rem}.guild-manager-panel h4{margin:1.25rem 0 .75rem}
[hidden], button[hidden] { display: none !important; }

.staff-hub-card { display: grid; gap: 24px; }
.staff-hub-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #303339; }
.staff-hub-tabs a { padding: 9px 12px; border: 1px solid #34373d; border-radius: 999px; color: #bfc2c8; font-size: 10px; text-decoration: none; }
.staff-hub-tabs a:hover, .staff-hub-tabs a.active { border-color: #e3e4e6; background: #e3e4e6; color: #111214; }
.hub-panel { max-width: 780px; padding: 8px 2px 18px; }
.hub-panel h3 { margin: 0 0 10px; font-size: 20px; }
.hub-panel p { max-width: 700px; line-height: 1.8; }
.hub-panel .button { margin-top: 12px; }
@media (max-width: 700px) { .staff-hub-tabs { gap: 6px; } .staff-hub-tabs a { padding: 8px 10px; } }
[hidden], button[hidden] { display: none !important; }

.hero-art { isolation: isolate; }
.hero-art::before { position: absolute; inset: -5%; z-index: -2; background: url("assets/lurith-appeals-atmosphere.webp") center / cover no-repeat; content: ''; opacity: .78; filter: grayscale(1); -webkit-mask-image: radial-gradient(ellipse at 55% 50%, #000 12%, transparent 100%); mask-image: radial-gradient(ellipse at 55% 50%, #000 12%, transparent 100%); pointer-events: none; }
.hero-landscape { position: absolute; z-index: -1; inset: 4% -12% 0; width: 124%; height: 100%; opacity: .2; filter: drop-shadow(0 18px 35px #0009); pointer-events: none; }
.hero-art > .art-halo, .hero-art > .art-ring, .hero-art > .discord-emblem { z-index: 1; }
.hero-art > .art-caption, .hero-art > .art-spark { z-index: 2; }
.discord-emblem { width: 176px; height: 176px; border-radius: 28px; clip-path: none; }
.discord-emblem::before { border-radius: 24px; clip-path: none; }
.discord-emblem svg { width: 102px; }
.hero-assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 25px; }
.assurance-item { display: flex; min-width: 0; align-items: flex-start; gap: 9px; color: #f1f2f3; }
.hero-assurances .assurance-copy, .hero-assurances .assurance-copy strong, .hero-assurances .assurance-copy small { display: block; white-space: normal; }
.brand { letter-spacing: .55px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.assurance-item .mini-icon { display: grid; width: 38px; height: 38px; flex: none; place-items: center; margin: 0; border: 1px solid #34373d; border-radius: 10px; background: linear-gradient(145deg, #292b30, #111316); box-shadow: 0 0 18px #fff1; color: #f4f5f6; font-style: normal; }
.assurance-item .mini-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.assurance-copy { display: block; min-width: 0; }
.assurance-copy strong { display: block; color: #f1f2f3; font-size: 11px; font-weight: 650; line-height: 1.3; }
.assurance-copy small { display: block; margin-top: 4px; color: #b6b9bf; font-size: 9px; line-height: 1.5; }
.hero-cta { margin-top: 23px; }
.discord-button { justify-content: center; border-color: #f1f2f4; background: linear-gradient(180deg, #fff, #e5e6e8); color: #111214; }
.discord-button:hover { border-color: #fff; background: #fff; color: #08090a; box-shadow: 0 5px 24px #fff2; }
.discord-mini { width: 24px; height: 24px; background: transparent; color: #121315; }
.discord-mini svg { display: block; width: 22px; height: 18px; fill: currentColor; }
.button:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.header-help { white-space: nowrap; }

.data-view { min-height: calc(100vh - 150px); padding: 64px 24px 90px; background: radial-gradient(ellipse at 25% 0, #1a1c20 0, transparent 50%), #090a0c; }
.data-view .section-heading { margin-bottom: 24px; }
.data-card { min-height: 180px; padding: 22px; border: 1px solid #303339; border-radius: 12px; background: linear-gradient(145deg, #17191d, #111215 75%); box-shadow: 0 18px 55px #0006, 0 0 28px #fff05; }
.data-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #2b2e33; }
.data-detail-heading h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.data-detail-heading .section-kicker { margin: 0; }
.timestamp-row { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 14px 0; border-bottom: 1px solid #292c31; color: #92969d; font-size: 10px; }
.status-badge { display: inline-flex; min-height: 23px; align-items: center; justify-content: center; padding: 3px 9px; border: 1px solid #44474d; border-radius: 999px; background: #1a1c20; color: #e0e2e5; font-size: 9px; font-weight: 650; white-space: nowrap; }
.status-submitted, .status-under-review { border-color: #e5e6e8; background: #e5e6e8; color: #141517; }
.status-awaiting-response { border-color: #74777d; color: #f2f2f4; }
.status-accepted, .status-accepted-with-conditions { border-color: #afb2b7; color: #f4f5f6; }
.status-denied, .status-withdrawn { color: #b7bbc1; }
.data-section { padding: 19px 0; border-bottom: 1px solid #292c31; }
.data-section:last-of-type { border-bottom: 0; }
.data-section h4, .public-response h4 { margin: 0 0 13px; font-size: 13px; }
.data-field { display: grid; grid-template-columns: minmax(125px, .34fr) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #24262a; }
.data-field:last-child { border-bottom: 0; }
.data-field-label { color: #90949b; font-size: 10px; }
.data-field-value { color: #e1e3e6; font-size: 11px; overflow-wrap: anywhere; white-space: pre-wrap; }
.evidence-link { color: #f1f2f3; text-decoration: underline; text-underline-offset: 3px; }
.public-response { margin: 17px 0; padding: 16px; border: 1px solid #41444a; border-radius: 8px; background: #17191d; }
.public-response p, .reply-entry p { margin: 0; color: #d1d3d7; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.appeal-timeline { position: relative; margin: 0; padding: 0 0 0 18px; list-style: none; }
.appeal-timeline::before { position: absolute; top: 7px; bottom: 8px; left: 4px; width: 1px; background: #4b4e54; content: ''; }
.timeline-entry { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 0 0 16px 10px; }
.timeline-entry::before { position: absolute; top: 5px; left: -18px; width: 8px; height: 8px; border-radius: 50%; background: #dfe1e4; box-shadow: 0 0 8px #fff4; content: ''; }
.timeline-entry strong { font-size: 10px; font-weight: 650; }
.timeline-entry time { color: #8d9198; font-size: 9px; }
.timeline-entry p { grid-column: 1 / -1; margin: 2px 0 0; color: #b5b8be; font-size: 10px; white-space: pre-wrap; }
.reply-thread, .staff-notes { display: grid; gap: 10px; margin: 12px 0; }
.reply-entry, .staff-note { padding: 12px; border: 1px solid #303339; border-radius: 7px; background: #121417; }
.reply-meta, .staff-note small { display: block; margin-bottom: 6px; color: #969aa1; font-size: 9px; }
.reply-form, .staff-note-form, .staff-transition-form { display: grid; gap: 9px; margin-top: 13px; }
.reply-form .field-label, .staff-transition-form .field-label { margin: 2px 0 0; }
.inline-status { min-height: 15px; margin: 0; color: #b9bdc3; font-size: 10px; }
.muted-copy { color: #92969d; font-size: 10px; line-height: 1.65; }
.empty-state, .loading-state, .error-state { color: #aeb2b9; font-size: 11px; line-height: 1.7; }
.error-state { color: #f1c0c0; }
.empty-state-card { padding: 26px; border: 1px dashed #3a3d43; border-radius: 9px; background: #131518; }
.empty-state-card h3 { margin: 0 0 6px; font-size: 15px; }
.empty-state-card p { margin: 0 0 17px; color: #979ba2; font-size: 10px; }
.appeal-list { display: grid; gap: 10px; }
.appeal-list-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px; border: 1px solid #303339; border-radius: 8px; background: #131518; }
.appeal-list-card > div:first-child { display: grid; min-width: 0; gap: 3px; }
.appeal-list-card strong { font-size: 12px; }
.appeal-list-card .muted-copy { overflow-wrap: anywhere; }
.appeal-list-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.appeal-list-side .button { min-height: 35px; font-size: 10px; }
.staff-controls { display: grid; gap: 15px; margin-bottom: 18px; }
.queue-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 0 0 5px; scrollbar-color: #484b51 transparent; }
.queue-tab { display: inline-flex; flex: none; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid #303339; border-radius: 7px; background: #131518; color: #aeb2b9; font-size: 9px; cursor: pointer; }
.queue-tab b { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #25272b; color: #f1f2f4; font-size: 9px; }
.queue-tab:hover, .queue-tab.active { border-color: #92969d; background: #202226; color: white; }
.queue-tab.active b { background: #e4e5e7; color: #141517; }
.staff-controls input { max-width: 390px; }
.staff-queue-list { display: grid; overflow: hidden; border: 1px solid #2d3035; border-radius: 8px; }
.staff-queue-row { display: grid; width: 100%; grid-template-columns: minmax(180px, 1.5fr) minmax(75px, .6fr) minmax(100px, .8fr) minmax(145px, 1fr) minmax(95px, .7fr); gap: 12px; align-items: center; padding: 13px 14px; border: 0; border-bottom: 1px solid #292c31; background: #121417; color: #dedfe2; text-align: left; cursor: pointer; }
.staff-queue-row:last-child { border-bottom: 0; }
.staff-queue-row:hover { background: #1c1e22; }
.staff-queue-user { display: grid; min-width: 0; gap: 3px; }
.staff-queue-user strong { font-size: 10px; overflow-wrap: anywhere; }
.staff-queue-user small { color: #858990; font-size: 8px; overflow-wrap: anywhere; }
.staff-queue-type, .staff-queue-date, .staff-queue-assignee { color: #b5b8be; font-size: 9px; }
.staff-queue-status { justify-self: start; }
.staff-detail-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.staff-permissions-card { display: grid; gap: 24px; }
.permission-protection-note { margin: 0; padding: 12px 14px; border-left: 2px solid #a7a9ae; background: #181a1e; color: #c9cbd0; font-size: 13px; line-height: 1.6; }
.staff-permissions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.permission-panel, .permission-history { min-width: 0; padding: 18px; border: 1px solid #2d3035; border-radius: 8px; background: #111316; }
.permission-panel h3, .permission-history h3 { margin: 0 0 8px; color: #f1f2f3; font-size: 16px; }
.permission-panel > .muted-copy { margin: 0 0 16px; line-height: 1.6; }
.permission-form { display: grid; gap: 8px; margin-bottom: 18px; }
.permission-form input, .permission-form select, .permission-form textarea, .permission-entry select, .permission-entry textarea { width: 100%; min-width: 0; border: 1px solid #363940; border-radius: 6px; background: #090a0c; color: #e9eaec; font: inherit; padding: 10px 11px; }
.permission-form textarea, .permission-entry textarea { resize: vertical; }
.permission-form .button { justify-self: start; margin-top: 4px; }
.permission-list { display: grid; gap: 10px; }
.permission-entry { display: grid; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #2d3035; border-radius: 6px; background: #15171a; }
.permission-entry-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; min-width: 0; }
.permission-entry-heading strong { color: #eceef0; overflow-wrap: anywhere; }
.permission-entry-heading small, .permission-entry-meta { color: #9699a0; font-size: 12px; overflow-wrap: anywhere; }
.permission-entry-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.permission-entry-controls .field-label { grid-column: 1 / -1; }
.permission-entry-controls textarea { grid-column: 1 / -1; min-height: 58px; }
.permission-entry-controls .button { justify-self: start; }
.permission-entry-controls .button-quiet { margin-left: 2px; }
.permission-bootstrap { align-self: start; padding: 5px 8px; border: 1px solid #45484f; border-radius: 999px; color: #c9cbd0; font-size: 11px; }
.permission-audit-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.permission-audit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 10px 0; border-bottom: 1px solid #292c31; }
.permission-audit-row:last-child { border-bottom: 0; }
.permission-audit-row strong { color: #e1e2e4; font-size: 13px; overflow-wrap: anywhere; }
.permission-audit-row time, .permission-audit-row small { color: #92959c; font-size: 11px; }
.permission-audit-row p { grid-column: 1 / -1; margin: 0; color: #b7b9bf; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.permission-history { grid-column: 1 / -1; }
.staff-actions > .button { margin-top: 12px; }
.staff-note p { margin: 0 0 7px; font-size: 10px; overflow-wrap: anywhere; white-space: pre-wrap; }
.staff-transition-form { margin-top: 17px; padding-top: 14px; border-top: 1px solid #2b2e33; }
.staff-transition-form select, .staff-transition-form textarea, .reply-form textarea, .staff-note-form textarea { font-size: 11px; }
.email-delivery-row { margin: 7px 0; padding: 7px 9px; border-radius: 5px; background: #15171a; color: #c1c4ca; font-size: 9px; }
.turnstile-area { margin-top: 14px; padding: 11px; border: 1px solid #303339; border-radius: 7px; background: #121417; }
.turnstile-area #turnstile-widget { min-height: 64px; }
.turnstile-area .field-hint { margin: 4px 0; }
.review-list { display: grid; gap: 10px; border: 0; overflow: visible; }
.review-group { overflow: hidden; border: 1px solid #303339; border-radius: 8px; background: #121417; }
.review-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid #292c31; }
.review-group-heading h4 { margin: 0; color: #e5e6e8; font-size: 11px; }
.review-group-heading .text-button { font-size: 9px; }
.review-group .review-row { border-radius: 0; }

@media (max-width: 700px) {
  .data-view { padding: 48px 16px 70px; }
  .data-card { padding: 15px; }
  .data-detail-heading { align-items: flex-start; }
  .data-detail-heading h3 { font-size: 18px; }
  .data-field { grid-template-columns: 90px 1fr; gap: 9px; }
  .timeline-entry { grid-template-columns: 1fr; }
  .timeline-entry time { grid-column: 1; }
  .appeal-list-card { align-items: flex-start; flex-direction: column; }
  .appeal-list-side { justify-content: flex-start; }
  .staff-queue-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; padding: 12px; }
  .staff-queue-user { grid-column: 1 / -1; }
  .staff-queue-type { grid-column: 1; }
  .staff-queue-status { grid-column: 2; grid-row: 2; }
  .staff-queue-date { grid-column: 1; }
  .staff-queue-assignee { grid-column: 2; grid-row: 3; text-align: right; }
  .staff-permissions-grid { grid-template-columns: minmax(0, 1fr); }
  .permission-panel, .permission-history { padding: 14px; }
  .permission-history { grid-column: auto; }
  .permission-entry-controls { grid-template-columns: minmax(0, 1fr); }
  .permission-entry-controls .field-label, .permission-entry-controls textarea { grid-column: auto; }
  .permission-entry-controls .button { justify-self: stretch; }
  .queue-tabs { margin-right: -3px; }
  .staff-controls input { max-width: none; }
  .header-help { margin-right: 9px; font-size: 9px; }
  .hero-cta { margin-top: 20px; }
}
@media (max-width: 390px) {
  .data-view { padding-right: 12px; padding-left: 12px; }
  .data-card { padding: 12px; }
  .data-field { grid-template-columns: 75px 1fr; }
  .data-detail-heading { flex-direction: column; }
  .appeal-list-side { gap: 8px; }
  .queue-tab { padding: 8px 9px; }
}
.email-confirm-card { max-width: 680px; }
.email-confirm-card > p:first-child { max-width: 560px; margin: 0 0 18px; color: #b9bdc3; font-size: 12px; }
.email-confirm-card .inline-status { margin-top: 12px; }
@media (max-width: 900px) and (min-width: 701px) {
  .hero-assurances { grid-template-columns: 1fr; gap: 9px; max-width: 290px; margin-top: 20px; }
  .assurance-item .mini-icon { width: 34px; height: 34px; border-radius: 9px; }
  .assurance-copy small { margin-top: 2px; }
}
@media (max-width: 700px) {
  .header-help { display: none; }
  .hero-assurances { grid-template-columns: 1fr; gap: 9px; max-width: 340px; margin-top: 18px; }
  .assurance-item .mini-icon { width: 34px; height: 34px; border-radius: 9px; }
  .assurance-copy strong { font-size: 10px; }
  .assurance-copy small { margin-top: 2px; font-size: 9px; }
}
.server-picker-wrap{display:inline-flex;align-items:center;margin:0 .4rem}.server-picker-wrap select{max-width:13rem;padding:.55rem .7rem;border:1px solid #41434a;border-radius:.55rem;background:#15161a;color:inherit;font:inherit}.guild-manager-panel{margin-bottom:1.5rem}.guild-manager-panel .permission-form{max-width:42rem}.guild-manager-panel h4{margin:1.25rem 0 .75rem}
