:root {
  --bg: #f5f5f7;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --red: #d71920;
  --red-dark: #a80e17;
  --blue: #0a84ff;
  --green: #16833a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter,
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 247, 0.92) 36%, transparent 68%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 54%, #ececf0 100%);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  padding: calc(env(safe-area-inset-top) + 10px) 14px 38px;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(24px) saturate(1.25);
}

.brand,
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 700;
  min-width: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(145deg, var(--red), #ff453a);
  font-size: 13px;
  letter-spacing: 0;
}

.top-actions a {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.top-actions a[aria-current="page"] {
  color: var(--text);
  background: white;
}

.nav-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero,
.content-grid,
.airport-flow,
.planner,
.submit-band,
.admin-band,
.path-grid,
.contributor-lane,
.auth-main,
.dashboard-main {
  max-width: 1180px;
  margin: 0 auto;
}

.hero {
  display: grid;
  align-items: start;
  gap: 18px;
  max-width: 760px;
  padding: 34px 0 14px;
  text-align: center;
}

.anchor-target {
  position: relative;
  top: -84px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(46px, 12vw, 64px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.search-panel,
.detail-panel,
.planner,
.submit-band,
.admin-card,
.review-panel,
.review-card,
.save-box {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.2);
}

.search-panel {
  padding: 12px;
}

.airport-search {
  align-self: end;
  text-align: left;
}

.home-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.route-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 760;
}

.route-fields {
  display: grid;
  gap: 14px;
}

.route-field {
  position: relative;
  display: block;
}

.search-row {
  display: grid;
  margin-top: 10px;
}

.airport-dropdown {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 25;
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.airport-dropdown[hidden] {
  display: none;
}

.airport-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 68px;
  border: 0;
  border-radius: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  text-align: left;
}

.airport-option[aria-selected="true"],
.airport-option:hover {
  background: white;
}

.airport-code {
  display: grid;
  min-width: 48px;
  min-height: 38px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.airport-option strong,
.airport-option small {
  display: block;
  min-width: 0;
}

.airport-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.dropdown-empty {
  display: block;
  padding: 14px;
  background: white;
  color: var(--muted);
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  outline: none;
}

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

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(10, 132, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.14);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: white;
  background: var(--text);
  font-weight: 700;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-filters button,
.pill,
.status-pill {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.content-grid {
  display: grid;
  gap: 18px;
  padding: 24px 0 54px;
}

.airport-flow {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 10px 0 22px;
}

.airport-picker {
  display: grid;
  gap: 8px;
}

.airport-flow > .detail-panel {
  max-width: 760px;
  width: 100%;
}

.path-grid {
  display: grid;
  gap: 12px;
  padding: 8px 0 22px;
}

.path-card,
.contributor-lane {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px);
}

.path-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.path-card .status-pill {
  justify-self: start;
}

.path-card h2 {
  font-size: 24px;
}

.path-card p,
.contributor-lane p,
.result-hint,
.location-card small,
.empty-state p {
  color: var(--muted);
  line-height: 1.45;
}

.result-hint {
  margin: -4px 0 14px;
  font-size: 14px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.compact-heading {
  margin-bottom: 0;
}

h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.location-list,
.airport-list {
  display: grid;
  gap: 10px;
}

.location-card {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  text-align: left;
}

.location-card[aria-selected="true"] {
  border-color: rgba(215, 25, 32, 0.5);
  background: white;
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.12);
}

.card-top,
.detail-actions,
.meta-grid,
.phone-list,
.admin-row,
.admin-summary,
.review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-top {
  align-items: center;
  justify-content: space-between;
}

.location-card h3,
.detail-panel h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0;
}

.location-card p,
.location-card small,
.detail-panel p,
.planner p,
.submit-band p,
.admin-band p,
.save-box p {
  color: var(--muted);
  line-height: 1.45;
}

.location-card small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  text-transform: capitalize;
}

