:root {
  --charcoal: #080b10;
  --charcoal-2: rgba(255, 255, 255, 0.045);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --text: #e8edf4;
  --muted: #8b92a0;
  --dim: #5a6270;
  --red: #c1121f;
  --critical: #c1121f;
  --red-br: #ff5a47;
  --red-gl: #ff8076;
  --amber: #b5780a;
  --yellow: #f4a836;
  --green: #1f8a6f;
  --green-br: #2fd6a8;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: radial-gradient(130% 90% at 50% 0%, #16202e 0%, #0c1118 55%, #080b10 100%);
  color: var(--text);
  font-family: Archivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: radial-gradient(130% 90% at 50% 0%, #16202e 0%, #0c1118 55%, #080b10 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 18px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(26, 29, 35, 0.96);
  position: sticky;
  top: 0;
  z-index: 5;
}

.eyebrow,
.label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1;
}

h2 {
  font-size: 2rem;
}

.mode-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--charcoal-2);
}

.mode-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 800;
}

.mode-button.active {
  background: var(--red);
}

.mode-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.view {
  min-height: calc(100vh - 82px);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body[data-mode="tactical"] .topbar {
  display: none;
}

body[data-mode="tactical"] .view {
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden {
  display: none;
}

.login-view {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 82px);
  padding: 22px;
  background: transparent;
  color: var(--text);
}

.login-view.hidden {
  display: none;
}

.login-panel {
  width: min(520px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.login-panel p {
  color: #596474;
  line-height: 1.5;
}

.login-users {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.login-user-button {
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  font-weight: 850;
}

.login-user-button span {
  display: block;
  margin-top: 3px;
  color: #596474;
  font-weight: 700;
}

.tactical-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-br));
}

.tactical-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  min-height: 52px;
  padding: 0 clamp(16px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
}

.tactical-status-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
}

.tactical-nav-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
}

.tactical-nav-button.active {
  background: var(--panel);
  color: var(--muted);
}

.tactical-label {
  min-width: 0;
  color: var(--red-gl);
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  color: var(--green-br);
  font-weight: 900;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.online-pill.offline {
  background: rgba(244, 162, 97, 0.16);
}

.online-pill.changed .connection-dot {
  animation: pulse-state 900ms ease-out;
}

.connection-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-br);
  box-shadow: 0 0 8px var(--green-br);
}

.online-pill.offline .connection-dot {
  background: #f4a836;
  box-shadow: 0 0 8px #f4a836;
  animation: pulse-state 1.6s infinite;
}

@keyframes pulse-state {
  0% { transform: scale(1); }
  40% { transform: scale(1.8); }
  100% { transform: scale(1); }
}

.tactical-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  min-height: calc(100vh - 140px);
  max-width: min(900px, 100vw);
  min-width: 0;
  margin: 0 auto;
  overflow-x: hidden;
}

.zone-rail {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
}

.rail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.rail-header select,
.editor-form select,
.editor-form input,
.editor-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #111419;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 4px;
}

.zone-list {
  display: flex;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 16px 12px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.zone-list::-webkit-scrollbar {
  display: none;
}

.zone-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: calc(100vw - 40px);
  flex: none;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 9px;
  white-space: nowrap;
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.zone-button.active,
.zone-button:focus-visible {
  border-color: rgba(255, 90, 71, 0.45);
  background: linear-gradient(135deg, rgba(255, 90, 71, 0.22), rgba(255, 90, 71, 0.08));
  color: #fff;
  outline: none;
}

.zone-button strong {
  display: inline;
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 0.9rem;
}

.zone-button span {
  display: inline;
  color: var(--muted);
}

.zone-pill-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zone-button.active span {
  color: #fff;
}

.tier-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.tier-dot.tier-red {
  background: var(--red-br);
}

.tier-dot.tier-yellow {
  background: var(--yellow);
}

.tier-dot.tier-green {
  background: var(--green-br);
}

.tactical-detail {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 4px 0 30px;
  overflow-x: hidden;
}

.zone-hero {
  display: block;
  margin: 4px 16px 14px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.zone-idline {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #5a7f8a;
  letter-spacing: 0.1em;
}

.zone-title {
  margin-top: 4px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 900;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
}

.status-pill.has-hazards {
  background: var(--critical);
}

.hazard-banner {
  display: block;
  width: auto;
  max-width: calc(100% - 24px);
  min-width: 0;
  min-height: 76px;
  margin: 0 12px 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 0;
}

.preplan-notice {
  margin: -4px 12px 14px;
  padding: 10px 14px;
  border: 1px solid rgba(244, 168, 54, 0.34);
  border-radius: 10px;
  background: rgba(244, 168, 54, 0.09);
  color: #f6c46a;
  font-weight: 850;
  line-height: 1.35;
}

.hazard-banner strong {
  display: block;
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.hazard-banner span {
  display: block;
  margin-top: 7px;
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 700;
}

.hazard-banner.critical {
  background: var(--critical);
  color: #fff;
  box-shadow: 0 6px 24px rgba(193, 18, 31, 0.35);
}

.hazard-banner.significant {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 6px 24px rgba(181, 120, 10, 0.3);
}

.hazard-banner.clear {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 22px rgba(31, 138, 111, 0.28);
}

.vital-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 12px 14px;
  max-width: calc(100% - 24px);
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.vital-item,
.section-block,
.draft-panel,
.editor-form {
  min-width: 0;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.vital-item {
  padding: 13px 11px;
  min-height: 104px;
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 13px;
  position: relative;
  overflow: hidden;
}

.vital-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-br);
  opacity: 0.55;
}

.vital-item.warn::after {
  background: #f4a836;
  opacity: 0.85;
}

.vital-item.bad::after {
  background: var(--red-br);
  opacity: 0.95;
}

.vital-heading {
  min-width: 0;
  color: var(--dim);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vital-heading .icon {
  width: 23px;
  height: 23px;
}

.vital-item .value {
  margin-top: 6px;
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.warn {
  color: var(--amber);
  font-weight: 950;
}

.danger {
  color: var(--critical);
  font-weight: 950;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0 12px;
  max-width: calc(100% - 24px);
  min-width: 0;
  overflow-x: hidden;
}

.section-block {
  padding: 5px 14px;
  box-shadow: none;
  border-radius: 13px;
}

.section-block h3,
.photo-carousel h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin: 0 0 7px;
  text-transform: uppercase;
  color: var(--dim);
}

.photo-carousel h3 {
  padding-left: 14px;
}

.data-list {
  display: grid;
  grid-template-columns: minmax(112px, 0.5fr) minmax(0, 1fr);
  gap: 0 12px;
  align-items: baseline;
}

.data-list dt {
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.data-list dd {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  font-weight: 750;
  text-align: right;
}

.hazard-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 2px;
}

.hazard-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
}

.apparatus-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 8px 6px 0 0;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.08);
}

