@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --frost: #eef2ff;
  --frost-rgb: 238 242 255;
  --sapphire: #0f3460;
  --sapphire-rgb: 15 52 96;
  --bg: #07111d;
  --navy: #0f3460;
  --bg-elevated: #0c2c52;
  --surface: rgb(15 52 96 / 0.42);
  --surface-solid: rgb(12 40 74 / 0.88);
  --surface-2: #123a68;
  --surface-3: #184675;
  --fill: rgb(238 242 255 / 0.08);
  --separator: rgb(238 242 255 / 0.14);
  --border: rgb(238 242 255 / 0.22);
  --text: #eef2ff;
  --text-secondary: rgb(238 242 255 / 0.68);
  --text-tertiary: rgb(238 242 255 / 0.42);
  --accent: #eef2ff;
  --accent-hover: #ffffff;
  --accent-dim: rgb(238 242 255 / 0.12);
  --success: #30d158;
  --success-dim: rgb(48 209 88 / 0.18);
  --error: #ff453a;
  --error-dim: rgb(255 69 58 / 0.18);
  --warning: #c9b48a;
  --warning-dim: rgba(201, 180, 138, 0.16);
  --radius: 22px;
  --radius-sm: 12px;
  --radius-pill: 980px;
  --shadow: 0 24px 80px rgb(7 17 29 / 0.45);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-pl: 24px;
  --top-row-h: 44px;
  --row-gap-y: 16px;
  color-scheme: dark;

  --glass-tint: 15 52 96;
  --glass-tint-opacity: 0.38;
  --glass-fill: rgb(var(--glass-tint) / var(--glass-tint-opacity));
  --glass-blur: 28px;
  --glass-saturate: 170%;
  --glass-border: rgb(238 242 255 / 0.28);
  --glass-highlight: rgb(238 242 255 / 0.55);
  --glass-inner-shadow: rgb(7 17 29 / 0.48);
  --glass-shadow: 0 22px 50px rgb(7 17 29 / 0.42);
  --glass-focus: rgb(238 242 255 / 0.7);
  --type-body: 17px;
  --type-label: 13px;
  --type-meta: 12px;
  --measure: 42rem;
  --flow-gradient: linear-gradient(
    105deg,
    #6d8aa3 0%,
    #d7e6f2 12%,
    #7ec8ea 26%,
    #eef2ff 40%,
    #8fa8bc 54%,
    #5eb0d9 68%,
    #c5d4e0 82%,
    #7a96ad 100%
  );
}

[data-theme="light"] {
  --bg: #eef2ff;
  --navy: #d7e0f0;
  --bg-elevated: #e4ebf8;
  --surface: rgb(238 242 255 / 0.58);
  --surface-solid: rgb(238 242 255 / 0.9);
  --surface-2: #dce6f4;
  --surface-3: #cfdced;
  --fill: rgb(15 52 96 / 0.08);
  --separator: rgb(15 52 96 / 0.14);
  --border: rgb(15 52 96 / 0.18);
  --text: #0f3460;
  --text-secondary: rgb(15 52 96 / 0.72);
  --text-tertiary: rgb(15 52 96 / 0.46);
  --accent: #0f3460;
  --accent-hover: #09243f;
  --accent-dim: rgb(15 52 96 / 0.1);
  --shadow: 0 18px 50px rgb(15 52 96 / 0.18);
  --glass-tint: 238 242 255;
  --glass-tint-opacity: 0.46;
  --glass-border: rgb(15 52 96 / 0.16);
  --glass-highlight: rgb(255 255 255 / 0.78);
  --glass-focus: rgb(15 52 96 / 0.55);
  --glass-inner-shadow: rgb(15 52 96 / 0.12);
  --glass-shadow: 0 18px 48px rgb(15 52 96 / 0.16);
  --flow-gradient: linear-gradient(
    105deg,
    #0f3460 0%,
    #5d7d9a 20%,
    #8aa7be 40%,
    #163e6c 60%,
    #4a6f8c 80%,
    #0f3460 100%
  );
  color-scheme: light;
}

[data-glass-theme="light"] {
  --glass-tint: 238 242 255;
  --glass-tint-opacity: 0.46;
  --glass-border: rgb(15 52 96 / 0.16);
  --glass-highlight: rgb(255 255 255 / 0.78);
  --glass-focus: rgb(15 52 96 / 0.55);
  --glass-inner-shadow: rgb(15 52 96 / 0.12);
  --glass-shadow: 0 18px 48px rgb(15 52 96 / 0.16);
  color: #0f3460;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  min-height: 100%;
  font-family: var(--font);
  font-weight: 500;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  letter-spacing: -0.011em;
  -webkit-tap-highlight-color: transparent;
  /* Без этого Safari на iPhone сам увеличивает кегль при повороте в горизонталь. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Жест «потянуть вниз» в Chrome на Android перезагружает страницу —
     посреди теста это стирает ответы. */
  overscroll-behavior-y: contain;
  overflow-x: hidden;
  caret-color: var(--text);
}

html {
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgb(var(--sapphire-rgb) / 0.92), transparent 62%),
    linear-gradient(180deg, #0b2748 0%, #07111d 48%, #050d16 100%);
}
html[data-theme="light"] {
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, #ffffff, transparent 58%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2ff 48%, #d9e4f4 100%);
}
body {
  min-height: 100dvh;
  background: transparent;
}

