:root {
  --page: #edf1f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-deep: #eef3f9;
  --line: #d8e0ea;
  --line-strong: #b9c5d3;
  --text: #182230;
  --muted: #667085;
  --muted-2: #98a2b3;
  --blue: #0f4db8;
  --blue-2: #1a73e8;
  --blue-dark: #0b347a;
  --green: #188038;
  --red: #b3261e;
  --amber: #a15c00;
  --ink: #0b1220;
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-page: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --sidebar-width: 274px;
  --font: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.access-gate {
  min-height: 100vh;
  color: #ffffff;
  display: grid;
  place-items: center;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(15, 77, 184, 0.32), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(96, 165, 250, 0.12), transparent 30%),
    linear-gradient(135deg, #08111f 0%, #111827 55%, #07111f 100%);
  position: relative;
}

.access-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  pointer-events: none;
}

.access-shell {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.access-brand {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.access-logo {
  width: 142px;
  height: 142px;
  object-fit: contain;
  border-radius: 24px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  flex: 0 0 auto;
}

.access-kicker {
  color: #9cc2ff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.access-brand h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -2.3px;
}

.access-brand p {
  max-width: 570px;
  margin: 18px 0 0;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 15px;
}

.access-card {
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.access-card-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.access-card-header h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.5px;
}

.access-card-header p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.access-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 16px;
}

.access-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 8px;
  font-weight: 900;
  color: #475467;
  font-size: 12px;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.access-tabs button:hover {
  transform: translateY(-1px);
}

.access-tabs button.active {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.14);
}

.access-footer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background:
    radial-gradient(circle at 80% 0%, rgba(15, 77, 184, 0.08), transparent 28%),
    var(--page);
}

.sidebar {
  background: rgba(255,255,255,0.96);
  border-right: 1px solid var(--line);
  min-height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.brand {
  min-height: 80px;
  padding: 15px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 3px;
  box-shadow: var(--shadow-soft);
}

.brand h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.25px;
}

.brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  padding: 14px 10px;
  display: grid;
  gap: 4px;
}

.nav button {
  height: 41px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: transparent;
  color: #3f4a5c;
  text-align: left;
  font-weight: 850;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav button:hover {
  background: #f1f5f9;
  transform: translateX(2px);
}

.nav button.active {
  background: #dbeafe;
  color: var(--blue);
}

.sidebar-note {
  margin-top: auto;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.sidebar-note strong {
  color: #111827;
}

.main {
  min-width: 0;
}

.topbar {
  min-height: 66px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.35px;
}

.topbar p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.clearance-badge {
  height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cfe0ff;
  background: #eef4ff;
  color: var(--blue);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 900;
}

.content {
  width: 100%;
  padding: 26px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 920px) 340px;
  justify-content: center;
  gap: 22px;
  align-items: start;
}

.designer-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 900px);
  justify-content: center;
  gap: 22px;
  align-items: start;
}

.inbox-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 880px);
  justify-content: center;
  gap: 22px;
  align-items: start;
}

.sticky-panel {
  position: sticky;
  top: 86px;
}

.document {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.document-header,
.document-body {
  background: #ffffff;
  max-width: 920px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.document-header {
  border-top: 1px solid var(--line);
  border-radius: 5px 5px 0 0;
  padding: 48px 64px 30px;
  box-shadow: var(--shadow-page);
}

.document-body {
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 5px 5px;
  padding: 0 64px 58px;
  box-shadow: var(--shadow-page);
}

.document-image {
  width: 100%;
  max-height: 270px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.document-label {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 14px;
}

.document-header h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 950;
  color: #111827;
  letter-spacing: -0.9px;
}

.document-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 760px;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.panel-header {
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-bottom: 1px solid var(--line);
}

.panel-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.15px;
}

.panel-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.panel-body {
  padding: 18px 20px 20px;
}

.section {
  padding-top: 30px;
  margin-bottom: 34px;
}

.section h4,
.subheading {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 950;
  color: #111827;
}

.requirements {
  display: grid;
  gap: 7px;
}

.requirement {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  color: #344054;
  line-height: 1.5;
}

.requirement::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.notice,
.status-box {
  margin-top: 18px;
  border: 1px solid #ead394;
  background: #fff9e8;
  color: #5b4210;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.stage {
  display: none;
}

.stage.active {
  display: block;
  animation: pageFade .28s ease both;
}

.stage-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 28px;
}

.stage-header strong {
  display: block;
  font-size: 17px;
  font-weight: 950;
}

.stage-header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.stage-pill {
  height: 30px;
  border-radius: 999px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  background: #eef4ff;
  color: var(--blue);
  border: 1px solid #cfe0ff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.field {
  margin-bottom: 24px;
}

.field-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 950;
  color: #111827;
  line-height: 1.35;
}

.required {
  color: var(--red);
  margin-left: 3px;
}