.location-card h3 {
  margin-top: 10px;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.empty-state h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.status-pill {
  color: var(--green);
}

.detail-panel {
  overflow: hidden;
}

.detail-panel[hidden] {
  display: none;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.photo-strip img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  background: #ddd;
}

.detail-body {
  padding: 16px;
}

.terminal-switcher {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.terminal-switcher button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.terminal-switcher button[aria-selected="true"] {
  border-color: rgba(215, 25, 32, 0.5);
  background: white;
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.12);
}

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

.call-card {
  display: grid;
  gap: 3px;
  margin: 14px 0;
  border-radius: 8px;
  padding: 15px;
  color: white;
  background: var(--red);
}

.call-card span,
.call-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.call-card strong {
  font-size: 24px;
}

.info-stack {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.info-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row span,
.directions-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-row strong {
  min-width: 0;
}

.info-row.urgent strong {
  color: var(--red);
}

.edit-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.directions-box {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.directions-box div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.directions-box p {
  margin: 0;
}

.arrival-check {
  border-color: rgba(10, 132, 255, 0.26);
  background: rgba(10, 132, 255, 0.06);
}

.arrival-check strong {
  color: var(--text);
}

.phone-section {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.phone-section > div:first-child,
.phone-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-section summary {
  cursor: pointer;
  list-style: none;
}

.phone-section summary::-webkit-details-marker {
  display: none;
}

.phone-section span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.meta-grid {
  margin: 16px 0;
}

.meta-item {
  flex: 1 1 150px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.meta-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-item strong {
  display: block;
  margin-top: 4px;
}

.instructions {
  border-left: 4px solid var(--red);
  padding: 2px 0 2px 14px;
  color: var(--text);
  font-size: 18px;
}

.phone-list a,
.detail-actions a,
.detail-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  font-weight: 700;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  color: white;
  background: var(--text);
  font-weight: 800;
}

.phone-list a:first-child {
  color: white;
  background: var(--red);
}

.detail-actions {
  margin-top: 18px;
}

.detail-actions button {
  border: 0;
}

.planner,
.submit-band,
.admin-band {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px 18px 24px;
}

.contributor-lane {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
}

.auth-main,
.dashboard-main {
  display: grid;
  gap: 20px;
  padding: 64px 0 42px;
}

.auth-copy h1,
.submit-page h1,
.dashboard-main h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 11vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

.auth-copy p:not(.eyebrow),
.submit-page p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.auth-panel,
.dashboard-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
}

.auth-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.04);
}

.auth-switch a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.auth-switch a[aria-current="page"] {
  color: var(--text);
  background: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.submit-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.demo-access {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.demo-access p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.45;
}

.dashboard-grid {
  display: grid;
  gap: 12px;
}

.dashboard-card {
  padding: 16px;
}

.verification-card {
  border-color: rgba(10, 132, 255, 0.24);
}

.dashboard-card h2 {
  margin-top: 14px;
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 750;
}

.submit-page,
.admin-page {
  margin-top: 0;
}

.planner-form,
.submit-form {
  display: grid;
  gap: 10px;
}

.form-step {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.form-step legend {
  padding: 0 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.location-actions,
.location-grid {
  display: grid;
  gap: 8px;
}

.secondary-button,
.secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: white;
  font-weight: 750;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

#pin-map {
  width: 100%;
  height: 280px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    #eef3f6;
  background-size: 22px 22px;
}

.map-card .form-status {
  padding: 10px 12px 12px;
}

.photo-drop {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px dashed rgba(215, 25, 32, 0.42);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.photo-actions {
  display: grid;
  gap: 8px;
}

.photo-drop span {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.photo-drop small {
  max-width: 320px;
  color: var(--muted);
  line-height: 1.35;
}

#camera-photo,
#upload-photos {
  min-height: auto;
  padding: 11px;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.photo-preview figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.photo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-preview figcaption {
  overflow: hidden;
  padding: 7px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#script-output {
  display: block;
  white-space: pre-wrap;
  color: var(--text);
  font-weight: 650;
}

.admin-card {
  padding: 14px;
}

.admin-lock,
.admin-row {
  display: grid;
  gap: 10px;
}

.admin-row {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.admin-row.is-selected {
  border: 1px solid rgba(10, 132, 255, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: rgba(10, 132, 255, 0.06);
}

.admin-row:last-child {
  border-bottom: 0;
}

.admin-summary {
  margin-bottom: 12px;
}

.review-panel {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 16px;
}

.review-header {
  display: grid;
  gap: 12px;
}

.review-header h2 {
  margin-bottom: 4px;
}

.review-grid {
  display: grid;
  gap: 12px;
}

.review-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  box-shadow: none;
}

.diff-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.diff-row.is-changed {
  border-color: rgba(10, 132, 255, 0.35);
  background: rgba(10, 132, 255, 0.07);
}

.diff-row h3 {
  margin: 0;
  font-size: 16px;
}

.diff-columns {
  display: grid;
  gap: 8px;
}

.diff-columns div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.diff-columns span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.diff-columns p,
.evidence-meta p {
  margin: 5px 0 0;
}

.review-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.review-photos img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.danger-button {
  background: var(--red-dark);
}

.hidden {
  display: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

dialog {
  width: min(92vw, 430px);
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.save-box {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.icon-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  font-size: 25px;
  line-height: 1;
}

@media (min-width: 820px) {
  .app-shell {
    padding-inline: 24px;
  }

  .topbar {
    max-width: 1040px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
    gap: 28px;
    padding-top: 68px;
    text-align: center;
  }

  .hero-copy h1 {
    margin-inline: auto;
    font-size: 82px;
  }

  .hero-copy p:not(.eyebrow) {
    margin-inline: auto;
    margin-top: 16px;
    font-size: 18px;
  }

  .search-panel {
    margin-inline: auto;
    width: min(100%, 680px);
    padding: 22px;
    text-align: left;
  }

  .route-fields {
    gap: 18px;
  }

  .search-row {
    margin-top: 18px;
  }

  .quick-filters {
    margin-top: 18px;
  }

  .content-grid,
  .airport-flow {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .airport-flow {
    padding-bottom: 34px;
  }

  .airport-flow > .detail-panel {
    grid-column: 1 / -1;
    justify-self: center;
  }

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

  .detail-panel {
    position: sticky;
    top: 76px;
  }

  .photo-strip img {
    height: 220px;
  }

  .planner,
  .submit-band,
  .admin-band,
  .contributor-lane {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    padding: 24px 24px 32px;
  }

  .review-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .review-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

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

  .contributor-lane .primary-link {
    justify-self: end;
    align-self: center;
  }

  .auth-main {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: calc(100svh - 72px);
  }

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

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

  .location-grid input:first-child {
    grid-column: 1 / -1;
  }

  .photo-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .planner output {
    grid-column: 2;
  }
}