.hero-bg-stage,
.hero-bg-scrim {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.hero-bg-stage {
  z-index: 1;
  overflow: hidden;
  visibility: visible;
}
.hero-bg-scrim {
  z-index: 0;
}
body.hero-live .hero-bg-stage.is-ready,
body.hero-live .hero-bg-scrim {
  opacity: 1;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transition: opacity 1.05s ease;
  filter: brightness(0.62) saturate(1.08);
}
.hero-bg-video.is-on {
  opacity: 1;
}
/* Safari рисует свою кнопку запуска поверх видео, если счёл автозапуск
   заблокированным. Фон не интерактивен, кнопка там не нужна.
   Селекторы раздельные: неизвестный псевдоэлемент обнуляет весь список. */
.hero-bg-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
}
.hero-bg-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
}
.hero-bg-video::-webkit-media-controls-panel {
  display: none !important;
}
.hero-bg-video::-webkit-media-controls {
  display: none !important;
}
/* Автозапуск отклонён браузером: убираем сам кадр, иначе Safari покажет
   поверх него свою кнопку запуска. Остаётся градиентный фон, видео
   проявится при первом касании. */
body.hero-blocked .hero-bg-video,
body.hero-blocked .hero-bg-video.is-on {
  opacity: 0;
}
.hero-bg-scrim {
  background:
    linear-gradient(180deg, rgb(7 17 29 / 0.28) 0%, rgb(15 52 96 / 0.38) 38%, rgb(5 13 22 / 0.78) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgb(var(--sapphire-rgb) / 0.35), transparent 70%);
}
html[data-theme="light"] .hero-bg-scrim {
  background:
    linear-gradient(180deg, rgb(238 242 255 / 0.42) 0%, rgb(15 52 96 / 0.28) 48%, rgb(7 17 29 / 0.55) 100%);
}

::selection {
  background: rgb(var(--sapphire-rgb) / 0.72);
  color: var(--frost);
}
[data-theme="light"] ::selection {
  background: rgb(var(--sapphire-rgb) / 0.18);
  color: var(--sapphire);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgb(var(--frost-rgb) / 0.22);
  border-radius: 999px;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgb(var(--sapphire-rgb) / 0.22);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass.glass--l2 {
    background: linear-gradient(
      165deg,
      rgb(var(--frost-rgb) / 0.16),
      rgb(var(--glass-tint) / 0.42)
    );
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  }
  .block-card.glass.glass--l2 {
    background: linear-gradient(
      165deg,
      rgb(var(--frost-rgb) / 0.08),
      rgb(var(--sapphire-rgb) / 0.18)
    );
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow:
      0 16px 36px rgb(7 17 29 / 0.2),
      inset 0 1px 0 rgb(var(--frost-rgb) / 0.32);
  }
  .block-card.glass.glass--l2::before {
    opacity: 0.28;
  }
  .glass.glass--l3 {
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) url(#glass-refract);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate)) url(#glass-refract);
  }
}

@keyframes flowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes sheenSweep {
  from { background-position: 130% 0; }
  to { background-position: -30% 0; }
}
@keyframes cardReveal {
  from { opacity: 0; filter: blur(12px); }
  to { opacity: 1; filter: none; }
}

.flow-type {
  display: inline-block;
  font-weight: 700;
  background-image: var(--flow-gradient);
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: flowShift 7.5s ease-in-out infinite;
  text-shadow: none;
  padding: 0.18em 0.12em 0.32em;
  line-height: 1.45;
  overflow: visible;
}

