/* Worshippers Operations — premium console theme
   Deep emerald, gold foil, warm paper, serif display type, and a quiet
   eight-point-star lattice. All selectors from the previous theme are kept. */

:root {
  --ink: #12261f;
  --ink-strong: #081a14;
  --muted: #5f6f68;
  --muted-soft: #8a978f;
  --canvas: #f4f2ea;
  --canvas-deep: #ece9de;
  --surface: #fffdf7;
  --surface-raised: #ffffff;
  --surface-soft: #f6f3ea;
  --line: #e2e3d8;
  --line-strong: #cfd4c8;
  --brand: #0e5c4a;
  --brand-bright: #177a61;
  --brand-dark: #0a4437;
  --forest: #0b2a22;
  --forest-deep: #071c17;
  --night: #061512;
  --gold: #c9a02e;
  --gold-deep: #a8841c;
  --gold-soft: #f2e4b8;
  --gold-foil: linear-gradient(135deg, #e8c975 0%, #b58a29 38%, #f3d88c 62%, #a8841c 100%);
  --danger: #a13d3d;
  --warning: #8a5a10;
  --success: #15704f;
  --shadow-sm: 0 6px 18px rgb(16 42 33 / 6%);
  --shadow-md: 0 18px 48px rgb(15 42 33 / 10%);
  --shadow-lg: 0 34px 90px rgb(4 29 21 / 24%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --font-display: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --lattice: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'><g fill='none' stroke='%23c9a02e' stroke-width='0.9' stroke-opacity='0.16'><rect x='23' y='23' width='50' height='50'/><rect x='23' y='23' width='50' height='50' transform='rotate(45 48 48)'/><circle cx='0' cy='0' r='4'/><circle cx='96' cy='0' r='4'/><circle cx='0' cy='96' r='4'/><circle cx='96' cy='96' r='4'/></g></svg>");
  --lattice-ink: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'><g fill='none' stroke='%230a4437' stroke-width='0.8' stroke-opacity='0.045'><rect x='23' y='23' width='50' height='50'/><rect x='23' y='23' width='50' height='50' transform='rotate(45 48 48)'/><circle cx='0' cy='0' r='4'/><circle cx='96' cy='0' r='4'/><circle cx='0' cy='96' r='4'/><circle cx='96' cy='96' r='4'/></g></svg>");
  color-scheme: light;
  font: 15.5px/1.55 var(--font-text);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { color: var(--ink-strong); background: var(--gold-soft); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgb(201 160 46 / 45%); outline-offset: 2px; }
.hidden { display: none !important; }
.skip-link { position: fixed; left: 14px; top: -80px; z-index: 100; padding: 11px 16px; border-radius: 12px; color: white; background: var(--ink-strong); box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 14px; }

/* ---------- Sign in ---------- */
.auth-layout { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(400px, 520px) minmax(0, 1fr); gap: 18px; padding: 18px; background: var(--lattice-ink), radial-gradient(circle at 6% 0%, #dfe9dc 0, transparent 34rem), var(--canvas); }
.auth-card { position: relative; isolation: isolate; width: min(100%, 500px); margin: auto; padding: clamp(30px, 5vw, 52px); overflow: hidden; border: 1px solid rgb(201 160 46 / 28%); border-radius: var(--radius-lg); background: rgb(255 253 247 / 96%); box-shadow: var(--shadow-md); backdrop-filter: blur(18px); animation: rise .6s ease both; }
.auth-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(255 255 255 / 70%), transparent 40%); }
.auth-card::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -110px; top: -110px; border: 1px solid rgb(201 160 46 / 20%); border-radius: 50%; box-shadow: 0 0 0 34px rgb(201 160 46 / 5%), 0 0 0 68px rgb(201 160 46 / 3%); }
.auth-kicker { margin: 34px 0 9px; color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.auth-card h1 { max-width: 440px; margin: 0 0 15px; font-family: var(--font-display); font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; color: var(--brand-dark); text-wrap: balance; }
.auth-card form { margin-top: 24px; }
.auth-art { position: relative; isolation: isolate; min-height: calc(100vh - 36px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(30px, 5vw, 72px); border-radius: var(--radius-lg); color: white; background: linear-gradient(160deg, #0e4a3c 0%, #0a3a2f 45%, #061a15 100%); box-shadow: var(--shadow-lg); border: 1px solid rgb(201 160 46 / 25%); }
.auth-art::before { content: ""; position: absolute; z-index: -2; inset: -40%; background: var(--lattice); background-size: 120px 120px; opacity: .85; animation: drift 120s linear infinite; }
.auth-art::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 78% 18%, rgb(201 160 46 / 22%), transparent 32rem), linear-gradient(to top, rgb(4 20 16 / 70%), transparent 55%); }
.art-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 18px; color: #c9a02e; font-size: .7rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.art-card { position: relative; z-index: 2; max-width: 760px; }
.art-basmala { display: block; margin: 0 0 18px; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.2; color: #e3c56a; }
.art-card h2 { max-width: 720px; margin: 8px 0 22px; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.art-card h2 em { color: #e3c56a; font-style: italic; font-weight: 400; }
.art-card > p { max-width: 620px; margin: 0; color: #cfe0d8; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.7; }
.principle-grid { max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 38px; overflow: hidden; border: 1px solid rgb(201 160 46 / 32%); border-radius: 18px; background: rgb(201 160 46 / 22%); backdrop-filter: blur(12px); }
.principle-grid > div { display: grid; gap: 4px; padding: 17px 18px; background: rgb(5 34 27 / 78%); }
.principle-grid strong { font-family: var(--font-display); font-size: .98rem; font-weight: 600; color: #f3e9cf; }
.principle-grid span { color: #a9c9bd; font-size: .74rem; }
.orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.orb.one { width: min(38vw, 540px); height: min(38vw, 540px); top: -20%; right: -8%; background: radial-gradient(circle at 40% 40%, rgb(232 201 117 / 55%), rgb(168 132 28 / 25%) 55%, transparent 56%); filter: blur(2px); animation: breathe 7s ease-in-out infinite; }
.orb.two { width: 380px; height: 380px; bottom: 14%; left: 8%; border: 1px solid rgb(227 197 106 / 22%); box-shadow: inset 0 0 110px rgb(255 255 255 / 4%), 0 0 0 48px rgb(227 197 106 / 4%), 0 0 0 96px rgb(227 197 106 / 2%); }
.orb.three { width: 140px; height: 140px; top: 26%; left: 15%; background: rgb(35 129 96 / 32%); filter: blur(16px); }

/* Brand lockup with the masjid mark */
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-lockup > span:last-child { display: grid; gap: 1px; }
.brand-lockup strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: .01em; }
.brand-lockup small { color: var(--muted); font-size: .74rem; letter-spacing: .04em; }
.brand-lockup.inverse strong { color: #f7f1df; }
.brand-lockup.inverse small { color: #a9c1b6; }
.brand-mark { position: relative; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 1px solid rgb(255 255 255 / 40%); border-radius: 16px; color: #173c2e; background: var(--gold-foil); box-shadow: inset 0 1px 1px rgb(255 255 255 / 55%), 0 10px 22px rgb(99 66 13 / 22%); }
.brand-mark svg { position: relative; z-index: 1; width: 26px; height: 24px; fill: #12382b; }
.brand-mark img { position: relative; z-index: 1; width: 44px; height: 44px; }
.brand-mark:has(img) { background: #0a4437; border-color: rgb(201 160 46 / 55%); }
.brand-mark:has(img)::after { display: none; }
.brand-mark > span { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; }
.brand-mark::after { content: ""; position: absolute; width: 34px; height: 34px; right: -17px; top: -17px; border: 1px solid rgb(23 60 46 / 25%); border-radius: 50%; box-shadow: 0 0 0 8px rgb(255 255 255 / 12%); }
.environment-banner, .environment-chip { display: inline-flex; align-items: center; width: fit-content; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.environment-banner { margin-top: 28px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #45ad7d; box-shadow: 0 0 0 5px rgb(69 173 125 / 14%); animation: pulse 2.4s ease-in-out infinite; }
.eyebrow { color: var(--gold-deep); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #e3c56a; }
.lead { max-width: 49ch; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.lead.small { font-size: .93rem; }
label { display: block; margin: 17px 0 7px; color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .01em; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; outline: none; color: var(--ink); background: var(--surface-raised); transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
input::placeholder, textarea::placeholder { color: #9aa59f; }
input:hover, select:hover, textarea:hover { border-color: #b3bdb3; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgb(201 160 46 / 14%); }
input:disabled, select:disabled, textarea:disabled { color: #64736d; background: #f0f1ec; cursor: not-allowed; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 170px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; }
.inline-filter { max-width: 280px; min-height: 38px; padding: 7px 12px; font-size: .84rem; }
.button { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 12px; font-weight: 700; letter-spacing: .01em; box-shadow: none; overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, filter .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.button.primary { color: #fff7e6; background: linear-gradient(135deg, var(--brand-bright), var(--brand-dark)); box-shadow: 0 10px 24px rgb(12 104 75 / 22%), inset 0 0 0 1px rgb(201 160 46 / 30%); }
.button.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 18%) 50%, transparent 70%); transform: translateX(-120%); transition: transform .5s ease; }
.button.primary:hover:not(:disabled)::after { transform: translateX(120%); }
.button.primary:hover:not(:disabled) { box-shadow: 0 14px 30px rgb(12 104 75 / 30%), inset 0 0 0 1px rgb(201 160 46 / 55%); }
.button.danger { color: white; background: linear-gradient(135deg, #b34848, #8e2f2f); box-shadow: 0 8px 18px rgb(161 61 61 / 18%); }
.button.quiet { color: var(--brand-dark); background: #ecefe6; box-shadow: inset 0 0 0 1px rgb(14 92 74 / 8%); }
.button.quiet:hover:not(:disabled) { background: #e2e8df; }
.button.full { width: 100%; min-height: 50px; margin-top: 16px; }
.button.full span:last-child { margin-left: auto; font-size: 1.1rem; }
.trust-copy { display: grid; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.trust-copy span::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border-radius: 50%; color: #6b520f; background: var(--gold-soft); font-size: .62rem; font-weight: 900; }

/* ---------- Workspace ---------- */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); background: var(--canvas); animation: fade .35s ease both; }
.sidebar { position: sticky; top: 0; min-width: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 16px 18px; color: #f4efe0; background: var(--lattice), radial-gradient(circle at 20% 0%, rgb(31 112 82 / 42%), transparent 18rem), linear-gradient(180deg, var(--forest), var(--night)); background-size: 96px 96px, auto, auto; border-right: 1px solid rgb(201 160 46 / 18%); box-shadow: 18px 0 44px rgb(6 24 18 / 12%); overflow: hidden auto; scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.sidebar .brand-lockup { padding: 0 8px; }
.nav-label { margin: 30px 12px 9px; color: #c9a02e; font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.primary-nav { display: grid; gap: 4px; }
.nav-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; width: 100%; min-height: 54px; padding: 8px 10px; border: 1px solid transparent; border-radius: 14px; text-align: left; color: #d7e4de; background: transparent; transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease; }
.nav-item::before { content: attr(data-icon); grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 10px; color: #9fc7b7; background: rgb(255 255 255 / 4%); font-size: .95rem; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.nav-item span { font-size: .85rem; font-weight: 650; letter-spacing: 0; }
.nav-item small { color: #7f9e92; font-size: .67rem; }
.nav-item:hover { color: white; background: rgb(255 255 255 / 6%); transform: translateX(2px); }
.nav-item.active { border-color: rgb(201 160 46 / 30%); color: white; background: linear-gradient(100deg, rgb(201 160 46 / 14%), rgb(255 255 255 / 5%)); }
.nav-item.active::before { border-color: rgb(227 197 106 / 45%); color: #12382b; background: var(--gold-foil); }
.nav-item.active small { color: #d9c58f; }
.nav-item.owner { margin-top: 6px; border-color: rgb(201 160 46 / 22%); background: rgb(201 160 46 / 6%); }
.nav-item.owner::before { color: #e3c56a; border-color: rgb(227 197 106 / 35%); }
.sidebar-footer { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding: 14px; border: 1px solid rgb(201 160 46 / 20%); border-radius: 15px; color: #bdd2ca; background: rgb(255 255 255 / 4%); font-size: .73rem; }
.sidebar-footer small { color: #7f9e92; }
.sidebar-credit { margin: 12px 8px 0; color: #7f9e92; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-credit strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #e3c56a; }
.shield { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 9px; color: #12382b; background: var(--gold-foil); font-weight: 900; }
.workspace { min-width: 0; background: var(--lattice-ink), radial-gradient(circle at 100% 0%, rgb(201 160 46 / 14%), transparent 34rem), var(--canvas); background-size: 96px 96px, auto, auto; }
.preview-ribbon { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 38px; padding: 7px 18px; color: #4f3a0d; background: linear-gradient(90deg, #f0dda9, #f8edcf, #f0dda9); border-bottom: 1px solid #dfc585; font-size: .76rem; }
.preview-ribbon strong { font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.preview-ribbon span { color: #725c2b; }
.topbar { position: sticky; top: 0; z-index: 10; min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 20px clamp(22px, 4vw, 54px); background: rgb(244 242 234 / 78%); border-bottom: 1px solid rgb(201 160 46 / 18%); backdrop-filter: blur(16px) saturate(1.2); }
.page-heading { min-width: 210px; }
.topbar h1 { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; letter-spacing: -.01em; color: var(--brand-dark); }
.page-heading p { margin: 2px 0 0; color: var(--muted); font-size: .76rem; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.select-label { display: grid; grid-template-columns: auto minmax(150px, 220px); align-items: center; gap: 9px; margin: 0; color: var(--muted); }
.select-label span { font-size: .74rem; }
.select-label select { min-height: 42px; padding: 9px 34px 9px 11px; }
.environment-chip { margin: 0; border-color: #e4cc91; color: #6f4c10; background: #fbefd6; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--brand-dark); background: var(--surface); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.icon-button:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.account-button { display: flex; align-items: center; gap: 10px; padding: 4px; border: 0; color: var(--ink); background: transparent; text-align: left; }
.account-button > span:first-child { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #12382b; background: var(--gold-foil); font-weight: 800; box-shadow: inset 0 1px 1px rgb(255 255 255 / 55%); }
.account-button > span:last-child { display: grid; }
.account-button strong { max-width: 175px; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; white-space: nowrap; }
.account-button small { color: var(--muted); font-size: .68rem; }
.content { width: min(1480px, 100%); margin: 0 auto; padding: 34px clamp(22px, 4vw, 54px) 68px; outline: none; }
.section { display: none; }
.section.active { display: block; animation: section-in .32s cubic-bezier(.2, .8, .3, 1) both; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { margin: 5px 0 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 600; letter-spacing: -.01em; color: var(--brand-dark); text-wrap: balance; }
.section-heading p { margin: 7px 0 0; max-width: 64ch; color: var(--muted); font-size: .9rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { position: relative; min-height: 148px; padding: 20px; overflow: hidden; border: 1px solid rgb(201 160 46 / 24%); border-radius: 20px; background: linear-gradient(165deg, #fffdf7, #f7f4ea); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.metric:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.metric::after { content: ""; position: absolute; width: 96px; height: 96px; right: -30px; bottom: -34px; background: var(--lattice); background-size: 96px 96px; opacity: .9; mask-image: radial-gradient(circle at 35% 35%, black, transparent 70%); }
.metric span { display: block; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.metric strong { display: block; margin: 12px 0 6px; font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.metric small { color: var(--muted-soft); font-size: .72rem; }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.dashboard-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); margin-top: 18px; }
.form-layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: 18px; }
.catalog-layout, .platform-layout { align-items: start; margin-top: 18px; }
.platform-grid { margin-top: 18px; align-items: start; }
.catalog-stacks { display: grid; gap: 18px; }
.panel { position: relative; overflow: hidden; padding: 20px; border: 1px solid rgb(201 160 46 / 22%); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 160 46 / 70%), transparent); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel-heading h3 { margin: 0; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: 0; color: var(--brand-dark); }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 68px; padding: 14px 2px; border-top: 1px solid var(--line); transition: background .15s ease; }
.list-row:first-child { border-top: 0; }
.list-row:hover { background: linear-gradient(90deg, rgb(201 160 46 / 5%), transparent 60%); }
.list-main { min-width: 0; }
.list-main strong, .list-main small { display: block; overflow-wrap: anywhere; }
.list-main strong { font-size: .88rem; }
.list-main small { margin-top: 4px; color: var(--muted); font-size: .74rem; }
.row-actions { display: flex; justify-content: flex-end; align-items: center; gap: 7px; flex-wrap: wrap; }
.row-actions .button { min-height: 34px; padding: 7px 11px; font-size: .75rem; }
.status { display: inline-flex; align-items: center; width: fit-content; padding: 6px 10px; border-radius: 999px; color: #47564f; background: #e8ece9; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; opacity: .72; }
.status.pending, .status.submitted, .status.open, .status.retry, .status.reviewing, .status.queued, .status.processing { color: #74510d; background: #f7e9c9; }
.status.approved, .status.completed, .status.resolved, .status.healthy, .status.succeeded, .status.active, .status.live, .status.verified, .status.applied, .status.paid { color: #07553c; background: #d8eee5; }
.status.failed, .status.suspended, .status.unhealthy, .status.rejected, .status.denied, .status.disabled, .status.revoked, .status.deletion_requested, .status.reversed { color: #812f2f; background: #f4dcdc; }
.status.degraded { color: #754f0d; background: #fae8c0; }
.status.owner { color: #12382b; background: var(--gold-foil); }
.status.locked { color: #7f1d1d; background: #fee2e2; }
.status.flagged { color: #7c2d12; background: #ffedd5; }
.status.watch { color: #1e3a8a; background: #dbeafe; }
.status.imam, .status.admin, .status.platform_admin { color: #0a4437; background: #e1ecd9; }
.empty { padding: 34px 18px; border: 1px dashed rgb(201 160 46 / 45%); border-radius: 15px; color: var(--muted); text-align: center; background: linear-gradient(145deg, var(--surface-soft), var(--surface)); }
.definition-list { margin: 4px 0 0; }
.definition-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.definition-list > div:first-child { border-top: 0; }
.definition-list dt { color: var(--muted); font-size: .77rem; }
.definition-list dd { margin: 0; max-width: 62%; overflow-wrap: anywhere; font-size: .77rem; font-weight: 700; text-align: right; }
.form-card .button { margin-top: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-card fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 9px; }
.form-card legend { color: var(--muted); font-size: .77rem; font-weight: 700; padding: 0 6px; }
.check-row { display: flex !important; align-items: center; gap: 9px; font-size: .88rem !important; color: var(--ink) !important; }
.check-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: .73rem; }
.callout { display: flex; flex-direction: column; gap: 4px; padding: 14px 15px; margin: 16px 0; border: 1px solid #cfe1d9; border-radius: 14px; color: #1c4b3a; background: linear-gradient(135deg, #e7f1ec, #f2f7f3); }
.callout.warning { border-color: #ecd7a9; color: #68470f; background: linear-gradient(135deg, #f8eacb, #fbf1da); }
.callout.owner { border-color: rgb(201 160 46 / 55%); color: #4f3a0d; background: linear-gradient(135deg, #f6ebc7, #fbf5e3); }
.callout strong { font-size: .82rem; }
.callout span { font-size: .77rem; }
.notice { padding: 13px 14px; margin-bottom: 16px; border: 1px solid #cde1d8; border-radius: 13px; color: #184936; background: #e1efe9; font-size: .85rem; }
.notice.error { border-color: #e9caca; color: #7b2828; background: #f4dddd; }
.ornament { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; color: var(--gold-deep); font-size: .8rem; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 160 46 / 60%), transparent); }

dialog { width: min(570px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: transparent; }
dialog::backdrop { background: rgb(4 18 13 / 62%); backdrop-filter: blur(6px); }
.dialog-card { overflow: auto; max-height: calc(100vh - 28px); padding: 26px; border: 1px solid rgb(201 160 46 / 35%); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); animation: rise .28s ease both; }
.dialog-heading { display: flex; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { margin: 5px 0 0; font-family: var(--font-display); font-weight: 600; letter-spacing: 0; color: var(--brand-dark); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 14px 17px; border: 1px solid rgb(201 160 46 / 45%); border-radius: 14px; color: #f7f1df; background: linear-gradient(135deg, #0e4a3c, #071c17); box-shadow: var(--shadow-lg); font-size: .85rem; animation: rise .3s ease both; }
.busy-layer { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; pointer-events: none; background: rgb(244 242 234 / 30%); backdrop-filter: blur(2px); }
.spinner { width: 38px; height: 38px; border: 3px solid rgb(201 160 46 / 20%); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes section-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 5px rgb(69 173 125 / 14%); } 50% { box-shadow: 0 0 0 9px rgb(69 173 125 / 6%); } }

@media (max-width: 1120px) {
  .auth-layout { grid-template-columns: 1fr; padding: 22px; }
  .auth-art { display: none; }
  .auth-card { width: min(100%, 620px); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .select-label span { display: none; }
}

@media (max-width: 1320px) and (min-width: 861px) {
  .page-heading p, .select-label span, .account-button > span:last-child { display: none; }
  .select-label { grid-template-columns: minmax(135px, 190px); }
}

@media (max-width: 860px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); max-width: 100vw; overflow-x: hidden; }
  .sidebar, .workspace { width: 100%; max-width: 100vw; min-width: 0; }
  .sidebar { position: static; height: auto; gap: 14px; padding: 16px; }
  .sidebar .brand-lockup { padding: 0; }
  .nav-label, .sidebar-footer, .sidebar-credit { display: none; }
  .primary-nav { display: flex; width: 100%; max-width: 100%; gap: 7px; overflow-x: auto; padding: 2px 0 5px; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; width: auto; min-height: 44px; grid-template-columns: 24px auto; grid-template-rows: auto; padding: 7px 11px 7px 7px; border-radius: 12px; }
  .nav-item::before { grid-row: auto; width: 26px; height: 26px; border-radius: 8px; font-size: .78rem; }
  .nav-item small { display: none; }
  .nav-item.owner { margin-top: 0; }
  .topbar { position: static; flex-direction: column; align-items: flex-start; min-height: auto; padding-top: 20px; }
  .topbar-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .select-label { flex: 1; min-width: 190px; grid-template-columns: 1fr; }
  .account-button > span:last-child { display: none; }
  .two-column { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .auth-layout { padding: 10px; }
  .auth-card { padding: 28px 21px; border-radius: 20px; }
  .auth-card h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .auth-kicker { margin-top: 28px; }
  .preview-ribbon { align-items: flex-start; flex-direction: column; gap: 0; }
  .metric-grid, .field-grid { grid-template-columns: 1fr; }
  .metric { min-height: 130px; }
  .section-heading, .list-row { align-items: flex-start; flex-direction: column; }
  .row-actions { width: 100%; justify-content: flex-start; }
  .row-actions .button { flex: 1; }
  .environment-chip { order: -1; }
  .topbar-actions { gap: 8px; }
  .content { padding: 28px 16px 54px; }
  .topbar { padding-inline: 16px; }
  .panel { padding: 17px; border-radius: 18px; }
  .panel-heading { flex-direction: column; align-items: flex-start; }
  .inline-filter { max-width: 100%; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Legal & privacy page and footer links */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; font-size: .72rem; color: var(--muted); }
.legal-links a { color: var(--brand-dark); text-decoration: none; border-bottom: 1px solid rgb(201 160 46 / 45%); }
.legal-links a:hover { border-bottom-color: var(--brand-dark); }
.sidebar-credit a { display: block; margin-top: 8px; color: #b9cfc6; font-size: .62rem; letter-spacing: .08em; text-decoration: none; text-transform: none; }
.sidebar-credit a:hover { color: #e3c56a; }
.sidebar-credit small { display: block; margin-top: 4px; color: #7f9e92; font-size: .6rem; letter-spacing: 0; text-transform: none; }
.legal-page { margin: 0; background: var(--lattice-ink), var(--canvas); background-size: 96px 96px, auto; color: var(--ink); }
.legal-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px clamp(20px, 5vw, 64px); background: rgb(244 242 234 / 82%); border-bottom: 1px solid rgb(201 160 46 / 25%); backdrop-filter: blur(14px); }
.legal-header .brand-lockup { text-decoration: none; color: inherit; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-nav a { padding: 8px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--brand-dark); background: rgb(14 92 74 / 8%); border: 1px solid rgb(201 160 46 / 30%); text-decoration: none; }
.legal-nav a:hover { background: rgb(14 92 74 / 14%); }
.legal-main { max-width: 820px; margin: 0 auto; padding: 24px clamp(20px, 5vw, 64px) 60px; }
.legal-doc { margin: 26px 0; padding: clamp(22px, 4vw, 44px); background: white; border: 1px solid rgb(201 160 46 / 28%); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.legal-doc h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--brand-dark); }
.legal-doc h3 { margin: 26px 0 8px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--brand); }
.legal-doc p, .legal-doc li { font-size: .92rem; line-height: 1.65; }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc li::marker { color: var(--gold); }
.legal-note { padding: 12px 14px; border-radius: 12px; background: rgb(201 160 46 / 12%); color: var(--muted); font-size: .84rem; }
.legal-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 22px; font-size: .74rem; color: var(--muted); border-top: 1px solid rgb(201 160 46 / 25%); }
.legal-footer strong { color: var(--brand-dark); }
.legal-footer a { color: var(--brand-dark); }

/* ---------- Catalogue review queue ---------- */
.segmented { display: inline-flex; padding: 3px; border: 1px solid rgb(201 160 46 / 35%); border-radius: 999px; background: var(--surface-soft); box-shadow: inset 0 1px 2px rgb(16 42 33 / 6%); }
.segmented button { min-height: 36px; padding: 6px 16px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: .78rem; font-weight: 700; letter-spacing: .02em; transition: background .16s ease, color .16s ease; }
.segmented button.active { color: #fff7e6; background: linear-gradient(135deg, var(--brand-bright), var(--brand-dark)); box-shadow: inset 0 0 0 1px rgb(201 160 46 / 30%); }
.queue-panel { margin-top: 18px; }
.queue-page-label { color: var(--muted); font-size: .74rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.queue-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.queue-field { display: grid; gap: 5px; margin: 0; min-width: 150px; }
.queue-field span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.queue-field select, .queue-field input { min-height: 40px; padding: 7px 12px; font-size: .84rem; }
.queue-field select { padding-right: 34px; }
.queue-field.grow { flex: 1 1 240px; }
.queue-field.grow .inline-filter { max-width: none; }
.queue-paging { display: flex; gap: 6px; margin-left: auto; }
.queue-paging .button, .queue-bulk .button { min-height: 38px; padding: 7px 13px; font-size: .78rem; }
.queue-bulk { position: sticky; top: 104px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin: 12px 0 4px; border: 1px solid rgb(201 160 46 / 30%); border-radius: 14px; background: rgb(255 253 247 / 92%); backdrop-filter: blur(10px); }
.queue-selection { min-width: 88px; font-size: .78rem; font-weight: 800; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.queue-keys { margin-left: auto; color: var(--muted-soft); font-size: .68rem; }
.queue-keys kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin: 0 1px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; color: var(--brand-dark); background: var(--surface-raised); font: 700 .64rem/1 var(--font-text); }
.queue-row { position: relative; gap: 12px; padding-left: 8px; padding-right: 8px; border-radius: 12px; }
.queue-row .list-main { flex: 1; cursor: default; }
.queue-row.selected { background: linear-gradient(90deg, rgb(14 92 74 / 8%), rgb(14 92 74 / 2%)); }
.queue-row.focused { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgb(201 160 46 / 14%); background: linear-gradient(90deg, rgb(201 160 46 / 10%), transparent 70%); }
.queue-row.focused::before { content: "▸"; position: absolute; left: -14px; color: var(--gold-deep); font-size: .8rem; }
.queue-check { display: grid; place-items: center; margin: 0; }
.queue-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.map-link { text-decoration: none; }
.status.unverified { color: #47564f; background: #e8ece9; }
.status.not_connected { color: #47564f; background: #e8ece9; }
.status.onboarding { color: #74510d; background: #f7e9c9; }
.status.urgent, .status.crash { color: #7f1d1d; background: #fee2e2; }
.status.hang, .status.cpu, .status.disk_write { color: #7c2d12; background: #ffedd5; }
.status.metrics, .status.answered { color: #1e3a8a; background: #dbeafe; }
.status.closed { color: #07553c; background: #d8eee5; }
.status.bug, .status.account, .status.masjid, .status.billing, .status.other { color: #0a4437; background: #e1ecd9; }
#dialog-description { white-space: pre-line; }

/* ---------- Support inbox, diagnostics, donations ---------- */
.support-panel { margin-top: 18px; }
.support-panel .list-main strong { font-weight: 600; }
.audit-grid { align-items: start; }
.diag-summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 14px; }
.diag-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); font-size: .72rem; color: var(--muted); }
.diag-chip strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.diag-chip.alert { border-color: #e9caca; background: #f4dddd; color: #7b2828; }
.diag-chip.alert strong { color: #7b2828; }
.diag-chip.total { margin-left: auto; border-color: rgb(201 160 46 / 45%); background: var(--gold-soft); color: #4f3a0d; }
.donation-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 4px; }
.donation-totals > div { padding: 12px 14px; border: 1px solid rgb(201 160 46 / 30%); border-radius: 14px; background: linear-gradient(165deg, #fffdf7, #f7f4ea); }
.donation-totals span { display: block; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.donation-totals strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--brand-dark); font-variant-numeric: tabular-nums; }

/* ---------- Public masjid page (masjid.html) ---------- */
.public-page { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--lattice-ink), radial-gradient(circle at 100% 0%, rgb(201 160 46 / 16%), transparent 34rem), var(--canvas); background-size: 96px 96px, auto, auto; color: var(--ink); }
.public-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(20px, 5vw, 64px); background: rgb(244 242 234 / 82%); border-bottom: 1px solid rgb(201 160 46 / 25%); backdrop-filter: blur(14px); }
.public-header .brand-lockup { text-decoration: none; color: inherit; }
.public-header .button { min-height: 40px; padding: 8px 16px; font-size: .8rem; text-decoration: none; }
.public-main { flex: 1; width: min(960px, 100%); margin: 0 auto; padding: clamp(22px, 4vw, 44px) clamp(18px, 5vw, 64px) 60px; }
.public-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 52px); border: 1px solid rgb(201 160 46 / 30%); border-radius: var(--radius-lg); color: #f7f1df; background: linear-gradient(160deg, #0e4a3c 0%, #0a3a2f 45%, #061a15 100%); box-shadow: var(--shadow-lg); animation: rise .5s ease both; }
.public-hero::before { content: ""; position: absolute; z-index: -1; inset: -30%; background: var(--lattice); background-size: 120px 120px; opacity: .8; }
.public-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 85% 10%, rgb(201 160 46 / 24%), transparent 28rem), linear-gradient(to top, rgb(4 20 16 / 60%), transparent 60%); }
.public-hero .eyebrow { color: #e3c56a; }
.public-hero h1 { margin: 10px 0 12px; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.public-hero .basmala { display: block; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #e3c56a; }
.public-hero p { max-width: 62ch; margin: 0; color: #cfe0d8; font-size: 1.02rem; line-height: 1.7; white-space: pre-line; }
.public-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #a9c9bd; font-size: .82rem; }
.public-meta a { color: #f3e9cf; text-decoration: none; border-bottom: 1px solid rgb(227 197 106 / 55%); }
.public-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.public-actions .button { text-decoration: none; }
.button.gold { color: #12382b; background: var(--gold-foil); box-shadow: 0 10px 24px rgb(99 66 13 / 22%), inset 0 1px 1px rgb(255 255 255 / 55%); }
.button.ghost { color: #f7f1df; background: rgb(255 255 255 / 8%); box-shadow: inset 0 0 0 1px rgb(227 197 106 / 45%); }
.public-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.public-grid .panel { padding: 22px; }
.prayer-table { width: 100%; margin-top: 6px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prayer-table th { padding: 6px 0 10px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: right; }
.prayer-table th:first-child, .prayer-table td:first-child { text-align: left; }
.prayer-table td { padding: 11px 0; border-top: 1px solid var(--line); text-align: right; font-size: .95rem; }
.prayer-table td:first-child { font-family: var(--font-display); font-size: 1.02rem; color: var(--brand-dark); }
.prayer-table tr.next td { background: linear-gradient(90deg, rgb(201 160 46 / 12%), transparent); }
.prayer-table tr.next td:first-child::after { content: "next"; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: var(--gold-soft); color: #6b520f; font: 800 .58rem/1.4 var(--font-text); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.event-list { display: grid; gap: 0; margin-top: 4px; }
.event-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.event-row:first-child { border-top: 0; }
.event-date { display: grid; place-items: center; align-content: center; height: 58px; border: 1px solid rgb(201 160 46 / 40%); border-radius: 12px; background: linear-gradient(165deg, #fffdf7, #f2e4b8); color: var(--brand-dark); }
.event-date strong { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.event-date span { font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.event-row h4 { margin: 0; font-size: .95rem; font-weight: 650; }
.event-row small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }
.public-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 22px; font-size: .74rem; color: var(--muted); border-top: 1px solid rgb(201 160 46 / 25%); }
.public-footer a { color: var(--brand-dark); }
.public-footer strong { color: var(--brand-dark); }
.public-state { padding: clamp(28px, 5vw, 52px); border: 1px dashed rgb(201 160 46 / 50%); border-radius: var(--radius-lg); text-align: center; background: linear-gradient(145deg, var(--surface-soft), var(--surface)); }
.public-state h1 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--brand-dark); }
.public-state p { max-width: 52ch; margin: 0 auto; color: var(--muted); }
.public-state .button { margin-top: 20px; text-decoration: none; }
.public-note { margin: 14px 0 0; color: var(--muted-soft); font-size: .72rem; }
@media (max-width: 860px) {
  .public-grid, .donation-totals { grid-template-columns: 1fr; }
  .queue-bulk { position: static; }
  .queue-keys { display: none; }
  .queue-paging { margin-left: 0; }
  .segmented { align-self: flex-start; }
}

.art-logo { display: block; width: min(300px, 64%); margin: 0 0 14px; border-radius: 18px; border: 1px solid rgb(201 160 46 / 35%); box-shadow: 0 18px 40px rgb(3 20 15 / 45%); }
