:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable",
    "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --page: #f5f5f7;
  --surface: rgb(255 255 255 / 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #fbfbfd;
  --surface-alt: #f2f4f8;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-strong: #424245;
  --border: #d8dce3;
  --border-strong: #c3cad5;
  --primary: #0066cc;
  --primary-hover: #004f9e;
  --primary-soft: #e8f2ff;
  --primary-soft-strong: #d5e9ff;
  --success: #0f6b5d;
  --danger: #b4232a;
  --shadow: 0 32px 80px rgb(29 29 31 / 0.1);
  --shadow-soft: 0 16px 44px rgb(29 29 31 / 0.07);
  background: var(--page);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 42%, #eef2f7 100%),
    linear-gradient(120deg, rgb(0 102 204 / 0.14), transparent 44%);
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: 0;
  height: 430px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgb(0 102 204 / 0.12) 0%, transparent 42%),
    linear-gradient(180deg, rgb(255 255 255 / 0.94) 0%, rgb(255 255 255 / 0.42) 58%, transparent 100%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.45) 0 1px, transparent 1px 96px);
}

body.resume-preview-mode {
  background:
    radial-gradient(circle at 12% 8%, rgb(255 209 232 / 0.62), transparent 34%),
    radial-gradient(circle at 86% 10%, rgb(186 220 255 / 0.7), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #eef7ff 48%, #fff0f8 100%);
}

body.resume-preview-mode::before {
  background:
    linear-gradient(120deg, rgb(255 255 255 / 0.84), rgb(236 247 255 / 0.52), rgb(255 234 246 / 0.5)),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.42) 0 1px, transparent 1px 110px);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 18px 20px;
  margin-bottom: 34px;
  border: 1px solid rgb(216 220 227 / 0.84);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 18px 54px rgb(29 29 31 / 0.08);
  backdrop-filter: blur(22px) saturate(1.45);
}

body.resume-preview-mode .topbar {
  display: none;
}

.resume-preview-panel {
  min-height: calc(100vh - 48px);
}

.resume-preview-shell {
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 96px);
  padding: 18px;
  border: 1px solid rgb(209 223 242 / 0.78);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.62);
  box-shadow: 0 28px 78px rgb(67 105 158 / 0.16);
  backdrop-filter: blur(24px) saturate(1.25);
}

.resume-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.resume-preview-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.resume-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--text);
  text-decoration: none;
}

#resumeFrame {
  width: 100%;
  min-height: calc(100vh - 190px);
  border: 1px solid rgb(196 210 232 / 0.82);
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.8);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--text);
  font-size: 42px;
  line-height: 1.07;
  letter-spacing: 0;
}

h2 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.topbar p {
  max-width: 780px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 3px;
}

button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgb(0 102 204 / 0.2);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

button:hover {
  background: var(--primary-hover);
  box-shadow: 0 14px 34px rgb(0 79 158 / 0.22);
}

button:active {
  transform: translateY(1px);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(0 102 204 / 0.2);
  outline-offset: 2px;
}

button.secondary,
.tab {
  background: #eef1f6;
  color: #1d1d1f;
  border-color: #e2e6ec;
  box-shadow: none;
}

button.secondary:hover,
.tab:hover {
  background: #e4e9f1;
  color: #1d1d1f;
  box-shadow: none;
}

button.danger {
  background: var(--danger);
  box-shadow: 0 10px 26px rgb(180 35 42 / 0.16);
}

.tab.active {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
  box-shadow: 0 12px 30px rgb(29 29 31 / 0.18);
}

.staff-login-tab {
  min-height: 34px;
  padding: 7px 12px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 650;
  background: rgb(255 255 255 / 0.72);
  border-color: rgb(216 220 227 / 0.9);
  box-shadow: none;
}

.staff-login-tab:hover,
.staff-login-tab.active {
  color: #ffffff;
  background: var(--text);
  border-color: var(--text);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.single {
  max-width: 760px;
}

.candidate-layout {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(440px, 1fr);
  gap: 26px;
  align-items: start;
}

.entry-grid {
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  align-items: center;
}

.entry-button {
  min-height: 160px;
  font-size: 24px;
  background: var(--text);
  border-color: var(--text);
  box-shadow: var(--shadow);
}

.entry-button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.entry-button.secondary:hover {
  background: var(--surface-solid);
}

.card {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgb(216 220 227 / 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.25);
}

#applicationForm,
#qaForm {
  box-shadow: var(--shadow);
}

#applicationForm {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.94) 0%, rgb(250 250 252 / 0.9) 100%);
}

#applicationForm::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #80c7ff 0%, var(--primary) 48%, #1d1d1f 100%);
}

#applicationForm h2 {
  font-size: 30px;
}