.brand-mark {
  position: fixed;
  z-index: 70;
  display: block;
  pointer-events: none;
  transform-origin: top left;
  opacity: 1;
  aspect-ratio: 240 / 80;
  height: auto;
  transition: opacity 0.55s ease;
  background-image: var(--flow-gradient);
  background-size: 240% 100%;
  animation: flowShift 8s ease-in-out infinite;
  -webkit-mask-image: url("media/img/pulkovo-logo-alpha.png?v=5.81");
  mask-image: url("media/img/pulkovo-logo-alpha.png?v=5.81");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: alpha;
  -webkit-mask-source-type: alpha;
}
.logo-missing .brand-mark,
.logo-missing .intro-logo-wrap {
  background-image: none;
  animation: none;
  -webkit-mask-image: none;
  mask-image: none;
  visibility: hidden;
}
.brand-mark-src {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.brand-mark > .mark-flow {
  display: none;
}
.brand-mark--hero {
  top: max(40px, 6vh);
  left: 50%;
  right: auto;
  width: min(560px, 84vw);
  margin-left: calc(min(560px, 84vw) * -0.5);
  transform: none;
}
.brand-mark--corner {
  top: max(10px, env(safe-area-inset-top));
  left: auto;
  right: max(16px, env(safe-area-inset-right));
  width: min(200px, 40vw);
  margin-left: 0;
  transform: none;
}
body.brand-docked .screen-header {
  padding-right: min(220px, 38vw);
}
html:has(body.intro-active),
html:has(body.intro-leaving) {
  background: #000;
}
body.intro-active,
body.intro-leaving {
  background: #000;
}
body.intro-active .brand-mark,
body.intro-active .util-dock,
body.intro-active #screen-block {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
body.intro-leaving .brand-mark,
body.intro-leaving .util-dock {
  visibility: visible;
  pointer-events: auto;
  animation: introChromeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.intro-leaving #screen-block {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
body.intro-leaving #screen-block .hero-panel {
  animation: introSceneIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes introSceneIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes introChromeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#screen-block .hero-panel,
body.brand-hero #screen-block .hero-panel {
  margin-top: clamp(108px, 17vh, 208px);
  text-align: center;
  align-items: center;
  gap: 18px;
}

.util-dock {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 4px;
  border-radius: 999px;
  color: var(--frost);
}
.util-btn {
  appearance: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s ease, width 0.4s var(--spring), opacity 0.35s ease, margin 0.4s var(--spring);
}
.util-btn:hover,
.util-btn:focus-visible {
  background: rgb(var(--frost-rgb) / 0.12);
}
.util-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.util-swap {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.util-sun,
.util-moon,
.util-admin {
  width: 18px;
  height: 18px;
  display: block;
}
.util-sun,
.util-moon {
  grid-area: 1 / 1;
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.util-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.util-moon { opacity: 0; transform: rotate(70deg) scale(0.35); }
html[data-theme="light"] .util-dock { color: var(--sapphire); }
html[data-theme="light"] .util-btn:hover,
html[data-theme="light"] .util-btn:focus-visible {
  background: rgb(var(--sapphire-rgb) / 0.1);
}
html[data-theme="light"] .util-sun { opacity: 0; transform: rotate(-80deg) scale(0.35); }
html[data-theme="light"] .util-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.util-admin {
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.admin-entry:hover .util-admin,
.admin-entry:focus-visible .util-admin {
  transform: translateY(-1px) scale(1.06);
}
@keyframes sunIdle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.util-btn:hover .util-sun {
  animation: sunIdle 9s linear infinite;
}
html[data-theme="light"] .util-btn:hover .util-sun {
  animation: none;
}
.admin-entry {
  position: static;
  min-height: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
body:not(.brand-hero) .admin-entry {
  width: 0;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p, .subtitle, .hint, .settings-copy, .block-desc, .briefing-desc {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Intro — opaque black until the leave dissolve */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  cursor: pointer;
  isolation: isolate;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-theme="light"] .intro-overlay {
  background: #000;
}
.intro-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  width: 100%;
  text-align: center;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.intro-overlay.is-leaving .intro-inner {
  opacity: 0;
  filter: blur(18px);
  transform: scale(1.05);
}
.intro-overlay.is-hidden { display: none; }
.intro-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.intro-logo-wrap {
  position: relative;
  display: block;
  background-image: var(--flow-gradient);
  background-size: 240% 100%;
  animation: flowShift 8s ease-in-out infinite;
  -webkit-mask-image: url("media/img/pulkovo-logo-alpha.png?v=5.81");
  mask-image: url("media/img/pulkovo-logo-alpha.png?v=5.81");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: alpha;
  -webkit-mask-source-type: alpha;
}
.intro-logo {
  display: block;
  width: min(640px, 86vw);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}
.intro-logo-wrap .mark-flow {
  display: none;
}
.intro-morph {
  position: relative;
  display: inline-block;
  max-width: 100%;
  color: var(--frost);
}
.intro-morph-stage {
  position: relative;
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  transition: width 0.7s var(--spring), height 0.7s var(--spring);
}
.intro-morph-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  transform: translate(-50%, -50%);
  transform-origin: center;
  pointer-events: none;
  user-select: none;
}
.intro-layer-logo {
  opacity: 0;
  visibility: hidden;
}
.intro-layer-logo.is-visible {
  visibility: visible;
  animation: introLogoIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes introLogoIn {
  from {
    opacity: 0;
    filter: blur(18px);
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 1;
    filter: none;
    transform: translate(-50%, -50%) scale(1);
  }
}
.intro-layer-welcome {
  width: max-content;
  max-width: 90vw;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
}
@media (max-width: 720px) {
  .intro-layer-welcome {
    white-space: normal;
    width: min(20em, 90vw);
  }
}

.app-container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: max(72px, calc(env(safe-area-inset-top) + 56px)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.screen {
  display: none;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}
.screen.active {
  display: flex;
  animation: screenReveal 0.4s ease both;
}
#screen-block.active {
  animation: none;
  opacity: 1;
}
#screen-select,
#screen-video,
#screen-quiz,
#screen-result {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
#screen-select.has-covers {
  max-width: min(980px, 100%);
}
@keyframes appleIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes screenReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.large-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow: visible;
}
.large-title.flow-type,
.intro-layer-welcome.flow-type {
  font-weight: 700;
  line-height: 1.45;
  padding: 0.14em 0.12em 0.34em;
  filter: drop-shadow(0 8px 18px rgb(7 17 29 / 0.4));
}
.title-2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.large-title:not(.flow-type),
.title-2 {
  text-shadow: 0 10px 32px rgb(7 17 29 / 0.45);
}
.eyebrow {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 400;
}
#login-subtitle:empty {
  display: none;
}
/* Подпись лежит на фоновом видео, поэтому цвет не зависит от темы: в светлой
   тёмно-синий текст на тёмном кадре пропадал. Тень — для ярких кадров. */
#select-note {
  margin-top: 4px;
  color: rgb(var(--frost-rgb) / 0.82);
  text-shadow: 0 2px 4px rgb(7 17 29 / 0.5), 0 8px 22px rgb(7 17 29 / 0.55);
}
/* По той же причине и кнопка возврата: синий акцент светлой темы на кадре
   почти не читался, а подрядчик теперь попадает на этот экран. */
[data-theme="light"] #btn-back-login {
  color: rgb(var(--frost-rgb) / 0.88);
  text-shadow: 0 2px 6px rgb(7 17 29 / 0.45);
}
.hint {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}
#admin-login-error,
#briefings-lock-hint {
  display: none;
  color: var(--error);
  text-align: center;
}
.field-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.hero-panel,
.screen-header {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  text-align: left;
}
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: auto;
  width: 100%;
}
.hero-narrow { max-width: 440px; }
.hero-narrow .large-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.15;
}
.hero-panel .block-grid { margin-top: 8px; }

