/* UF dark theme. Keep all template styles inside .uf-support-theme when porting to React. */
:root {
  color-scheme: dark;
  --bg: #0d1420;
  --surface: #152130;
  --surface-hover: #1c2e40;
  --line: #2a3a4b;
  --text: #edf3f8;
  --muted: #aab9ca;
  --accent: #62ded4;
  --header-height: 76px;
  --sidebar-width: 232px;
  --radius: 10px;
  --space: 24px;
  font-family: 'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button svg,
a svg {
  pointer-events: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
input,
textarea {
  border-radius: 6px;
}
button {
  border: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  background: none;
}
input,
textarea {
  min-width: 0;
  color: var(--text);
}
[hidden] {
  display: none !important;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #0e1824;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.brand strong {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}
.monogram {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -5px;
  font-style: italic;
  color: #d4e1ed;
  border-right: 1px solid var(--line);
  padding-right: 23px;
  line-height: 1;
}
.brand-sub {
  font-size: 13px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.primary-nav {
  display: flex;
  align-self: stretch;
  gap: 40px;
  margin: auto;
}
.primary-nav a {
  display: grid;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  color: var(--muted);
}
.primary-nav a:hover {
  color: var(--text);
}
.primary-nav a[aria-current] {
  color: var(--accent);
}
.primary-nav a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}
.preview-badge {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 11px;
  white-space: nowrap;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 6px;
}
.icon-button:hover {
  background: var(--surface-hover);
}
.menu-toggle,
.menu-close,
.sidebar-top {
  display: none;
}
.shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 26px 18px 20px;
  background: #0e1824;
  position: sticky;
  top: var(--header-height);
  height: calc(100dvh - var(--header-height));
  overflow: auto;
  scrollbar-width: thin;
}
.nav-group {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.nav-group:last-child {
  border: 0;
  margin-bottom: 0;
}
.nav-group > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 12px 12px;
  font-weight: 600;
}
.nav-group a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  min-height: 43px;
  padding: 10px 12px;
  border-radius: 5px;
  color: #bccbda;
  margin: 3px 0;
  border-left: 3px solid transparent;
}
.nav-group a svg {
  width: 19px;
  height: 19px;
}
.nav-group a:hover {
  background: var(--surface);
}
.nav-group a[aria-current] {
  color: var(--accent);
  background: #14363e;
  border-left-color: var(--accent);
  font-weight: 700;
}
.sidebar-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 10px;
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.sidebar-note svg {
  color: var(--accent);
  width: 20px;
}
.sidebar-note span {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted);
}
main {
  min-width: 0;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 310px;
  background: #111f30 url('assets/hero-bg.jpg') center 43% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 20, 32, 0.97) 0%, rgba(10, 20, 32, 0.88) 42%, rgba(10, 20, 32, 0.32) 100%),
    linear-gradient(0deg, var(--bg), transparent 45%);
}
.hero-content {
  max-width: 1376px;
  margin: auto;
  padding: 46px 40px 38px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--accent);
}
h1 {
  font-size: clamp(28px, 3vw, 43px);
  letter-spacing: -1.6px;
  line-height: 1.3;
  margin: 14px 0;
}
.hero-description {
  color: #c1cede;
  font-size: 15px;
  line-height: 1.7;
}
.search {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 7px 9px 7px 18px;
  background: rgba(21, 33, 48, 0.93);
  border: 1px solid #5f758b;
  border-radius: 8px;
  max-width: 710px;
  box-shadow: 0 8px 32px #0002;
}
.search > svg {
  color: #d0dce9;
  width: 22px;
}
.search input {
  width: 100%;
  background: none;
  border: 0;
  padding: 11px 0;
  font-size: 14px;
  outline: none;
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.search input:focus-visible {
  outline: 0;
}
.search input::placeholder {
  color: #a7b7c9;
}
.search button {
  color: var(--accent);
  background: #203b44;
  padding: 10px 17px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.search button:hover {
  background: #2b4e57;
}
.content {
  padding: 0 28px 32px;
  max-width: 1400px;
  margin: auto;
}
.demo-notice {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  padding: 14px 0 16px;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.action-card {
  background: linear-gradient(120deg, #192838, #15212e);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.15s, background 0.15s;
}
.action-card:hover {
  border-color: #5fa8af;
  background: var(--surface-hover);
}
.action-card > svg:first-child {
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.action-card h2 {
  font-size: 17px;
  letter-spacing: -0.5px;
}
.action-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.chevron {
  margin-left: auto;
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 20px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(125deg, #172534, #14202e);
  padding: 25px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.panel-heading h2 {
  font-size: 22px;
  letter-spacing: -0.7px;
  line-height: 1.4;
}
.small-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.filters button {
  border: 1px solid #3a4b5d;
  border-radius: 30px;
  padding: 9px 17px;
  font-size: 12px;
  color: #c2cfdd;
}
.filters button:hover {
  background: var(--surface-hover);
}
.filters button[aria-pressed='true'] {
  border-color: var(--accent);
  color: var(--accent);
  background: #133039;
  font-weight: 600;
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.faq-item {
  border: 1px solid #304356;
  border-radius: 7px;
  background: #1a2939;
  margin-top: 9px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  background: #213447;
}
.faq-item summary:after {
  content: '';
  width: 7px;
  height: 7px;
  border-bottom: 1.5px solid var(--muted);
  border-right: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 4px 4px;
}
.faq-item[open] summary:after {
  transform: rotate(225deg);
  margin-top: 8px;
}
.faq-item[open] summary {
  color: var(--accent);
}
.faq-answer {
  border-top: 1px solid var(--line);
  padding: 18px;
  color: #bccbda;
  line-height: 1.9;
  font-size: 13px;
  white-space: pre-line;
}
.empty-state {
  text-align: center;
  padding: 45px 12px;
}
.empty-state > svg {
  color: var(--muted);
  margin-bottom: 16px;
}
.empty-state h3 {
  font-size: 15px;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
  color: var(--muted);
}
.text-button {
  color: var(--accent);
  font-size: 12px;
  margin-top: 16px;
  text-decoration: underline;
  padding: 8px;
}
.more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
}
.more-link:hover {
  color: var(--accent);
}
.more-link svg {
  width: 14px;
  height: 14px;
}
.notice-row {
  width: 100%;
  text-align: left;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.notice-row:hover strong {
  color: var(--accent);
}
.notice-tag {
  font-size: 10px;
  color: var(--accent);
  display: block;
  margin-bottom: 9px;
}
.notice-row strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.row-bottom svg {
  width: 14px;
  height: 14px;
}
.history-link {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  border: 1px solid #36495d;
  border-radius: 8px;
  width: 100%;
  padding: 18px 14px;
  margin-top: 16px;
}
.history-link:hover {
  background: var(--surface-hover);
}
.history-link > svg:first-child {
  width: 28px;
  height: 28px;
  color: #a8bfd6;
}
.history-link strong {
  font-size: 13px;
}
.history-link small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 6px;
}
.help-note {
  font-size: 11px;
  line-height: 1.9;
  color: #bac9d8;
  padding: 20px 4px;
}
.help-note > span:last-child {
  margin-left: 13px;
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  background: var(--accent);
  width: 5px;
  height: 5px;
  border-radius: 100%;
  vertical-align: middle;
  margin-right: 8px;
}
.bottom-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 25px 2px 0;
  border-top: 1px solid var(--line);
}
.bottom-help h2 {
  font-size: 14px;
}
.bottom-help p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
.bottom-help a {
  font-size: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.bottom-help svg {
  width: 16px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.footer > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer button {
  padding: 3px 0;
  font-size: 11px;
}
.footer button:hover {
  color: var(--text);
}
.footer > div > span {
  height: 10px;
  width: 1px;
  background: var(--line);
}
.footer small {
  font-size: 10px;
}
.board-panel {
  min-height: 350px;
}
.board-panel .eyebrow {
  display: block;
  font-size: 9px;
  margin-bottom: 9px;
}
.board-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.board-row {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 4px;
  width: 100%;
  border-radius: 0;
}
.board-row:hover strong {
  color: var(--accent);
}
.board-row strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}
.board-row time {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.board-row .sample-label {
  font-size: 10px;
  border: 1px solid #37505f;
  color: var(--accent);
  padding: 3px 7px;
  flex-shrink: 0;
}
.board-footer {
  font-size: 11px;
  color: var(--muted);
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.button-primary {
  background: var(--accent);
  color: #0c252b;
  border: 1px solid var(--accent);
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.button-primary:hover {
  background: #8debe2;
}
.board-empty {
  padding: 38px 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  border: 1px solid #456075;
  border-radius: 12px;
  background: #152130;
  color: var(--text);
  padding: 28px;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #020913c9;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -8px -8px 12px 0;
}
.dialog-heading .eyebrow {
  font-size: 9px;
}
dialog h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  line-height: 1.5;
}
#dialog-body {
  font-size: 13px;
  line-height: 1.9;
  color: #c2cfdd;
  margin-top: 17px;
  white-space: pre-line;
}
#demo-form {
  margin-top: 20px;
}
#demo-form label {
  display: block;
  font-size: 12px;
  margin: 16px 0 9px;
}
#demo-form input,
#demo-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #425970;
  background: #101c2a;
  padding: 12px;
  font-size: 13px;
  line-height: 1.7;
}
#demo-form textarea {
  resize: vertical;
}
.form-hint,
#form-status {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0;
}
#form-status {
  color: var(--accent);
}
@media (min-width: 1700px) {
  :root {
    --sidebar-width: 254px;
  }
  .content {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero-content {
    padding-top: 58px;
    padding-bottom: 48px;
  }
  .hero {
    min-height: 340px;
  }
  .action-card {
    padding: 30px;
  }
  .panel {
    padding: 30px;
  }
}
@media (max-width: 1200px) {
  .brand-sub {
    display: none;
  }
  .header {
    gap: 20px;
    padding: 0 24px;
  }
  .primary-nav {
    gap: 30px;
  }
  :root {
    --sidebar-width: 206px;
  }
  .sidebar {
    padding: 22px 12px;
  }
  .nav-group a {
    font-size: 13px;
    gap: 12px;
  }
  .hero-content {
    padding-left: 28px;
    padding-right: 28px;
  }
  .content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .quick-actions {
    gap: 12px;
  }
  .action-card {
    padding: 22px 16px;
    gap: 12px;
  }
  .action-card h2 {
    font-size: 15px;
  }
  .action-card p {
    font-size: 11px;
  }
  .action-card > svg:first-child {
    width: 28px;
  }
  .action-card .chevron {
    display: none;
  }
  .support-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
  }
  .panel {
    padding: 20px;
  }
  .panel-heading h2 {
    font-size: 20px;
  }
}
@media (max-width: 980px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-side > .panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .support-side .panel-heading,
  .support-side .history-link {
    grid-column: 1/-1;
  }
  .support-side .history-link {
    margin-top: 8px;
  }
  .help-note {
    display: none;
  }
  .primary-nav {
    gap: 24px;
  }
  .preview-badge {
    font-size: 10px;
    padding: 6px 8px;
  }
  .quick-actions {
    gap: 10px;
  }
  .action-card {
    padding: 20px 12px;
    gap: 10px;
  }
  .action-card p {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }
  .header {
    padding: 0 16px;
    gap: 10px;
  }
  .menu-toggle {
    display: inline-grid;
    flex-shrink: 0;
    margin-left: -6px;
  }
  .brand {
    gap: 12px;
  }
  .brand strong {
    font-size: 20px;
  }
  .monogram {
    font-size: 27px;
    padding-right: 15px;
  }
  .primary-nav {
    display: none;
  }
  .preview-badge {
    margin-left: auto;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    height: 100dvh;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.18s, visibility 0s 0.18s;
    padding: 14px 18px 24px;
  }
  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 12px;
  }
  .menu-close {
    display: inline-grid;
  }
  .sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.18s, visibility 0s;
  }
  .nav-group a {
    font-size: 14px;
  }
  .scrim {
    position: fixed;
    inset: 0;
    background: #0009;
    border-radius: 0;
    z-index: 30;
  }
  .hero {
    min-height: 300px;
    background-position: 65% center;
  }
  .hero:before {
    background: linear-gradient(90deg, #0a1420e8, #0a1420aa), linear-gradient(0deg, var(--bg), transparent);
  }
  .hero-content {
    padding: 36px 22px 30px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 2.7px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-top: 16px;
  }
  .hero-description {
    font-size: 13px;
  }
  .search {
    margin-top: 24px;
    padding-left: 13px;
    gap: 10px;
  }
  .search input {
    font-size: 12px;
    padding: 10px 0;
  }
  .search button {
    font-size: 12px;
    padding: 10px 13px;
  }
  .search > svg {
    width: 19px;
  }
  .content {
    padding: 0 18px 28px;
  }
  .demo-notice {
    font-size: 10px;
    padding: 12px 0 16px;
  }
  .quick-actions {
    gap: 8px;
    margin-bottom: 18px;
  }
  .action-card {
    padding: 18px 9px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .action-card > svg:first-child {
    width: 26px;
    height: 26px;
  }
  .action-card h2 {
    font-size: 13px;
  }
  .action-card p {
    font-size: 10px;
    line-height: 1.7;
    margin-top: 6px;
  }
  .panel {
    padding: 20px 17px;
  }
  .panel-heading h2 {
    font-size: 20px;
  }
  .panel-heading {
    margin-bottom: 18px;
  }
  .filters {
    gap: 7px;
  }
  .filters button {
    padding: 8px 14px;
    font-size: 11px;
  }
  .faq-item summary {
    font-size: 12px;
    padding: 16px 13px;
  }
  .faq-answer {
    font-size: 12px;
    padding: 16px 13px;
  }
  .support-side > .panel {
    display: block;
  }
  .history-link {
    margin-top: 15px !important;
  }
  .bottom-help {
    gap: 16px;
    align-items: flex-start;
    padding-top: 22px;
    margin-top: 22px;
  }
  .bottom-help h2 {
    font-size: 13px;
  }
  .bottom-help p {
    font-size: 11px;
  }
  .bottom-help a {
    font-size: 11px;
    gap: 4px;
  }
  .footer {
    padding: 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .board-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .board-row strong {
    font-size: 12px;
    flex: 1;
  }
  .board-row time {
    width: 100%;
    padding-left: 43px;
  }
  .board-row svg {
    display: none;
  }
  .board-intro {
    font-size: 12px;
  }
  .button-primary {
    padding: 10px 12px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}
.faq-item summary:focus-visible {
  outline-offset: -3px;
}
.preview-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.preview-mode select {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  max-width: 120px;
}
.preview-mode select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 980px) {
  .preview-mode > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .preview-mode {
    margin-left: auto;
  }
  .preview-mode select {
    max-width: 100px;
    font-size: 10px;
    padding: 7px 5px;
  }
}
#email-fields {
  border: 1px solid var(--line);
  padding: 16px;
  margin: 20px 0 24px;
  border-radius: 8px;
  min-width: 0;
}
#email-fields legend {
  color: var(--accent);
  font-size: 13px;
  padding: 0 6px;
}
.verification-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.verification-row input {
  flex: 1;
}
.button-secondary {
  background: #203b44;
  color: var(--accent);
  padding: 10px 12px;
  border: 1px solid #42616b;
  font-size: 11px;
  flex-shrink: 0;
}
.spam-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px dashed #537285;
  padding: 14px 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-top: 18px;
  color: var(--muted);
}
.spam-preview svg {
  color: var(--accent);
}
.spam-preview small {
  display: block;
  font-size: 10px;
  margin-top: 8px;
  line-height: 1.7;
}
@media (max-width: 420px) {
  .verification-row {
    flex-wrap: wrap;
  }
  .verification-row input {
    flex-basis: 100%;
  }
  .verification-row button {
    width: 100%;
  }
  dialog {
    padding: 22px 18px;
  }
}
.game-shortcut {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--accent);
  color: #0c252b;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.game-shortcut:hover {
  background: #8debe2;
}
.game-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  margin-top: 10px;
  font-size: 13px;
}
.game-flow > span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  flex: 1;
}
.game-flow small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.game-action {
  display: block;
  text-align: center;
  padding: 14px;
  margin-top: 10px;
  border-radius: 6px;
}
.game-action[aria-disabled] {
  opacity: 0.65;
  cursor: default;
}
@media (max-width: 760px) {
  .header {
    padding: 0 12px;
    gap: 8px;
  }
  .brand .monogram {
    display: none;
  }
  .brand strong {
    font-size: 17px;
    letter-spacing: -1px;
  }
  .menu-toggle {
    width: 32px;
    margin-left: 0;
    padding: 4px;
  }
  .game-shortcut {
    margin-left: auto;
    padding: 9px 8px;
    font-size: 10px;
    gap: 3px;
  }
  .game-shortcut > span {
    display: none;
  }
  .preview-mode {
    margin-left: 0;
  }
  .preview-mode select {
    max-width: 82px;
  }
}