#applicationForm .hint {
  padding: 14px 15px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #f5f7fb;
}

.qa-card {
  position: sticky;
  top: 112px;
}

#qaForm {
  overflow: hidden;
  padding: 0;
  background: rgb(255 255 255 / 0.84);
}

#qaForm > label {
  padding: 28px 28px 0;
}

#qaForm > .qa-answer {
  width: calc(100% - 56px);
  margin-right: 28px;
  margin-left: 28px;
}

#qaForm > .qa-answer {
  margin-bottom: 28px;
}

.qa-bubble {
  display: grid;
  gap: 12px;
  margin: 18px 28px 16px;
  padding: 20px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #f5f5f7;
}

.qa-bubble p {
  justify-self: start;
  max-width: 86%;
  padding: 13px 15px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.58;
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 12px 28px rgb(0 102 204 / 0.18);
}

.quick-question {
  position: relative;
  justify-self: stretch;
  width: 100%;
  min-height: 46px;
  padding: 11px 38px 11px 14px;
  color: #1d1d1f;
  text-align: left;
  line-height: 1.45;
  background: #ffffff;
  border: 1px solid #e2e6ec;
  box-shadow: none;
}

.quick-question::after {
  position: absolute;
  right: 14px;
  top: 50%;
  color: #86868b;
  content: ">";
  transform: translateY(-50%);
}

.quick-question:hover {
  color: #000000;
  background: #ffffff;
  border-color: #c3cad5;
  box-shadow: 0 10px 24px rgb(29 29 31 / 0.06);
  transform: translateX(2px);
}

.qa-answer {
  display: block;
  min-height: 0;
  padding: 13px 14px;
  color: #1d1d1f;
  line-height: 1.6;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #ffffff;
}

.qa-answer:empty {
  display: none;
}

.selected-answer {
  display: grid;
  gap: 6px;
}

.selected-answer span {
  color: #6e7683;
  font-size: 12px;
  font-weight: 700;
}

.selected-answer p {
  color: #1d1d1f;
  font-size: 15px;
  line-height: 1.6;
}

.backend-workspace {
  display: grid;
  gap: 16px;
}

.backend-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.9), rgb(250 250 252 / 0.82));
}

.backend-hero h2 {
  font-size: 28px;
}

.backend-hero output {
  max-width: 420px;
  text-align: right;
}

.backend-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
}

.backend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #eceff4;
}

.backend-tab {
  color: var(--muted-strong);
  background: transparent;
  border-color: transparent;
  padding: 9px 14px;
  box-shadow: none;
}

.backend-tab:hover {
  background: rgb(255 255 255 / 0.54);
  box-shadow: none;
}

.backend-tab.active {
  color: var(--text);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgb(29 29 31 / 0.08);
}

.backend-section {
  display: none;
}

.backend-section.active {
  display: block;
}

.backend-section > .card,
.backend-section > .grid > .card {
  margin-bottom: 0;
}

.compact-grid {
  margin: 4px 0;
}

.compact-head {
  margin: 6px 0 0;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
}

.date-option {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 13px 14px;
  justify-items: start;
  align-content: center;
  color: var(--text);
  background: #ffffff;
  border-color: #e2e6ec;
  box-shadow: none;
}

.date-option span {
  color: var(--muted);
  font-size: 13px;
}

.date-option:hover,
.date-option.active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgb(0 102 204 / 0.18);
}

.date-option:hover span,
.date-option.active span {
  color: rgb(255 255 255 / 0.78);
}

.time-ranges {
  display: grid;
  gap: 10px;
}

.time-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 10px;
}

form {
  display: grid;
  gap: 14px;
  align-content: start;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.92);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.82);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.82),
    0 0 0 4px rgb(0 102 204 / 0.13);
  outline: none;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input[type="file"] {
  padding: 7px;
  background: #ffffff;
}

input[type="file"]::file-selector-button {
  min-height: 32px;
  margin-right: 10px;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  background: #eef1f6;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

input[type="checkbox"] {
  accent-color: var(--primary);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 70px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--primary);
  font-size: 13px;
  background: var(--primary-soft);
  border-color: var(--primary-soft-strong);
  box-shadow: none;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--primary-hover);
  background: #dceeff;
  box-shadow: none;
}

.password-toggle:active {
  transform: translateY(-50%);
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #ffffff;
}

.check input {
  width: auto;
  margin-top: 3px;
}

output {
  min-height: 20px;
  color: var(--success);
  white-space: pre-wrap;
}

output.error {
  color: var(--danger);
}

.hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.invite-result {
  display: grid;
  gap: 8px;
  color: var(--success);
  line-height: 1.5;
}

.invite-result p {
  margin: 0;
}

.hidden {
  display: none;
}

.secondary-tool summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

