/* Fonts: Vazirmatn FD (Persian digits, SIL OFL 1.1) for the Persian edition, Liberation Sans (SIL OFL 1.1) as
   "FCX Sans" for the English one. See NOTICES.txt. */
@font-face { font-family: "Vazirmatn FD"; font-weight: 400; font-display: swap; src: url(/showcase/financial-control/fonts/Vazirmatn-FD-Regular.woff2) format("woff2"); }
@font-face { font-family: "Vazirmatn FD"; font-weight: 600; font-display: swap; src: url(/showcase/financial-control/fonts/Vazirmatn-FD-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Vazirmatn FD"; font-weight: 700; font-display: swap; src: url(/showcase/financial-control/fonts/Vazirmatn-FD-Bold.woff2) format("woff2"); }
@font-face { font-family: "Vazirmatn FD"; font-weight: 800; font-display: swap; src: url(/showcase/financial-control/fonts/Vazirmatn-FD-ExtraBold.woff2) format("woff2"); }
@font-face { font-family: "Vazirmatn FD"; font-weight: 900; font-display: swap; src: url(/showcase/financial-control/fonts/Vazirmatn-FD-Black.woff2) format("woff2"); }
@font-face { font-family: "FCX Sans"; font-weight: 100 500; font-display: swap; src: url(/showcase/financial-control/fonts/LiberationSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "FCX Sans"; font-weight: 600 900; font-display: swap; src: url(/showcase/financial-control/fonts/LiberationSans-Bold.woff2) format("woff2"); }

/* Layout: the same dark "screening room" shell as the other showcases, a title row, a hint bar, the live report
   (drawn on a 1600×900 surface and scaled to a 16:9 box) and a one-line note. */
:root {
  --ink: #0b1220;
  --ink-2: #131c30;
  --ink-line: #24304a;
  --on-ink: #e8edf7;
  --on-ink-muted: #8d9bb5;
  --amber: #f5b301;
  --ok: #10b981;
  --font: "Vazirmatn FD", Tahoma, "Segoe UI", sans-serif;
  color-scheme: dark;
}
:root.en { --font: "FCX Sans", "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: var(--ink); }
body { margin: 0; color: var(--on-ink); font: 14px/1.6 var(--font); padding-inline: 16px; padding-block: 20px 22px; }
.shell { max-width: 1280px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.top h1 { margin: 0; font-size: clamp(16px, 2.2vw, 20px); font-weight: 800; }
.top span { color: var(--on-ink-muted); font-size: 13px; }
.top span b { color: var(--on-ink); }

.deskbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.deskbar strong { font-size: 14px; font-weight: 800; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); margin-inline-end: 8px; }
.hints { display: flex; flex-wrap: wrap; gap: 6px; margin-inline-start: auto; }
.hints span { border: 1px solid var(--ink-line); border-radius: 8px; padding: 1px 10px; font-size: 12.5px; color: var(--on-ink-muted); white-space: nowrap; }
.hints b { color: var(--amber); font-weight: 800; }
#full { font: inherit; font-size: 12.5px; font-weight: 800; color: var(--ink); background: var(--amber); border: 0; border-radius: 8px; padding: 3px 14px; cursor: pointer; }
#full:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.stage-box { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px var(--ink-line); }
.stage-box:fullscreen { border-radius: 0; background: var(--ink); aspect-ratio: auto; }
#stage { position: absolute; top: 0; left: 0; width: 1600px; height: 900px; transform-origin: 0 0; direction: ltr; background: #fff; }
#loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #64748b; background: #fff; }
.note { margin: 0; color: var(--on-ink-muted); font-size: 12.5px; }
.nojs { max-width: 1280px; margin: 12px auto 0; color: var(--on-ink-muted); }

@media (max-width: 700px) { .hints { margin-inline-start: 0; } }
