:root {
  --brand-primary: #4f46e5;
  --brand-accent: #06b6d4;
  --brand-hot: #ec4899;
  --brand-warm: #f59e0b;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-muted: #edf2f9;
  --text: #132033;
  --muted: #617087;
  --border: #d7e0eb;
  --danger: #b42318;
  --success: #027a48;
  --premium-ink: #111827;
  --premium-line: rgba(148, 163, 184, 0.34);
  --premium-glass: rgba(255, 255, 255, 0.76);
  --premium-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button-link {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.23);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, border-color 0.16s ease;
}

.button-link {
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
}

button:hover,
.button-link:hover {
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.16);
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 58%, #ffffff 42%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 15%, transparent 85%);
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}

.muted,
.help-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.error-text {
  color: var(--danger);
}

.success-text {
  color: var(--success);
}

.public-page {
  background: #f5f8ff;
}

.premium-public-page {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(79, 70, 229, 0.18) 0 18%, transparent 18% 100%),
    linear-gradient(150deg, transparent 0 58%, rgba(6, 182, 212, 0.18) 58% 74%, transparent 74% 100%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 48%, #fbfcff 100%);
}

.premium-public-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 72%);
}

.public-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 18px 14px 34px;
}

.hero {
  display: grid;
  gap: 12px;
  min-height: 178px;
  padding: 26px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.premium-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  min-height: 236px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(115deg, rgba(17, 24, 39, 0.98), rgba(45, 38, 149, 0.94) 46%, rgba(8, 145, 178, 0.92)),
    linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  box-shadow: 0 26px 80px rgba(33, 44, 90, 0.28);
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
}

.premium-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 680px;
}

.premium-hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glass-panel,
.hero-light-beam {
  position: absolute;
  display: block;
  border-radius: 8px;
}

.hero-glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 20px 40px rgba(5, 10, 35, 0.2);
  transform: skewX(-10deg);
}

.hero-glass-panel-one {
  right: 46px;
  top: 36px;
  width: 178px;
  height: 78px;
}

.hero-glass-panel-two {
  right: 118px;
  bottom: 38px;
  width: 118px;
  height: 54px;
}

.hero-light-beam {
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.95), rgba(244, 114, 182, 0.78), transparent);
  transform: rotate(-18deg);
}

.hero-light-beam-one {
  right: -28px;
  top: 82px;
  width: 320px;
}

.hero-light-beam-two {
  right: 70px;
  bottom: 86px;
  width: 230px;
  opacity: 0.74;
}

.hero h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero p {
  margin: 0;
  max-width: 60ch;
  overflow-wrap: anywhere;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.86;
}

.premium-eyebrow {
  display: inline-grid;
  width: fit-content;
  min-height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #dff8ff;
  backdrop-filter: blur(12px);
}

.notice-card,
.form-card,
.login-card,
.admin-panel,
.detail-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
}

.notice-card,
.form-card {
  margin-top: 14px;
  padding: 18px;
}

.premium-public-page .notice-card,
.premium-form-card {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.notice-card {
  display: grid;
  gap: 6px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.premium-form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding-bottom: 14px;
}

.premium-form-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, var(--brand-primary), var(--brand-accent) 52%, var(--brand-hot));
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

.premium-form-header strong {
  font-size: 1.05rem;
}

.tab-button {
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  box-shadow: none;
}

.tab-button[aria-pressed="true"] {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.2);
}

.dynamic-form {
  display: grid;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.premium-form-card .field-group {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.72);
  padding: 12px;
}

.premium-form-card label.field-group {
  font-weight: 800;
}

.required-mark {
  color: var(--danger);
  font-weight: 800;
}

.choice-group {
  display: grid;
  gap: 8px;
}

.choice-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 8px;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 9px 10px;
}

.choice-option input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
}

.info-box {
  border-left: 4px solid var(--brand-accent);
  border-radius: 8px;
  background: var(--surface-muted);
  padding: 12px;
}

.form-actions {
  display: grid;
  gap: 10px;
}

.form-actions button {
  width: 100%;
}

.status-message {
  min-height: 24px;
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(130deg, rgba(79, 70, 229, 0.18) 0 30%, transparent 30% 100%),
    linear-gradient(42deg, transparent 0 52%, rgba(6, 182, 212, 0.16) 52% 68%, transparent 68% 100%),
    linear-gradient(180deg, #f7fbff, #eef4fb);
}

.login-card {
  width: min(100%, 430px);
  padding: 24px;
}

.premium-login-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 82px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(18px);
}

.premium-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-hot), var(--brand-warm));
}

.login-card h1 {
  margin: 0 0 18px;
  font-size: 1.75rem;
}

.login-card form {
  display: grid;
  gap: 14px;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(125deg, rgba(79, 70, 229, 0.13) 0 24%, transparent 24% 100%),
    linear-gradient(48deg, transparent 0 58%, rgba(236, 72, 153, 0.11) 58% 72%, transparent 72% 100%),
    linear-gradient(156deg, transparent 0 64%, rgba(6, 182, 212, 0.14) 64% 80%, transparent 80% 100%),
    linear-gradient(180deg, #f8fbff 0%, #eff5fb 52%, #f8fbff 100%);
}

.premium-admin-page {
  color: #172033;
}

.premium-admin-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.038) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.admin-topbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--premium-ink);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nav-link {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.admin-nav-link.active {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff;
}

.secondary-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  box-shadow: none;
}

.danger-button {
  border: 1px solid color-mix(in srgb, var(--danger) 32%, #ffffff 68%);
  background: #fff7f7;
  color: var(--danger);
  box-shadow: none;
}

.admin-shell {
  display: grid;
  gap: 16px;
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 16px;
}

.admin-panel,
.detail-panel {
  padding: 16px;
}

.admin-dashboard {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(18px);
}

.premium-dashboard {
  position: relative;
  overflow: hidden;
}

.premium-dashboard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-hot), var(--brand-warm));
}