.secondary-tool[open] summary {
  margin-bottom: 14px;
}

.stacked-form {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e6ec;
}

.inline-form {
  grid-template-columns: 1fr 2fr 120px auto;
  align-items: end;
}

.inline-form h3 {
  grid-column: 1 / -1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.list {
  display: grid;
  gap: 10px;
}

.job-board {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #fbfcff;
}

.job-board .section-head {
  margin-bottom: 0;
}

.candidate-job-board {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.candidate-board-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.candidate-board-summary::-webkit-details-marker {
  display: none;
}

.candidate-job-board:not([open]) > :not(summary) {
  display: none;
}

.candidate-board-title {
  min-width: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.candidate-board-count {
  white-space: nowrap;
}

.fold-button {
  min-height: 30px;
  padding: 5px 10px;
  color: var(--primary);
  font-size: 13px;
  background: var(--primary-soft);
  border-color: var(--primary-soft-strong);
  box-shadow: none;
}

.fold-button:hover {
  color: var(--primary-hover);
  background: #dceeff;
  box-shadow: none;
}

.candidate-job-board .table-wrap,
.candidate-job-board > p {
  margin: 0 14px 14px;
}

.candidate-job-board .table-wrap {
  width: calc(100% - 28px);
  min-width: 0;
  max-width: calc(100% - 28px);
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-gutter: stable;
}

.question-list {
  display: grid;
  gap: 12px;
}

.qa-editor {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #f8fafc;
}

.qa-editor .section-head {
  margin-bottom: 0;
}

.qa-editor-list {
  display: grid;
  gap: 10px;
}

.qa-editor-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #ffffff;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.compact-form-grid {
  gap: 12px;
}

.interviewer-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  background: #f8fbff;
}

.interviewer-choice {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--text);
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.interviewer-choice input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.interviewer-choice span {
  white-space: nowrap;
}

.interviewer-choice:has(input:checked) {
  color: var(--primary);
  border-color: var(--primary-soft-strong);
  background: var(--primary-soft);
}

.interviewer-choice.disabled {
  color: var(--muted);
  background: #f1f4f8;
  cursor: not-allowed;
}

.qa-editor-row button {
  min-height: 44px;
  padding-right: 14px;
  padding-left: 14px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.78);
}

.candidate-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
  font-size: 13px;
}

.candidate-table th,
.candidate-table td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

.candidate-table th {
  color: var(--muted-strong);
  font-weight: 750;
  white-space: nowrap;
  background: #f5f7fb;
}

.candidate-table td {
  color: #303033;
}

.candidate-table tr.return-highlight td {
  animation: return-highlight 1.8s ease;
}

@keyframes return-highlight {
  0%,
  55% {
    background: #eaf3ff;
  }
  100% {
    background: #ffffff;
  }
}

.keywords-cell,
.summary-cell {
  min-width: 180px;
  max-width: 260px;
  line-height: 1.5;
}

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

.muted {
  color: #86868b;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 310px;
}

.table-actions button {
  padding: 7px 9px;
  font-size: 12px;
}

.table-actions .action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 9px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-strong);
  border-radius: 8px;
}

.export-link {
  text-decoration: none;
}

.item {
  padding: 16px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgb(29 29 31 / 0.04);
}

.item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.job-list-item {
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.job-list-item:hover,
.job-list-item:focus-visible {
  border-color: var(--primary-soft-strong);
  box-shadow: 0 12px 28px rgb(0 102 204 / 0.12);
  outline: none;
  transform: translateY(-1px);
}

.job-list-item.selected {
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgb(0 102 204 / 0.14);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.slot {
  background: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100vw - 24px, 640px);
    padding-top: 12px;
  }

  .topbar,
  .entry-grid,
  .candidate-layout,
  .grid.two,
  .inline-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 32px;
  }

  .qa-card {
    position: static;
  }

  #applicationForm {
    padding: 22px;
  }

  #applicationForm h2 {
    font-size: 24px;
  }

  #qaForm > label {
    padding: 22px 22px 0;
  }

  .qa-bubble {
    margin: 16px 22px;
  }

  #qaForm > textarea,
  #qaForm > button,
  #qaForm > output {
    width: calc(100% - 44px);
    margin-right: 22px;
    margin-left: 22px;
  }

  #qaForm > output {
    margin-bottom: 22px;
  }

  .entry-button {
    min-height: 104px;
    font-size: 20px;
  }

  .qa-editor-row {
    grid-template-columns: 1fr;
  }

  .backend-hero {
    display: grid;
  }

  .backend-hero output {
    max-width: none;
    text-align: left;
  }

  .backend-actions {
    justify-content: flex-start;
  }

  .time-range-row {
    grid-template-columns: 1fr;
  }
}
