.extra-section-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 4px 2px;
  color: var(--plum, #65426a);
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 21px);
}
.extra-section-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor 35%, transparent);
  opacity: .28;
}
.extra-section-station {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.extra-section-station::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 1px solid #d4ad5140;
  border-radius: 50%;
  inset: auto -45px -72px auto;
  box-shadow: 0 0 0 14px #d4ad5110, 0 0 0 30px #d4ad5109;
}
.extra-section-station .station-scene {
  position: relative;
  overflow: hidden;
}
.extra-section-station[data-extra-station="national-identity"] .station-scene {
  background: radial-gradient(circle at 52% 22%, #fff6d9, #f3e7c7 35%, #b4d5c5 72%, #6a9e88);
}
.extra-section-station[data-extra-station="impact-measurement"] .station-scene {
  background: radial-gradient(circle at 50% 20%, #fff8db, #ead6a4 38%, #c8dfe0 70%, #77aeb0);
}
.extra-section-station .station-icon {
  display: grid;
  width: clamp(66px, 8vw, 90px);
  height: clamp(66px, 8vw, 90px);
  margin: 0 auto;
  place-items: center;
  border: 1px solid #ffffffb5;
  border-radius: 28px;
  background: linear-gradient(145deg, #fffdf2dd, #fff6dc99);
  box-shadow: 0 14px 32px #27364a24, inset 0 1px 1px #fff;
  font-size: clamp(34px, 5vw, 48px);
  transform: perspective(400px) rotateY(-8deg) rotateX(5deg);
}
.extra-section-station .station-orbit {
  position: absolute;
  width: 145px;
  height: 74px;
  border: 1px solid #fff9;
  border-radius: 50%;
  box-shadow: 0 0 24px #fff7;
  transform: rotate(-17deg);
}
.extra-section-station.completed .station-scene,
.extra-section-station.illuminated .station-scene {
  filter: brightness(1.08) saturate(1.12);
}
.extra-panel .panel-head { align-items: flex-start; }
.extra-panel .panel-head h2 { line-height: 1.35; }
.extra-identity-note,
.extra-notice,
.extra-status {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #e6dae8;
  background: #faf7fb;
  border: 1px solid color-mix(in srgb, var(--plum, #65426a) 18%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--plum, #65426a) 5%, white);
  color: var(--ink, #30303a);
  line-height: 1.75;
  font-size: 14px;
}
.extra-status[data-state="error"] { border-color: #c04444; color: #8a1f1f; background: #fff4f3; }
.extra-status[data-state="success"] { border-color: #2c946f; color: #176044; background: #f2fbf6; }
.extra-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }
.extra-toolbar button,
.extra-entry-form button,
.extra-record-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--plum, #65426a);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 6px 14px #30243720;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.extra-toolbar button[data-extra-refresh] {
  color: var(--plum, #65426a);
  border: 1px solid #8d6c902e;
  background: #fff;
  box-shadow: none;
}
.extra-toolbar button:hover,
.extra-entry-form button:hover,
.extra-record-actions button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.extra-toolbar button:focus-visible,
.extra-entry-form button:focus-visible,
.extra-record-actions button:focus-visible,
.extra-entry-form input:focus-visible,
.extra-entry-form textarea:focus-visible { outline: 3px solid #d4ad51; outline-offset: 2px; }
.extra-form-slot { margin: 0 0 18px; }
.extra-entry-form {
  margin: 14px 0;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid #d8c894a6;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffefb, #fffaf0);
  box-shadow: 0 12px 28px #30334512;
}
.extra-entry-form h3 { margin: 0 0 14px; color: var(--plum, #65426a); }
.extra-entry-form .field { min-width: 0; }
.extra-entry-form input,
.extra-entry-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9bec7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #30303a);
  font: inherit;
  font-size: 16px;
}
.extra-entry-form textarea { min-height: 96px; resize: vertical; line-height: 1.65; }
.extra-entry-form input[type="file"] { padding: 8px; }
.extra-entry-form input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-inline-end: 8px;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  background: var(--plum, #65426a);
  font: inherit;
}
.extra-entry-form .extra-form-hint { color: var(--muted, #68717d); font-size: 13px; line-height: 1.65; }
.extra-entry-form .extra-form-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.extra-entry-form button[data-cancel] { color: var(--ink, #30303a); background: #eef0f4; box-shadow: none; }
.extra-entries { display: grid; gap: 14px; }
.extra-record {
  padding: clamp(14px, 3vw, 20px);
  border: 1px solid #d8d1c1;
  border-radius: 17px;
  background: #fffefa;
  box-shadow: 0 8px 22px #30334510;
}
.extra-record h3 { margin: 0 0 10px; color: var(--plum, #65426a); font-size: 18px; }
.extra-record-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.extra-record-field { min-width: 0; line-height: 1.7; overflow-wrap: anywhere; }
.extra-record-field strong { display: block; margin-bottom: 2px; color: var(--muted, #68717d); font-size: 12px; }
.extra-record-field p { margin: 0; white-space: pre-wrap; }
.extra-attachments { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.extra-attachment { display: block; max-width: min(100%, 320px); color: var(--plum, #65426a); overflow-wrap: anywhere; }
.extra-attachment img { display: block; width: 100%; max-height: 250px; object-fit: contain; border: 1px solid #e2dfd7; border-radius: 12px; background: #f6f5f1; }
.extra-attachment video { display: block; width: min(100%, 320px); max-height: 250px; border-radius: 12px; background: #111; }
.extra-record-actions { display: flex; gap: 8px; margin-top: 12px; }
.extra-record-actions button { min-height: 40px; padding: 8px 13px; color: var(--plum, #65426a); border: 1px solid #8d6c9030; background: #fff; box-shadow: none; }
.extra-record .extra-entry-form { margin-top: 15px; }
.extra-login-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 12px; color: #fff; background: var(--plum, #65426a); font: inherit; font-weight: 800; text-decoration: none; }
.extra-reader-label { display: inline-flex; margin: 4px 0 10px; padding: 5px 10px; border-radius: 999px; color: #296a54; background: #eaf6ef; font-size: 12px; font-weight: 700; }
.station-additions { display: grid; gap: 14px; margin: clamp(22px, 4vw, 36px) 0 0; padding-top: 18px; border-top: 1px solid #d8c89480; }
.station-additions-access { min-width: 0; }
.station-additions-access .extra-identity-note { margin-top: 0; }
.station-additions-access .extra-reader-label { margin-bottom: 0; }
.station-subsection { min-width: 0; padding: clamp(14px, 3vw, 22px); border: 1px solid #d4d8dd; border-radius: 18px; border-inline-start: 4px solid var(--teal, #238f88); background: #fffdfa; box-shadow: 0 10px 24px #3033450c; }
.station-subsection--impact { border-inline-start-color: var(--plum, #65426a); }
.station-subsection-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.station-subsection-head > div { min-width: 0; }
.station-subsection-icon { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border: 1px solid #d9e8e4; border-radius: 13px; background: #eef8f5; font-size: 21px; }
.station-subsection--impact .station-subsection-icon { border-color: #e6dcea; background: #f7f1f8; }
.station-subsection-head h3 { margin: 1px 0 4px; color: var(--plum, #65426a); font-size: clamp(16px, 2vw, 19px); line-height: 1.5; overflow-wrap: anywhere; }
.station-subsection-head p { margin: 0; color: var(--muted, #68717d); font-size: 13px; line-height: 1.6; }
.station-proposal { margin: 12px 0; padding: 12px 14px; border: 1px solid #d8e6df; border-radius: 13px; background: #f2f8f5; color: var(--ink, #30303a); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.station-subsection--impact .station-proposal { border-color: #e5dbe9; background: #f8f5f9; }
.station-proposal p { margin: 6px 0; }
.station-proposal p:first-child { margin-top: 0; }
.station-proposal p:last-child { margin-bottom: 0; }
.station-proposal ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0; padding: 0; list-style: none; }
.station-proposal li { padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--plum, #65426a); font-size: 12px; font-weight: 700; }
.station-proposal-label { color: var(--muted, #68717d); font-weight: 800; }
.station-proposal-caution { padding-top: 8px; border-top: 1px solid #d7d3c8; color: #70551b; font-size: 13px; font-weight: 750; }
.station-module-toolbar { margin: 12px 0; }
.station-module-records { margin-top: 12px; }
@media (max-width: 600px) {
  .extra-section-heading { margin-top: 8px; }
  .extra-record-fields { grid-template-columns: 1fr; }
  .extra-toolbar { display: grid; grid-template-columns: 1fr; }
  .extra-toolbar button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .extra-toolbar button,
  .extra-entry-form button,
  .extra-record-actions button { transition: none; }
}

/* Prominent add action for station identity and impact modules. */
.station-module-toolbar button[data-extra-create] {
  flex: 1 1 100%;
  min-height: 56px;
  padding: 12px 20px;
  border: 2px solid #d4ad51;
  border-radius: 15px;
  color: var(--plum, #65426a);
  background: linear-gradient(135deg, #fff4cc, #e8c86f);
  box-shadow: 0 8px 18px #8a681c30, inset 0 1px 0 #fff9;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .01em;
}
.station-module-toolbar button[data-extra-create]:hover {
  filter: brightness(1.03) saturate(1.08);
  box-shadow: 0 11px 22px #8a681c38, inset 0 1px 0 #fff9;
}
.station-module-toolbar button[data-extra-create]:active { transform: translateY(0) scale(.99); }
.station-module-toolbar button[data-extra-create]:focus-visible {
  outline: 3px solid var(--teal, #238f88);
  outline-offset: 3px;
}
.station-module-toolbar .station-module-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: start;
}
.station-module-action-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ffffffaa;
  border-radius: 13px;
  background: #ffffff80;
  font-size: 24px;
}
.station-module-action-copy { display: block; min-width: 0; }
.station-module-action-copy small {
  display: block;
  margin-top: 3px;
  color: #4c4652;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}
.station-module-action--impact { border-color: #9b7aa1 !important; background: linear-gradient(135deg, #f5eaf6, #d9c1df) !important; }
@media (max-width: 600px) {
  .station-module-toolbar button[data-extra-create] { min-height: 58px; padding: 10px 12px; font-size: 15px; }
  .station-module-action-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 22px; }
  .station-module-action-copy small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .station-module-toolbar button[data-extra-create] { transition: none; }
}