.login-box {
  max-width: 440px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.identity-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 26px 24px 22px;
  text-align: left;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .identity-card.glass.glass--l2 {
    background: linear-gradient(
      165deg,
      rgb(var(--frost-rgb) / 0.22),
      rgb(var(--sapphire-rgb) / 0.36)
    );
  }
}
.identity-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.identity-field[hidden] { display: none !important; }
.identity-field span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--frost);
  padding-left: 2px;
}
.identity-field .input {
  min-height: 50px;
  border-radius: 14px;
  background: rgb(7 17 29 / 0.42);
  box-shadow:
    inset 0 1px 0 rgb(var(--frost-rgb) / 0.14),
    0 0 0 1px rgb(var(--frost-rgb) / 0.2);
}
.identity-field .input:focus {
  background: rgb(7 17 29 / 0.55);
  box-shadow: 0 0 0 3px rgb(var(--frost-rgb) / 0.28);
}
.identity-card .btn-primary {
  margin-top: 4px;
}
.identity-card .hint {
  min-height: 0;
  margin: 0;
}
html[data-theme="light"] .identity-field span {
  color: var(--sapphire);
}
html[data-theme="light"] .identity-card.glass.glass--l2 {
  background: linear-gradient(
    165deg,
    rgb(255 255 255 / 0.72),
    rgb(var(--frost-rgb) / 0.5)
  );
}
html[data-theme="light"] .identity-field .input {
  background: rgb(255 255 255 / 0.72);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 0 0 1px rgb(var(--sapphire-rgb) / 0.16);
}
html[data-theme="light"] .identity-field .input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgb(var(--sapphire-rgb) / 0.18);
}

.inset-group {
  border-radius: var(--glass-radius, 14px);
  overflow: hidden;
}
.inset-group-narrow { max-width: 320px; width: 100%; margin: 0 auto; }
.inset-group .input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.inset-group > :not([hidden]) + :not([hidden]) {
  box-shadow: inset 0 0.5px 0 var(--separator);
}

.input, .textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 0;
  background: rgb(255 255 255 / 0.06);
  color: var(--text);
  font: 400 var(--type-body)/1.35 var(--font);
  outline: none;
  min-height: 50px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 0 0 0.5px var(--border);
}
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.input:focus, .textarea:focus {
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 0;
  font: 600 17px/1 var(--font);
  letter-spacing: -0.022em;
  cursor: pointer;
  min-height: 50px;
  transition: transform 0.18s var(--spring), filter 0.2s, background 0.2s, opacity 0.2s;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.18), rgb(var(--sapphire-rgb) / 0.55));
  color: var(--frost);
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.32), 0 10px 28px rgb(7 17 29 / 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.btn-primary:hover { background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.26), rgb(var(--sapphire-rgb) / 0.62)); }
.btn-primary:disabled,
#btn-go-quiz:disabled {
  opacity: 0.38;
  filter: none;
}
.btn-secondary {
  background: var(--fill);
  color: var(--text);
}
.btn-plain {
  background: transparent;
  color: var(--accent);
  font-weight: 400;
  min-height: 44px;
  padding: 8px 4px;
  align-self: center;
}
.btn-plain:hover { opacity: 0.8; }
.btn-warning {
  background: var(--warning);
  color: #000;
}
.btn-danger {
  background: var(--error);
  color: #fff;
}
.btn-danger-outline {
  background: transparent;
  color: var(--error);
  box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.45);
}
.btn-danger-outline:hover { background: var(--error-dim); }
.btn-large { width: 100%; }
.btn-small {
  padding: 8px 14px;
  font-size: 15px;
  min-height: 36px;
  border-radius: 10px;
}
.file-btn { cursor: pointer; }

.block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: min(100%, 640px);
  margin-inline: auto;
}
.glass-frost {
  color: var(--frost);
}
.glass-frost .block-title {
  color: var(--frost);
  font-weight: 800;
}
.glass-frost .block-desc {
  color: rgb(var(--frost-rgb) / 0.78);
}
.glass-frost .chevron {
  border-color: rgb(var(--frost-rgb) / 0.5);
}
[data-theme="light"] .glass-frost,
[data-theme="light"] .glass-frost .block-title {
  color: var(--sapphire);
}
[data-theme="light"] .glass-frost .block-desc {
  color: rgb(var(--sapphire-rgb) / 0.7);
}
[data-theme="light"] .block-card.glass.glass--l2 {
  background: linear-gradient(
    165deg,
    rgb(255 255 255 / 0.38),
    rgb(var(--frost-rgb) / 0.22)
  );
}
.block-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  padding: 32px 26px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  border-radius: 32px;
  isolation: isolate;
  background: rgb(var(--sapphire-rgb) / 0.16);
  transition: box-shadow 0.45s var(--spring), border-color 0.45s ease;
}
.block-card:hover,
.block-card:focus-visible {
  transform: none;
  filter: none;
}
.block-card:focus-visible,
.briefing-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.block-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 17.5em;
  min-width: 0;
}
.block-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin: 0;
  min-height: 2.4em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
}
.block-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.4;
  max-width: none;
  text-wrap: pretty;
}
.chevron,
.briefing-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-tertiary);
  border-top: 2px solid var(--text-tertiary);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-right: 6px;
}

