:root {
  --ink: #202235;
  --muted: #7f808d;
  --soft-muted: #a9aab5;
  --line: #e8e7eb;
  --surface: #ffffff;
  --canvas: #f5f6f6;
  --violet: #6858f5;
  --violet-dark: #5140df;
  --lavender: #f0eeff;
  --coral: #fa8e78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, input, textarea { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.feedback-page { min-height: 100vh; padding: 10px 0 20px; }
.form-card {
  background: var(--surface);
  border: 1px solid #e4e4e3;
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(48, 51, 64, 0.07), 0 1px 2px rgba(48, 51, 64, 0.03);
  margin: 0 auto;
  max-width: 566px;
  min-height: 890px;
  padding: 43px 42px 39px;
  width: calc(100% - 22px);
}
.form-heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 29px;
  padding-bottom: 24px;
}
.section-kicker { color: var(--violet); display: block; font-size: 11px; font-weight: 750; letter-spacing: 0.14em; }
.form-heading h1, .success-state h2 { font-size: 26px; font-weight: 750; letter-spacing: -0.06em; line-height: 1; margin: 9px 0 0; }
.form-step { color: var(--violet); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; }
.form-step span { color: #c3c3cf; font-weight: 500; }
.field-group { border: 0; display: block; margin: 0 0 24px; padding: 0; position: relative; }
.field-label, .type-group legend { color: #50515f; display: block; font-size: 12px; font-weight: 650; margin-bottom: 10px; }
.required { color: var(--coral); }
.optional { color: #aaaab5; font-size: 11px; font-weight: 500; margin-left: 3px; }
.type-options { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.type-option {
  align-items: center;
  background: #fbfbfb;
  border: 1px solid #e9e8ed;
  border-radius: 11px;
  color: #858591;
  display: flex;
  font-size: 12px;
  gap: 7px;
  justify-content: center;
  min-height: 43px;
  padding: 8px 6px;
  transition: background 160ms ease, border 160ms ease, color 160ms ease, transform 160ms ease;
}
.type-option:hover { border-color: #c9c2ff; color: var(--violet-dark); transform: translateY(-1px); }
.type-option.selected { background: var(--lavender); border-color: #b4aaff; color: var(--violet-dark); font-weight: 650; }
.type-indicator { border: 1.5px solid #c6c5ce; border-radius: 50%; height: 10px; position: relative; width: 10px; }
.selected .type-indicator { border-color: var(--violet); }
.selected .type-indicator::after { background: var(--violet); border-radius: 50%; content: ""; height: 4px; left: 2px; position: absolute; top: 2px; width: 4px; }
input, textarea, select {
  background: #fbfbfb;
  border: 1px solid #e3e2e7;
  border-radius: 11px;
  color: var(--ink);
  font-size: 13px;
  outline: 0;
  padding: 13px 14px;
  transition: background 160ms ease, border 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #b5b5c0; }
input:focus, textarea:focus { background: #fff; border-color: #aaa0ff; box-shadow: 0 0 0 3px rgba(104, 88, 245, 0.1); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9999a5 50%), linear-gradient(135deg, #9999a5 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%; background-repeat: no-repeat; background-size: 4px 4px, 4px 4px; color: #777885; padding-right: 28px; }
textarea { line-height: 1.65; min-height: 135px; resize: vertical; }
.char-count { bottom: 11px; color: #aeafba; font-size: 10px; position: absolute; right: 13px; }
.field-label-row { align-items: center; display: flex; justify-content: space-between; }
.upload-count { color: #a6a7b2; font-size: 11px; }
.visually-hidden { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.upload-zone {
  align-items: center;
  background: #fcfcfc;
  border: 1px dashed #d6d5df;
  border-radius: 12px;
  color: #8b8b98;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  min-height: 110px;
  padding: 15px;
  transition: background 160ms ease, border 160ms ease, transform 160ms ease;
  width: 100%;
}
.upload-zone:hover, .upload-zone.dragging { background: #f8f6ff; border-color: var(--violet); transform: translateY(-1px); }
.upload-icon { align-items: center; background: var(--lavender); border-radius: 9px; color: var(--violet); display: inline-flex; font-size: 21px; height: 29px; justify-content: center; line-height: 1; width: 29px; }
.upload-text { font-size: 12px; }
.upload-text strong { color: var(--violet-dark); font-weight: 700; }
.upload-hint { color: #b0b0bb; font-size: 10px; }
.image-grid { display: grid; gap: 9px; grid-template-columns: repeat(3, 1fr); margin-bottom: 9px; }
.image-preview { aspect-ratio: 1.45 / 1; background: #f0eff2; border-radius: 11px; overflow: hidden; position: relative; }
.image-preview img { height: 100%; object-fit: cover; width: 100%; }
.remove-image { align-items: center; background: rgba(29, 32, 50, 0.78); border: 0; border-radius: 50%; color: white; display: flex; font-size: 17px; height: 23px; justify-content: center; line-height: 1; padding: 0 0 2px; position: absolute; right: 7px; top: 7px; width: 23px; }
.remove-image:hover { background: #1d2032; }
.form-error { background: #fff1ef; border-radius: 8px; color: #c75e4a; font-size: 12px; margin: 8px 0 17px; padding: 10px 12px; }
.form-footer { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 16px; justify-content: space-between; margin-top: 31px; padding-top: 20px; }
.form-footer p { color: #aaa9b3; font-size: 10px; margin: 0; }
.lock-mark { color: var(--violet); font-size: 16px; vertical-align: -2px; }
.submit-button, .secondary-button, .admin-done {
  align-items: center;
  background: var(--violet);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(104, 88, 245, 0.21);
  color: white;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 15px;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.submit-button:hover, .secondary-button:hover, .admin-done:hover { background: var(--violet-dark); box-shadow: 0 10px 22px rgba(104, 88, 245, 0.28); transform: translateY(-1px); }
.submit-button > span:last-child, .secondary-button > span:last-child { font-size: 17px; font-weight: 400; line-height: 0; }
.success-state { align-items: center; display: flex; flex-direction: column; min-height: 805px; justify-content: center; padding: 20px 16px; text-align: center; }
.success-icon { align-items: center; background: #e2f8e9; border-radius: 50%; color: #43b865; display: flex; font-size: 26px; height: 62px; justify-content: center; margin-bottom: 22px; width: 62px; }
.success-state h2 { margin-top: 12px; }
.success-state p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 18px auto 27px; max-width: 330px; }
.secondary-button { background: var(--lavender); box-shadow: none; color: var(--violet-dark); }
.secondary-button:hover { background: #e2ddff; box-shadow: none; }

.admin-trigger {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #e3e2e7;
  border-radius: 9px;
  color: #777887;
  font-size: 11px;
  padding: 8px 11px;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 5;
}
.admin-trigger:hover { background: #fff; border-color: #beb7ff; color: var(--violet-dark); }
.admin-panel { inset: 0; position: fixed; z-index: 10; }
.admin-backdrop { background: rgba(31, 31, 45, 0.24); border: 0; inset: 0; position: absolute; width: 100%; }
.admin-dialog {
  background: white;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(40, 38, 65, 0.19);
  left: 50%;
  max-height: calc(100vh - 30px);
  max-width: 980px;
  overflow-y: auto;
  padding: 30px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 30px);
}
.admin-login { max-width: 420px; }
.login-badge { align-items: center; background: var(--lavender); border-radius: 12px; color: var(--violet); display: flex; font-size: 23px; height: 44px; justify-content: center; margin-bottom: 18px; width: 44px; }
.admin-login h2 { font-size: 25px; letter-spacing: -0.06em; margin: 9px 0 0; }
.login-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 16px 0 23px; }
.login-error { background: #fff1ef; border-radius: 8px; color: #c75e4a; font-size: 11px; margin: 12px 0; padding: 9px 10px; }
.login-button { margin-top: 7px; width: 100%; }
.login-hint { color: #aaa9b3; font-size: 10px; margin: 18px 0 0; text-align: center; }
.admin-heading { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 21px; }
.admin-heading h2 { font-size: 24px; letter-spacing: -0.06em; margin: 9px 0 0; }
.close-button { background: #f5f4f8; border: 0; border-radius: 50%; color: #777785; font-size: 22px; height: 30px; line-height: 1; padding: 0 0 3px; width: 30px; }
.close-button:hover { background: var(--lavender); color: var(--violet-dark); }
.admin-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 18px 0 24px; }
.admin-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 22px; margin: 20px 0 21px; }
.admin-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; color: #9798a4; font-size: 12px; margin-bottom: -1px; padding: 0 0 12px; }
.admin-tab:hover { color: var(--violet-dark); }
.admin-tab.active { border-bottom-color: var(--violet); color: var(--violet-dark); font-weight: 700; }
.admin-tab span { align-items: center; background: #eeedf2; border-radius: 10px; color: #8e8f9b; display: inline-flex; font-size: 10px; height: 18px; justify-content: center; margin-left: 4px; min-width: 18px; padding: 0 5px; }
.admin-tab.active span { background: var(--lavender); color: var(--violet-dark); }
.records-toolbar { align-items: center; display: flex; justify-content: space-between; margin-bottom: 12px; }
.records-toolbar > div { align-items: baseline; display: flex; gap: 9px; }
.records-toolbar strong { font-size: 13px; }
.records-toolbar span { color: var(--soft-muted); font-size: 10px; }
.refresh-records { background: #fafafa; border: 1px solid #e8e7eb; border-radius: 7px; color: #777885; font-size: 10px; padding: 6px 9px; }
.refresh-records:hover { border-color: #c3bcff; color: var(--violet-dark); }
.record-stats { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; }
.stat-card { align-items: center; background: #fbfbfb; border: 1px solid #ededf0; border-radius: 10px; color: #8b8c99; display: flex; justify-content: space-between; padding: 11px 12px; text-align: left; }
.stat-card:hover { border-color: #c9c2ff; }
.stat-card.active { background: var(--lavender); border-color: #bdb5ff; color: var(--violet-dark); }
.stat-card span { font-size: 10px; }
.stat-card strong { color: var(--ink); font-size: 20px; letter-spacing: -0.05em; }
.stat-card.active strong { color: var(--violet-dark); }
.record-filters { display: grid; gap: 8px; grid-template-columns: minmax(200px, 1fr) 135px 135px; margin-bottom: 14px; }
.record-search { align-items: center; background: #fbfbfb; border: 1px solid #e3e2e7; border-radius: 10px; display: flex; gap: 6px; padding-left: 10px; }
.record-search > span { color: #a2a2ad; font-size: 18px; line-height: 1; }
.record-search input { background: transparent; border: 0; font-size: 11px; padding: 10px 8px 10px 0; }
.record-search input:focus { box-shadow: none; }
.record-filters select { font-size: 11px; padding-bottom: 10px; padding-left: 10px; padding-top: 10px; }
.record-list { max-height: 540px; overflow-y: auto; padding-right: 2px; }
.record-list { display: grid; gap: 10px; }
.record-empty { background: #fbfbfb; border: 1px dashed #dedde4; border-radius: 12px; color: var(--soft-muted); font-size: 12px; line-height: 1.8; padding: 35px 18px; text-align: center; }
.record-card { background: #fbfbfb; border: 1px solid #ededf0; border-radius: 12px; overflow: hidden; padding: 14px; }
.record-topline { align-items: center; display: flex; gap: 8px; justify-content: space-between; }
.record-type { background: var(--lavender); border-radius: 6px; color: var(--violet-dark); font-size: 10px; font-weight: 700; padding: 4px 7px; }
.record-date { color: var(--soft-muted); font-size: 10px; }
.record-order { color: #565766; font-size: 11px; margin-top: 10px; }
.record-order strong { color: var(--ink); margin-left: 4px; }
.record-subject { font-size: 13px; font-weight: 700; margin: 8px 0 5px; }
.record-details { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 0; white-space: pre-wrap; }
.record-email { color: #8a8b98; font-size: 10px; margin: 9px 0 0; }
.record-images { display: flex; gap: 7px; margin-top: 11px; overflow-x: auto; }
.record-image-link { border-radius: 7px; display: block; flex: 0 0 70px; height: 54px; overflow: hidden; }
.record-image-link img { height: 100%; object-fit: cover; width: 100%; }
.record-footer { align-items: center; border-top: 1px solid #ecebf0; display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; }
.record-status { color: #49a966; font-size: 10px; }
.record-status.pending { color: #d29455; }
.record-actions { display: flex; gap: 8px; }
.record-action { background: white; border: 1px solid #e6e5ea; border-radius: 7px; color: #81828e; font-size: 10px; padding: 6px 8px; }
.record-action:hover { border-color: #c3bcff; color: var(--violet-dark); }
.record-action.delete:hover { border-color: #ffc1b5; color: #d66d59; }
.record-row { background: #fbfbfb; border: 1px solid #ededf0; border-radius: 12px; overflow: hidden; }
.record-row[open] { border-color: #d2cdfb; }
.record-summary { align-items: center; cursor: pointer; display: grid; gap: 13px; grid-template-columns: minmax(170px, 1.4fr) 88px 118px 66px 20px; list-style: none; padding: 13px 14px; }
.record-summary::-webkit-details-marker { display: none; }
.record-summary::after { color: #aaaab6; content: "⌄"; font-size: 16px; text-align: center; transition: transform 160ms ease; }
.record-row[open] .record-summary::after { transform: rotate(180deg); }
.record-summary-main { min-width: 0; }
.record-summary-subject { color: var(--ink); font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-summary-order { color: #92939f; font-size: 10px; margin-top: 5px; }
.record-summary-nickname { color: #92939f; font-size: 10px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-summary-type { color: var(--violet-dark); font-size: 10px; }
.record-summary-date { color: var(--soft-muted); font-size: 10px; }
.record-status-pill { background: #fff2e4; border-radius: 20px; color: #c78343; display: inline-block; font-size: 10px; padding: 4px 7px; text-align: center; width: max-content; }
.record-status-pill.done { background: #e8f8ed; color: #45a764; }
.record-detail { border-top: 1px solid #ededf0; padding: 13px 14px 14px; }
.record-detail p { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 0; white-space: pre-wrap; }
.record-detail-nickname { color: #8a8b98; font-size: 10px; margin-top: 9px !important; }
.record-detail-email { color: #8a8b98; font-size: 10px; margin-top: 9px; }
.record-detail-images { display: flex; gap: 7px; margin-top: 11px; overflow-x: auto; }
.record-detail-image { background: #f5f4f8; border: 0; border-radius: 7px; cursor: zoom-in; display: block; flex: 0 0 74px; height: 56px; overflow: hidden; padding: 0; }
.record-detail-image:hover { box-shadow: 0 0 0 2px rgba(104, 88, 245, 0.35); }
.record-detail-image img { height: 100%; object-fit: cover; width: 100%; }
.record-detail-footer { align-items: center; border-top: 1px solid #ecebf0; display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; }
.record-attachment { color: #8c8d99; font-size: 10px; }
.no-options { color: var(--soft-muted); font-size: 12px; grid-column: 1 / -1; margin: 0; padding: 10px; text-align: center; }
.admin-section { border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.form-fields-section { margin-top: 20px; }
.admin-section-title { align-items: center; display: flex; justify-content: space-between; margin-bottom: 10px; }
.admin-section-title strong { font-size: 13px; }
.admin-section-title span { color: var(--soft-muted); font-size: 11px; }
.admin-option-row { align-items: center; background: #fbfbfb; border: 1px solid #ededf0; border-radius: 10px; display: grid; gap: 7px; grid-template-columns: 1fr auto auto auto auto auto; margin-bottom: 8px; padding: 7px; }
.admin-option-row input { background: white; border: 0; font-size: 12px; min-width: 0; padding: 7px 8px; }
.admin-option-row input:focus { box-shadow: 0 0 0 2px rgba(104, 88, 245, 0.12); }
.admin-field-config-row { background: #fbfbfb; border: 1px solid #ededf0; border-radius: 10px; display: grid; gap: 8px; grid-template-columns: 112px 1fr 1.35fr auto; margin-bottom: 8px; padding: 8px; }
.admin-field-config-heading { align-items: center; display: flex; flex-direction: column; justify-content: center; min-width: 0; text-align: left; }
.admin-field-config-heading strong { color: var(--ink); font-size: 11px; width: 100%; }
.admin-field-config-heading span { color: var(--soft-muted); font-size: 9px; margin-top: 3px; width: 100%; }
.admin-field-config-row input[type="text"] { background: white; border: 0; font-size: 11px; min-width: 0; padding: 7px 8px; }
.admin-field-config-row input[type="text"]:focus { box-shadow: 0 0 0 2px rgba(104, 88, 245, 0.12); }
.admin-field-config-controls { align-items: center; display: flex; gap: 8px; justify-content: flex-end; }
.admin-field-switch { align-items: center; color: #777885; display: inline-flex; font-size: 10px; gap: 5px; white-space: nowrap; }
.admin-field-switch input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.admin-field-switch input:disabled + .switch-track { cursor: not-allowed; opacity: .5; }
.admin-field-switch input:focus-visible + .switch-track { box-shadow: 0 0 0 2px rgba(104, 88, 245, 0.28); }
.mini-button { align-items: center; background: white; border: 1px solid #e6e5ea; border-radius: 7px; color: #828390; display: inline-flex; font-size: 12px; height: 27px; justify-content: center; padding: 0; width: 27px; }
.mini-button:hover { border-color: #c3bcff; color: var(--violet-dark); }
.mini-button.delete:hover { border-color: #ffc1b5; color: #d66d59; }
.option-switch { align-items: center; display: inline-flex; }
.option-switch input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.switch-track { background: #d9d9df; border-radius: 20px; display: inline-block; height: 19px; padding: 2px; transition: background 160ms ease; width: 34px; }
.switch-track::after { background: white; border-radius: 50%; content: ""; display: block; height: 15px; transition: transform 160ms ease; width: 15px; }
.option-switch input:checked + .switch-track { background: var(--violet); }
.option-switch input:checked + .switch-track::after { transform: translateX(15px); }
.form-config-button { background: var(--lavender); border: 0; border-radius: 7px; color: var(--violet-dark); font-size: 10px; padding: 7px 9px; white-space: nowrap; }
.form-config-button:hover, .form-config-button.active { background: #dcd6ff; }
.add-option { background: var(--lavender); border: 0; border-radius: 9px; color: var(--violet-dark); font-size: 12px; padding: 10px 13px; width: 100%; }
.add-option:hover { background: #e4e0ff; }
.add-option span { font-size: 17px; vertical-align: -1px; }
.admin-field { display: block; margin-top: 21px; }
.admin-field > span { color: #50515f; display: block; font-size: 12px; font-weight: 650; margin-bottom: 9px; }
.admin-field input { background: #fbfbfb; }
.admin-saved { color: #41a861; font-size: 11px; min-height: 16px; margin: 10px 0 0; }
.admin-footer { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 14px; padding-top: 18px; }
.admin-footer-left { align-items: center; display: flex; gap: 16px; }
.reset-config { background: transparent; border: 0; color: #9293a0; font-size: 12px; padding: 8px 0; }
.reset-config:hover { color: #d26b58; }
.logout-button { color: #a2a3ad; }
.logout-button:hover { color: #d66d59; }
.image-viewer { inset: 0; position: fixed; z-index: 30; }
.image-viewer-backdrop { background: rgba(23, 24, 36, 0.72); border: 0; inset: 0; position: absolute; width: 100%; }
.image-viewer-dialog { align-items: center; background: #1f2030; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 18px; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; left: 50%; max-height: calc(100vh - 44px); max-width: min(900px, calc(100vw - 44px)); padding: 14px; position: absolute; top: 50%; transform: translate(-50%, -50%); width: max-content; }
.image-viewer-dialog img { display: block; max-height: calc(100vh - 140px); max-width: calc(100vw - 80px); object-fit: contain; }
.image-viewer-close { align-items: center; background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 50%; color: white; display: flex; font-size: 23px; height: 32px; justify-content: center; line-height: 1; padding: 0 0 3px; position: absolute; right: 10px; top: 10px; width: 32px; z-index: 1; }
.image-viewer-close:hover { background: rgba(255, 255, 255, 0.22); }
.image-viewer-dialog p { color: rgba(255, 255, 255, 0.72); font-size: 11px; margin: 11px 0 2px; }

@media (max-width: 560px) {
  .feedback-page { padding: 8px 0 14px; }
  .admin-trigger { font-size: 10px; padding: 7px 9px; right: 12px; top: 12px; }
  .form-card { border-radius: 20px; min-height: calc(100vh - 22px); padding: 42px 41px 37px; }
  .form-heading { margin-bottom: 29px; }
  .form-heading h1 { font-size: 25px; }
  .type-options { grid-template-columns: repeat(2, 1fr); }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer p { order: 2; }
  .submit-button { width: 100%; }
  .admin-dialog { padding: 24px 20px; }
  .record-stats { gap: 6px; }
  .stat-card { padding: 10px 9px; }
  .stat-card span { font-size: 9px; }
  .stat-card strong { font-size: 17px; }
  .record-filters { grid-template-columns: 1fr 1fr; }
  .record-search { grid-column: 1 / -1; }
  .record-summary { gap: 8px; grid-template-columns: minmax(120px, 1fr) 70px 64px 20px; }
  .record-summary-date { display: none; }
  .admin-option-row { grid-template-columns: 1fr auto auto; }
  .admin-option-row .mini-button:nth-of-type(1) { grid-column: 2; }
  .admin-option-row .form-config-button { grid-column: 1 / -1; }
  .admin-field-config-row { grid-template-columns: 1fr auto; }
  .admin-field-config-heading { align-items: flex-start; grid-column: 1 / -1; }
  .admin-field-config-row input[type="text"]:first-of-type { grid-column: 1 / -1; }
  .admin-field-config-row input[type="text"]:nth-of-type(2) { grid-column: 1 / -1; }
  .admin-field-config-controls { grid-column: 1 / -1; justify-content: flex-start; }
  .image-viewer-dialog { max-width: calc(100vw - 24px); padding: 8px; }
  .image-viewer-dialog img { max-height: calc(100vh - 92px); max-width: calc(100vw - 40px); }
}
