:root {
  color-scheme: dark;
  --bg: #02090c;
  --bg-soft: #06191c;
  --panel: rgba(246, 252, 251, 0.94);
  --panel-dark: rgba(6, 31, 34, 0.74);
  --text: #f2fbfa;
  --muted: #a7c3c1;
  --ink: #07151a;
  --ink-soft: #587074;
  --line: rgba(80, 255, 226, 0.18);
  --accent: #22dcc2;
  --accent-strong: #5dffe7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 220, 194, 0.22), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(0, 120, 110, 0.24), transparent 26%),
    linear-gradient(135deg, #021013 0%, #02090c 48%, #000406 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 255, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 255, 231, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(1, 14, 17, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 9px 13px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(94, 255, 231, 0.1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px 5px 12px;
  border: 1px solid rgba(94, 255, 231, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-switcher label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.language-switcher select {
  min-width: 112px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: rgba(2, 24, 27, 0.9);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 54px;
  padding: 78px 0 56px;
}

.hero-art {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-card {
  width: min(380px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(16, 80, 75, 0.92), rgba(0, 17, 22, 0.96));
  border: 1px solid rgba(94, 255, 231, 0.35);
  box-shadow: var(--shadow), 0 0 55px rgba(34, 220, 194, 0.16);
}

.hero-card img {
  width: 68%;
  height: 68%;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  margin: 12px 0 12px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: #d7efed;
  font-size: clamp(18px, 2.4vw, 22px);
  max-width: 620px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(94, 255, 231, 0.35);
}

.button.primary {
  background: linear-gradient(135deg, #23e4c9, #0b8f82);
  color: #001316;
  box-shadow: 0 16px 36px rgba(34, 220, 194, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.section {
  padding: 30px 0 74px;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.feature {
  padding: 22px;
  min-height: 136px;
  border-radius: 18px;
  background: rgba(244, 251, 250, 0.96);
  color: var(--ink);
  border: 1px solid rgba(7, 42, 45, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #dffbf5;
  color: #007b70;
  font-weight: 900;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.content-page {
  padding: 58px 0 80px;
}

.page-panel {
  max-width: 860px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.page-panel h1 {
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.page-panel h2 {
  margin-top: 34px;
  color: var(--ink);
}

.page-panel p,
.page-panel li {
  color: #344b50;
}

.lead-dark {
  margin: 0 0 8px;
  color: #122e34;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
}

.page-panel ul {
  padding-left: 22px;
}

.notice {
  margin-top: 28px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(34, 220, 194, 0.1);
  border: 1px solid rgba(11, 143, 130, 0.22);
}

.submit-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.submit-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 42, 45, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.submit-form textarea {
  resize: vertical;
}

.submit-form button:disabled {
  cursor: wait;
  filter: grayscale(0.25);
  opacity: 0.72;
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  border-color: rgba(11, 143, 130, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 220, 194, 0.16);
}

.submit-form input[readonly] {
  background: rgba(236, 252, 249, 0.92);
  cursor: default;
}

.submit-form .button {
  justify-self: start;
  margin-top: 4px;
  cursor: pointer;
}

.feedback-panel {
  max-width: 920px;
}

.feedback-form {
  gap: 18px;
}

.feedback-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(11, 143, 130, 0.14);
  border-radius: 18px;
  background: rgba(234, 250, 247, 0.62);
}

.feedback-section[hidden] {
  display: none;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-field {
  display: grid;
  gap: 10px;
}

.attachment-preview {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(11, 143, 130, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.attachment-preview[hidden] {
  display: none;
}

.attachment-preview img {
  width: 112px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(7, 42, 45, 0.12);
}

.attachment-preview strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.google-play-after-feedback {
  margin-top: 16px;
}

.success-message {
  color: #06352f;
  font-weight: 800;
}

.error-message {
  color: #5b1717;
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.22);
  font-weight: 800;
}

.form-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.sequence-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(11, 143, 130, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 220, 194, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(2, 39, 42, 0.96), rgba(5, 77, 70, 0.92));
  box-shadow: 0 18px 44px rgba(3, 24, 26, 0.16);
}

.sequence-panel[hidden],
.button-grid[hidden] {
  display: none;
}

.sequence-panel p {
  margin: 0;
  color: #d9fffa;
  font-weight: 800;
}

.button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sequence-button {
  min-width: 46px;
  min-height: 38px;
  border: 1px solid rgba(76, 255, 224, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(22, 144, 130, 0.98), rgba(1, 55, 58, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 9px 20px rgba(0, 74, 71, 0.28);
  color: #f1fffd;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 8px 13px;
}

.sequence-button:hover,
.sequence-button:focus {
  border-color: rgba(164, 255, 239, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 0 4px rgba(34, 220, 194, 0.16),
    0 12px 24px rgba(0, 74, 71, 0.34);
  outline: none;
}

.sequence-clear {
  justify-self: start;
}

.admin-panel {
  max-width: 1180px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  margin: 10px 0 20px;
  padding: 14px;
  border: 1px solid rgba(11, 143, 130, 0.14);
  border-radius: 18px;
  background: rgba(234, 250, 247, 0.58);
}

.admin-filters label {
  display: grid;
  gap: 6px;
  min-width: 180px;
  font-weight: 900;
}

.admin-filters select {
  border: 1px solid rgba(7, 42, 45, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.admin-count {
  margin: 0 0 10px auto;
  color: #06413a;
  font-weight: 900;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border: 1px solid rgba(7, 42, 45, 0.14);
}

.copy-codex-button {
  background:
    linear-gradient(180deg, rgba(34, 220, 194, 0.96), rgba(11, 143, 130, 0.96));
  color: #062c2b;
  border: 1px solid rgba(7, 42, 45, 0.12);
  box-shadow: 0 14px 34px rgba(11, 143, 130, 0.22);
}

.copy-codex-button:hover,
.copy-codex-button:focus {
  filter: brightness(1.03);
  outline: none;
  box-shadow:
    0 0 0 4px rgba(34, 220, 194, 0.16),
    0 16px 38px rgba(11, 143, 130, 0.28);
}

.codex-export {
  width: 100%;
  min-height: 260px;
  margin: 16px 0 20px;
  border: 1px solid rgba(11, 143, 130, 0.24);
  border-radius: 16px;
  background: rgba(2, 39, 42, 0.96);
  color: #e8fffb;
  font: 13px/1.55 Consolas, "Courier New", monospace;
  padding: 16px;
  resize: vertical;
}

.codex-export[hidden] {
  display: none;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(7, 42, 45, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(3, 24, 26, 0.08);
}

.submissions-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 14px;
}

.submissions-table th,
.submissions-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(7, 42, 45, 0.09);
  text-align: left;
  vertical-align: top;
}

.submissions-table th {
  color: var(--ink);
  font-weight: 900;
  background: rgba(34, 220, 194, 0.08);
}

.submissions-table tr:last-child td {
  border-bottom: 0;
}

.status-select {
  min-width: 120px;
  border: 1px solid rgba(7, 42, 45, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 9px 10px;
}

.delete-submission {
  border: 1px solid rgba(211, 47, 47, 0.22);
  border-radius: 12px;
  background: rgba(211, 47, 47, 0.1);
  color: #6e1717;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 12px;
}

.view-details,
.view-attachment {
  border: 1px solid rgba(11, 143, 130, 0.22);
  border-radius: 12px;
  background: rgba(34, 220, 194, 0.12);
  color: #06413a;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 12px;
}

.view-details:hover,
.view-details:focus,
.view-attachment:hover,
.view-attachment:focus {
  background: rgba(34, 220, 194, 0.2);
  outline: none;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delete-submission:hover,
.delete-submission:focus {
  background: rgba(211, 47, 47, 0.16);
  outline: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pending {
  color: #725300;
  background: rgba(255, 196, 57, 0.2);
  border: 1px solid rgba(181, 132, 0, 0.2);
}

.status-approved {
  color: #063f35;
  background: rgba(34, 220, 194, 0.18);
  border: 1px solid rgba(11, 143, 130, 0.2);
}

.status-reviewing {
  color: #16446c;
  background: rgba(80, 160, 255, 0.16);
  border: 1px solid rgba(80, 160, 255, 0.24);
}

.status-done {
  color: #063f35;
  background: rgba(94, 255, 231, 0.2);
  border: 1px solid rgba(11, 143, 130, 0.24);
}

.status-rejected {
  color: #6e1717;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.18);
}

.type-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 42, 45, 0.08);
  border: 1px solid rgba(7, 42, 45, 0.1);
  color: #063f35;
  font-size: 12px;
  font-weight: 900;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 6, 8, 0.72);
  backdrop-filter: blur(12px);
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal-card {
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border-radius: 22px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 24px;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-modal-header h2 {
  margin: 0;
  color: var(--ink);
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 42, 45, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.submission-details {
  display: grid;
  gap: 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(234, 250, 247, 0.72);
}

.detail-label {
  font-weight: 900;
}

.detail-value {
  color: #344b50;
  overflow-wrap: anywhere;
}

.attachment-modal-card {
  max-width: 920px;
}

.attachment-large {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(2, 39, 42, 0.08);
  border: 1px solid rgba(7, 42, 45, 0.12);
  margin-bottom: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 13px;
}

.footer-content {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d9f7f3;
  text-decoration: none;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 46px;
  }

  .hero-art {
    min-height: auto;
  }

  .hero-card {
    width: min(260px, 72vw);
    border-radius: 34px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-content,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-switcher {
    align-self: stretch;
    justify-content: space-between;
  }

  .page-panel h1 {
    font-size: clamp(28px, 5.4vw, 40px);
    line-height: 1.12;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .page-panel h1 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.14;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feedback-section {
    padding: 14px;
  }

  .attachment-preview {
    grid-template-columns: 1fr;
  }

  .attachment-preview img {
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .admin-filters label,
  .admin-count {
    width: 100%;
    margin-left: 0;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 18px;
}

.summary-card {
  border: 1px solid rgba(7, 42, 45, 0.12);
  border-radius: 20px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(234, 250, 247, 0.94), rgba(255, 255, 255, 0.72));
  box-shadow: 0 16px 34px rgba(0, 31, 35, 0.08);
}

.summary-card span {
  display: block;
  color: #5d7479;
  font-size: 13px;
  font-weight: 800;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(7, 42, 45, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #244448;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-tab:hover,
.admin-tab.active {
  transform: translateY(-1px);
  border-color: rgba(11, 143, 130, 0.34);
  background: rgba(213, 250, 244, 0.92);
}

.admin-tab span {
  min-width: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(7, 42, 45, 0.1);
  color: #006d63;
  text-align: center;
  font-size: 12px;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 14px;
  align-items: end;
  margin: 18px 0 20px;
}

.admin-search {
  grid-column: span 2;
}

.admin-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.submission-card {
  border: 1px solid rgba(7, 42, 45, 0.12);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 252, 249, 0.72));
  box-shadow: 0 18px 42px rgba(0, 26, 30, 0.1);
}

.submission-card-header,
.submission-title-row,
.submission-main,
.record-actions,
.submission-fields {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submission-card-header,
.submission-main {
  justify-content: space-between;
}

.submission-main {
  align-items: flex-start;
  margin-top: 14px;
}

.submission-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.submission-id,
.submission-meta,
.submission-description {
  color: #5d7479;
}

.submission-id {
  font-size: 13px;
  font-weight: 900;
}

.submission-meta {
  margin: 6px 0 0;
  font-size: 13px;
}

.submission-description {
  max-width: 820px;
  margin: 10px 0 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.submission-fields {
  flex-wrap: wrap;
  margin-top: 12px;
}

.submission-fields span {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(11, 143, 130, 0.16);
  border-radius: 999px;
  background: rgba(211, 250, 244, 0.78);
  color: #006d63;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.record-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: min(340px, 100%);
}

.record-actions .button {
  width: auto;
  padding: 11px 15px;
  box-shadow: none;
}

.status-select {
  min-width: 150px;
  border: 1px solid rgba(7, 42, 45, 0.14);
  border-radius: 14px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.delete-submission {
  border: 1px solid rgba(194, 38, 38, 0.22);
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(255, 241, 241, 0.92);
  color: #8f1e1e;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.delete-rejected-button {
  color: #8f1e1e;
}

.loading-indicator {
  width: fit-content;
  margin: 14px 0;
  border: 1px solid rgba(11, 143, 130, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(211, 250, 244, 0.8);
  color: #006d63;
  font-weight: 900;
}

.modal-attachment-button {
  width: auto;
  margin-top: 12px;
}

.codex-export {
  min-height: 260px;
  margin-top: 14px;
  font-family: Consolas, "Courier New", monospace;
}

@media (max-width: 920px) {
  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-search {
    grid-column: span 2;
  }

  .submission-main {
    flex-direction: column;
  }

  .record-actions {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .admin-summary,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-search {
    grid-column: auto;
  }

  .submission-card {
    padding: 15px;
  }

  .submission-card-header,
  .submission-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .record-actions .button,
  .record-actions .delete-submission,
  .record-actions .status-select {
    width: 100%;
  }
}