.briefing-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  overflow: visible;
}
.briefing-grid--covers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-bottom: 8px;
}
@media (min-width: 720px) {
  .briefing-grid--covers {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
.briefing-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: box-shadow 0.4s var(--spring), border-color 0.4s ease;
}
.briefing-card:not(.briefing-card--photo):hover { background: var(--fill); }
.briefing-card:active { transform: none; }
.briefing-card--photo {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  min-height: 210px;
  isolation: isolate;
  background: var(--sapphire);
  box-shadow:
    0 18px 40px rgb(7 17 29 / 0.38),
    inset 0 1px 0 rgb(var(--frost-rgb) / 0.28);
}
#screen-select.active .briefing-card--photo {
  animation: cardReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(min(var(--i, 0), 6) * 70ms);
}
.briefing-card--photo:active {
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .briefing-card--photo:hover {
    background: var(--sapphire);
    transform: none;
    box-shadow:
      0 22px 48px rgb(7 17 29 / 0.48),
      inset 0 1px 0 rgb(var(--frost-rgb) / 0.42);
  }
}
.briefing-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.briefing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transform-origin: center;
  filter: none;
  display: block;
}
.briefing-frost {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgb(var(--frost-rgb) / 0.06) 0%,
    rgb(var(--sapphire-rgb) / 0.16) 48%,
    rgb(var(--sapphire-rgb) / 0.32) 100%
  );
  box-shadow: inset 0 0 0 1px rgb(var(--frost-rgb) / 0.22);
  opacity: 0.55;
}
.briefing-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgb(var(--sapphire-rgb) / 0.08) 0%,
      transparent 38%,
      rgb(var(--sapphire-rgb) / 0.28) 62%,
      rgb(8 24 44 / 0.78) 100%
    );
  pointer-events: none;
}
.briefing-card--photo .briefing-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 18px 16px;
}
.briefing-card--photo .briefing-copy {
  width: 100%;
}
.briefing-card--photo .briefing-title {
  color: var(--frost);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 8px 24px rgb(7 17 29 / 0.45);
}
.briefing-card--photo .briefing-desc {
  color: rgb(var(--frost-rgb) / 0.78);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.briefing-mark {
  min-width: 46px;
  height: 42px;
  padding: 0 8px;
  border-radius: 11px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.briefing-copy { flex: 1; min-width: 0; }
.briefing-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.briefing-desc { color: var(--text-secondary); font-size: 13px; margin-top: 2px; }

/* Сдал инструктаж — окно закрыто сутки: обложка гаснет, вместо стрелки
   появляется плашка с остатком времени. */
.briefing-card--locked {
  cursor: default;
}
.briefing-card--locked .briefing-photo img {
  filter: grayscale(0.7) brightness(0.52);
}
.briefing-card--locked .briefing-title,
.briefing-card--locked .briefing-desc {
  opacity: 0.74;
}
.briefing-card--locked .briefing-chevron {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .briefing-card--locked:not(.briefing-card--photo):hover { background: transparent; }
}
.briefing-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 11px 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--success-dim);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: left;
}
.briefing-card--photo .briefing-lock {
  /* На обложке подложка гуще: под плашкой размытое фото, а не плоский фон. */
  background: rgb(48 209 88 / 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
/* Системный зелёный рассчитан на тёмный фон: на светлой карточке без обложки
   он давал бы около 2:1, поэтому там берём тёмный оттенок. */
[data-theme="light"] .briefing-card:not(.briefing-card--photo) .briefing-lock {
  color: #248a3d;
}
.briefing-lock-glyph {
  width: 11px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}
.briefing-lock.is-pulse {
  animation: lockPulse 0.5s var(--spring);
}
@keyframes lockPulse {
  0%, 100% { transform: none; }
  35% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .briefing-lock.is-pulse { animation: none; }
}

.video-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 0 0 0.5px var(--border), var(--shadow);
}
#video-container { position: absolute; inset: 0; }
.video-wrapper iframe,
#ks-player-mount {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}
.video-hint {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}
.video-error {
  text-align: center;
  color: var(--error);
  font-size: 15px;
  background: var(--error-dim);
  padding: 14px 16px;
  border-radius: 14px;
  display: none;
}
#btn-go-quiz {
  display: none;
  align-self: center;
  min-width: min(320px, 100%);
}

.quiz-box {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}
.quiz-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.quiz-fallback-notice {
  display: none;
  background: var(--warning-dim);
  color: var(--warning);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
}
.quiz-progress-bar {
  height: 4px;
  background: var(--fill);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
#quiz-progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.45s var(--spring);
}
.question-text {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.options-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgb(var(--glass-tint, 255 255 255) / 0.06);
  border-radius: 16px;
  padding: 6px;
}
.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 14px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 400 17px/1.3 var(--font);
  cursor: pointer;
  min-height: 56px;
  transition: background 0.2s, transform 0.16s var(--spring);
  animation: appleIn 0.45s var(--spring) both;
}
.option-btn:nth-child(1) { animation-delay: 0.02s; }
.option-btn:nth-child(2) { animation-delay: 0.06s; }
.option-btn:nth-child(3) { animation-delay: 0.1s; }
.option-btn:nth-child(4) { animation-delay: 0.14s; }
.option-btn:hover:not(:disabled) { background: var(--fill); }
.option-btn:active:not(:disabled) { transform: scale(0.985); }
.option-btn:disabled { cursor: default; }
.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fill);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.option-btn.correct {
  background: var(--success-dim);
  color: var(--success);
}
.option-btn.correct .option-letter { background: var(--success); color: #000; }
.option-btn.wrong {
  background: var(--error-dim);
  color: var(--error);
}
.option-btn.wrong .option-letter { background: var(--error); color: #fff; }
.quiz-feedback {
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  display: none;
  text-align: center;
  animation: appleIn 0.35s var(--spring) both;
}
.feedback-correct { background: var(--success-dim); color: var(--success); }
.feedback-wrong { background: var(--error-dim); color: var(--error); }
#btn-next-q { display: none; }

.result-box {
  max-width: 520px;
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
}
.result-score {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: var(--text);
  animation: scorePop 0.7s var(--spring) both;
}
@keyframes scorePop {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}
.result-status {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.status-pass { color: var(--success); }
.status-fail { color: var(--error); }
.funny-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgb(var(--glass-tint, 255 255 255) / 0.06);
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
}
.funny-bubble {
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 16px;
  row-gap: 12px;
}
.admin-header-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.admin-header-main .eyebrow {
  margin-bottom: 0;
}
.admin-header-main .title-2 {
  line-height: 1.15;
  max-width: 100%;
}
.admin-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.admin-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.admin-stage {
  width: 100%;
  min-width: 0;
  padding: 8px 4px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: transparent;
  box-shadow: none;
}
#screen-admin {
  max-width: none;
  width: 100%;
}
#screen-admin .title-2 {
  text-shadow: none;
}
.admin-stage .title-2 {
  overflow-wrap: break-word;
  color: var(--frost);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
}
.kpi-card,
.stat-briefing,
.admin-card,
.settings-card,
.table-wrap,
.admin-tabs {
  background: transparent;
  box-shadow: none;
}
.kpi-card {
  min-height: 118px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
}
.kpi-value {
  font-variant-numeric: tabular-nums;
}
.admin-card h3,
.settings-card h3,
.block-title,
.briefing-title,
.large-title,
.title-2 {
  overflow-wrap: break-word;
}
.data-table {
  table-layout: fixed;
}
.data-table th,
.data-table td {
  overflow-wrap: break-word;
  vertical-align: middle;
}
.admin-badge {
  display: none;
}
.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 9px 16px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: rgb(var(--frost-rgb) / 0.62);
  font: 600 14px/1.2 var(--font);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.tab-btn.active {
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.22), rgb(var(--sapphire-rgb) / 0.5));
  color: var(--frost);
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.3);
}
.tab-btn .lock-icon {
  margin-left: 4px;
  opacity: 0.7;
  font-size: 0.85em;
}
#briefings-lock-icon { display: none; }
.tab-content { display: none; margin-top: 8px; }
.tab-content.active {
  display: block;
  animation: appleIn 0.45s var(--spring) both;
}
#briefings-content { display: none; }
.admin-card,
.settings-card {
  border-radius: var(--glass-radius, 18px);
  padding: 22px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-card-add { border-style: none; }
.admin-card h3, .settings-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.settings-copy {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}
.settings-card { max-width: 520px; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 4px;
}
.briefing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.stat-briefing {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 124px;
  padding: 18px 20px;
}
.kpi-label {
  display: block;
  color: rgb(var(--frost-rgb) / 0.64);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.35;
}
.stat-briefing-label {
  display: block;
  color: rgb(var(--frost-rgb) / 0.7);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 8px;
  line-height: 1.3;
}
.stat-briefing-value {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--frost);
  font-variant-numeric: tabular-nums;
}
.kpi-value {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--frost);
}
.kpi-success { color: var(--success); }
.stat-briefing-meta {
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.35;
}
.stat-briefing-sep { color: rgb(var(--frost-rgb) / 0.28); }
.stat-briefing-pass { color: var(--success); font-weight: 600; }
.stat-briefing-fail { color: var(--error); font-weight: 600; }