.help {
  margin: -2px 0 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #ffffff;
  color: #111827;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

input:hover,
textarea:hover,
select:hover {
  border-color: #aeb8c6;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.13);
}

.choice-list {
  display: grid;
  gap: 9px;
}

.choice,
.checkline {
  min-height: 42px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff;
  padding: 10px 12px;
  margin-top: 10px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.choice:hover,
.checkline:hover {
  background: #fafcff;
  border-color: #aeb8c6;
}

.choice input,
.checkline input {
  width: auto;
  min-height: auto;
  accent-color: var(--blue);
}

.choice span,
.checkline span {
  font-weight: 850;
  color: #253044;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.btn {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 950;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 77, 184, 0.18);
}

.btn.secondary {
  background: #ffffff;
  color: #344054;
  border-color: var(--line-strong);
}

.btn.secondary:hover {
  background: #f8fafc;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.07);
}

.btn.success {
  background: var(--green);
}

.btn.danger {
  background: var(--red);
}

.btn.small {
  min-height: 30px;
  padding: 0 11px;
  font-size: 12px;
}

.btn.full {
  width: 100%;
  margin-top: 14px;
}

.message {
  display: none;
  margin-top: 16px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.message.visible {
  display: block;
  animation: softDrop .18s ease both;
}

.message.error {
  border: 1px solid #f2b8b5;
  background: #fff4f3;
  color: var(--red);
}

.message.success {
  border: 1px solid #a8dab5;
  background: #f0fbf3;
  color: var(--green);
}

.application-list {
  display: grid;
  gap: 8px;
}

.application-card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 13px;
  padding: 13px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.application-card:hover,
.application-card.active {
  border-color: var(--blue);
  background: #f7fbff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 77, 184, 0.08);
}

.application-card strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 950;
}

.application-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

.image-preview-wrap {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.image-preview {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.question-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  animation: pageFade .18s ease both;
}

.question-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.question-top h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 950;
}

.question-top small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.question-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 10px 0 12px;
  box-shadow: var(--shadow-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-label {
  display: block;
  margin: 13px 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.metrics {
  max-width: 1292px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.metric b {
  display: block;
  font-size: 26px;
  font-weight: 950;
  color: #111827;
  letter-spacing: -0.65px;
}

.metric span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.response-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 345px);
  overflow: auto;
  padding-right: 4px;
  margin-top: 12px;
}

.response-button {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 13px;
  padding: 13px;
  text-align: left;
  color: var(--text);
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.response-button:hover,
.response-button.active {
  border-color: var(--blue);
  background: #f7fbff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 77, 184, 0.08);
}

.response-button strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 950;
  color: #111827;
}

.response-button small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #475467;
  font-size: 11px;
  font-weight: 950;
}

.badge.good,
.badge.pass {
  border-color: #b7e2c1;
  background: #f0fbf3;
  color: var(--green);
}

.badge.bad {
  border-color: #efd59a;
  background: #fff9e8;
  color: var(--amber);
}

.badge.troll,
.badge.fail {
  border-color: #f2b8b5;
  background: #fff4f3;
  color: var(--red);
}

.review-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.review-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.55px;
}

.review-header p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.score-box {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.score-number {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  padding: 18px;
}

.score-number b {
  display: block;
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -1px;
}

.score-number span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.answer-block {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.answer-block:first-child {
  border-top: 0;
}

.answer-block h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 950;
}

.answer-block p {
  margin: 0;
  color: #344054;
  line-height: 1.65;
  white-space: pre-wrap;
}

.access-request {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  background: #ffffff;
}

.access-request strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
  font-weight: 950;
}

.access-request span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.access-request small {
  display: block;
  color: var(--muted-2);
  margin-top: 3px;
  font-size: 12px;
}

.empty {
  border: 1px dashed var(--line-strong);
  background: #f8fafc;
  color: var(--muted);
  border-radius: 14px;
  text-align: center;
  padding: 38px 22px;
  line-height: 1.5;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 950;
}

.hidden {
  display: none !important;
}

.reveal-up {
  animation: revealUp .55s cubic-bezier(.2,.7,.2,1) both;
}

.delay-1 {
  animation-delay: .09s;
}

.page-fade {
  animation: pageFade .28s ease both;
}

.soft-drop {
  animation: softDrop .2s ease both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softDrop {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  .workspace,
  .layout,
  .designer-grid,
  .inbox-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    position: relative;
  }

  .nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-panel {
    position: static;
  }

  .metrics,
  .two-col,
  .score-box {
    grid-template-columns: 1fr;
  }

  .document-header,
  .document-body {
    padding-left: 28px;
    padding-right: 28px;
  }

  .access-shell {
    grid-template-columns: 1fr;
  }

  .access-brand {
    flex-direction: column;
  }

  .access-tabs {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .access-tabs button {
    border-radius: 12px;
  }

  .access-request {
    grid-template-columns: 1fr;
  }

  .clearance-badge {
    display: none;
  }
}

@media (max-width: 680px) {
  .access-gate {
    padding: 18px;
  }

  .access-logo {
    width: 110px;
    height: 110px;
  }

  .access-brand h1 {
    font-size: 38px;
  }

  .content {
    padding: 16px;
  }

  .topbar {
    padding: 10px 16px;
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .topbar .btn.secondary.small.manager-only {
    display: none;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .document-header h3 {
    font-size: 27px;
  }

  .stage-header,
  .review-header {
    flex-direction: column;
  }

  .code-row {
    grid-template-columns: 1fr;
  }
}