.photo-carousel {
  max-width: 100%;
  min-width: 0;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 5px 0 0;
  overflow: hidden;
  box-shadow: none;
}

.photo-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #111419;
}

.photo-image {
  position: absolute;
  inset: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.photo-placeholder:not(.hidden) {
  background: repeating-linear-gradient(45deg, #10161e, #10161e 10px, #141b25 10px, #141b25 20px);
}

.photo-placeholder strong {
  display: block;
  color: var(--text);
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.photo-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  font-family: "Saira Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 6px;
}

.navhint {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 60px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
}

.navhint.left {
  left: 0;
}

.navhint.right {
  right: 0;
}

.navhint .icon {
  width: 28px;
  height: 28px;
}

.carousel-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #15181e;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
}

.dots {
  display: flex;
  justify-content: center;
  flex: none;
  gap: 7px;
  margin: 11px 0 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.dot.active {
  background: var(--red);
  width: 20px;
  border-radius: 3px;
}

.icon {
  display: inline-block;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hazard-critical {
  background: var(--critical);
  color: #fff;
  font-weight: 950;
}

.hazard-significant {
  background: var(--amber);
  color: #111419;
  font-weight: 950;
}

.hazard-awareness {
  background: var(--yellow);
  color: #111419;
  font-weight: 950;
}

.hazard-neutral {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #ffffff;
  font-weight: 950;
}

.note-box {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
  border-left: 5px solid var(--red);
  font-size: 1.05rem;
  line-height: 1.45;
}

.confidence-footer {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #15181e;
  font-size: 1.08rem;
  font-weight: 850;
}

.confidence-footer.needs-visit {
  border-color: rgba(244, 162, 97, 0.55);
  color: var(--amber);
}

.editor-view {
  padding: clamp(16px, 3vw, 34px);
  background: radial-gradient(130% 90% at 50% 0%, #16202e 0%, #0c1118 55%, #080b10 100%);
  color: var(--text);
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.connection-state {
  min-height: 34px;
  padding: 7px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.connection-state.offline {
  background: #fff1d6;
  border-color: #e3a33b;
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr) minmax(260px, 0.65fr);
  gap: 18px;
}

.editor-form,
.draft-panel,
.editor-list-panel {
  background: var(--panel);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
  border-radius: 13px;
  padding: 16px;
}

.editor-list-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.editor-list-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111419;
  color: var(--text);
  padding: 8px 10px;
}

.primary-action.compact {
  grid-column: auto;
  min-height: 42px;
}

.editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.editor-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.field-help {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.editor-form .wide {
  grid-column: 1 / -1;
}

.photo-fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.photo-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 900;
}

.editor-form select,
.editor-form input,
.editor-form textarea {
  background: #fff;
  color: var(--text);
  background: #111419;
  border-color: var(--line);
}

.primary-action {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

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

.draft-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.draft-item strong {
  display: block;
}

.draft-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.change-request-form {
  display: grid;
  gap: 11px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.change-request-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.change-request-form select,
.change-request-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111419;
  color: var(--text);
  padding: 8px 10px;
}

.pending-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff1d6;
  color: #6b4107;
  font-size: 0.78rem;
  font-weight: 950;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.login-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111419;
  color: var(--text);
  padding: 10px 12px;
}

.form-error {
  min-height: 20px;
  color: var(--red-gl);
  font-weight: 800;
}

.hazard-chip-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hazard-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.hazard-choice.hazard-critical,
.hazard-choice.hazard-neutral {
  color: #ffffff;
  font-weight: 950;
}

.hazard-choice.hazard-significant,
.hazard-choice.hazard-awareness {
  color: #111419;
  font-weight: 950;
}

.hazard-choice input {
  width: 14px;
  min-height: 14px;
}

@media (max-width: 900px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-button {
    flex: 1;
  }

  .tactical-layout,
  .detail-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .zone-rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .zone-list {
    display: flex;
    overflow-x: auto;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .zone-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .editor-form {
    grid-template-columns: 1fr;
  }
}