.toolbar-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.toolbar-row .input { flex: 1; min-width: 200px; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  background: rgb(7 17 29 / 0.78);
}
.table-wrap.glass,
.table-wrap.glass.glass--l2 {
  --glass-tint: 7 17 29;
  --glass-highlight: rgb(255 255 255 / 0.08);
  background: rgb(7 17 29 / 0.78);
}
.table-wrap.glass--l2::before {
  opacity: 0.1;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), transparent 42%);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .table-wrap.glass.glass--l2 {
    background: rgb(7 17 29 / 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
  }
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
  table-layout: fixed;
}
.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgb(7 17 29 / 0.92);
  color: var(--frost);
}
.data-table th, .data-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgb(var(--frost-rgb) / 0.08);
}
.data-table th {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.data-table tbody tr:hover td {
  background: rgb(var(--frost-rgb) / 0.06);
}
.data-table tr:last-child td { border-bottom: none; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-success { background: var(--success-dim); color: var(--success); }
.badge-fail { background: var(--error-dim); color: var(--error); }
.admin-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.lock-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 20px;
  text-align: center;
}
.lock-screen.active { display: flex; }
.lock-mark {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgb(var(--frost-rgb) / 0.1);
  color: var(--frost);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.admin-block-switch {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
}
.admin-switch-btn {
  border: 0;
  background: transparent;
  color: rgb(var(--frost-rgb) / 0.62);
  padding: 8px 14px;
  font: 600 13px/1 var(--font);
  cursor: pointer;
  border-radius: 10px;
}
.admin-switch-btn.active {
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.22), rgb(var(--sapphire-rgb) / 0.5));
  color: var(--frost);
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.3);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active { display: flex; }
.modal.active .modal-content {
  animation: sheetIn 0.42s var(--spring) both;
}
@keyframes sheetIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.modal-content {
  --glass-radius: 22px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}
/* Карточка и шторка всегда лежат на тёмной подложке, поэтому в светлой
   теме держим здесь морозную палитру — иначе тёмный текст на тёмном фоне. */
#cert-modal {
  /* Глубже обычной шторки: карточка читается как предмет, а подсказка
     под ней держит 5,9:1 вместо 3:1 в светлой теме. */
  background: rgba(4, 9, 16, 0.76);
  --text: #eef2ff;
  --text-secondary: rgb(238 242 255 / 0.74);
  --text-tertiary: rgb(238 242 255 / 0.46);
  --fill: rgb(238 242 255 / 0.14);
}
.modal-content-cert {
  max-width: 480px;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-content-cert::before,
.modal-content-cert::after { display: none; }
.cert-stage {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-image {
  display: block;
  width: 100%;
  max-height: 64vh;
  height: auto;
  object-fit: contain;
  border-radius: 26px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s var(--spring), transform 0.5s var(--spring);
  box-shadow: 0 30px 70px rgb(3 8 16 / 0.6);
  /* Долгое нажатие по картинке даёт «Добавить в Фото» на iOS,
     поэтому системное меню здесь не блокируем. */
  -webkit-touch-callout: default;
}
.cert-image.is-ready {
  opacity: 1;
  transform: none;
}
.cert-image.is-ready + .cert-spinner { display: none; }
.cert-spinner {
  position: absolute;
}
/* Рисуем в этот canvas, а показываем готовую картинку. */
.cert-canvas {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  pointer-events: none;
}
.cert-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cert-hint {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
}
.cert-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (prefers-reduced-motion: reduce) {
  .cert-image { transition: none; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--fill);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
}
.preview-q { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 0.5px solid var(--separator); }
.preview-q:last-child { border-bottom: none; }
.preview-q-title { font-weight: 600; margin-bottom: 8px; }
.preview-q-opt { padding: 4px 0; color: var(--text-secondary); font-size: 15px; }
.preview-q-opt.correct { color: var(--success); font-weight: 500; }

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgb(7 17 29 / 0.55);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text);
}
.loading-overlay.active { display: flex; }
.apple-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--fill);
  border-top-color: var(--text);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#loading-text {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