.premium-settings-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(18px);
}

.premium-settings-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-hot));
}

.dashboard-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--premium-ink);
}

.dashboard-kicker {
  margin: 0 0 4px;
  color: color-mix(in srgb, var(--brand-primary) 72%, #172033 28%);
  font-size: 0.86rem;
  font-weight: 800;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.summary-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.78));
  padding: 15px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.summary-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.summary-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.summary-card strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--premium-ink);
}

.summary-card-pending {
  border-top: 4px solid #d99631;
}

.summary-card-processed {
  border-top: 4px solid #1f8a70;
}

.summary-card-invalid {
  border-top: 4px solid #bd3d3a;
}

.dashboard-filter {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.76);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.dashboard-table-area {
  min-width: 0;
}

.admin-panel h2,
.detail-panel h2,
.detail-panel h3 {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.editor-grid {
  display: grid;
  gap: 12px;
}

.simple-editor-section {
  display: grid;
  gap: 10px;
}

.simple-editor-section h3 {
  margin: 0;
  font-size: 1rem;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.simple-editor-list {
  display: grid;
  gap: 10px;
}

.simple-editor-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.78);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.simple-editor-title {
  color: var(--text);
  font-weight: 800;
}

.inline-check {
  display: inline-grid;
  grid-template-columns: 20px auto;
  align-items: center;
  justify-content: start;
  gap: 8px;
  font-weight: 700;
}

.inline-check input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-textarea {
  min-height: 92px;
}

.hidden-control {
  display: none;
}

.color-row,
.filter-row,
.status-row {
  display: grid;
  gap: 10px;
}

.json-editor {
  min-height: 180px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.92rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toolbar button,
.toolbar .button-link {
  display: inline-grid;
  place-items: center;
  min-width: 112px;
  padding: 0 14px;
}

.submissions-layout {
  display: grid;
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.94);
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: linear-gradient(180deg, #f8fbff, #edf4fb);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

tbody tr {
  transition: background 0.16s ease;
}

tbody tr:hover {
  background: rgba(79, 70, 229, 0.045);
}

tr:last-child td {
  border-bottom: 0;
}

.compact-button {
  min-height: 36px;
  padding: 0 12px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-strong {
  font-weight: 800;
}

.table-main-info {
  max-width: 420px;
}

.status-badge {
  display: inline-grid;
  min-height: 28px;
  place-items: center;
  border-radius: 8px;
  padding: 0 10px;
  background: #eef2f7;
  color: #445066;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pending {
  background: #fff7e8;
  color: #925a00;
}

.status-processed {
  background: #e9f8f2;
  color: #06704f;
}

.status-invalid {
  background: #fff0f0;
  color: #a3322d;
}

.modal-overlay,
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.modal-overlay.open,
.image-lightbox.open {
  display: grid;
}

.modal-overlay {
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 760px);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 88px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(18px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 14px 16px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.12rem;
}

.modal-body {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  padding: 16px;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
}

.detail-title {
  margin: 0;
  font-size: 1.02rem;
}

.detail-meta-grid {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.72));
  padding: 12px;
}

.detail-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.detail-field-card {
  grid-template-columns: 1fr;
  gap: 5px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.8);
  padding: 11px;
}

.definition-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
}

.definition-list dt {
  color: var(--muted);
  font-weight: 700;
}

.definition-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.submission-values {
  display: grid;
  gap: 8px;
}

.submission-value-item {
  display: grid;
  grid-template-columns: minmax(82px, 0.36fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}

.submission-value-item.detail-field-card {
  grid-template-columns: 1fr;
  gap: 5px;
  border-bottom: 1px solid var(--border);
  padding: 11px;
}

.submission-value-label {
  color: var(--muted);
  font-weight: 800;
}

.submission-value-text {
  overflow-wrap: anywhere;
}

.attachment-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.attachment-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  padding: 10px;
  background: rgba(248, 250, 252, 0.84);
}

.submission-image-preview {
  display: block;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  background: var(--surface-muted);
  cursor: zoom-in;
  object-fit: contain;
}

.image-lightbox {
  place-items: center;
  padding: 56px 18px 18px;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(6, 182, 212, 0.12)),
    rgba(4, 7, 14, 0.88);
}

.image-lightbox img {
  max-width: min(96vw, 1180px);
  max-height: 86vh;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.attachment-name {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.attachment-size {
  color: var(--muted);
  font-size: 0.9rem;
}

.file-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 760px) {
  .public-shell {
    padding: 28px 22px 48px;
  }

  .hero {
    padding: 34px 30px;
  }

  .premium-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
    min-height: 268px;
    padding: 40px 36px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .notice-card,
  .form-card {
    padding: 24px;
  }

  .premium-form-card .dynamic-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-form-card .field-group,
  .premium-form-card .form-actions {
    min-width: 0;
  }

  .premium-form-card .field-group:has(textarea),
  .premium-form-card .field-group:has(input[type="file"]),
  .premium-form-card .info-box,
  .premium-form-card .form-actions {
    grid-column: 1 / -1;
  }

  .form-actions {
    grid-template-columns: minmax(180px, 240px) 1fr;
    align-items: center;
  }

  .color-row {
    grid-template-columns: 1fr 1fr;
  }

  .filter-row {
    grid-template-columns: 1fr 180px auto auto;
    align-items: end;
  }

  .dashboard-filter {
    grid-template-columns: minmax(240px, 1fr) 170px 170px auto;
  }

  .submissions-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
  }

  .status-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