.sync-status {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: none;
  backdrop-filter: blur(20px);
}
.sync-status.online { background: var(--success-dim); color: var(--success); display: block; }
.sync-status.offline { background: var(--error-dim); color: var(--error); display: block; }
.sync-status.syncing { background: var(--accent-dim); color: var(--accent); display: block; }

.briefing-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.icon-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.icon-option {
  min-width: 46px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--fill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.16s var(--spring);
}
.icon-option:hover { transform: scale(1.05); }
.icon-option.selected { background: var(--accent-dim); color: var(--accent); }
.add-briefing-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.add-briefing-bar input { flex: 1; min-width: 180px; }

.emergency-btn-wrapper {
  position: relative;
  display: none;
  align-self: center;
  margin-top: 4px;
}
.emergency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 0;
  font: 600 16px/1 var(--font);
  cursor: pointer;
  background: var(--error);
  color: #fff;
  min-height: 50px;
  text-decoration: none;
  animation: sosPulse 2.4s ease-in-out infinite;
}
@keyframes sosPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 69, 58, 0); }
}
.emergency-btn:active { transform: scale(0.97); }

.matrix-meta {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
  white-space: normal;
}
.matrix-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.matrix-status.pass { background: var(--success-dim); color: var(--success); }
.matrix-status.fail { background: var(--error-dim); color: var(--error); }
.matrix-status.never,
.matrix-status.not-started { background: var(--fill); color: var(--text-tertiary); }
.matrix-name { font-weight: 500; white-space: normal; overflow-wrap: break-word; }
.matrix-row:hover { background: var(--fill); }
.matrix-detail-btn { padding: 6px 12px; font-size: 13px; min-height: 32px; }
.matrix-cell {
  vertical-align: top;
}
.matrix-cell.matrix-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.matrix-detail-modal .modal-content { max-width: 600px; }
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--fill);
  border-radius: 12px;
  font-size: 14px;
}
.detail-item .detail-date { color: var(--text-secondary); font-size: 12px; }
.detail-item .detail-score { font-weight: 600; }

.delete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: 600 13px/1 var(--font);
}
.delete-icon:hover { color: var(--error); background: var(--error-dim); }

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
#screen-admin .btn-secondary,
#screen-admin-pick .btn-secondary {
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.12), rgb(var(--sapphire-rgb) / 0.38));
  color: var(--frost);
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.22);
}
#screen-admin .input,
#screen-admin .textarea,
#screen-admin-login .input {
  background: rgb(var(--frost-rgb) / 0.07);
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.12);
}
#screen-admin .toolbar-row .input {
  min-height: 48px;
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.1), rgb(var(--sapphire-rgb) / 0.32));
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.2);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
#screen-admin .input:focus,
#screen-admin .textarea:focus,
#screen-admin-login .input:focus {
  background: rgb(var(--frost-rgb) / 0.11);
  box-shadow: 0 0 0 3px rgb(var(--frost-rgb) / 0.16);
}
.admin-id-chip {
  font-size: var(--type-meta);
  color: rgb(var(--frost-rgb) / 0.7);
  background: rgb(var(--frost-rgb) / 0.1);
  padding: 4px 8px;
  border-radius: 8px;
  flex-shrink: 0;
}
.testing-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgb(7 17 29 / 0.42);
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.1);
}
.testing-switch-row + .admin-help {
  margin-bottom: 14px;
}
.testing-switch-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.testing-switch-label {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--frost);
}
.testing-switch-state {
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--frost-rgb) / 0.62);
}
/* Срок закрытия — не два состояния, а набор, поэтому в той же строке стоит
   не тумблер, а список. Высота совпадает с тумблером, чтобы строки не прыгали. */
.admin-select {
  flex-shrink: 0;
  min-height: 34px;
  max-width: 45%;
  padding: 6px 30px 6px 12px;
  border: 0;
  border-radius: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23eef2ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
      no-repeat right 11px center / 10px 6px,
    rgb(var(--frost-rgb) / 0.12);
  color: var(--frost);
  font: 600 13px/1.3 var(--font);
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.16);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}
.admin-select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(var(--frost-rgb) / 0.28);
}
.admin-select option {
  color: #0f3460;
  background: #eef2ff;
}
.testing-switch {
  appearance: none;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(var(--frost-rgb) / 0.16);
  box-shadow: inset 0 0 0 1px rgb(var(--frost-rgb) / 0.14);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.testing-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--frost);
  box-shadow: 0 1px 4px rgb(7 17 29 / 0.35);
  transition: transform 0.2s ease;
  pointer-events: none;
}
.testing-switch[aria-checked="true"] {
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.46), rgb(var(--sapphire-rgb) / 0.92));
  box-shadow: inset 0 1px 0 rgb(var(--frost-rgb) / 0.35);
}
.testing-switch[aria-checked="true"] .testing-switch-knob {
  transform: translateX(20px);
}
.testing-switch:focus-visible {
  outline: 2px solid rgb(var(--frost-rgb) / 0.7);
  outline-offset: 3px;
}
.testing-switch[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
}
[data-theme="light"] .testing-switch-row {
  background: rgb(var(--sapphire-rgb) / 0.08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7);
}
[data-theme="light"] .testing-switch-label {
  color: var(--sapphire);
}
[data-theme="light"] .testing-switch-state {
  color: rgb(var(--sapphire-rgb) / 0.62);
}
[data-theme="light"] .testing-switch {
  background: rgb(var(--sapphire-rgb) / 0.16);
}
[data-theme="light"] .testing-switch[aria-checked="true"] {
  background: linear-gradient(165deg, rgb(var(--frost-rgb) / 0.95), rgb(var(--sapphire-rgb) / 0.82));
}
[data-theme="light"] .testing-switch-knob {
  background: #fff;
}
[data-theme="light"] .tab-btn,
[data-theme="light"] .admin-switch-btn {
  color: rgb(var(--sapphire-rgb) / 0.6);
}
[data-theme="light"] .kpi-label,
[data-theme="light"] .stat-briefing-label {
  color: rgb(var(--sapphire-rgb) / 0.62);
}
[data-theme="light"] .kpi-value,
[data-theme="light"] .stat-briefing-value,
[data-theme="light"] .admin-stage .title-2,
[data-theme="light"] .data-table thead th,
[data-theme="light"] .lock-mark {
  color: var(--sapphire);
}
[data-theme="light"] .table-wrap,
[data-theme="light"] .table-wrap.glass,
[data-theme="light"] .table-wrap.glass.glass--l2 {
  --glass-tint: 15 52 96;
  background: rgb(15 52 96 / 0.1);
}
[data-theme="light"] .data-table thead th {
  background: rgb(238 242 255 / 0.94);
}
.admin-help {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}
.cache-info {
  color: var(--text-secondary);
  font-size: 12px;
}

@media (min-width: 720px) {
  .block-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .admin-header { grid-template-columns: 1fr; }
  .admin-header-actions { width: 100%; justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --glass-blur: 16px; }
  .app-container {
    padding: max(64px, calc(env(safe-area-inset-top) + 48px)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .large-title { font-size: 1.85rem; }
  .block-title { font-size: 18px; }
  .block-desc { font-size: 13px; }
  .block-card { padding: 16px 12px; border-radius: 24px; }
  .block-grid { gap: 10px; }
  .briefing-photo img { filter: blur(6px) saturate(1.15); }
  .emergency-btn { padding: 12px 16px; font-size: 15px; width: 100%; }
  .admin-tabs { width: 100%; }
  .tab-btn { flex: 1; min-width: 0; font-size: 13px; padding: 8px 10px; }
  .util-dock { height: 40px; padding: 3px; }
  .util-btn { width: 34px; height: 34px; }
  body:not(.brand-hero) .app-container {
    padding-top: max(92px, calc(env(safe-area-inset-top) + 76px));
  }
  body:not(.brand-hero) .screen-header,
  body:not(.brand-hero) .hero-panel,
  body:not(.brand-hero) .admin-header {
    padding-right: 0;
  }
  .hero-narrow, .quiz-box, .result-box { max-width: 100%; }
  .add-briefing-bar { flex-direction: column; }
  .add-briefing-bar input { min-width: 0; }
  .toolbar-row .input { min-width: 0; width: 100%; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .question-text { font-size: 1.2rem; }
  .result-score { font-size: 3.4rem; }
}

@media (max-width: 640px) {
  .briefing-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .kpi-row,
  .briefing-stats { grid-template-columns: 1fr; }
  .intro-layer-welcome { font-size: 1.2rem; }
  .block-desc { font-size: 13px; }
}

/* Палец точнее мыши не станет: в плотной админской таблице кнопки были 32px
   против минимума 44px. На мыши плотность оставляем как была. */
@media (pointer: coarse) {
  .btn-small,
  .matrix-detail-btn {
    min-height: 44px;
  }
  .delete-icon {
    height: auto;
    min-height: 44px;
    min-width: 44px;
  }
  /* Шрифт мельче 16px в поле заставляет iOS зумить страницу при фокусе. */
  .admin-select {
    min-height: 44px;
    font-size: 16px;
  }
  /* Сам тумблер размером с системный (48×28), но попадать в него пальцем
     тесно — растягиваем только область нажатия, не вид. */
  .testing-switch::after {
    content: '';
    position: absolute;
    inset: -8px -6px;
  }
}

@media (max-width: 480px) {
  /* Список шире тумблера, и подпись сжималась до трёх строк: на узком экране
     кладём управление под неё. */
  .testing-switch-row--select {
    flex-direction: column;
    align-items: stretch;
  }
  .testing-switch-row--select .admin-select {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .app-container {
    padding-top: max(52px, calc(env(safe-area-inset-top) + 36px));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .large-title { font-size: 1.55rem; }
  .hero-panel { margin: 0; gap: 12px; }
  .util-dock { top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-stage,
  .hero-bg-video,
  .hero-bg-scrim {
    transition: none;
  }
  .intro-overlay.is-leaving,
  .intro-morph-stage,
  .intro-layer-logo.is-visible,
  body.intro-leaving .brand-mark,
  body.intro-leaving .util-dock,
  body.intro-leaving #screen-block .hero-panel,
  .screen.active,
  .block-card,
  .briefing-card,
  .briefing-card--photo,
  .briefing-photo img,
  .flow-type,
  .mark-flow,
  .brand-mark,
  .util-sun,
  .util-moon,
  .util-admin,
  .util-btn,
  .option-btn,
  .tab-content.active,
  .modal.active .modal-content {
    animation: none !important;
    transition: none !important;
  }
  .briefing-photo img {
    transform: scale(1.04) !important;
    filter: none !important;
  }
  .flow-type,
  .mark-flow,
  [data-theme="light"] .brand-mark {
    background-position: 40% 50%;
  }
}
