:root {
  --edc-bg: #f7f8f5;
  --edc-surface: #ffffff;
  --edc-surface-muted: #f1f5f2;
  --edc-border: #d8ddd7;
  --edc-border-strong: #aebbb3;
  --edc-text: #20242a;
  --edc-muted: #626d68;
  --edc-accent: #168da8;
  --edc-accent-dark: #0f687c;
  --edc-green: #23a35b;
  --edc-warning: #d99a21;
  --edc-danger: #c8463c;
  --edc-ink: #20242a;
  --edc-shadow: 0 18px 42px rgba(32, 36, 42, 0.08);
  --edc-shadow-tight: 0 10px 26px rgba(32, 36, 42, 0.07);
  --edc-radius: 8px;
  --edc-font-display: "Sora", "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  --edc-font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  --edc-font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 320px),
    linear-gradient(90deg, rgba(216, 221, 215, 0.34) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 215, 0.24) 1px, transparent 1px),
    var(--edc-bg);
  background-size: auto, 34px 34px, 34px 34px, auto;
  color: var(--edc-text);
  font: 14px/1.52 var(--edc-font-body);
}

.edc-frontend-body {
  --reports-bg: #f6f7f9;
  --reports-ink: #172033;
  --reports-muted: #667085;
  --reports-panel: #ffffff;
  --reports-border: #d9dee7;
  --reports-cyan: #2457c5;
  --reports-cyan-dark: #1d45a0;
  --reports-green: #18845b;
  --reports-amber: #b7791f;
  --reports-red: #be3b32;
  --reports-soft: #eef3ff;
  display: flex;
  flex-direction: column;
}

.edc-frontend-body > .edc-shell {
  flex: 1 0 auto;
  width: 100%;
}

a {
  color: var(--edc-accent);
}

:focus-visible {
  outline: 3px solid rgba(17, 106, 108, 0.24);
  outline-offset: 2px;
}

.edc-shell {
  max-width: 1168px;
  margin: 0 auto;
  padding: 26px 24px;
}

.edc-frontend-header {
  flex: 0 0 auto;
}

.edc-frontend-nav {
  justify-content: flex-end;
}

.edc-frontend-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(24, 32, 39, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #667085;
  padding: 16px 28px;
  font: 500 12px/1.4 var(--edc-font-body);
}

.edc-frontend-footer div,
.edc-frontend-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.edc-frontend-footer strong {
  color: #172033;
  font: 700 13px/1 var(--edc-font-body);
}

.edc-frontend-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edc-frontend-footer a {
  color: #1d45a0;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 650;
}

.edc-frontend-footer a:hover {
  text-decoration: underline;
}

.edc-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--edc-border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86), 0 16px 36px rgba(32, 36, 42, 0.05);
  backdrop-filter: blur(14px);
}

.edc-panel {
  background: var(--edc-surface);
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  padding: 20px;
  min-width: 0;
  box-shadow: var(--edc-shadow);
}

.edc-ui-page {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.edc-ui-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.edc-ui-page-header h1 {
  margin: 0;
  color: var(--edc-ink);
  font: 800 28px/1.08 var(--edc-font-display);
  letter-spacing: 0;
}

.edc-ui-page-header p {
  margin: 4px 0 0;
  color: var(--edc-muted);
  line-height: 1.45;
}

.edc-ui-toolbar {
  display: grid;
  grid-template-columns: repeat(6, minmax(118px, 1fr));
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.edc-ui-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.edc-ui-field span {
  color: var(--edc-muted);
  font: 700 11px/1 var(--edc-font-display);
}

.edc-ui-field input,
.edc-ui-field select,
.edc-ui-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--edc-border);
  border-radius: 7px;
  background: #fff;
  color: var(--edc-text);
  padding: 8px 10px;
  font: 500 13px/1.2 var(--edc-font-body);
}

.edc-ui-field input[type="radio"],
.evmap-field input[type="radio"],
input.evmap-radio[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  accent-color: var(--edc-accent);
  cursor: pointer;
}

.edc-ui-field input[type="radio"]:focus-visible,
.evmap-field input[type="radio"]:focus-visible,
input.evmap-radio[type="radio"]:focus-visible {
  outline: 3px solid rgba(22, 141, 168, 0.24);
  outline-offset: 2px;
}

.edc-ui-field textarea {
  min-height: 88px;
  resize: vertical;
}

.edc-ui-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.edc-ui-kpi {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background: linear-gradient(180deg, #ffffff, #f8faf7);
  padding: 16px;
  box-shadow: var(--edc-shadow-tight);
  min-width: 0;
}

.edc-ui-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--edc-accent);
  opacity: 0.9;
}

.edc-ui-kpi span {
  display: block;
  color: var(--edc-muted);
  font: 700 12px/1 var(--edc-font-display);
}

.edc-ui-kpi strong {
  display: block;
  margin-top: 6px;
  color: var(--edc-ink);
  font: 700 28px/1 var(--edc-font-mono);
  overflow-wrap: anywhere;
}

.edc-ui-kpi em {
  display: block;
  margin-top: 8px;
  color: var(--edc-muted);
  font-size: 11px;
  font-style: normal;
}

.edc-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: var(--edc-surface);
  color: var(--edc-text);
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--edc-font-display);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.edc-button:hover {
  border-color: var(--edc-border-strong);
  background: #f8faf7;
  transform: translateY(-1px);
  box-shadow: var(--edc-shadow-tight);
}

.edc-button-primary {
  border-color: var(--edc-accent);
  background: var(--edc-accent);
  color: #fff;
}

.edc-button-primary:hover {
  border-color: var(--edc-accent-dark);
  background: var(--edc-accent-dark);
}

.edc-muted {
  color: var(--edc-muted);
}

.edc-form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.edc-form-row input {
  min-height: 38px;
  border: 1px solid var(--edc-border);
  border-radius: 6px;
  padding: 8px 10px;
}

.edc-form-row input:focus {
  border-color: var(--edc-accent);
}

.edc-auth-panel {
  width: min(100%, 520px);
  margin: 10vh auto 0;
  padding: 28px;
}

.font-normal{
	font-weight:normal!important;
}

.font-xs{
	font-size:11px!important;
}
.font-sm{
	font-size:12px!important;
}
.font-md{
	font-size:14px!important;
}

.btn{
	min-height: 42px;
    border-radius: 12px;
    padding: 0 16px;
    border: 1px solid var(--station-line-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 750;
    font-size: 13px;
    background: #fff;
    color: #24314a;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.btn-danger{
	background: var(--station-red-soft);
    border-color: #ffd4d0;
    color: #c23f37;
}
.btn-danger:hover{
    background: #ffd4d0;
}
.btn-primary{
	background: linear-gradient(180deg, #1471ff, #0757ee);
    border-color: #0757ee;
    color: #fff;
    box-shadow: 0 9px 22px rgba(8, 99, 247, 0.22);
}
.btn-primary:hover{
    background: #0757ee;
}


.edc-auth-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.edc-auth-heading h1,
.edc-auth-panel > h1 {
  margin: 0;
  font: 800 28px/1.14 var(--edc-font-display);
}

.edc-auth-heading p,
.edc-auth-panel > p {
  margin: 6px 0 0;
}

.edc-auth-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 2px solid var(--edc-accent);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 13px, var(--edc-accent) 13px, var(--edc-accent) 17px, transparent 17px),
    linear-gradient(180deg, transparent 13px, var(--edc-accent) 13px, var(--edc-accent) 17px, transparent 17px),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--edc-shadow-tight);
}

.edc-auth-panel .edc-button-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-page,
.message-page {
  width: min(100%, 1040px);
  margin: 7vh auto 0;
}

.auth-page {
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 620px);
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 247, 0.98));
  box-shadow: var(--edc-shadow);
  padding: 28px;
}

.auth-page-wide .auth-card {
  width: min(100%, 820px);
}

.auth-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--edc-text);
  font: 800 14px/1 var(--edc-font-display);
}

.auth-heading-block {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-heading-block h1,
.message-copy h1 {
  margin: 0;
  color: var(--edc-ink);
  font: 800 34px/1.05 var(--edc-font-display);
  letter-spacing: 0;
}

.auth-heading-block p,
.message-lead {
  margin: 0;
  color: var(--edc-muted);
  font-size: 15px;
  line-height: 1.58;
}

.auth-form {
  display: grid;
  gap: 4px;
}

.auth-login-step {
  display: grid;
  gap: 4px;
}

.auth-login-step[hidden] {
  display: none !important;
}

.auth-recovery-toggle {
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  margin: 0 0 14px;
  padding: 10px 12px;
}

.auth-recovery-toggle summary {
  cursor: pointer;
  color: var(--edc-accent-dark);
  font: 700 13px/1.3 var(--edc-font-body);
}

.auth-recovery-toggle .edc-form-row {
  margin: 10px 0 0;
}

.auth-status {
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.auth-status-success {
  border-color: rgba(23, 109, 60, 0.28);
  background: #f1faf4;
  color: #176d3c;
}

.auth-status-error {
  border-color: rgba(173, 45, 45, 0.26);
  background: #fff5f5;
  color: #9c2c2c;
}

.edc-ui-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.edc-ui-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.edc-ui-panel h2 {
  margin: 0;
  color: var(--edc-ink);
  font: 800 20px/1.15 var(--edc-font-display);
}

.edc-ui-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  min-width: 0;
}

.edc-ui-section-heading h2 {
  margin: 0;
  color: var(--edc-ink);
  font: 800 20px/1.15 var(--edc-font-display);
  letter-spacing: 0;
}

.edc-ui-section-heading span,
.edc-ui-section-heading p {
  margin: 0;
  color: var(--edc-muted);
  font-size: 12px;
  line-height: 1.35;
}

.edc-ui-list {
  display: grid;
  gap: 8px;
}

.edc-ui-row,
.edc-ui-empty,
.edc-ui-code-box {
  border: 1px solid rgba(32, 36, 42, 0.08);
  border-radius: 8px;
  background: #f8faf7;
  padding: 10px 12px;
}

.edc-ui-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
}

.edc-ui-row strong,
.edc-ui-code-box strong {
  color: var(--edc-ink);
  font-size: 13px;
}

.edc-ui-row span,
.edc-ui-row em,
.edc-ui-empty,
.edc-ui-code-box span {
  color: var(--edc-muted);
  font-size: 12px;
  font-style: normal;
}

.edc-ui-row span {
  grid-column: 1 / -1;
}

.edc-ui-code-box {
  display: grid;
  gap: 7px;
}

.edc-ui-code-box code {
  display: block;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #eef3ec;
  padding: 7px 8px;
  color: var(--edc-ink);
  font-size: 12px;
}

.account-security-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  background: #ffffff;
}

.account-security-qr[hidden] {
  display: none;
}

.account-security-qr-code {
  width: 188px;
  max-width: 100%;
  aspect-ratio: 1;
}

.account-security-qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.edc-ui-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.edc-ui-status {
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.edc-ui-status-success {
  border-color: rgba(23, 109, 60, 0.28);
  background: #f1faf4;
  color: #176d3c;
}

.edc-ui-status-error {
  border-color: rgba(173, 45, 45, 0.26);
  background: #fff5f5;
  color: #9c2c2c;
}

.edc-ui-action-link {
  color: var(--edc-accent);
  font-weight: 750;
  font-size: 13px;
}

.edc-ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  max-width: 100%;
  border-radius: 7px;
  padding: 3px 8px;
  background: #edf4f6;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.edc-ui-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.82;
}

.edc-ui-chip-good {
  background: #e7f6ed;
  color: #176d3c;
}

.edc-ui-chip-warn {
  background: #fff4dc;
  color: #8b5b00;
}

.edc-ui-chip-bad {
  background: #fff0ee;
  color: #a7332a;
}

.edc-ui-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.edc-ui-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.edc-ui-table th,
.edc-ui-table td {
  border-bottom: 1px solid var(--edc-border);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

.edc-ui-table th {
  position: sticky;
  top: 0;
  background: #f5f8f5;
  color: #52615b;
  font: 700 12px/1.2 var(--edc-font-display);
}

.edc-ui-table tbody tr:hover {
  background: #fbfcfa;
}

.auth-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-field-hint,
.auth-field-status {
  margin: 0;
  color: var(--edc-muted);
  font-size: 12px;
  line-height: 1.35;
}

.auth-field-status {
  font-weight: 650;
}

.auth-field-status.is-valid {
  color: #176d3c;
}

.auth-password-policy {
  display: grid;
  gap: 9px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.auth-password-policy p {
  margin: 0;
  color: var(--edc-muted);
  font-size: 12px;
}

.auth-password-policy ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-password-policy li {
  position: relative;
  min-height: 30px;
  border: 1px solid rgba(32, 36, 42, 0.1);
  border-radius: 6px;
  background: #f8faf7;
  color: var(--edc-muted);
  padding: 7px 8px 7px 19px;
  font: 650 11px/1.25 var(--edc-font-body);
}

.auth-password-policy li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aebbb3;
}

.auth-password-policy li.is-valid {
  border-color: rgba(23, 109, 60, 0.26);
  background: #f1faf4;
  color: #176d3c;
}

.auth-password-policy li.is-valid::before {
  background: #23a35b;
}

.auth-password-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2ef;
}

.auth-password-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--edc-border-strong);
  transition: width 160ms ease, background 160ms ease;
}

.auth-password-policy[data-strength="weak"] .auth-password-meter span {
  width: 34%;
  background: var(--edc-danger);
}

.auth-password-policy[data-strength="medium"] .auth-password-meter span {
  width: 68%;
  background: var(--edc-warning);
}

.auth-password-policy[data-strength="strong"] .auth-password-meter span {
  width: 100%;
  background: var(--edc-green);
}

.auth-page-wide .account-security-card {
  width: min(100%, 920px);
}

.account-security-form {
  gap: 10px;
}

.auth-form .edc-button-primary {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}

.auth-provider-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-provider-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--edc-ink);
  font-weight: 700;
  text-decoration: none;
}

.auth-provider-button:hover {
  border-color: #5b6b82;
  background: #f7fafc;
}

.auth-provider-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--edc-border);
  font-size: 0.78rem;
  line-height: 1;
}

.auth-secondary-actions,
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.auth-secondary-actions {
  justify-content: center;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.auth-secondary-actions a {
  color: var(--edc-accent-dark);
  text-decoration: none;
}

.auth-secondary-actions a:hover {
  text-decoration: underline;
}

.auth-steps,
.operator-onboarding-grid {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.auth-steps div,
.operator-onboarding-grid article {
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background: #fff;
  box-shadow: 0 5px 18px rgba(32, 36, 42, 0.045);
}

.auth-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}

.auth-steps strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #e7f2f4;
  color: var(--edc-accent-dark);
  font-family: var(--edc-font-mono);
}

.auth-steps span,
.operator-onboarding-grid p {
  color: var(--edc-muted);
  font-size: 13px;
}

.operator-onboarding-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-onboarding-grid article {
  padding: 14px;
}

.operator-onboarding-grid h2 {
  margin: 0 0 6px;
  font: 800 15px/1.2 var(--edc-font-display);
}

.operator-onboarding-grid p {
  margin: 0;
}

.message-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--edc-shadow);
  overflow: hidden;
}

.app-message-page {
  margin-top: 0;
}

.message-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  border-right: 1px solid var(--edc-border);
  background:
    linear-gradient(135deg, rgba(22, 141, 168, 0.12), rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, rgba(216, 221, 215, 0.62) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 215, 0.52) 1px, transparent 1px),
    #edf5f3;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.message-code {
  position: relative;
  z-index: 2;
  color: var(--edc-accent-dark);
  font: 800 58px/1 var(--edc-font-mono);
  letter-spacing: 0;
}

.message-pulse {
  position: absolute;
  width: 148px;
  height: 148px;
  border: 1px solid rgba(22, 141, 168, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.38);
}

.message-tone-danger .message-visual {
  background:
    linear-gradient(135deg, rgba(200, 70, 60, 0.12), rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg, rgba(216, 221, 215, 0.62) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 221, 215, 0.52) 1px, transparent 1px),
    #f7eeee;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.message-tone-warning .message-code {
  color: #8b5b00;
}

.message-tone-success .message-code {
  color: #176d3c;
}

.message-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px 34px 34px 10px;
}

.message-kicker {
  margin: 0;
  color: var(--edc-accent-dark);
  font: 800 12px/1.2 var(--edc-font-display);
  text-transform: uppercase;
  letter-spacing: 0;
}

.message-checklist {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.message-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--edc-muted);
}

.message-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  border-radius: 4px;
  background: var(--edc-accent);
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.message-inline-form,
.edc-app-logout {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.edc-app-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.edc-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--edc-text);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 800;
  font-family: var(--edc-font-display);
}

.edc-app-brand::before {
  content: "";
  width: 27px;
  height: 27px;
  border: 2px solid var(--edc-accent);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 10px, var(--edc-accent) 10px, var(--edc-accent) 13px, transparent 13px),
    linear-gradient(180deg, transparent 10px, var(--edc-accent) 10px, var(--edc-accent) 13px, transparent 13px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.edc-app-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.edc-app-nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--edc-muted);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--edc-font-display);
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.edc-app-nav a:hover,
.edc-app-nav a.is-active,
.edc-app-nav a[aria-current="page"] {
  background: #e7f2f4;
  color: var(--edc-accent-dark);
}

.admin-page {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-page-header h1,
.admin-section-heading h2,
.edc-panel h2 {
  margin: 0;
  letter-spacing: 0;
  font-family: var(--edc-font-display);
}

.admin-page-header h1 {
  font-size: 28px;
  line-height: 1.08;
  color: var(--edc-ink);
}

.admin-page-header p {
  margin: 4px 0 0;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-metric {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background:
    linear-gradient(180deg, #ffffff, #f8faf7);
  padding: 16px;
  box-shadow: var(--edc-shadow-tight);
}

.admin-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--edc-accent);
  opacity: 0.9;
}

.admin-metric span {
  display: block;
  color: var(--edc-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.admin-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
  color: var(--edc-ink);
  font-family: var(--edc-font-mono);
}

.admin-metric em {
  display: block;
  margin-top: 8px;
  color: var(--edc-muted);
  font-size: 11px;
  font-style: normal;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(32, 36, 42, 0.045);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.admin-row:hover {
  border-color: var(--edc-border-strong);
  transform: translateY(-1px);
  box-shadow: var(--edc-shadow-tight);
}

.admin-row small,
.admin-table small {
  display: block;
  color: var(--edc-muted);
  font-size: 11px;
}

.admin-row-link {
  color: var(--edc-text);
  text-decoration: none;
}

.admin-row-count {
  min-width: 34px;
  border-radius: 7px;
  background: #e6f3f6;
  padding: 4px 8px;
  text-align: center;
  font-weight: 700;
  color: var(--edc-accent-dark);
}

.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  border-radius: 7px;
  padding: 3px 8px;
  background: #edf4f6;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.82;
}

.admin-status.is-good {
  background: #e7f6ed;
  color: #176d3c;
}

.admin-status.is-warn {
  background: #fff4dc;
  color: #8b5b00;
}

.admin-status.is-bad {
  background: #fff0ee;
  color: #a7332a;
}

.admin-table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.admin-table-compact {
  min-width: 0;
  table-layout: fixed;
}

.admin-table-compact th,
.admin-table-compact td {
  overflow-wrap: anywhere;
}

.admin-table-compact th:nth-child(1) { width: 23%; }
.admin-table-compact th:nth-child(2) { width: 27%; }
.admin-table-compact th:nth-child(3) { width: 30%; }
.admin-table-compact th:nth-child(4) { width: 20%; }

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--edc-border);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #52615b;
  font-size: 12px;
  font-weight: 700;
  background: #f5f8f5;
  position: sticky;
  top: 0;
  font-family: var(--edc-font-display);
}

.admin-table tbody tr:hover {
  background: #fbfcfa;
}

.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin: 0 0 12px;
}

.admin-filter-bar label {
  display: grid;
  gap: 5px;
  min-width: min(260px, 100%);
  color: var(--edc-muted);
  font: 750 11px/1.2 var(--edc-font-display);
}

.admin-filter-bar input,
.admin-filter-bar select,
.station-fault-table select {
  min-height: 36px;
  border: 1px solid var(--edc-border);
  border-radius: 7px;
  background: #fff;
  color: var(--edc-text);
  padding: 0 10px;
  font: 700 12px/1.2 var(--edc-font-display);
}

.station-fault-table td[data-label="Details"] {
  max-width: 320px;
  white-space: normal;
}

.admin-rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}

.admin-rate-row .admin-progress {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 999px;
  background: #edf2ef;
  overflow: hidden;
}

.admin-rate-row .admin-progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--edc-green), var(--edc-accent));
}

.admin-state-row strong {
  font-family: var(--edc-font-display);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.admin-inline-actions form {
  display: inline-flex;
  margin: 0;
}

.admin-actions-stacked {
  display: grid;
}

.admin-inline-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.source-tree {
  display: grid;
  gap: 12px;
}

.source-node {
  position: relative;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(22, 36, 41, 0.035);
  overflow: hidden;
}

.source-node-operator {
  border-left: 4px solid var(--edc-accent);
}

.source-node-location {
  border-left: 4px solid var(--edc-green);
}

.source-node-station {
  border-left: 4px solid var(--edc-warning);
}

.source-node-evse {
  border-left: 4px solid #5d7fa6;
}

.source-node-connector {
  border-left: 4px solid #7b858c;
}

.source-node-main {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.source-node-main strong {
  font-family: var(--edc-font-display);
}

.source-node-main small {
  display: block;
  color: var(--edc-muted);
  font-size: 11px;
  font-family: var(--edc-font-mono);
}

.source-node-title {
  min-width: 0;
  color: var(--edc-text);
  text-decoration: none;
}

.source-node-title:hover strong {
  color: var(--edc-accent-dark);
  text-decoration: underline;
}

.infrastructure-detail-header .admin-inline-actions {
  justify-content: flex-end;
}

.infrastructure-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.infrastructure-detail-grid {
  align-items: stretch;
}

.infrastructure-profile-card .admin-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.operator-detail-map,
.location-route-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(88, 106, 112, 0.15) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 106, 112, 0.12) 1px, transparent 1px),
    #eef4f2;
  background-size: 36px 36px;
}

.operator-detail-map::before,
.location-route-map::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 56%;
  height: 3px;
  border-radius: 999px;
  background: rgba(22, 141, 168, 0.3);
  transform: rotate(-9deg);
}

.operator-detail-map a,
.location-route-map i {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--edc-green);
  box-shadow: 0 0 0 5px rgba(22, 141, 168, 0.12), 0 10px 22px rgba(32, 36, 42, 0.14);
  transform: translate(-50%, -50%);
}

.operator-detail-map a:hover {
  background: var(--edc-accent);
}

.operator-detail-map span,
.location-route-map span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(32, 36, 42, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--edc-ink);
  padding: 8px 10px;
  font: 800 12px/1.2 var(--edc-font-display);
}

.location-route-map i {
  left: 54%;
  top: 46%;
  background: var(--edc-accent);
}

.infrastructure-location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr) minmax(220px, 0.6fr);
  gap: 16px;
  align-items: stretch;
}

.infrastructure-ad-slot {
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 180px;
  border: 1px dashed rgba(22, 141, 168, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 141, 168, 0.12), rgba(35, 163, 91, 0.08)),
    #fff;
  padding: 18px;
  color: var(--edc-ink);
}

.infrastructure-ad-slot span {
  color: var(--edc-accent-dark);
  font: 800 11px/1 var(--edc-font-display);
  text-transform: uppercase;
}

.infrastructure-ad-slot strong {
  font: 800 19px/1.15 var(--edc-font-display);
}

.infrastructure-ad-slot em {
  color: var(--edc-muted);
  font-style: normal;
  font-size: 12px;
}

.infrastructure-standard-bars {
  display: grid;
  gap: 9px;
}

.infrastructure-standard-row {
  display: grid;
  grid-template-columns: 90px 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.infrastructure-standard-row span,
.infrastructure-standard-row strong {
  font: 800 12px/1 var(--edc-font-display);
}

.infrastructure-standard-row em {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2ef;
}

.infrastructure-standard-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--edc-accent), var(--edc-green));
}

.infrastructure-connector-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.infrastructure-evse-card,
.infrastructure-connector-card {
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
}

.infrastructure-connector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid #edf2f1;
  padding: 10px;
}

.infrastructure-connector-card {
  display: grid;
  gap: 6px;
  padding: 10px;
  background: #f8faf7;
}

.infrastructure-connector-card strong {
  font: 800 13px/1.2 var(--edc-font-display);
}

.infrastructure-connector-card span {
  color: var(--edc-muted);
  font: 700 11px/1.25 var(--edc-font-mono);
}

.infrastructure-review-card {
  display: grid;
  gap: 10px;
}

.infrastructure-session-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.infrastructure-session-table th:nth-child(1) { width: 15%; }
.infrastructure-session-table th:nth-child(2) { width: 15%; }
.infrastructure-session-table th:nth-child(3) { width: 15%; }
.infrastructure-session-table th:nth-child(4) { width: 10%; }
.infrastructure-session-table th:nth-child(5) { width: 14%; }
.infrastructure-session-table th:nth-child(6) { width: 11%; }
.infrastructure-session-table th:nth-child(7) { width: 11%; }
.infrastructure-session-table th:nth-child(8) { width: 9%; }

.infrastructure-session-table tr[hidden] {
  display: none !important;
}

.infrastructure-session-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.infrastructure-session-pagination span {
  color: var(--edc-muted);
  font: 800 12px/1 var(--edc-font-display);
}

.source-children {
  position: relative;
  display: grid;
  gap: 8px;
  border-top: 1px solid #edf2f1;
  padding: 12px 12px 12px 24px;
  background:
    linear-gradient(90deg, rgba(216, 221, 215, 0.68) 1px, transparent 1px),
    #fbfcfa;
  background-size: 18px 18px;
}

.source-children::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--edc-border);
}

.source-control-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf2f1;
  padding: 10px 14px;
  background: #f5f8f5;
}

.source-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  font-family: var(--edc-font-display);
}

.source-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--edc-accent);
}

.source-empty {
  margin: 0;
  color: var(--edc-muted);
  font-size: 12px;
}

.edc-button-small {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
}

.admin-inline-form select,
.admin-inline-form input,
.admin-inline-form textarea,
.admin-form-grid select,
.admin-form-grid input {
  min-height: 36px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  padding: 7px 9px;
  font: inherit;
}

.admin-incident-table td:first-child a {
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.admin-claims-table input[name="reviewSummary"] {
  min-width: 178px;
}

.admin-claim-actions {
  align-items: center;
}

.admin-audit-table td:first-child strong {
  font-family: var(--edc-font-mono);
  font-size: 12px;
}

.incident-state-panel {
  border-left: 4px solid var(--edc-warning);
}

.incident-action-panel p {
  margin: 4px 0 14px;
}

.incident-timeline-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  justify-content: stretch;
}

.timeline-node {
  width: 10px;
  height: 10px;
  align-self: center;
  border-radius: 50%;
  background: var(--edc-accent);
  box-shadow: 0 0 0 5px rgba(22, 141, 168, 0.12);
}

.timeline-transition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--edc-muted);
  font-family: var(--edc-font-mono);
  font-size: 12px;
}

.timeline-transition strong {
  color: var(--edc-text);
}

.timeline-transition b {
  color: var(--edc-accent);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
}

.admin-form-grid label {
  display: grid;
  gap: 5px;
  color: var(--edc-muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-form-evidence {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-form-file input[type="file"] {
  min-width: 0;
  width: 100%;
}

.admin-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-upload-status {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.admin-document-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-document-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(170px, 1.2fr) auto auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-document-row strong,
.admin-document-row span {
  overflow-wrap: anywhere;
}

.admin-document-row span {
  color: var(--edc-muted);
  font-size: 12px;
}

.admin-form-wide {
  grid-column: span 2;
}

.admin-definition {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}

.admin-definition dt {
  color: var(--edc-muted);
  font-weight: 700;
}

.admin-definition dd {
  margin: 0;
}

.user-page {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.user-header-actions,
.user-section-head,
.user-form-actions,
.user-privacy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.user-section-head {
  justify-content: space-between;
}

.user-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.user-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.user-panel {
  min-width: 0;
}

.user-panel:first-child,
.user-panel:last-child {
  grid-column: 1 / -1;
}

.user-summary-list {
  min-width: 0;
}

.user-row {
  min-width: 0;
}

a.user-row {
  color: inherit;
  text-decoration: none;
}

.user-row strong,
.user-row span {
  overflow-wrap: anywhere;
}

.user-row .admin-status {
  justify-self: end;
}

.user-inline-form {
  justify-self: end;
  min-width: 0;
}

.user-inline-form .edc-button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 12px;
}

.user-privacy-actions {
  align-items: stretch;
}

.user-privacy-actions form {
  min-width: 0;
}

.user-filter-form {
  margin: 0 0 12px;
  max-width: 420px;
}

.user-vehicle-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.user-vehicle-stats span {
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #f8faf7;
  padding: 8px 10px;
  color: var(--edc-ink);
  font: 800 12px/1.2 var(--edc-font-display);
  overflow-wrap: anywhere;
}

.user-catalog-combobox {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.user-catalog-field {
  margin: 0;
}

.user-catalog-input-wrap {
  position: relative;
  display: block;
}

.user-catalog-input-wrap::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--edc-accent);
  border-radius: 50%;
  transform: translateY(-56%);
  pointer-events: none;
}

.user-catalog-input-wrap::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 50%;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--edc-accent);
  transform: translateY(4px) rotate(45deg);
  transform-origin: left center;
  pointer-events: none;
}

.edc-ui-field .user-catalog-input-wrap input[data-user-catalog-search] {
  min-height: 42px;
  border-color: var(--edc-border-strong);
  padding-left: 40px;
  padding-right: 14px;
  font-weight: 650;
}

.edc-ui-field .user-catalog-input-wrap input[data-user-catalog-search]:focus {
  border-color: var(--edc-accent);
  box-shadow: 0 0 0 3px rgba(22, 141, 168, 0.14);
  outline: none;
}

.user-catalog-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 61px;
  z-index: 20;
  max-height: min(300px, 48vh);
  overflow: auto;
  border: 1px solid rgba(174, 187, 179, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(32, 36, 42, 0.16);
  padding: 6px;
}

.user-catalog-results {
  display: grid;
  gap: 4px;
}

.user-catalog-result {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--edc-text);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 10px;
  text-align: left;
}

.user-catalog-result:hover,
.user-catalog-result:focus-visible,
.user-catalog-result.is-active {
  background: #eef7f8;
  box-shadow: inset 0 0 0 1px rgba(22, 141, 168, 0.18);
  outline: none;
}

.user-catalog-result strong {
  color: var(--edc-ink);
  font: 800 13px/1.2 var(--edc-font-display);
  overflow-wrap: anywhere;
}

.user-catalog-result-detail {
  color: var(--edc-muted);
  font: 600 12px/1.3 var(--edc-font-body);
  overflow-wrap: anywhere;
}

.user-catalog-result-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.user-catalog-result-spec {
  border: 1px solid rgba(174, 187, 179, 0.8);
  border-radius: 999px;
  background: #f8faf7;
  color: var(--edc-ink);
  padding: 3px 7px;
  font: 750 11px/1.2 var(--edc-font-body);
}

.user-catalog-state {
  padding: 11px 10px;
  color: var(--edc-muted);
  font: 600 12px/1.35 var(--edc-font-body);
}

.user-catalog-help {
  margin: 0;
  color: var(--edc-muted);
  font: 600 12px/1.35 var(--edc-font-body);
}

.user-profile-form,
.user-vehicle-form,
.user-check-in-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.user-form-wide {
  grid-column: 1 / -1;
}

.user-location-empty {
  padding: 9px 10px;
}

.user-preferences-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.user-toggle-field {
  min-height: 64px;
  align-content: center;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #f8faf7;
  padding: 10px 12px;
}

.user-toggle-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--edc-accent);
}

.user-form-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.user-form-status {
  color: var(--edc-muted);
  font-size: 12px;
}

.user-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.user-review-row {
  align-items: start;
}

.user-review-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--edc-text);
}

.user-review-row small {
  color: var(--edc-muted);
}

.user-review-gallery {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.user-review-gallery a {
  display: inline-flex;
  width: 76px;
  height: 58px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  overflow: hidden;
  background: #f8faf7;
}

.user-review-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edc-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.edc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 36, 42, 0.42);
}

.edc-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid var(--edc-border);
  border-radius: var(--edc-radius);
  background: var(--edc-surface);
  box-shadow: var(--edc-shadow);
  padding: 18px;
}

.edc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.edc-modal-head h2 {
  margin: 0;
  color: var(--edc-ink);
  font: 800 20px/1.15 var(--edc-font-display);
}

.edc-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--edc-text);
  cursor: pointer;
  font: 800 20px/1 var(--edc-font-display);
}

.edc-confirm-modal {
  z-index: 1300;
}

.edc-confirm-modal-panel {
  width: min(460px, 100%);
}

.edc-confirm-modal-body p {
  margin: 0;
  color: var(--edc-text);
  font: 650 14px/1.45 var(--edc-font-body);
}

.edc-confirm-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.station-fault-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.station-fault-field-note {
  display: block;
  margin-top: 6px;
  color: #66758a;
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
}

.station-fault-location,
.station-fault-wide,
.station-fault-actions {
  grid-column: 1 / -1;
}

.station-fault-location {
  margin: 0;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #f8faf7;
  padding: 10px 12px;
  color: var(--edc-ink);
  font: 800 13px/1.3 var(--edc-font-display);
}

.station-fault-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.edc-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1300;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.edc-toast {
  width: min(360px, calc(100vw - 40px));
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--edc-border);
  border-left: 4px solid var(--edc-accent);
  border-radius: var(--edc-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--edc-shadow);
  padding: 10px 12px;
  color: var(--edc-text);
  font-family: var(--edc-font-display);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
  animation: edc-toast-in 180ms ease both;
  backdrop-filter: blur(12px);
}

.edc-toast.is-success {
  border-left-color: var(--edc-green);
}

.edc-toast.is-error {
  border-left-color: var(--edc-danger);
}

.edc-toast.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

.edc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes edc-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 820px) {
  .edc-app-topbar-inner,
  .admin-page-header,
  .edc-ui-page-header {
    display: grid;
  }

  .admin-metric-grid,
  .admin-grid-two,
  .admin-form-grid,
  .infrastructure-location-layout,
  .infrastructure-connector-board,
  .infrastructure-connector-grid,
    .infrastructure-session-filters,
    .user-dashboard-grid,
    .user-profile-form,
    .user-vehicle-form,
    .user-check-in-form,
    .station-fault-form,
    .user-vehicle-stats,
    .user-preferences-form,
    .edc-ui-kpi-grid,
    .edc-ui-toolbar {
    grid-template-columns: 1fr;
  }

  .user-panel:first-child,
  .user-panel:last-child,
  .user-form-actions {
    grid-column: auto;
  }

  .admin-form-evidence {
    grid-template-columns: 1fr;
  }

  .admin-upload-actions,
  .admin-document-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-form-wide {
    grid-column: auto;
  }

  .admin-table,
  .edc-ui-table {
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    border: 1px solid var(--edc-border);
    border-radius: var(--edc-radius);
    background: #fff;
    box-shadow: var(--edc-shadow-tight);
    margin-bottom: 12px;
    padding: 10px 12px;
  }

  .admin-table td {
    border-bottom: 0;
    padding: 7px 0;
  }

  .admin-table td[data-label] {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .admin-table td[data-label]::before {
    content: attr(data-label);
    color: var(--edc-muted);
    font-family: var(--edc-font-display);
    font-size: 11px;
    font-weight: 700;
  }

  .admin-inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

.admin-inline-form select,
.admin-inline-form input,
.admin-inline-form textarea {
  width: 100%;
  min-width: 0;
}

.admin-review-photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.admin-review-photo-link {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid var(--edc-border);
  border-radius: 6px;
  background: #fff;
  color: var(--edc-ink);
  font: 700 11px/1.25 var(--edc-font-display);
  overflow-wrap: anywhere;
}

.admin-moderation-form {
  grid-template-columns: 1fr;
  gap: 8px;
}

  .admin-moderation-form .edc-button-ghost {
    justify-content: center;
    width: 100%;
  }

  .admin-claims-table td[data-label="Actions"],
  .admin-incident-table td[data-label="Actions"] {
    grid-template-columns: 1fr;
  }

  .admin-claims-table td[data-label="Actions"]::before,
  .admin-incident-table td[data-label="Actions"]::before {
    margin-bottom: 2px;
  }

  .admin-claims-table .admin-actions,
  .admin-claims-table .admin-inline-form,
  .admin-incident-table .admin-actions,
  .admin-incident-table .admin-inline-form {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-claims-table .admin-inline-form .edc-button,
  .admin-incident-table .admin-inline-form .edc-button {
    justify-content: center;
    width: 100%;
  }

  .admin-claims-table input[name="reviewSummary"] {
    min-width: 0;
  }

  .incident-timeline-row {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .timeline-transition {
    grid-column: 2;
    justify-content: flex-start;
  }

  .source-node-main,
  .source-control-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .operator-detail-map,
  .location-route-map {
    min-height: 220px;
  }

  .location-card-hero,
  .location-card-layout,
  .location-card-metrics,
  .location-connector-grid,
  .location-session-filters,
  .location-review-form {
    grid-template-columns: 1fr;
  }

  .location-card-hero h1 {
    font-size: 30px;
  }

  .location-card-route-map {
    min-height: 230px;
  }

  .location-session-table {
    min-width: 0;
  }

  .location-session-table thead {
    display: none;
  }

  .location-session-table,
  .location-session-table tbody,
  .location-session-table tr,
  .location-session-table td {
    display: block;
    width: 100%;
  }

  .location-session-table tr {
    border: 1px solid var(--reports-border);
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
    padding: 10px 12px;
  }

  .location-session-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
    padding: 6px 0;
  }

  .location-session-table td::before {
    content: attr(data-label);
    color: var(--reports-muted);
    font: 800 10px/1.2 var(--edc-font-display);
  }

  .location-session-pagination {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .infrastructure-session-pagination {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .source-children {
    padding-left: 12px;
  }

  .edc-auth-panel {
    margin-top: 24px;
    padding: 22px;
  }

  .edc-auth-heading h1,
  .edc-auth-panel > h1 {
    font-size: 24px;
  }

  .auth-page,
  .message-page {
    margin-top: 24px;
  }

  .auth-card {
    padding: 22px;
  }

  .auth-heading-block h1,
  .message-copy h1 {
    font-size: 26px;
  }

  .auth-grid-two,
  .edc-ui-grid-two,
  .account-security-grid,
  .operator-onboarding-grid {
    grid-template-columns: 1fr;
  }

  .edc-ui-code-grid {
    grid-template-columns: 1fr;
  }

  .auth-password-policy ul {
    grid-template-columns: 1fr;
  }

  .message-page {
    grid-template-columns: 1fr;
  }

  .message-visual {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--edc-border);
  }

  .message-code {
    font-size: 42px;
  }

  .message-pulse {
    width: 104px;
    height: 104px;
  }

  .message-copy {
    padding: 24px;
  }

  .edc-toast-stack {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .edc-toast {
    width: 100%;
  }
}

.edc-shell-map {
  max-width: none;
  padding: 0;
}

.public-map-app {
  --map-bg: #f6f7f9;
  --map-line: #d9dee7;
  --map-line-strong: #aeb8c7;
  --map-text: #172033;
  --map-muted: #667085;
  --map-border: #d9dee7;
  --map-accent: #2457c5;
  --map-accent-dark: #1d45a0;
  --map-blue: #2457c5;
  --map-soft: #eef3ff;
  --map-stage: #eef2f7;
  --status-available: #23a35b;
  --status-occupied: #d99a21;
  --status-unavailable: #c8463c;
  --status-unknown: #7b858c;
  min-height: calc(100vh - 62px);
  width: 100%;
  overflow-x: hidden;
  background: var(--map-bg);
  color: var(--map-text);
  font-family: var(--edc-font-body);
}

.public-map-topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(217, 222, 231, 0.88);
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(24, 32, 39, 0.04);
  backdrop-filter: blur(14px);
}

.public-map-brand,
.public-map-nav a {
  color: var(--map-text);
  text-decoration: none;
}

.public-map-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--edc-font-display);
  letter-spacing: 0;
}

.public-map-brand-mark {
  width: 25px;
  height: 25px;
  border: 2px solid var(--map-accent);
  border-radius: 6px;
  position: relative;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.public-map-brand-mark::before,
.public-map-brand-mark::after {
  content: "";
  position: absolute;
  background: var(--map-accent);
}

.public-map-brand-mark::before {
  width: 9px;
  height: 2px;
  left: 6px;
  top: 7px;
}

.public-map-brand-mark::after {
  width: 2px;
  height: 10px;
  left: 10px;
  top: 6px;
}

.public-map-nav {
  display: flex;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.public-map-nav::-webkit-scrollbar {
  display: none;
}

.public-map-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--map-muted);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--edc-font-display);
  transition: background 160ms ease, color 160ms ease;
}

.public-map-nav a[aria-current="page"],
.public-map-nav a:hover {
  color: var(--map-accent-dark);
  background: var(--map-soft);
}

.public-map-nav a.public-map-nav-primary {
  color: #fff;
  background: var(--map-accent);
}

.public-map-nav a.public-map-nav-primary:hover {
  color: #fff;
  background: var(--map-accent-dark);
}

.public-map-workspace {
  height: calc(100vh - 62px);
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(330px, 380px) minmax(0, 1fr);
}

.public-map-rail {
  position: sticky;
  top: 62px;
  align-self: start;
  min-width: 0;
  height: calc(100vh - 62px);
  border-right: 1px solid var(--map-border);
  background: rgba(255, 255, 255, 0.98);
  display: grid;
  grid-template-rows: auto auto auto auto auto auto auto auto auto auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  box-shadow: 1px 0 2px rgba(24, 32, 39, 0.04);
  z-index: 2;
}

.public-map-search {
  display: grid;
  gap: 8px;
}

.public-map-search label {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--edc-font-display);
  color: var(--map-muted);
}

.public-map-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  gap: 8px;
}

.public-map-search-row input,
.public-map-search-row button,
.public-map-filters button,
.public-map-controls button,
.public-map-refresh-view,
.drawer-retry {
  font: inherit;
}

.public-map-search-row input {
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--map-border);
  border-radius: 5px;
  padding: 0 12px;
  background: #fff;
  color: var(--map-text);
  box-shadow: inset 0 1px 0 rgba(32, 36, 42, 0.02);
}

.public-map-search-row input:focus {
  border-color: var(--map-accent);
}

.public-map-search-row button,
.public-map-refresh-view,
.drawer-retry {
  min-height: 36px;
  border: 1px solid var(--map-accent);
  border-radius: 5px;
  background: var(--map-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--edc-font-display);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(36, 87, 197, 0.14);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.public-map-search-row button:hover,
.public-map-refresh-view:hover,
.drawer-retry:hover {
  border-color: var(--map-accent-dark);
  background: var(--map-accent-dark);
  transform: none;
  box-shadow: 0 8px 18px rgba(29, 69, 160, 0.18);
}

.public-map-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.public-map-filters button {
  min-height: 30px;
  border: 1px solid var(--map-border);
  border-radius: 5px;
  background: #fff;
  color: var(--map-muted);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--edc-font-display);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.public-map-filters button.is-active {
  border-color: var(--map-accent);
  color: var(--map-accent-dark);
  background: var(--map-soft);
}

.public-map-filters button:hover {
  border-color: var(--map-line-strong);
  transform: none;
}

.public-map-kind-filter,
.public-map-ev-filter,
.public-map-price-filter {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.public-map-ev-filter[hidden] {
  display: none;
}

.filter-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 16px;
}

.filter-block-head span,
.ev-filter-row > strong {
  color: var(--map-muted);
  font: 800 10px/1.2 var(--edc-font-display);
  text-transform: uppercase;
}

.filter-radio-grid {
  display: grid;
  gap: 5px;
}

.filter-radio-grid-kind {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.filter-radio-grid-speed,
.filter-radio-grid-connector {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ev-filter-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.filter-radio {
  min-width: 0;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(185, 194, 208, 0.86);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--map-muted);
  padding: 0 6px;
  cursor: pointer;
  font: 800 10px/1 var(--edc-font-display);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.filter-radio span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-radio em {
  min-width: 16px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--map-muted);
  padding: 2px 4px;
  font: 800 9px/1 var(--edc-font-mono);
  text-align: center;
}

.filter-radio.is-active {
  border-color: rgba(36, 87, 197, 0.68);
  background: var(--map-soft);
  color: var(--map-accent-dark);
  box-shadow: inset 0 0 0 1px rgba(36, 87, 197, 0.08);
}

.filter-radio.is-active em {
  background: #fff;
  color: var(--map-accent-dark);
}

.filter-radio.is-empty:not(.is-active) {
  opacity: 0.58;
}

.price-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-filter-head span {
  color: var(--map-muted);
  font: 800 10px/1.2 var(--edc-font-display);
  text-transform: uppercase;
}

.price-filter-head strong {
  color: var(--map-accent-dark);
  font: 800 11px/1.2 var(--edc-font-display);
  white-space: nowrap;
}

.price-filter-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px;
}

.price-filter-control input[type="range"] {
  width: 100%;
  accent-color: var(--map-accent);
}

.price-filter-control button {
  min-height: 28px;
  border: 1px solid rgba(36, 87, 197, 0.2);
  border-radius: 5px;
  background: var(--map-soft);
  color: var(--map-accent-dark);
  padding: 0 8px;
  cursor: pointer;
  font: 800 10px/1 var(--edc-font-display);
}

.price-filter-control button:hover:not(:disabled) {
  border-color: rgba(36, 87, 197, 0.42);
  background: #fff;
}

.price-filter-control input:disabled,
.price-filter-control button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.public-map-provider {
  position: relative;
  margin-top: 12px;
  z-index: 520;
}

.provider-toggle {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--map-border);
  border-radius: 5px;
  background: #fff;
  padding: 7px 10px;
  color: var(--map-text);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(24, 32, 39, 0.04);
  font-family: var(--edc-font-display);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.provider-toggle:hover,
.provider-toggle[aria-expanded="true"] {
  border-color: rgba(36, 87, 197, 0.58);
  box-shadow: 0 8px 18px rgba(24, 32, 39, 0.08);
  transform: none;
}

.provider-toggle span {
  color: var(--map-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color:#34425a;
}

.provider-toggle strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.provider-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(230px, calc(100vh - 360px));
  overflow: auto;
  margin-top: 6px;
  border: 1px solid rgba(185, 194, 208, 0.92);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(32, 36, 42, 0.16);
  padding: 8px;
  backdrop-filter: blur(12px);
  z-index: 900;
}

.provider-menu[hidden] {
  display: none;
}

.provider-section {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.provider-section p {
  margin: 6px 4px 2px;
  color: var(--map-muted);
  font-size: 10px;
  font-weight: 800;
  font-family: var(--edc-font-display);
  text-transform: uppercase;
  letter-spacing: 0;
}

.provider-option {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff;
  color: var(--map-text);
  padding: 6px 8px;
  cursor: pointer;
  font-family: var(--edc-font-display);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.provider-option:hover,
.provider-option.is-active {
  border-color: rgba(36, 87, 197, 0.34);
  background: var(--map-soft);
}

.provider-option:hover {
  transform: none;
}

.provider-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.provider-option strong {
  min-width: 28px;
  border-radius: 7px;
  background: #eef2f7;
  padding: 3px 7px;
  color: var(--map-muted);
  text-align: center;
  font-size: 11px;
  font-family: var(--edc-font-mono);
}

.provider-option.is-active strong {
  background: #fff;
  color: var(--map-accent-dark);
}

.public-map-stats {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  padding: 8px 9px;
  box-shadow: 0 1px 2px rgba(24, 32, 39, 0.04);
}

.stats-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stats-compact div {
  min-width: 78px;
}

.stats-compact span {
  color: var(--map-muted);
  font: 800 10px/1.1 var(--edc-font-display);
  text-transform: uppercase;
}

.stats-compact strong {
  display: block;
  color: var(--map-text);
  font: 900 24px/1 var(--edc-font-mono);
}

.stats-compact em {
  display: block;
  color: var(--map-muted);
  font: 700 10px/1.2 var(--edc-font-display);
  font-style: normal;
}

.stats-compact p {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 9px;
  margin: 0;
  color: var(--map-muted);
  font: 700 10px/1.2 var(--edc-font-mono);
}

.stats-compact p span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: none;
  font: inherit;
}

.stats-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.stats-dot-available {
  background: var(--status-available);
}

.stats-dot-occupied {
  background: var(--status-occupied);
}

.map-stat {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 6px;
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: 6px;
  background: #fff;
  padding: 7px;
}

.map-stat span {
  color: var(--map-muted);
  font-size: 10px;
  font-weight: 800;
  font-family: var(--edc-font-display);
}

.map-stat strong {
  color: var(--map-text);
  font-size: 18px;
  line-height: 1;
  font-family: var(--edc-font-mono);
}

.map-stat em {
  color: var(--map-muted);
  font-size: 10px;
  font-style: normal;
  font-family: var(--edc-font-mono);
}

.stats-bar {
  height: 7px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
}

.stats-bar i {
  display: block;
  min-width: 0;
  height: 100%;
}

.stats-bar-available {
  background: var(--status-available);
}

.stats-bar-occupied {
  background: var(--status-occupied);
}

.public-map-freshness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 12px;
  color: var(--map-muted);
  font-size: 11px;
}

.public-map-freshness span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.fresh {
  width: 20px;
  height: 3px;
  border-radius: 4px;
  display: inline-block;
}

.fresh-live { background: var(--status-available); }
.fresh-warm { background: var(--status-occupied); }
.fresh-cold { background: var(--status-unknown); }

.public-map-rail-status {
  min-height: 20px;
  margin: 8px 0 10px;
  color: var(--map-muted);
  font-size: 12px;
}

.public-map-refresh-view {
  width: 100%;
  margin: 0 0 10px;
}

.public-map-refresh-view[hidden] {
  display: none;
}

.public-map-help {
  margin: 12px 0 0;
  color: var(--map-muted);
  font-size: 11px;
  line-height: 1.45;
}

.public-map-results {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}

.public-map-app.is-loading .public-map-results {
  opacity: 0.72;
}

.public-map-favorites {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 1100;
  display: grid;
  justify-items: end;
  gap: 8px;
  width: min(440px, calc(100vw - 36px));
  pointer-events: none;
}

.public-map-favorites[hidden] {
  display: none;
}

.public-map-favorites-toggle,
.public-map-favorites-panel {
  pointer-events: auto;
}

.public-map-favorites-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(36, 87, 197, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--map-accent-dark);
  padding: 9px 12px;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.16);
  font: 800 12px/1 var(--edc-font-body);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.public-map-favorites-toggle span {
  width: 17px;
  height: 17px;
  display: inline-block;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 2px, transparent 3px),
    linear-gradient(135deg, #2457c5, #16a085);
  clip-path: polygon(50% 0, 62% 31%, 95% 35%, 70% 57%, 78% 91%, 50% 73%, 22% 91%, 30% 57%, 5% 35%, 38% 31%);
}

.public-map-favorites-toggle:hover {
  border-color: rgba(36, 87, 197, 0.55);
  box-shadow: 0 18px 38px rgba(23, 32, 51, 0.2);
}

.public-map-favorites-panel {
  order: -1;
  width: 100%;
  max-height: min(420px, calc(100vh - 150px));
  overflow: auto;
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.22);
  padding: 0;
  backdrop-filter: blur(14px);
  transform-origin: right bottom;
}

.public-map-favorites-panel[hidden] {
  display: none;
}

.public-map-favorites-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(211, 216, 226, 0.9);
  background: rgba(255, 255, 255, 0.96);
  color: var(--map-text);
  font-size: 12px;
  font-weight: 800;
}

.public-map-favorites-head > span {
  display: grid;
  gap: 3px;
}

.public-map-favorites-head b {
  color: var(--map-text);
  font-size: 14px;
}

.public-map-favorites-head small {
  color: var(--map-muted);
  font-size: 10px;
  font-weight: 650;
}

.public-map-favorites-head strong {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(36, 87, 197, 0.1);
  color: var(--map-accent-dark);
  font: 800 11px/1 var(--edc-font-mono);
}

.public-map-favorites-list {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f7f9fc;
}

.public-map-favorite-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid rgba(211, 216, 226, 0.9);
  border-radius: 11px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 5px 16px rgba(23, 32, 51, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.public-map-favorite-row:hover {
  border-color: rgba(36, 87, 197, 0.3);
  box-shadow: 0 9px 24px rgba(23, 32, 51, 0.09);
}

.public-map-favorite-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.public-map-favorite-main strong,
.public-map-favorite-main span,
.public-map-favorite-main em,
.public-map-favorite-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-map-favorite-meta {
  align-self: start;
  padding-top: 2px;
}

.public-map-favorite-main strong {
  color: var(--map-text);
  font-size: 13px;
}

.public-map-favorite-main span {
  color: var(--map-muted);
  font-size: 12px;
}

.public-map-favorite-main em {
  color: var(--map-accent-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.public-map-favorite-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--map-muted);
  font-size: 11px;
}

.public-map-favorite-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.public-map-favorite-action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 87, 197, 0.24);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--map-accent-dark);
  padding: 6px 9px;
  font: 800 11px/1 var(--edc-font-body);
  text-decoration: none;
  cursor: pointer;
}

.public-map-favorite-action:hover {
  border-color: rgba(36, 87, 197, 0.55);
  background: #fff;
}

.public-map-favorite-action.is-danger {
  border-color: rgba(192, 57, 43, 0.24);
  color: #a33a31;
}

.global-api-loader {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border: 1px solid rgba(36, 87, 197, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--map-accent-dark);
  padding: 9px 12px;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.16);
  font: 700 12px/1 var(--edc-font-body);
  backdrop-filter: blur(12px);
}

.global-api-loader[hidden] {
  display: none;
}

.global-api-loader-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--map-accent);
  box-shadow: 0 0 0 0 rgba(36, 87, 197, 0.32);
  animation: globalLoaderPulse 1.1s ease-out infinite;
}

@keyframes globalLoaderPulse {
  70% {
    box-shadow: 0 0 0 8px rgba(36, 87, 197, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(36, 87, 197, 0);
  }
}

.results-limit-note {
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 6px;
  background: #f6f7f9;
  color: var(--map-muted);
  padding: 9px 10px;
  font-size: 11px;
  line-height: 1.45;
}

.map-result {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 9px;
  text-align: left;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  color: var(--map-text);
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(32, 36, 42, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.map-result:hover,
.map-result.is-selected {
  border-color: rgba(36, 87, 197, 0.6);
  box-shadow: 0 8px 18px rgba(24, 32, 39, 0.1);
  transform: none;
}

.map-result.is-selected {
  background:
    linear-gradient(90deg, rgba(36, 87, 197, 0.08), rgba(255, 255, 255, 0) 38%),
    #fff;
}

.result-rail {
  width: 4px;
  border-radius: 8px;
  background: var(--status-unknown);
}

.status-available .result-rail,
.pin.status-available,
.status-dot.status-available { background: var(--status-available); }
.status-occupied .result-rail,
.pin.status-occupied,
.status-dot.status-occupied { background: var(--status-occupied); }
.status-unavailable .result-rail,
.pin.status-unavailable,
.status-dot.status-unavailable { background: var(--status-unavailable); }
.status-unknown .result-rail,
.pin.status-unknown,
.status-dot.status-unknown { background: var(--status-unknown); }

.result-main {
  min-width: 0;
}

.result-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.result-title span:first-child,
.result-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-address {
  margin-top: 2px;
  color: var(--map-muted);
  font-size: 11px;
}

.result-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  margin-top: 7px;
  min-width: 0;
  color: var(--map-muted);
  font-size: 10px;
  font-family: var(--edc-font-mono);
}

.result-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-meta span:nth-child(2) {
  justify-self: end;
  color: var(--map-text);
}

.result-meta span:nth-child(3) {
  grid-column: 1 / -1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--map-text);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.public-map-stage {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--map-stage);
}

.public-map-app.is-drawer-open .public-map-stage {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.public-map-canvas {
  position: relative;
  min-height: calc(100vh - 62px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(112, 125, 150, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(112, 125, 150, 0.1) 1px, transparent 1px),
    var(--map-stage);
  background-size: 58px 58px;
  transition: transform 140ms ease;
}

.public-map-canvas.leaflet-container {
  background: var(--map-stage);
  font: inherit;
  z-index: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--map-muted);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(112, 125, 150, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(112, 125, 150, 0.1) 1px, transparent 1px),
    var(--map-stage);
  background-size: 58px 58px;
  z-index: 1;
  pointer-events: none;
}

.map-fallback[hidden] {
  display: none;
}

.map-fallback-note {
  position: relative;
  z-index: 2;
  max-width: 280px;
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  box-shadow: var(--edc-shadow-tight);
  font-family: var(--edc-font-display);
  font-size: 12px;
  font-weight: 700;
}

.map-label {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 4px 9px;
  color: var(--map-muted);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--edc-font-display);
  box-shadow: 0 6px 16px rgba(32, 36, 42, 0.08);
}

.map-label-a {
  left: 24%;
  top: 22%;
}

.map-label-b {
  right: 24%;
  top: 38%;
}

.map-label-c {
  left: 40%;
  bottom: 24%;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--map-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--map-line) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.72;
}

.map-water {
  position: absolute;
  right: -8%;
  top: 5%;
  width: 36%;
  height: 86%;
  border-radius: 44% 0 0 58%;
  background:
    linear-gradient(180deg, rgba(36, 87, 197, 0.12), rgba(36, 87, 197, 0.06));
  border-left: 1px solid rgba(36, 87, 197, 0.18);
}

.map-road {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: var(--map-line-strong);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.48);
}

.map-road-a {
  left: 8%;
  top: 32%;
  width: 72%;
  transform: rotate(-10deg);
}

.map-road-b {
  left: 18%;
  top: 60%;
  width: 58%;
  transform: rotate(16deg);
}

.map-road-c {
  left: 35%;
  top: 12%;
  width: 3px;
  height: 78%;
  transform: rotate(8deg);
}

.map-pins {
  position: absolute;
  inset: 0;
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 4px;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 10px 22px rgba(24, 32, 39, 0.22);
  cursor: pointer;
}

.pin:hover {
  filter: brightness(0.96);
}

.pin.is-hovered {
  z-index: 540;
  transform: translate(-50%, -100%) rotate(-45deg) scale(1.28);
  box-shadow: 0 18px 42px rgba(36, 87, 197, 0.3), 0 0 0 8px rgba(36, 87, 197, 0.14);
}

.pin::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  left: 6px;
  top: 6px;
}

.pin.is-selected {
  outline: 3px solid rgba(36, 87, 197, 0.24);
}

.map-marker {
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  animation: none;
  overflow: visible;
  box-shadow: 0 10px 22px rgba(32, 36, 42, 0.26);
}

.map-marker.is-selected .map-marker-asset,
.map-marker.active .map-marker-asset,
.evmap-marker-active .map-marker-asset {
  animation: evmap-marker-float 1.75s ease-in-out infinite;
  transform-origin: 50% 100%;
}

.map-marker > .map-marker-core {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  left: 5px;
  top: 5px;
}

.map-marker-type-badge,
.pin-type-badge {
  position: absolute;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid rgba(32, 36, 42, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #263241;
  box-shadow: 0 6px 14px rgba(32, 36, 42, 0.22);
  font: 800 9px/1 var(--edc-font-mono);
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.map-marker-type-badge {
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
}

.pin-type-badge {
  left: 50%;
  top: -21px;
  transform: translateX(-50%);
}

.map-marker-type-badge-ac,
.pin-type-badge-ac {
  border-color: rgba(15, 118, 110, 0.26);
  color: #115e59;
  background: #ecfdf5;
}

.map-marker-type-badge-dc,
.pin-type-badge-dc {
  border-color: rgba(185, 28, 28, 0.22);
  color: #991b1b;
  background: #fef2f2;
}

.map-marker-type-badge-mixed,
.pin-type-badge-mixed {
  border-color: rgba(8, 145, 178, 0.28);
  color: #155e75;
  background: #ecfeff;
}

.map-marker-type-badge-ev,
.pin-type-badge-ev {
  border-color: rgba(71, 85, 105, 0.22);
  color: #334155;
  background: #f8fafc;
}

.map-marker-type-badge-hydrogen,
.pin-type-badge-hydrogen {
  border-color: rgba(8, 145, 178, 0.3);
  color: #0e7490;
  background: #ecfeff;
}

.map-marker-type-badge-cng,
.pin-type-badge-cng,
.map-marker-type-badge-lng,
.pin-type-badge-lng {
  border-color: rgba(22, 101, 52, 0.25);
  color: #166534;
  background: #f0fdf4;
}

.map-marker-type-badge-service,
.pin-type-badge-service {
  border-color: rgba(71, 85, 105, 0.24);
  color: #334155;
  background: #f8fafc;
}

.map-marker.status-available,
.map-marker-cluster.status-available,
.map-cluster-marker.status-available,
.pin.status-available {
  background: var(--status-available);
}

.map-marker.status-occupied,
.map-marker-cluster.status-occupied,
.map-cluster-marker.status-occupied,
.pin.status-occupied {
  background: var(--status-occupied);
}

.map-marker.status-unavailable,
.map-marker-cluster.status-unavailable,
.map-cluster-marker.status-unavailable,
.pin.status-unavailable {
  background: var(--status-unavailable);
}

.map-marker.status-unknown,
.map-marker-cluster.status-unknown,
.map-cluster-marker.status-unknown,
.pin.status-unknown {
  background: var(--status-unknown);
}

.map-marker.is-selected {
  z-index: 500;
}

.map-marker.is-hovered {
  outline: 5px solid rgba(36, 87, 197, 0.34);
  z-index: 560;
  box-shadow: 0 20px 42px rgba(36, 87, 197, 0.34), 0 0 0 9px rgba(36, 87, 197, 0.14);
  filter: saturate(1.18) brightness(1.04);
}

.map-marker.is-selected::after,
.map-marker.is-hovered::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(36, 87, 197, 0.42);
  border-radius: 50%;
  animation: map-marker-pulse 1600ms ease-out infinite;
}

.map-marker-cluster.is-selected,
.map-cluster-marker.is-selected,
.map-cluster-pin.is-selected,
.map-marker-cluster.is-hovered,
.map-cluster-marker.is-hovered,
.map-cluster-pin.is-hovered {
  outline: 4px solid rgba(36, 87, 197, 0.26);
  box-shadow: 0 16px 36px rgba(36, 87, 197, 0.28), inset 0 0 0 3px rgba(255, 255, 255, 0.48);
  z-index: 520;
}

.map-marker-cluster.is-hovered,
.map-cluster-marker.is-hovered,
.map-cluster-pin.is-hovered {
  outline-width: 5px;
  box-shadow: 0 22px 48px rgba(36, 87, 197, 0.36), 0 0 0 10px rgba(36, 87, 197, 0.14), inset 0 0 0 3px rgba(255, 255, 255, 0.56);
  z-index: 560;
}

.map-marker-cluster.is-selected::before,
.map-cluster-marker.is-selected::before,
.map-cluster-pin.is-selected::before,
.map-marker-cluster.is-hovered::before,
.map-cluster-marker.is-hovered::before,
.map-cluster-pin.is-hovered::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(36, 87, 197, 0.42);
  border-radius: 50%;
  animation: map-marker-pulse 1600ms ease-out infinite;
}

.map-marker-cluster,
.map-cluster-marker {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-width: 3px;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(32, 36, 42, 0.24), inset 0 0 0 3px rgba(255, 255, 255, 0.36);
}

.map-marker-cluster span,
.map-cluster-marker span {
  position: static;
  width: auto;
  height: auto;
  min-width: 19px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--map-text);
  padding: 3px 5px;
  font: 800 11px/1 var(--edc-font-mono);
}

.map-marker-cluster::after,
.map-cluster-marker::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
}

.map-cluster-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-cluster-pin span {
  transform: none;
  color: var(--map-text);
  font: 800 11px/1 var(--edc-font-mono);
}

.public-map-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  gap: 6px;
  z-index: 500;
}

.public-map-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--map-border);
  border-radius: 5px;
  background: #fff;
  color: var(--map-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(32, 36, 42, 0.11);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.public-map-controls button:hover {
  border-color: var(--map-accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(32, 36, 42, 0.14);
}

.public-map-drawer {
  height: calc(100vh - 62px);
  border-left: 1px solid var(--map-border);
  background: rgba(255, 255, 255, 0.96);
  padding: 20px 18px;
  overflow: auto;
  box-shadow: -10px 0 34px rgba(32, 36, 42, 0.07);
  backdrop-filter: blur(10px);
}

.public-map-drawer[hidden] {
  display: none !important;
}

.drawer-empty,
.drawer-content {
  min-height: 100%;
}

.drawer-empty {
  display: grid;
  align-content: center;
  gap: 8px;
  color: var(--map-muted);
}

.drawer-empty h2,
.drawer-content h2 {
  margin: 0;
  color: var(--map-text);
  font-size: 21px;
  line-height: 1.18;
  font-family: var(--edc-font-display);
}

.drawer-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-title-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  flex: 0 0 auto;
}

.drawer-close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--map-border);
  border-radius: 5px;
  background: #fff;
  color: var(--map-muted);
  cursor: pointer;
  font: 800 14px/1 var(--edc-font-display);
}

.drawer-close:hover {
  border-color: var(--map-accent);
  color: var(--map-accent-dark);
}

.drawer-status {
  margin-top: 3px;
  flex: 0 0 auto;
}

.drawer-empty p,
.drawer-content p {
  margin: 0;
}

.drawer-kicker {
  color: var(--map-muted);
  font-size: 12px;
  margin-top: 5px;
}

.drawer-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.drawer-meta-strip span {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 999px;
  background: #f6f7f9;
  color: var(--map-muted);
  padding: 4px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 10px/1.2 var(--edc-font-mono);
}

.drawer-location-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.drawer-location-info span {
  min-width: 0;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  padding: 8px;
}

.drawer-location-info em {
  display: block;
  color: var(--map-muted);
  font: 800 9px/1.1 var(--edc-font-display);
  font-style: normal;
  text-transform: uppercase;
}

.drawer-location-info strong {
  display: block;
  margin-top: 4px;
  color: var(--map-text);
  font: 800 11px/1.25 var(--edc-font-display);
  overflow-wrap: anywhere;
}

.drawer-warning,
.drawer-empty-inline {
  margin-top: 14px;
  border: 1px solid rgba(217, 154, 33, 0.38);
  border-radius: 8px;
  background: #fff8ed;
  color: #7a4d12;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.drawer-empty-inline {
  margin-top: 0;
}

.drawer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.drawer-fact {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  padding: 8px;
  min-height: 54px;
}

.drawer-fact-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: var(--map-soft);
  color: var(--map-accent-dark);
  font: 900 10px/1 var(--edc-font-display);
}

.drawer-fact-icon::before {
  content: "i";
}

.drawer-fact-availability .drawer-fact-icon::before {
  content: "OK";
}

.drawer-fact-power .drawer-fact-icon::before {
  content: "kW";
}

.drawer-fact-price .drawer-fact-icon::before {
  content: "PLN";
  font-size: 9px;
}

.drawer-fact-signal .drawer-fact-icon::before {
  content: "T";
}

.drawer-fact em,
.connector-facts em {
  display: block;
  color: var(--map-muted);
  font-style: normal;
  font: 700 9px/1.1 var(--edc-font-display);
  text-transform: uppercase;
}

.drawer-fact strong,
.connector-facts strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--map-text);
  font: 800 12px/1.2 var(--edc-font-mono);
}

.drawer-fact-price strong,
.connector-fact-price strong {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.25;
}

.drawer-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 8px;
}

.drawer-section-head span {
  color: var(--map-text);
  font: 800 12px/1.2 var(--edc-font-display);
}

.drawer-section-head strong {
  color: var(--map-muted);
  font: 800 10px/1.2 var(--edc-font-mono);
}

.drawer-community {
  margin-top: 12px;
  border-top: 1px solid var(--map-border);
  padding-top: 10px;
}

.drawer-review-list {
  display: grid;
  gap: 8px;
}

.drawer-review-pending {
  display: grid;
  gap: 3px;
  margin: 0 0 8px;
  border: 1px solid rgba(36, 87, 197, 0.24);
  border-radius: 6px;
  background: #eef5ff;
  padding: 8px 9px;
  color: var(--map-text);
}

.drawer-review-pending strong {
  font: 850 12px/1.25 var(--edc-font-display);
}

.drawer-review-pending span {
  color: var(--map-muted);
  font: 700 11px/1.35 var(--edc-font-display);
}

.drawer-review-row {
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  padding: 9px;
}

.drawer-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.drawer-review-head strong {
  color: var(--map-text);
  font: 800 12px/1.25 var(--edc-font-display);
}

.drawer-rating-stars {
  color: #c08412;
  font: 900 12px/1 var(--edc-font-mono);
  letter-spacing: 0;
  white-space: nowrap;
}

.drawer-review-row p {
  margin: 6px 0;
  color: var(--map-muted);
  font: 600 11px/1.45 var(--edc-font-display);
}

.drawer-review-helpful,
.location-review-helpful,
.location-review-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-review-helpful {
  margin-top: 6px;
}

.review-helpful-form {
  margin: 0;
}

.review-helpful-button {
  min-height: 28px;
  border: 1px solid var(--edc-border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--edc-ink);
  cursor: pointer;
  padding: 5px 9px;
  font: 800 11px/1 var(--edc-font-display);
}

.review-helpful-button:hover,
.review-helpful-button:focus-visible {
  border-color: var(--edc-green);
}

.review-helpful-button.is-active,
.review-helpful-button:disabled {
  border-color: #9bd8bf;
  background: #eefaf4;
  color: #145f43;
  cursor: default;
}

.review-helpful-count {
  color: var(--reports-muted);
  font: 750 11px/1.2 var(--edc-font-body);
}

.drawer-review-gallery,
.location-review-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.drawer-review-gallery a,
.location-review-gallery a {
  display: block;
  width: 72px;
  height: 54px;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.drawer-review-gallery img,
.location-review-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Public reply of the station operator under a driver review. */
.review-operator-reply {
  display: grid;
  gap: 3px;
  margin: 6px 0 2px;
  border-left: 3px solid var(--edc-green);
  border-radius: 0 6px 6px 0;
  background: #f3faf7;
  padding: 7px 10px;
  font-size: 12.5px;
  line-height: 1.45;
}

.review-operator-reply strong {
  color: #145f43;
  font-size: 12px;
}

.review-operator-reply p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.review-operator-reply span {
  color: var(--reports-muted);
  font-size: 11px;
}

.drawer-review-form {
  display: grid;
  grid-template-columns: minmax(68px, 0.45fr) minmax(120px, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.drawer-review-form label {
  display: grid;
  gap: 4px;
  color: var(--map-muted);
  font: 800 10px/1.2 var(--edc-font-display);
}

.drawer-review-form label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.drawer-rating-field,
.drawer-review-photo-field {
  grid-column: 1 / -1;
}

.drawer-rating-control {
  display: inline-flex;
  width: fit-content;
  gap: 2px;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  padding: 5px 7px;
}

.drawer-star-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.drawer-star-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drawer-star-option span {
  color: #c9d1dd;
  font: 900 18px/1 var(--edc-font-mono);
  transition: color 150ms ease, transform 150ms ease;
}

.drawer-star-option.is-active span,
.drawer-star-option:hover span {
  color: #c08412;
}

.drawer-star-option:focus-within span {
  outline: 2px solid rgba(36, 87, 197, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

.drawer-review-form input,
.drawer-review-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  color: var(--map-text);
  padding: 8px;
  font: 700 12px/1.25 var(--edc-font-display);
}

.drawer-review-photo-field input[type="file"] {
  font-size: 11px;
}

.drawer-review-photo-field em {
  color: var(--map-muted);
  font: 700 10px/1.25 var(--edc-font-display);
}

.drawer-review-photo-field em[data-state="uploading"] {
  color: #2457c5;
}

.drawer-review-photo-field em[data-state="pending"] {
  color: #8a5a00;
}

.drawer-review-photo-field em[data-state="error"] {
  color: var(--edc-danger);
}

.drawer-review-form textarea {
  min-height: 64px;
  resize: vertical;
}

.drawer-review-form button {
  grid-column: 1 / -1;
}

.drawer-report-form {
  display: flex;
  justify-content: flex-end;
}

.drawer-link-button,
.drawer-signin-prompt {
  border: 0;
  background: transparent;
  color: #2457c5;
  cursor: pointer;
  font: 800 11px/1.2 var(--edc-font-display);
  text-decoration: none;
  padding: 0;
}

.drawer-signin-prompt {
  display: inline-flex;
  margin-top: 8px;
}

.email-preview-grid {
  align-items: start;
}

.email-preview-frame {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  background: #f6f8fb;
}

.email-preview-text {
  margin: 0;
  max-width: 100%;
  min-height: 240px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--edc-border);
  border-radius: 8px;
  padding: 16px;
  background: #0f1720;
  color: #f8fafc;
}

.drawer-fact[data-tooltip],
.evse-row-header[data-tooltip],
.connector-row[data-tooltip] {
  position: relative;
}

.drawer-fact[data-tooltip]::after,
.evse-row-header[data-tooltip]::after,
.connector-row[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: min(260px, 78vw);
  border: 1px solid rgba(36, 87, 197, 0.22);
  border-radius: 8px;
  background: rgba(21, 29, 33, 0.96);
  color: #fff;
  padding: 8px 9px;
  box-shadow: 0 14px 30px rgba(21, 29, 33, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 40;
  font: 700 10px/1.45 var(--edc-font-display);
}

.drawer-fact[data-tooltip]:hover::after,
.evse-row-header[data-tooltip]:hover::after,
.connector-row[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.evse-list,
.connector-list {
  display: grid;
  gap: 8px;
}

.service-point-list {
  gap: 12px;
}

.evse-row,
.connector-row {
  /*border: 1px solid var(--map-border);*/
  border-radius: 6px;
  padding: 9px 0px 0px 0px;
  background: #fff;
}

.evse-row {
  border-left: 3px solid rgba(36, 87, 197, 0.72);
}

.evse-row-header,
.connector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.connector-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.connector-identity > span:last-child {
  min-width: 0;
}

.connector-icon {
  width: 42px;
  height: 26px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(185, 194, 208, 0.75);
  border-radius: 5px;
  background: #f6f7f9;
  color: var(--map-text);
  font: 800 10px/1 var(--edc-font-display);
}

.connector-icon span {
  max-width: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connector-icon-ccs {
  border-color: rgba(36, 87, 197, 0.38);
  background: var(--map-soft);
  color: var(--map-accent-dark);
}

.connector-icon-type2 {
  border-color: rgba(35, 163, 91, 0.36);
  background: #e7f6ed;
  color: #176d3c;
}

.connector-icon-chademo {
  border-color: rgba(217, 154, 33, 0.42);
  background: #fff4dc;
  color: #8b5b00;
}

.connector-row {
  display: grid;
  gap: 7px;
}

.evse-row-title,
.connector-code {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.connector-list {
  margin-top: 8px;
}

.connector-meta,
.state-time {
  color: var(--map-muted);
  font-size: 11px;
  font-family: var(--edc-font-mono);
}

.connector-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.connector-facts span {
  min-width: 0;
  border: 1px solid rgba(185, 194, 208, 0.56);
  border-radius: 7px;
  background: #f7faf8;
  padding: 5px 6px;
}

.state-session {
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--status-occupied);
  border-radius: 0 8px 8px 0;
  background: #fff8ed;
  padding: 8px 10px;
}

.state-session span {
  color: #8a5b1d;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--edc-font-display);
}

.state-session strong {
  color: var(--map-text);
  font-size: 11px;
  font-family: var(--edc-font-mono);
}

.state-session em {
  color: var(--map-muted);
  font-style: normal;
}

.map-popup {
  display: grid;
  gap: 4px;
  min-width: 180px;
  color: var(--map-text);
  font-family: var(--edc-font-display);
}

.map-popup strong {
  font-size: 13px;
}

.map-popup span {
  color: var(--map-muted);
  font-size: 11px;
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
}

.drawer-action-form,
.location-card-inline-form {
  display: inline-flex;
  margin: 0;
}

.drawer-route-link,
.drawer-action-form button,
.session-history-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  color: var(--map-accent-dark);
  padding: 0 10px;
  cursor: pointer;
  text-decoration: none;
  font: 800 11px/32px var(--edc-font-display);
}

.drawer-route-link:hover,
.drawer-action-form button:hover,
.session-history-pagination button:hover:not(:disabled) {
  background: var(--map-soft);
}

.session-history-pagination button:disabled {
  color: var(--map-muted);
  cursor: not-allowed;
  opacity: 0.62;
}

.drawer-ad-slot {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  border: 1px dashed rgba(36, 87, 197, 0.34);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(36, 87, 197, 0.08), rgba(24, 132, 91, 0.08)), #fff;
  padding: 11px;
}

.drawer-ad-slot span {
  color: var(--map-accent-dark);
  font: 850 9px/1 var(--edc-font-display);
  text-transform: uppercase;
}

.drawer-ad-slot strong {
  color: var(--map-text);
  font: 850 13px/1.2 var(--edc-font-display);
}

.drawer-ad-slot em {
  color: var(--map-muted);
  font: 700 10px/1.35 var(--edc-font-display);
  font-style: normal;
}

.session-history {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  border: 1px solid rgba(185, 194, 208, 0.72);
  border-radius: 6px;
  background: #f6f7f9;
  padding: 12px;
}

.session-history-head,
.session-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.session-history-head span {
  color: var(--map-text);
  font-size: 12px;
  font-weight: 800;
  font-family: var(--edc-font-display);
}

.session-history-head strong {
  color: var(--map-muted);
  font-size: 11px;
  font-weight: 700;
}

.session-history-list {
  display: grid;
  gap: 7px;
}

.session-history-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 7px;
  align-items: end;
}

.session-history-filters label {
  display: grid;
  gap: 4px;
  color: var(--map-muted);
  font: 800 9px/1.1 var(--edc-font-display);
  text-transform: uppercase;
}

.session-history-filters input,
.session-history-filters select {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  color: var(--map-text);
  padding: 0 7px;
  font: 700 11px/1.2 var(--edc-font-display);
}

.session-history-filters button {
  min-height: 30px;
  border: 1px solid var(--map-border);
  border-radius: 6px;
  background: #fff;
  color: var(--map-accent-dark);
  padding: 0 9px;
  cursor: pointer;
  font: 800 10px/1 var(--edc-font-display);
}

.session-history-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.session-history-row {
  border: 1px solid rgba(185, 194, 208, 0.58);
  border-radius: 6px;
  background: #fff;
  padding: 8px 9px;
}

.session-history-row div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.session-history-row strong {
  color: var(--map-text);
  font-size: 11px;
  font-family: var(--edc-font-mono);
}

.session-history-row span {
  color: var(--map-muted);
  font-size: 10px;
}

.session-history-row em {
  white-space: nowrap;
  color: var(--map-accent-dark);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--edc-font-display);
}

.session-history-message {
  border: 1px dashed rgba(185, 194, 208, 0.8);
  border-radius: 6px;
  color: var(--map-muted);
  padding: 10px;
  font-size: 11px;
}

.session-history-message.is-error {
  border-color: rgba(186, 45, 45, 0.28);
  color: #7a1f1f;
  background: #fff5f5;
}

.session-history-note {
  margin: 0;
  color: var(--map-muted);
  font-size: 10px;
  line-height: 1.45;
}

.edc-shell-location-card {
  max-width: 1180px;
}

.public-location-card {
  display: grid;
  gap: 20px;
  color: var(--reports-ink);
}

.location-card-loading,
.location-card-error,
.location-card-panel,
.location-ad-slot,
.location-card-status-card,
.location-card-metric {
  border: 1px solid var(--reports-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.07);
}

.location-card-loading[hidden],
.location-card-error[hidden] {
  display: none !important;
}

.location-profile-edit-action {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.station-operator-profile-link {
  color: inherit;
  text-decoration: none;
}

.station-operator-profile-link:hover,
.station-operator-profile-link:focus-visible {
  border-color: currentColor;
  text-decoration: underline;
}

.location-card-loading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 14px;
  color: var(--reports-muted);
  font: 750 13px/1.2 var(--edc-font-display);
}

.location-card-error {
  border-color: rgba(190, 59, 50, 0.32);
  background: #fff5f5;
  color: #8a2420;
  padding: 14px;
  font: 750 13px/1.4 var(--edc-font-display);
}

.location-card-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: end;
  padding: 22px 0 6px;
}

.location-card-hero-copy {
  display: grid;
  gap: 10px;
}

.location-card-back {
  width: fit-content;
  color: var(--reports-cyan-dark);
  text-decoration: none;
  font: 800 12px/1 var(--edc-font-display);
}

.location-card-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--reports-ink);
  font: 850 42px/1.05 var(--edc-font-display);
  letter-spacing: 0;
}

.location-card-hero p {
  margin: 0;
  color: var(--reports-muted);
  font: 600 15px/1.45 var(--edc-font-body);
}

.location-card-actions,
.location-card-panel-head,
.location-session-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.location-card-actions a,
.location-card-action-button,
.location-card-inline-form button,
.location-card-panel-head a,
.location-review-form button,
.location-session-filters button,
.location-session-pagination button {
  min-height: 36px;
  border: 1px solid var(--reports-border);
  border-radius: 7px;
  background: #fff;
  color: var(--reports-cyan-dark);
  padding: 0 12px;
  text-decoration: none;
  cursor: pointer;
  font: 800 12px/34px var(--edc-font-display);
}

.location-card-actions a:first-child,
.location-review-form button {
  border-color: var(--reports-cyan);
  background: var(--reports-cyan);
  color: #fff;
}

.location-card-status-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.location-card-status-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--reports-muted);
  font: 800 12px/1 var(--edc-font-display);
}

.location-card-status-card strong {
  color: var(--reports-ink);
  font: 850 22px/1.1 var(--edc-font-display);
}

.location-card-status-card em {
  color: var(--reports-muted);
  font: 650 12px/1.35 var(--edc-font-body);
  font-style: normal;
}

.location-card-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.location-card-metric {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-left: 4px solid var(--reports-cyan);
}

.location-card-metric span {
  color: var(--reports-muted);
  font: 800 11px/1 var(--edc-font-display);
  text-transform: uppercase;
}

.location-card-metric strong {
  color: var(--reports-ink);
  font: 850 26px/1 var(--edc-font-mono);
}

.location-card-metric em {
  color: var(--reports-muted);
  font: 650 12px/1.25 var(--edc-font-body);
  font-style: normal;
}

.location-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.location-card-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.location-card-panel h2 {
  margin: 0;
  color: var(--reports-ink);
  font: 850 22px/1.1 var(--edc-font-display);
}

.location-card-panel-head {
  justify-content: space-between;
  align-items: start;
}

.location-card-panel-head p,
.location-card-muted {
  margin: 4px 0 0;
  color: var(--reports-muted);
  font: 600 12px/1.45 var(--edc-font-body);
}

.location-card-panel-head span {
  color: var(--reports-muted);
  font: 800 12px/1 var(--edc-font-display);
}

.location-card-route-map {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--reports-border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(188, 199, 214, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, rgba(188, 199, 214, 0.34) 1px, transparent 1px),
    #edf4f8;
  background-size: 38px 38px;
}

.location-route-pin {
  position: absolute;
  left: 54%;
  top: 45%;
  width: 26px;
  height: 26px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--reports-cyan);
  box-shadow: 0 12px 28px rgba(36, 87, 197, 0.34);
}

.location-card-data-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.location-card-data-list div {
  display: grid;
  grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(217, 222, 231, 0.82);
  border-radius: 7px;
  background: #fff;
  padding: 10px 12px;
}

.location-card-data-list dt {
  color: var(--reports-muted);
  font: 800 11px/1.2 var(--edc-font-display);
}

.location-card-data-list dd {
  min-width: 0;
  margin: 0;
  color: var(--reports-ink);
  overflow-wrap: anywhere;
  font: 800 12px/1.35 var(--edc-font-display);
}

.location-ad-slot {
  display: grid;
  gap: 4px;
  border-style: dashed;
  border-color: rgba(36, 87, 197, 0.34);
  background: linear-gradient(135deg, rgba(36, 87, 197, 0.08), rgba(24, 132, 91, 0.08)), #fff;
  padding: 18px;
}

.location-ad-slot span {
  color: var(--reports-cyan-dark);
  font: 850 10px/1 var(--edc-font-display);
  text-transform: uppercase;
}

.location-ad-slot strong {
  color: var(--reports-ink);
  font: 850 20px/1.1 var(--edc-font-display);
}

.location-ad-slot em {
  color: var(--reports-muted);
  font: 650 12px/1.45 var(--edc-font-body);
  font-style: normal;
}

.location-evse-grid {
  display: grid;
  gap: 12px;
}

.location-evse-card,
.location-connector-card,
.location-review-row,
.location-review-pending {
  border: 1px solid rgba(217, 222, 231, 0.88);
  border-radius: 8px;
  background: #fff;
}

.location-evse-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.location-evse-head,
.location-connector-card div,
.location-connector-card p,
.location-review-row div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-evse-head strong,
.location-connector-card strong,
.location-review-row strong {
  color: var(--reports-ink);
  font: 850 14px/1.2 var(--edc-font-display);
}

.location-evse-head span,
.location-connector-card em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--reports-muted);
  font: 800 12px/1 var(--edc-font-display);
  font-style: normal;
}

.location-evse-card small {
  color: var(--reports-muted);
  font: 650 11px/1 var(--edc-font-mono);
}

.location-connector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.location-connector-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #f8fafc;
}

.location-connector-card span,
.location-connector-card p {
  color: var(--reports-muted);
  font: 750 11px/1.25 var(--edc-font-display);
}

.location-connector-card p {
  margin: 0;
}

.location-session-filters,
.location-review-form {
  display: grid;
  gap: 10px;
}

.location-session-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
}

.location-session-filters label,
.location-review-form label {
  display: grid;
  gap: 5px;
  color: var(--reports-muted);
  font: 800 11px/1.15 var(--edc-font-display);
}

.location-session-filters input,
.location-session-filters select,
.location-review-form input,
.location-review-form select,
.location-review-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--reports-border);
  border-radius: 7px;
  background: #fff;
  color: var(--reports-ink);
  padding: 9px 10px;
  font: 650 13px/1.35 var(--edc-font-body);
}

.location-session-table-wrap {
  overflow-x: auto;
}

.location-session-table {
  width: 100%;
  border-collapse: collapse;
  min-width: min(760px, 100%);
  font-size: 12px;
}

.location-session-table th,
.location-session-table td {
  border-bottom: 1px solid var(--reports-border);
  padding: 11px 10px;
  text-align: left;
}

.location-session-table th {
  color: var(--reports-muted);
  background: #f7f9fc;
  font: 850 11px/1 var(--edc-font-display);
}

.location-session-table tr[hidden] {
  display: none !important;
}

.location-session-pagination {
  justify-content: flex-end;
}

.location-session-pagination span {
  color: var(--reports-muted);
  font: 800 12px/1 var(--edc-font-display);
}

.location-review-panel {
  scroll-margin-top: 86px;
}

.location-review-list {
  display: grid;
  gap: 10px;
}

.location-review-row {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.location-review-row p {
  margin: 0;
  color: var(--reports-ink);
  font: 600 13px/1.45 var(--edc-font-body);
}

.location-review-row > span,
.location-review-meta > span {
  color: var(--reports-muted);
  font: 650 11px/1 var(--edc-font-mono);
}

.location-rating-stars {
  color: #c7ced8;
  letter-spacing: 0;
  white-space: nowrap;
  font-size: 13px;
}

.location-rating-stars .is-filled {
  color: var(--reports-amber);
}

.location-review-form {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: end;
}

.location-review-form label:nth-of-type(3),
.location-review-form label:nth-of-type(4) {
  grid-column: 1 / -1;
}

.location-review-form textarea {
  resize: vertical;
}

.location-review-form em {
  color: var(--reports-muted);
  font: 650 11px/1.35 var(--edc-font-body);
  font-style: normal;
}

.location-review-pending {
  display: grid;
  gap: 5px;
  color: var(--reports-green);
  padding: 12px;
  font: 800 13px/1.35 var(--edc-font-display);
}

.location-review-pending strong,
.location-review-pending span {
  display: block;
}

.location-review-pending span {
  color: var(--reports-muted);
  font: 650 12px/1.4 var(--edc-font-body);
}

@media (max-width: 820px) {
  .edc-shell-location-card {
    padding-inline: 14px;
  }

  .location-card-hero,
  .location-card-layout,
  .location-card-metrics,
  .location-connector-grid,
  .location-session-filters,
  .location-review-form {
    grid-template-columns: 1fr;
  }

  .location-card-hero h1 {
    font-size: 30px;
  }

  .location-card-route-map {
    min-height: 230px;
  }

  .location-session-table {
    min-width: 0;
  }

  .location-session-table thead {
    display: none;
  }

  .location-session-table,
  .location-session-table tbody,
  .location-session-table tr,
  .location-session-table td {
    display: block;
    width: 100%;
  }

  .location-session-table tr {
    border: 1px solid var(--reports-border);
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
    padding: 10px 12px;
  }

  .location-session-table td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
    padding: 6px 0;
  }

  .location-session-table td::before {
    content: attr(data-label);
    color: var(--reports-muted);
    font: 800 10px/1.2 var(--edc-font-display);
  }

  .location-session-pagination {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* Public station detail, scoped to avoid collisions with map drawer .station-card. */
.public-location-card.station-page.evmap-page-shell.edc-shell-location-card {
  --station-blue: #0863f7;
  --station-blue-2: #0757ee;
  --station-blue-soft: #eaf2ff;
  --station-green: #24b26b;
  --station-green-soft: #eaf8f0;
  --station-amber: #f2a500;
  --station-amber-soft: #fff6dd;
  --station-red: #ef5a4f;
  --station-red-soft: #fff0ef;
  --station-purple: #7458f6;
  --station-purple-soft: #f0edff;
  --station-text: #101a2d;
  --station-muted: #667085;
  --station-line: #e4eaf2;
  --station-line-2: #d8e0ea;
  --station-bg: #f5f7fb;
  --station-card: #fff;
  width: min(1360px, calc(100% - 48px)) !important;
  max-width: none;
  margin: 0 auto;
  padding: 22px 0 42px;
  display: block;
  color: var(--station-text);
  background: var(--station-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-location-card.station-page.evmap-page-shell.edc-shell-location-card.has-nearby-bar {
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
}

.public-location-card.station-page.evmap-page-shell.edc-shell-location-card.has-nearby-bar.has-nearby-expanded {
  padding-bottom: calc(178px + env(safe-area-inset-bottom));
}

.public-location-card .station-wrap,
.public-location-card.location-card-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.public-location-card .station-card {
  background: var(--station-card);
  border: 1px solid var(--station-line);
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(25, 43, 75, 0.025);
}

.public-location-card .location-card-loading,
.public-location-card .location-card-error {
  display: block;
  width: 100%;
  padding: 18px;
  border-color: var(--station-line);
  border-radius: 18px;
  background: #fff;
  color: var(--station-muted);
  box-shadow: 0 3px 12px rgba(25, 43, 75, 0.025);
}

.public-location-card .location-card-error {
  border-color: #ffd4d0;
  background: #fff5f4;
  color: #a13b34;
}

.public-location-card .station-skeleton {
  display: block;
  min-height: 140px;
  border-radius: 15px;
  background: linear-gradient(90deg, #edf2f7 0%, #f8fafc 48%, #edf2f7 100%);
  background-size: 220% 100%;
  animation: station-skeleton 1.25s ease-in-out infinite;
}

.public-location-card .location-card-loading-text {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 750;
}

.public-location-card .station-hero {
  min-height: 246px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  gap: 18px;
}

.public-location-card .station-main-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.public-location-card .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: var(--station-blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  margin-bottom: 13px;
}

.public-location-card .station-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.public-location-card .station-title-row h1 {
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 8px 0 7px;
  color: var(--station-text);
}

.public-location-card .station-title-row p {
  margin: 0;
  color: #6f7c90;
  font-size: 13px;
  line-height: 1.55;
}

.public-location-card .hero-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.public-location-card .quick-info-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.public-location-card .quick-info-tile {
  min-height: 76px;
  border: 1px solid #e4ebf5;
  border-radius: 15px;
  background: #fbfcfe;
  color: #24314a;
  text-decoration: none;
  padding: 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(25, 43, 75, 0.035);
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.public-location-card .quick-info-tile:hover {
  border-color: #bcd6ff;
  background: #f6faff;
  box-shadow: 0 12px 26px rgba(25, 43, 75, 0.06);
  transform: translateY(-1px);
}

.public-location-card .quick-info-tile.primary {
  border-color: #cfe5d9;
  background: linear-gradient(180deg, #fff, #fbfffd);
}

.public-location-card .quick-info-icon,
.public-location-card .status-icon,
.public-location-card .decision-icon,
.public-location-card .connector-mini-icon,
.public-location-card .connector-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.public-location-card .quick-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--station-blue-soft);
  color: var(--station-blue);
}

.public-location-card .quick-info-icon.purple {
  background: var(--station-purple-soft);
  color: var(--station-purple);
}

.public-location-card .quick-info-copy {
  min-width: 0;
}

.public-location-card .quick-info-copy span {
  display: block;
  color: #7b8798;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-location-card .quick-info-copy strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: #111d33;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-location-card .quick-info-copy small {
  display: block;
  margin-top: 4px;
  color: #66748a;
  font-size: 10px;
  line-height: 1.35;
}

.public-location-card .btn {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 16px;
  border: 1px solid var(--station-line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
  font-size: 13px;
  background: #fff;
  color: #24314a;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.public-location-card .btn:hover {
  background: #f8fbff;
  border-color: #bcd1f8;
}

.public-location-card .btn-primary {
  background: linear-gradient(180deg, #1471ff, #0757ee);
  border-color: #0757ee;
  color: #fff;
  box-shadow: 0 9px 22px rgba(8, 99, 247, 0.22);
}

.public-location-card .btn-soft {
  background: var(--station-blue-soft);
  border-color: #d5e5ff;
  color: var(--station-blue);
}

.public-location-card .btn-danger {
  background: var(--station-red-soft);
  border-color: #ffd4d0;
  color: #c23f37;
}

.public-location-card .btn-sm {
  min-height: 35px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 12px;
}

.public-location-card .badge {
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.public-location-card .badge-green {
  background: var(--station-green-soft);
  color: #16804b;
}

.public-location-card .badge-amber {
  background: var(--station-amber-soft);
  color: #aa7200;
}

.public-location-card .badge-red {
  background: var(--station-red-soft);
  color: #c23f37;
}

.public-location-card .badge-blue {
  background: var(--station-blue-soft);
  color: var(--station-blue);
}

.public-location-card .badge-gray {
  background: #f1f3f6;
  color: #6b7587;
}

.public-location-card .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: currentColor;
}

.public-location-card .asset-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
}

.public-location-card .station-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.public-location-card .meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.public-location-card .status-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--station-blue-soft);
  color: var(--station-blue);
}

.public-location-card .status-icon.green,
.public-location-card .decision-icon.green,
.public-location-card .connector-icon.green,
.public-location-card .connector-mini-icon.green {
  background: var(--station-green-soft);
  color: var(--station-green);
}

.public-location-card .status-icon.amber,
.public-location-card .decision-icon.amber,
.public-location-card .connector-icon.amber,
.public-location-card .connector-mini-icon.amber {
  background: var(--station-amber-soft);
  color: var(--station-amber);
}

.public-location-card .status-icon.red,
.public-location-card .decision-icon.red,
.public-location-card .connector-icon.red,
.public-location-card .connector-mini-icon.red {
  background: var(--station-red-soft);
  color: var(--station-red);
}

.public-location-card .status-icon.purple,
.public-location-card .decision-icon.purple,
.public-location-card .connector-icon.purple,
.public-location-card .connector-mini-icon.purple {
  background: var(--station-purple-soft);
  color: var(--station-purple);
}

.public-location-card .meta-item strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-location-card .meta-item span:not(.status-icon):not(.asset-icon) {
  display: block;
  margin-top: 2px;
  color: #8792a4;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-location-card .station-photo {
  border-radius: 15px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  min-height: 210px;
  overflow: hidden;
}

.public-location-card .station-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(9, 19, 36, 0.62), rgba(9, 19, 36, 0));
}

.public-location-card .photo-count,
.public-location-card .photo-status {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 750;
}

.public-location-card .photo-count {
  right: 12px;
  bottom: 12px;
  background: rgba(10, 20, 38, 0.78);
  color: #fff;
}

.public-location-card .photo-status {
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #20304a;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.public-location-card .station-tabs {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow: auto;
}

.public-location-card .station-tab {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #6f7b8f;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}

.public-location-card .station-tab.active {
  color: var(--station-blue);
  font-weight: 800;
}

.public-location-card .station-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--station-blue);
  border-radius: 2px;
}

.public-location-card .decision-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.public-location-card .decision-head,
.public-location-card .live-head,
.public-location-card .activity-head,
.public-location-card .side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.public-location-card .decision-head h2,
.public-location-card .live-head h2,
.public-location-card .activity-head h2,
.public-location-card .side-head h2 {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  color: var(--station-text);
}

.public-location-card .live-head h2,
.public-location-card .activity-head h2,
.public-location-card .side-head h2 {
  font-size: 15px;
}

.public-location-card .decision-head p,
.public-location-card .live-head p,
.public-location-card .activity-head p,
.public-location-card .side-head p {
  margin: 4px 0 0;
  color: #8590a2;
  font-size: 11px;
  line-height: 1.45;
}

.public-location-card .decision-grid {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 12px;
}

.public-location-card .decision-card {
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: #fbfcfe;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  box-shadow: 0 8px 22px rgba(25, 43, 75, 0.035);
}

.public-location-card .decision-card.primary {
  border-color: #cfe5d9;
  background: linear-gradient(180deg, #fff, #fbfffd);
}

.public-location-card .decision-card-header {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.public-location-card .decision-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: var(--station-blue);
  background: var(--station-blue-soft);
}

.public-location-card .decision-copy {
  min-width: 0;
}

.public-location-card .decision-copy span {
  display: block;
  color: #7b8798;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-location-card .decision-copy h3 {
  margin: 3px 0 0;
  font-size: 15px;
  color: #122039;
  letter-spacing: 0;
}

.public-location-card .decision-copy small {
  display: block;
  margin-top: 5px;
  color: #66748a;
  font-size: 11px;
  line-height: 1.35;
}

.public-location-card .decision-rows {
  display: grid;
  gap: 7px;
}

.public-location-card .decision-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #edf1f6;
  border-radius: 11px;
  background: #fff;
  padding: 8px 10px;
  font-size: 11px;
}

.public-location-card .decision-row span {
  color: #66748a;
}

.public-location-card .decision-row strong {
  font-size: 12px;
  color: #17233a;
  text-align: right;
}

.public-location-card .connector-mini-list,
.public-location-card .comfort-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.public-location-card .connector-mini {
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: #fff;
  padding: 9px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.public-location-card .connector-mini-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--station-blue-soft);
  color: var(--station-blue);
}

.public-location-card .connector-mini .asset-icon {
  width: 18px;
  height: 18px;
}

.public-location-card .connector-mini strong {
  display: block;
  font-size: 11px;
  color: #17233a;
}

.public-location-card .connector-mini span:not(.connector-mini-icon):not(.asset-icon) {
  display: block;
  margin-top: 2px;
  color: #7d8899;
  font-size: 9px;
}

.public-location-card .comfort-mini {
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: #fff;
  padding: 9px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #4b5870;
  font-size: 10px;
  font-weight: 750;
}

.public-location-card .decision-link {
  margin-top: auto;
  min-height: 34px;
  border: 1px solid #d7e5ff;
  border-radius: 10px;
  background: #f4f8ff;
  color: var(--station-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.public-location-card .station-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 16px;
  align-items: start;
}

.public-location-card .station-left {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.public-location-card .live-card,
.public-location-card .activity-card,
.public-location-card .station-right .station-card {
  padding: 18px;
}

.public-location-card .live-ring {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: conic-gradient(var(--station-green) 0 var(--live-available, 0%), var(--station-amber) var(--live-available, 0%) 84%, #e8edf3 84%);
  display: grid;
  place-items: center;
  margin: 10px auto 17px;
  position: relative;
}

.public-location-card .live-ring::before {
  content: "";
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
}

.public-location-card .live-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.public-location-card .live-ring-inner strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.public-location-card .live-ring-inner span {
  display: block;
  margin-top: 5px;
  color: #7a8699;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-location-card .signal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.public-location-card .signal-row {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #4e5b72;
}

.public-location-card .signal-row strong {
  margin-left: auto;
  color: #17233a;
}

.public-location-card .signal-note,
.public-location-card .station-card-muted {
  border-radius: 12px;
  padding: 12px;
  background: #f5f8fc;
  font-size: 11px;
  color: #657289;
  line-height: 1.5;
  margin: 14px 0 0;
}

.public-location-card .live-actions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.public-location-card .activity-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.public-location-card .activity-tabs button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.public-location-card .activity-tabs button.is-active {
  box-shadow: 0 0 0 2px rgba(39, 102, 214, 0.14);
}

.public-location-card .community-pending-badge {
  color: #725600;
  background: #fff5cf;
}

.public-location-card .community-load-more {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
  border-top: 1px solid var(--station-line);
}

.public-location-card .compose-card {
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #fbfcfe;
  padding: 12px;
  margin-bottom: 2px;
}

.public-location-card .compose-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.public-location-card .compose-placeholder {
  min-height: 40px;
  border: 1px solid var(--station-line);
  border-radius: 12px;
  flex: 1;
  background: #fff;
  color: #8b96a8;
  display: flex;
  align-items: center;
  padding: 0 13px;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.public-location-card .compose-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.public-location-card .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d8e7ff, #edf3fd);
  border: 1px solid #dce6f4;
  display: grid;
  place-items: center;
  color: #6283b7;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 auto;
}

.public-location-card .station-feed-item {
  padding: 15px 0;
  border-top: 1px solid var(--station-line);
}

.public-location-card .station-feed-item:first-of-type {
  border-top: 0;
}

.public-location-card .feed-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.public-location-card .author-copy {
  flex: 1;
  min-width: 0;
}

.public-location-card .author-copy strong {
  font-size: 12px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-location-card .author-copy .meta {
  font-size: 10px;
  color: #8b96a8;
  margin-top: 3px;
}

.public-location-card .verified {
  font-size: 9px;
  color: #12814c;
  background: var(--station-green-soft);
  border-radius: 999px;
  padding: 3px 6px;
  margin-left: 5px;
}

.public-location-card .rating,
.public-location-card .location-rating-stars {
  color: #f0a600;
  letter-spacing: 0;
  font-size: 13px;
  white-space: nowrap;
}

.public-location-card .location-rating-stars i {
  color: #c9d1df;
  font-style: normal;
}

.public-location-card .location-rating-stars i.is-filled {
  color: #f0a600;
}

.public-location-card .station-feed-item p {
  font-size: 12px;
  line-height: 1.55;
  color: #445168;
  margin: 0 0 9px;
}

.public-location-card .station-feed-item h3 {
  margin: 0 0 7px;
  color: #17233a;
  font-size: 13px;
  line-height: 1.25;
}

.public-location-card .community-loading {
  color: #667085;
  font-weight: 750;
}

.public-location-card .community-loading.is-error {
  color: #8a3b2f;
}

.public-location-card .compact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #718096;
}

.public-location-card .community-react-form {
  margin: 0;
}

.public-location-card .community-discussion {
  margin-top: 12px;
  border-top: 1px solid var(--station-line);
  padding-top: 14px;
}

.public-location-card .community-discussion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.public-location-card .community-discussion-head h3 {
  margin: 0;
  color: #17233a;
  font-size: 14px;
}

.public-location-card .community-discussion-head span,
.public-location-card .community-empty {
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.public-location-card .community-thread-form,
.public-location-card .community-reply-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 12px;
}

.public-location-card .community-thread-form textarea,
.public-location-card .community-reply-form textarea {
  width: 100%;
  min-height: 72px;
  border: 1px solid var(--station-line-2);
  border-radius: 8px;
  background: #fff;
  color: #19253b;
  padding: 10px 11px;
  resize: vertical;
  font: 700 12px/1.45 var(--edc-font-display);
}

.public-location-card .community-reply-form textarea {
  min-height: 52px;
}

.public-location-card .community-thread {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  margin-top: 10px;
}

.public-location-card .community-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.public-location-card .community-thread-head strong {
  display: block;
  color: #17233a;
  font-size: 13px;
}

.public-location-card .community-thread-head span {
  display: block;
  margin-top: 3px;
  color: #8b96a8;
  font-size: 10px;
  font-weight: 750;
}

.public-location-card .community-replies {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.public-location-card .community-reply {
  border-left: 3px solid #d8e7ff;
  padding-left: 9px;
}

.public-location-card .community-reply strong {
  color: #17233a;
  font-size: 11px;
}

.public-location-card .community-reply span {
  margin-left: 6px;
  color: #8b96a8;
  font-size: 10px;
}

.public-location-card .community-reply p {
  margin: 3px 0 0;
  color: #445168;
  font-size: 11px;
  line-height: 1.45;
}

.public-location-card .location-review-helpful,
.public-location-card .review-helpful-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.public-location-card .review-helpful-button {
  border: 0;
  background: transparent;
  color: var(--station-blue);
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.public-location-card .station-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.public-location-card .port-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.public-location-card .port-summary div {
  border: 1px solid #edf1f6;
  border-radius: 13px;
  background: #fbfcfe;
  padding: 11px;
}

.public-location-card .port-summary span {
  display: block;
  color: #7f8aa0;
  font-size: 10px;
}

.public-location-card .port-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.public-location-card .port-list {
  display: grid;
  gap: 10px;
}

.public-location-card .port-card {
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: #fff;
  padding: 13px;
  display: grid;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(25, 43, 75, 0.035);
}

.public-location-card .port-card.priority {
  border-color: #cfe5d9;
  background: linear-gradient(180deg, #fff, #fbfffd);
}

.public-location-card .port-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.public-location-card .connector-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--station-blue);
  background: var(--station-blue-soft);
}

.public-location-card .port-top h3 {
  margin: 0;
  font-size: 13px;
}

.public-location-card .port-top div > span {
  display: block;
  margin-top: 3px;
  color: #7c8799;
  font-size: 10px;
}

.public-location-card .port-status {
  min-width: 58px;
  text-align: right;
}

.public-location-card .port-status strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  color: #17233a;
}

.public-location-card .port-status small {
  display: block;
  color: #7c8799;
  font-size: 9px;
  font-weight: 800;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-location-card .port-slots {
  display: grid;
  grid-template-columns: repeat(var(--slots, 6), 1fr);
  gap: 5px;
}

.public-location-card .port-slot {
  height: 9px;
  border-radius: 999px;
  background: #e8edf3;
}

.public-location-card .port-slot.free {
  background: linear-gradient(90deg, #24b26b, #35c97d);
}

.public-location-card .port-slot.busy {
  background: #cfd7e3;
}

.public-location-card .port-slot.warn {
  background: linear-gradient(90deg, #f2a500, #ffc34d);
}

.public-location-card .port-slot.off {
  background: linear-gradient(90deg, #ef5a4f, #ff897f);
}

.public-location-card .port-meta,
.public-location-card .port-details {
  display: grid;
  gap: 7px;
}

.public-location-card .port-meta {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: #69768b;
  font-size: 10px;
}

.public-location-card .port-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-location-card .port-details div {
  border: 1px solid #edf1f6;
  border-radius: 11px;
  background: #fbfcfe;
  padding: 8px;
}

.public-location-card .port-details span {
  display: block;
  color: #8994a6;
  font-size: 9px;
}

.public-location-card .port-details strong {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #24314a;
}

.public-location-card .occupancy-chart {
  height: 128px;
  margin-top: 13px;
  position: relative;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 41px, #edf1f5 42px);
}

.public-location-card .occupancy-chart svg {
  width: 100%;
  height: 100%;
}

.public-location-card .chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #99a3b3;
  margin-top: 4px;
}

.public-location-card .occupancy-forecast {
  margin-top: 13px;
  border: 1px solid #edf1f6;
  border-radius: 15px;
  background: #fbfcfe;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.public-location-card .occupancy-forecast div {
  min-width: 0;
}

.public-location-card .occupancy-forecast span,
.public-location-card .occupancy-forecast small {
  display: block;
  color: #748096;
  font-size: 10px;
  font-weight: 750;
}

.public-location-card .occupancy-forecast strong {
  display: block;
  margin: 3px 0;
  font-size: 26px;
  line-height: 1;
  color: #142238;
}

.public-location-card .occupancy-forecast em {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--station-blue-soft);
  color: var(--station-blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.public-location-card .occupancy-forecast.level-high em {
  background: var(--station-red-soft);
  color: #c23f37;
}

.public-location-card .occupancy-forecast.level-medium em {
  background: var(--station-amber-soft);
  color: #9a6900;
}

.public-location-card .occupancy-forecast.level-low em {
  background: var(--station-green-soft);
  color: #16804b;
}

.public-location-card .occupancy-slots {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.public-location-card .occupancy-slot {
  display: grid;
  grid-template-columns: minmax(0, 92px) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.public-location-card .occupancy-slot div {
  min-width: 0;
}

.public-location-card .occupancy-slot strong,
.public-location-card .occupancy-slot span {
  display: block;
  font-size: 10px;
}

.public-location-card .occupancy-slot strong {
  color: #24314a;
}

.public-location-card .occupancy-slot span {
  margin-top: 2px;
  color: #7f8ba0;
}

.public-location-card .occupancy-slot i {
  height: 9px;
  border-radius: 999px;
  background: #e8edf3;
  overflow: hidden;
}

.public-location-card .occupancy-slot b {
  display: block;
  width: var(--busy, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--station-blue);
}

.public-location-card .occupancy-slot.level-high b {
  background: linear-gradient(90deg, #ef5a4f, #ff897f);
}

.public-location-card .occupancy-slot.level-medium b {
  background: linear-gradient(90deg, #f2a500, #ffc34d);
}

.public-location-card .occupancy-slot.level-low b {
  background: linear-gradient(90deg, #24b26b, #35c97d);
}

.public-location-card .watch-card p {
  font-size: 11px;
  color: #778397;
  line-height: 1.5;
  margin: 7px 0 13px;
}

.public-location-card .watch-buttons {
  display: flex;
  gap: 8px;
}

.public-location-card .station-action-form {
  margin: 0;
  flex: 1;
}

.public-location-card .station-action-form .btn {
  width: 100%;
}

.public-location-card .nearby-card {
  padding: 18px;
}

.public-location-card .nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.public-location-card .nearby-item {
  border: 1px solid #edf1f6;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.public-location-card .nearby-item .decision-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.public-location-card .nearby-item strong {
  display: block;
  font-size: 12px;
}

.public-location-card .nearby-item span:not(.decision-icon):not(.asset-icon) {
  display: block;
  margin-top: 3px;
  color: #6f7c90;
  font-size: 10px;
  line-height: 1.35;
}

.public-location-card .station-report-open {
  margin-top: 14px;
  width: 100%;
}

.public-location-card .location-nearby-bar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 90;
  width: min(1180px, calc(100vw - 28px));
  padding: 12px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 138px;
  gap: 12px;
  align-items: stretch;
  box-shadow: 0 18px 48px rgba(13, 28, 54, 0.18);
}

.public-location-card .location-nearby-bar.is-collapsed {
  width: min(720px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr);
  padding: 8px 10px;
}

.public-location-card .location-nearby-panel {
  display: contents;
}

.public-location-card .location-nearby-panel[hidden] {
  display: none;
}

.public-location-card .location-nearby-summary {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.public-location-card .location-nearby-summary span {
  color: var(--station-blue);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.public-location-card .location-nearby-summary strong {
  margin-top: 4px;
  color: #132037;
  font-size: 14px;
  line-height: 1.2;
}

.public-location-card .location-nearby-summary small {
  margin-top: 5px;
  color: #6c788d;
  font-size: 10px;
  line-height: 1.35;
}

.public-location-card .location-nearby-summary em {
  margin-top: 6px;
  color: var(--station-blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: center;
  min-height: 42px;
}

.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary span,
.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary strong,
.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary small {
  margin-top: 0;
}

.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary span,
.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary strong,
.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary small {
  grid-column: 1;
}

.public-location-card .location-nearby-bar.is-collapsed .location-nearby-summary em {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin-top: 0;
}

.public-location-card .location-nearby-track {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.public-location-card .location-nearby-card {
  min-width: 0;
  border: 1px solid #e5ebf4;
  border-radius: 14px;
  background: #fbfcfe;
  padding: 11px;
  display: grid;
  gap: 8px;
}

.public-location-card .location-nearby-top,
.public-location-card .location-nearby-meta,
.public-location-card .location-nearby-signal,
.public-location-card .location-nearby-links {
  min-width: 0;
}

.public-location-card .location-nearby-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.public-location-card .location-nearby-top a {
  min-width: 0;
  color: #132037;
  text-decoration: none;
}

.public-location-card .location-nearby-top strong {
  display: block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.public-location-card .location-nearby-top span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--station-blue-soft);
  color: var(--station-blue);
  font-size: 10px;
  font-weight: 800;
}

.public-location-card .location-nearby-meta,
.public-location-card .location-nearby-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.public-location-card .location-nearby-meta span,
.public-location-card .location-nearby-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b778c;
  font-size: 10px;
  text-decoration: none;
}

.public-location-card .location-nearby-meta .asset-icon,
.public-location-card .location-nearby-links .asset-icon,
.public-location-card .nearby-connector-icon .asset-icon {
  width: 13px;
  height: 13px;
}

.public-location-card .location-nearby-signal {
  display: grid;
  grid-template-columns: minmax(0, 82px) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.public-location-card .location-nearby-signal strong {
  color: #142238;
  font-size: 12px;
  white-space: nowrap;
}

.public-location-card .location-nearby-signal > span {
  min-width: 0;
  color: #526076;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-location-card .nearby-connectors {
  display: inline-flex;
  gap: 4px;
}

.public-location-card .nearby-connector-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--station-blue-soft);
  color: var(--station-blue);
  display: grid;
  place-items: center;
}

.public-location-card .nearby-connector-icon.muted {
  background: #eef2f7;
  color: #7b8798;
}

.public-location-card .location-nearby-links a {
  color: var(--station-blue);
  font-weight: 800;
}

.public-location-card .location-nearby-actions {
  display: grid;
  gap: 8px;
  align-content: center;
}

.public-location-card .evmap-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(12, 24, 48, 0.42);
}

.public-location-card .evmap-modal-backdrop.open {
  display: flex;
}

.public-location-card .evmap-modal-panel {
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid var(--station-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(20, 35, 64, 0.24);
}

.public-location-card .modal-pad {
  padding: 22px;
}

.public-location-card .modal-pad h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.public-location-card .modal-pad p {
  margin: 0 0 18px;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.public-location-card .modal-form,
.public-location-card .location-review-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.public-location-card .field,
.public-location-card .modal-form label.field {
  display: grid;
  gap: 7px;
}

.public-location-card .field label,
.public-location-card .field > label {
  font-size: 12px;
  font-weight: 750;
  color: #37445c;
}

.public-location-card .modal-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--station-line-2, #d7dee8);
  border-radius: 8px;
  background: #f9fbff;
  padding: 10px 12px;
  color: #37445c;
  font: 750 12px/1.35 var(--edc-font-display);
}

.public-location-card .modal-check input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--station-primary, #2457c5);
}

.public-location-card .modal-photo-field {
  display: grid;
  gap: 7px;
  color: #37445c;
  font-size: 12px;
  font-weight: 750;
}

.public-location-card .modal-photo-field input[type="file"],
.station-fault-photo-field input[type="file"] {
  width: 100%;
  min-width: 0;
  border: 1px dashed var(--station-line-2, #d7dee8);
  border-radius: 12px;
  background: #f9fbff;
  padding: 10px;
  font: 700 12px/1.25 var(--edc-font-display);
}

.public-location-card .modal-photo-field em,
.station-fault-photo-field em {
  color: #667085;
  font: 700 11px/1.35 var(--edc-font-display);
}

.public-location-card .modal-photo-field em[data-state="uploading"],
.station-fault-photo-field em[data-state="uploading"] {
  color: #2457c5;
}

.public-location-card .modal-photo-field em[data-state="pending"],
.station-fault-photo-field em[data-state="pending"] {
  color: #8a5a00;
}

.public-location-card .modal-photo-field em[data-state="error"],
.station-fault-photo-field em[data-state="error"] {
  color: var(--edc-danger);
}

.public-location-card .input,
.public-location-card select,
.public-location-card textarea {
  width: 100%;
  border: 1px solid var(--station-line-2);
  border-radius: 12px;
  background: #fff;
  color: #19253b;
  outline: 0;
}

.public-location-card .input,
.public-location-card select {
  min-height: 44px;
  padding: 0 12px;
}

.public-location-card textarea {
  min-height: 94px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.public-location-card .input:focus,
.public-location-card select:focus,
.public-location-card textarea:focus {
  border-color: #a9c7fb;
  box-shadow: 0 0 0 4px rgba(8, 99, 247, 0.11);
}

.public-location-card .choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.public-location-card .choice {
  border: 1px solid var(--station-line);
  border-radius: 13px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 6px;
  text-align: left;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.public-location-card .choice strong {
  font-size: 12px;
}

.public-location-card .choice span {
  font-size: 10px;
  color: #7b8798;
  font-weight: 600;
}

.public-location-card .choice.active {
  border-color: #b9d2ff;
  background: #f2f7ff;
  color: var(--station-blue);
}

.public-location-card .rating-pick {
  display: flex;
  gap: 7px;
  align-items: center;
}

.public-location-card .star-button {
  width: 38px;
  height: 38px;
  border: 1px solid #d9e0ea;
  border-radius: 11px;
  background: #fff;
  color: #c9d1df;
  display: grid;
  place-items: center;
  font-size: 17px;
  cursor: pointer;
}

.public-location-card .star-button.active {
  border-color: #f6d68f;
  background: #fff9eb;
  color: #f0a600;
}

.public-location-card .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #536078;
  font-size: 12px;
  line-height: 1.45;
}

.public-location-card .checkbox-dot {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--station-blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.public-location-card .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.public-location-card .location-review-form label:nth-of-type(3),
.public-location-card .location-review-form label:nth-of-type(4) {
  grid-column: auto;
}

@media (max-width: 1180px) {
  .public-location-card .station-content,
  .public-location-card .station-hero,
  .public-location-card .decision-grid {
    grid-template-columns: 1fr;
  }

  .public-location-card .station-left {
    grid-template-columns: 1fr;
  }

  .public-location-card .station-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-location-card .station-photo {
    min-height: 260px;
  }

  .public-location-card .location-nearby-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-location-card .location-nearby-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .public-location-card.station-page.evmap-page-shell.edc-shell-location-card {
    width: min(720px, calc(100% - 28px)) !important;
    padding-top: 16px;
  }

  .public-location-card.station-page.evmap-page-shell.edc-shell-location-card.has-nearby-bar {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .public-location-card.station-page.evmap-page-shell.edc-shell-location-card.has-nearby-bar.has-nearby-expanded {
    padding-bottom: calc(292px + env(safe-area-inset-bottom));
  }

  .public-location-card .station-hero {
    padding: 14px;
  }

  .public-location-card .station-title-row {
    display: grid;
  }

  .public-location-card .hero-actions {
    justify-content: flex-start;
  }

  .public-location-card .quick-info-strip,
  .public-location-card .station-meta,
  .public-location-card .port-summary,
  .public-location-card .choice-grid,
  .public-location-card .nearby-grid,
  .public-location-card .port-details,
  .public-location-card .connector-mini-list,
  .public-location-card .comfort-mini-grid {
    grid-template-columns: 1fr;
  }

  .public-location-card .station-tabs {
    gap: 18px;
    -webkit-overflow-scrolling: touch;
  }

  .public-location-card .watch-buttons,
  .public-location-card .compose-actions,
  .public-location-card .modal-actions {
    display: grid;
  }

  .public-location-card .btn {
    width: 100%;
  }

  .public-location-card .port-top {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .public-location-card .port-status {
    grid-column: 1 / -1;
    text-align: left;
  }

  .public-location-card .location-nearby-bar {
    width: calc(100vw - 20px);
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 10px;
    max-height: 46vh;
    overflow: auto;
  }

  .public-location-card .location-nearby-bar.is-collapsed {
    width: calc(100vw - 20px);
    max-height: none;
    overflow: visible;
  }

  .public-location-card .location-nearby-track {
    grid-auto-columns: minmax(240px, 84vw);
  }

  .public-location-card .location-nearby-actions {
    grid-template-columns: 1fr;
  }

  .public-location-card .location-nearby-signal {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .public-location-card .location-nearby-signal > span {
    grid-column: 1 / -1;
  }
}

@keyframes station-skeleton {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

.edc-frontend-body > .edc-shell.edc-shell-location-card {
  width: 100%;
  max-width: none;
  padding: 0;
}

.public-map-error {
  border: 1px solid rgba(186, 45, 45, 0.35);
  color: #7a1f1f;
  background: #fff5f5;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
}

.public-map-loading-inline {
  border-color: rgba(185, 194, 208, 0.72);
  color: var(--map-muted);
  background: #f6f7f9;
}

@keyframes map-marker-pulse {
  from {
    opacity: 0.72;
    transform: scale(0.76);
  }
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes evmap-marker-float {
  0%,
  100% {
    transform: translateY(0) scale(1.06);
  }

  50% {
    transform: translateY(-8px) scale(1.1);
  }
}

.edc-shell-reports {
  max-width: none;
  padding: 0;
  background: #f6f7f9;
}

.edc-shell-home {
  max-width: none;
  padding: 0;
  background: #f6f7f9;
}

.public-reports-app {
  --reports-bg: #f6f7f9;
  --reports-ink: #172033;
  --reports-muted: #667085;
  --reports-panel: #ffffff;
  --reports-border: #d9dee7;
  --reports-cyan: #2457c5;
  --reports-cyan-dark: #1d45a0;
  --reports-green: #18845b;
  --reports-amber: #b7791f;
  --reports-red: #be3b32;
  --reports-soft: #eef3ff;
  min-height: calc(100vh - 62px);
  width: 100%;
  overflow-x: hidden;
  color: var(--reports-ink);
  background: var(--reports-bg);
  font-variant-numeric: tabular-nums;
}

.reports-topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(24, 32, 39, 0.08);
  background: rgba(255, 255, 255, 0.94);
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.reports-brand,
.reports-nav {
  display: inline-flex;
  align-items: center;
}

.reports-brand {
  flex: 0 0 auto;
  gap: 10px;
  color: var(--reports-ink);
  text-decoration: none;
  white-space: nowrap;
  font: 700 15px/1 var(--edc-font-body);
}

.reports-brand-mark {
  width: 29px;
  height: 29px;
  border: 1px solid var(--reports-cyan);
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 11px, var(--reports-cyan) 11px, var(--reports-cyan) 14px, transparent 14px),
    linear-gradient(180deg, transparent 11px, var(--reports-cyan) 11px, var(--reports-cyan) 14px, transparent 14px),
    #fff;
  box-shadow: none;
}

.reports-nav {
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.reports-nav::-webkit-scrollbar {
  display: none;
}

.reports-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  color: var(--reports-muted);
  padding: 0 11px;
  text-decoration: none;
  white-space: nowrap;
  font: 650 12px/1 var(--edc-font-body);
}

.reports-nav a:hover,
.reports-nav a[aria-current="page"] {
  background: var(--reports-soft);
  color: var(--reports-cyan-dark);
}

.reports-nav a.reports-nav-primary {
  background: var(--reports-cyan);
  color: #fff;
}

.reports-nav a.reports-nav-primary:hover {
  background: var(--reports-cyan-dark);
  color: #fff;
}

.frontend-home-command {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 28px 18px;
}

.frontend-home-command h1 {
  max-width: 760px;
  margin: 0;
  color: var(--reports-ink);
  font: 700 32px/1.08 var(--edc-font-body);
}

.frontend-home-command p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--reports-muted);
  font-size: 14px;
}

.frontend-home-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.frontend-home-actions .edc-button {
  min-height: 38px;
  border-radius: 5px;
  box-shadow: none;
  font-family: var(--edc-font-body);
}

.frontend-home-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0 28px 16px;
}

.frontend-home-kpi {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  border: 1px solid var(--reports-border);
  border-radius: 0;
  background: #fff;
  padding: 15px 16px;
  color: var(--reports-ink);
  text-decoration: none;
}

.frontend-home-kpi::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--reports-cyan);
}

.frontend-home-kpi:nth-child(2)::before {
  background: var(--reports-amber);
}

.frontend-home-kpi:nth-child(3)::before {
  background: var(--reports-green);
}

.frontend-home-kpi:nth-child(4)::before {
  background: var(--reports-red);
}

.frontend-home-kpi:hover {
  background: var(--reports-soft);
}

.frontend-home-kpi span {
  display: block;
  color: var(--reports-muted);
  font: 650 10px/1.2 var(--edc-font-body);
  text-transform: uppercase;
}

.frontend-home-kpi strong {
  display: block;
  margin-top: 9px;
  color: var(--reports-ink);
  font: 700 25px/1 var(--edc-font-body);
}

.frontend-home-kpi em {
  display: block;
  margin-top: 10px;
  color: var(--reports-muted);
  font-style: normal;
  font-size: 12px;
}

.frontend-home-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  padding: 0 28px 16px;
}

.frontend-home-map-panel,
.frontend-home-panel {
  min-width: 0;
  border: 1px solid var(--reports-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 2px rgba(24, 32, 39, 0.04);
}

.frontend-home-map-panel {
  overflow: hidden;
}

.frontend-home-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.frontend-home-panel h2 {
  margin: 0;
  color: var(--reports-ink);
  font: 700 20px/1.12 var(--edc-font-body);
}

.frontend-home-panel p {
  margin: 0;
  color: var(--reports-muted);
  font-size: 12px;
}

.frontend-home-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-cyan-dark);
  padding: 0 10px;
  text-decoration: none;
  font: 650 11px/1 var(--edc-font-body);
}

.frontend-home-panel-link:hover {
  border-color: rgba(36, 87, 197, 0.34);
  background: var(--reports-soft);
}

.frontend-home-map-preview {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(112, 125, 150, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(112, 125, 150, 0.1) 1px, transparent 1px),
    #eef2f7;
  background-size: 58px 58px;
}

.home-map-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(24, 132, 91, 0.2), transparent 15%),
    radial-gradient(circle at 66% 42%, rgba(183, 121, 31, 0.18), transparent 16%),
    radial-gradient(circle at 45% 72%, rgba(36, 87, 197, 0.18), transparent 15%);
}

.home-map-route {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.18);
  transform-origin: left center;
}

.home-map-route-a {
  left: 9%;
  top: 56%;
  width: 82%;
  transform: rotate(-11deg);
}

.home-map-route-b {
  left: 28%;
  top: 22%;
  width: 46%;
  transform: rotate(48deg);
}

.home-map-dot {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: var(--reports-green);
  box-shadow: 0 0 0 5px rgba(36, 87, 197, 0.12), 0 10px 24px rgba(24, 32, 39, 0.16);
}

.home-map-dot-a {
  left: 18%;
  top: 30%;
}

.home-map-dot-b {
  left: 60%;
  top: 38%;
  width: 56px;
  height: 56px;
  background: var(--reports-amber);
}

.home-map-dot-c {
  left: 72%;
  top: 66%;
  background: var(--reports-cyan);
}

.home-map-dot-d {
  left: 36%;
  top: 72%;
  background: var(--reports-red);
}

.home-map-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  gap: 5px;
  max-width: min(420px, calc(100% - 56px));
  border: 1px solid rgba(24, 32, 39, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  padding: 13px 14px;
  color: var(--reports-ink);
  box-shadow: 0 12px 26px rgba(24, 32, 39, 0.1);
}

.home-map-card strong {
  font: 700 16px/1.14 var(--edc-font-body);
}

.home-map-card em {
  color: var(--reports-muted);
  font-style: normal;
  font-size: 12px;
}

.frontend-home-rail {
  display: grid;
  align-content: start;
  gap: 12px;
}

.frontend-home-link-list {
  display: grid;
  gap: 7px;
}

.frontend-home-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-ink);
  padding: 0 10px;
  text-decoration: none;
  font: 650 12px/1 var(--edc-font-body);
}

.frontend-home-link-list a::after {
  content: ">";
  color: var(--reports-cyan-dark);
  font: 700 13px/1 var(--edc-font-mono);
}

.frontend-home-link-list a:hover {
  background: var(--reports-soft);
  border-color: rgba(36, 87, 197, 0.34);
}

.frontend-home-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 28px 28px;
}

.reports-command {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 18px;
}

.reports-command h1 {
  margin: 0;
  color: var(--reports-ink);
  font: 700 30px/1.08 var(--edc-font-body);
}

.reports-command p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--reports-muted);
  font-size: 14px;
}

.reports-range {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  box-shadow: none;
}

.reports-range button {
  min-width: 62px;
  min-height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--reports-muted);
  cursor: pointer;
  font: 650 12px/1 var(--edc-font-body);
}

.reports-control-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  border-top: 1px solid var(--reports-border);
  border-bottom: 1px solid var(--reports-border);
  background: #fff;
  padding: 14px 28px;
}

.reports-field {
  display: grid;
  flex: 1 1 116px;
  gap: 5px;
  min-width: 92px;
}

.reports-field-search {
  flex: 1.8 1 220px;
  min-width: 180px;
}

.reports-field-number {
  flex: 0.8 1 88px;
  min-width: 78px;
}

.reports-field span {
  color: var(--reports-muted);
  font: 650 10px/1.2 var(--edc-font-body);
  text-transform: uppercase;
}

.reports-field input,
.reports-field select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-ink);
  padding: 0 10px;
  font: 500 13px/1.2 var(--edc-font-body);
}

.reports-field input:focus,
.reports-field select:focus {
  border-color: rgba(36, 87, 197, 0.58);
  outline: 3px solid rgba(36, 87, 197, 0.14);
}

.reports-reset {
  flex: 0 0 auto;
  min-height: 36px;
  min-width: 64px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-cyan-dark);
  padding: 0 12px;
  cursor: pointer;
  font: 650 12px/1 var(--edc-font-body);
}

.reports-context-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px 0;
  color: var(--reports-muted);
  font: 500 12px/1.4 var(--edc-font-body);
}

.reports-range button:hover,
.reports-range button.is-active {
  background: var(--reports-cyan);
  color: #fff;
}

.reports-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 28px 16px;
}

.reports-kpi {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid var(--reports-border);
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  box-shadow: none;
}

.reports-kpi::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--reports-cyan);
}

.reports-kpi[data-report-kpi="occupancy"]::before {
  background: var(--reports-amber);
}

.reports-kpi[data-report-kpi="energy"]::before {
  background: var(--reports-green);
}

.reports-kpi[data-report-kpi="cities"]::before {
  background: var(--reports-red);
}

.reports-kpi[data-report-kpi="inferredStatusEvents"]::before {
  background: #64748b;
}

.reports-kpi span {
  display: block;
  color: var(--reports-muted);
  font: 650 10px/1.2 var(--edc-font-body);
  text-transform: uppercase;
}

.reports-kpi strong {
  display: block;
  margin-top: 8px;
  color: var(--reports-ink);
  font: 700 28px/1 var(--edc-font-body);
}

.reports-kpi em {
  display: block;
  margin-top: 9px;
  color: var(--reports-muted);
  font-style: normal;
  font-size: 12px;
}

.reports-kpi-detail {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 26px;
  border: 1px solid rgba(36, 87, 197, 0.22);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-cyan-dark);
  padding: 0 8px;
  cursor: pointer;
  font: 650 10px/1 var(--edc-font-body);
}

.reports-kpi-detail:hover,
.reports-kpi-detail:focus-visible {
  background: var(--reports-soft);
  border-color: rgba(36, 87, 197, 0.44);
}

.reports-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  padding: 0 28px 16px;
}

.reports-map-panel,
.reports-insight-rail,
.reports-panel,
.reports-detail,
.reports-ranking {
  min-width: 0;
  border: 1px solid var(--reports-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 2px rgba(24, 32, 39, 0.04);
}

.reports-map-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reports-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 12px;
}

.reports-section-heading-tight {
  align-items: center;
  padding: 0;
  margin-bottom: 12px;
}

.reports-section-heading h2 {
  margin: 0;
  color: var(--reports-ink);
  font: 700 17px/1.1 var(--edc-font-body);
}

.reports-section-heading p,
.reports-section-heading span {
  margin: 5px 0 0;
  color: var(--reports-muted);
  font-size: 12px;
}

.reports-map-legend {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.reports-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 5px;
  background: #fff;
  padding: 5px 8px;
  color: var(--reports-muted);
  font: 650 10px/1 var(--edc-font-body);
}

.reports-map-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.heat-low {
  background: var(--reports-green);
}

.heat-mid {
  background: var(--reports-amber);
}

.heat-high {
  background: var(--reports-red);
}

.reports-map {
  position: relative;
  flex: 1 1 auto;
  height: auto;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(112, 125, 150, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(112, 125, 150, 0.1) 1px, transparent 1px),
    #eef2f7;
  background-size: 58px 58px;
}

.reports-map.leaflet-container {
  font: inherit;
}

.reports-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--reports-muted);
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.reports-map-fallback[hidden] {
  display: none;
}

.reports-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(84, 105, 99, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 105, 99, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
}

.reports-map-outline {
  width: 36%;
  height: 72%;
  border: 1px solid rgba(15, 145, 168, 0.24);
  border-radius: 48% 42% 52% 36%;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 18px rgba(15, 145, 168, 0.04), 0 18px 46px rgba(24, 32, 39, 0.08);
}

.reports-map-fallback span {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(24, 32, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  font: 800 12px/1.3 var(--edc-font-display);
}

.reports-heat-point {
  border: 2px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 999px !important;
  color: transparent;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(36, 87, 197, 0.12), 0 10px 24px rgba(24, 32, 39, 0.18);
  filter: saturate(1.1);
  transition: filter 140ms ease, stroke-width 140ms ease, transform 140ms ease;
}

.reports-map:not(.leaflet-container) > button.reports-heat-point {
  transform: translate(-50%, -50%);
  opacity: 0.82;
}

.reports-map.leaflet-container .reports-heat-point,
.reports-map path.reports-heat-point,
.reports-map .leaflet-interactive.reports-heat-point {
  transform: none !important;
  transform-origin: center;
  transform-box: fill-box;
}

.reports-map.leaflet-container .reports-heat-point:hover,
.reports-map.leaflet-container .reports-heat-point:focus-visible,
.reports-map path.reports-heat-point:hover,
.reports-map path.reports-heat-point:focus-visible {
  filter: saturate(1.25) brightness(1.04);
  stroke-width: 3px;
}

.reports-map:not(.leaflet-container) > button.reports-heat-point:hover,
.reports-map:not(.leaflet-container) > button.reports-heat-point:focus-visible {
  filter: saturate(1.25) brightness(1.04);
  transform: translate(-50%, -50%) scale(1.06);
}

.reports-insight-rail {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.reports-detail,
.reports-ranking,
.reports-panel {
  padding: 16px;
}

.reports-panel-label {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--reports-cyan-dark);
  font: 650 10px/1 var(--edc-font-body);
  text-transform: uppercase;
}

.reports-detail h2 {
  margin: 0;
  color: var(--reports-ink);
  font: 700 21px/1.12 var(--edc-font-body);
}

.reports-detail p {
  margin: 7px 0 0;
  color: var(--reports-muted);
  font-size: 12px;
}

.reports-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.reports-detail-grid span,
.reports-availability-strip {
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 5px;
  background: #f7faf7;
  padding: 9px;
}

.reports-detail-grid em,
.reports-availability-strip em {
  display: block;
  color: var(--reports-muted);
  font-style: normal;
  font: 650 10px/1.2 var(--edc-font-body);
}

.reports-detail-grid strong,
.reports-availability-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--reports-ink);
  font: 650 14px/1.1 var(--edc-font-body);
}

.reports-availability-strip {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.reports-availability-strip span {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(100%, calc(var(--value, 0) * 12%));
  background: rgba(27, 155, 98, 0.13);
  pointer-events: none;
}

.reports-ranking-list,
.reports-bars,
.reports-status-mix,
.reports-freshness-list {
  display: grid;
  gap: 6px;
}

.reports-rank-row {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-ink);
  padding: 7px;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.reports-rank-row:hover,
.reports-rank-row.is-active {
  border-color: rgba(15, 145, 168, 0.38);
  background: var(--reports-soft);
}

.reports-rank-row-static {
  cursor: default;
}

.reports-rank-row-static:hover {
  border-color: rgba(24, 32, 39, 0.1);
  background: #fff;
}

.reports-rank-number {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 5px;
  background: var(--reports-ink);
  color: #fff;
  font: 650 12px/1 var(--edc-font-body);
}

.reports-rank-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.reports-rank-main strong {
  overflow: hidden;
  color: var(--reports-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 650 13px/1.15 var(--edc-font-body);
}

.reports-rank-main em,
.reports-rank-score em {
  overflow: hidden;
  color: var(--reports-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 10px;
}

.reports-rank-score {
  text-align: right;
}

.reports-rank-score strong {
  display: block;
  color: var(--reports-cyan-dark);
  font: 700 15px/1 var(--edc-font-body);
}

.reports-ranking-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.reports-ranking-pagination button {
  min-height: 31px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-cyan-dark);
  cursor: pointer;
  font: 650 11px/1 var(--edc-font-body);
}

.reports-ranking-pagination button:disabled {
  color: rgba(72, 83, 103, 0.48);
  cursor: default;
}

.reports-ranking-pagination span {
  color: var(--reports-muted);
  font: 650 11px/1 var(--edc-font-body);
}

.reports-rank-group {
  display: grid;
  gap: 7px;
}

.reports-rank-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #f3f5f8;
  padding: 8px 10px;
}

.reports-rank-group-heading strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--reports-ink);
  font: 700 12px/1.1 var(--edc-font-body);
}

.reports-rank-group-heading span {
  color: var(--reports-muted);
  font: 500 11px/1.1 var(--edc-font-body);
}

.reports-analytics-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 28px 28px;
}

.reports-hourly-panel {
  margin: 0 28px 16px;
  border: 1px solid var(--reports-border);
  border-radius: 6px;
  background: #fff;
  padding: 16px;
}

.reports-panel {
  min-height: 260px;
}

.reports-methodology-grid {
  margin-bottom: 10px;
}

.reports-sla-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.reports-sla-controls label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reports-sla-controls label span {
  overflow: hidden;
  color: var(--reports-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 650 10px/1 var(--edc-font-body);
  text-transform: uppercase;
}

.reports-methodology-head {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 28px;
  margin-bottom: 8px;
}

.reports-info-popover {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(36, 87, 197, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--reports-cyan-dark);
  cursor: pointer;
  font: 800 12px/1 var(--edc-font-body);
}

.reports-info-popover:hover,
.reports-info-popover:focus-visible,
.reports-info-popover[aria-expanded="true"] {
  background: var(--reports-soft);
  border-color: rgba(36, 87, 197, 0.44);
}

.reports-methodology-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  width: min(360px, 88vw);
  border: 1px solid rgba(24, 32, 39, 0.16);
  border-radius: 7px;
  background: #fff;
  color: var(--reports-ink);
  padding: 12px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.reports-methodology-popover[hidden] {
  display: none;
}

.reports-methodology-popover strong {
  display: block;
  color: var(--reports-ink);
  font: 700 12px/1.25 var(--edc-font-body);
}

.reports-methodology-popover p {
  margin: 7px 0 0;
  color: var(--reports-muted);
  font: 500 11px/1.42 var(--edc-font-body);
}

.reports-sla-note {
  margin: 0;
  color: var(--reports-muted);
  font: 500 12px/1.45 var(--edc-font-body);
}

.reports-trend {
  height: 188px;
  display: flex;
  align-items: end;
  gap: 7px;
  border: 1px solid rgba(24, 32, 39, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.reports-trend-bar {
  position: relative;
  flex: 1 1 0;
  min-width: 9px;
  border-radius: 6px 6px 2px 2px;
  background: var(--reports-cyan);
  box-shadow: none;
}

.reports-trend-bar i {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  color: var(--reports-muted);
  font: 800 9px/1 var(--edc-font-mono);
}

.reports-trend-bar em {
  position: absolute;
  left: 50%;
  top: calc(100% + 7px);
  transform: translateX(-50%) rotate(-34deg);
  color: var(--reports-muted);
  font: 500 9px/1 var(--edc-font-body);
  white-space: nowrap;
}

.reports-hourly {
  min-height: 160px;
  display: flex;
  align-items: end;
  gap: 8px;
  border: 1px solid rgba(24, 32, 39, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
  overflow-x: auto;
}

.reports-hour {
  min-width: 56px;
  height: 136px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 6px;
  color: var(--reports-muted);
  text-align: center;
  font: 650 10px/1.1 var(--edc-font-body);
}

.reports-hour span {
  position: relative;
  display: grid;
  align-items: start;
  align-self: end;
  width: 100%;
  height: var(--bar-height, 10%);
  min-height: 16px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--reports-cyan), var(--reports-cyan-dark));
}

.reports-hour span i {
  margin-top: 5px;
  color: #fff;
  font-style: normal;
  font: 800 10px/1 var(--edc-font-mono);
}

.reports-hour strong {
  color: var(--reports-ink);
  font: 700 11px/1 var(--edc-font-body);
}

.reports-hour em {
  color: var(--reports-muted);
  font-style: normal;
}

.reports-bar-row {
  display: grid;
  gap: 5px;
}

.reports-bar-row strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  color: var(--reports-ink);
  font: 650 12px/1.22 var(--edc-font-body);
}

.reports-bar-row em {
  display: block;
  color: var(--reports-muted);
  font-style: normal;
  font-size: 10px;
}

.reports-bar-track {
  height: 7px;
  border-radius: 999px;
  background: #edf2ef;
  overflow: hidden;
}

.reports-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--reports-cyan);
}

.reports-bars-more {
  color: var(--reports-muted);
  font: 500 10px/1.2 var(--edc-font-body);
}

.reports-status-row {
  position: relative;
  overflow: hidden;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 5px;
  background: #fff;
  padding: 9px 10px;
}

.reports-status-row > * {
  position: relative;
  z-index: 2;
}

.reports-status-row em {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  background: rgba(15, 145, 168, 0.09);
}

.reports-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--reports-muted);
  font: 650 11px/1 var(--edc-font-body);
}

.reports-status-row span i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--reports-cyan);
}

.reports-status-available span i {
  background: var(--reports-green);
}

.reports-status-occupied span i {
  background: var(--reports-amber);
}

.reports-status-unavailable span i,
.reports-status-stale span i {
  background: var(--reports-red);
}

.reports-status-row strong {
  color: var(--reports-ink);
  font: 700 13px/1 var(--edc-font-body);
}

.reports-campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 130px)) auto;
  gap: 8px;
  align-items: end;
}

.reports-campaign-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reports-campaign-field span {
  color: var(--reports-muted);
  font: 650 10px/1 var(--edc-font-body);
  text-transform: uppercase;
}

.reports-campaign-result {
  margin-top: 12px;
  color: var(--reports-muted);
  font: 500 12px/1.4 var(--edc-font-body);
}

.reports-campaign-summary {
  display: grid;
  gap: 8px;
}

.reports-campaign-summary > strong {
  color: var(--reports-ink);
  font: 700 14px/1.2 var(--edc-font-body);
}

.reports-campaign-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 5px;
  background: #f8fafc;
  padding: 8px;
}

.reports-campaign-summary em {
  color: var(--reports-muted);
  font-style: normal;
}

.reports-campaign-summary b {
  color: var(--reports-cyan-dark);
}

.reports-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.reports-detail-modal[aria-hidden="true"] {
  display: none;
}

.reports-detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.reports-detail-modal-panel {
  position: relative;
  width: min(1280px, 100%);
  max-height: min(900px, calc(100vh - 36px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border: 1px solid rgba(24, 32, 39, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.reports-detail-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--reports-border);
  padding: 16px;
}

.reports-detail-modal-head h2 {
  margin: 0;
  color: var(--reports-ink);
  font: 700 20px/1.15 var(--edc-font-body);
}

.reports-detail-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-ink);
  cursor: pointer;
  font: 700 20px/1 var(--edc-font-body);
}

.reports-detail-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 8px;
  border-bottom: 1px solid var(--reports-border);
  background: #f8fafc;
  padding: 12px 16px;
}

.reports-detail-filters label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reports-detail-filters label span {
  color: var(--reports-muted);
  font: 650 10px/1 var(--edc-font-body);
  text-transform: uppercase;
}

.reports-detail-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 14px 16px;
}

.reports-detail-table {
  display: grid;
  gap: 8px;
}

.reports-detail-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.35fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(24, 32, 39, 0.1);
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}

.reports-detail-row-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reports-detail-row-main strong {
  overflow: hidden;
  color: var(--reports-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 13px/1.2 var(--edc-font-body);
}

.reports-detail-row-main em,
.reports-detail-row-foot > span {
  color: var(--reports-muted);
  font-style: normal;
  font-size: 11px;
}

.reports-detail-row-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.reports-detail-row-metrics span {
  border: 1px solid rgba(24, 32, 39, 0.08);
  border-radius: 5px;
  background: #f8fafc;
  padding: 7px;
}

.reports-detail-row-metrics em {
  display: block;
  color: var(--reports-muted);
  font-style: normal;
  font-size: 10px;
}

.reports-detail-row-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--reports-ink);
  font: 650 11px/1.2 var(--edc-font-body);
}

.reports-detail-energy {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
  margin-top: 3px;
}

.reports-detail-energy > strong {
  margin-top: 0;
}

.reports-detail-energy-info {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(14, 165, 164, 0.34);
  border-radius: 50%;
  background: #ecfeff;
  color: var(--reports-cyan-dark);
  cursor: help;
  padding: 0;
  font: 750 10px/14px var(--edc-font-body);
  text-align: center;
}

.reports-detail-energy-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  width: min(340px, calc(100vw - 56px));
  display: none;
  border: 1px solid rgba(24, 32, 39, 0.16);
  border-radius: 6px;
  background: #fff;
  color: var(--reports-ink);
  padding: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  font: 500 11px/1.35 var(--edc-font-body);
}

.reports-detail-energy-popover b,
.reports-detail-energy-popover span,
.reports-detail-energy-popover em {
  display: block;
}

.reports-detail-energy-popover b {
  margin-bottom: 5px;
  color: var(--reports-cyan-dark);
  font: 750 11px/1.2 var(--edc-font-body);
}

.reports-detail-energy-popover em {
  margin-top: 6px;
  color: var(--reports-muted);
  font-style: normal;
}

.reports-detail-energy:hover .reports-detail-energy-popover,
.reports-detail-energy:focus-within .reports-detail-energy-popover {
  display: block;
}

.reports-detail-row-foot {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.reports-detail-reason,
.reports-detail-evidence {
  position: relative;
  border: 1px solid rgba(183, 121, 31, 0.26);
  border-radius: 5px;
  background: #fff8e8;
  color: var(--reports-amber);
  padding: 6px 8px;
  font: 650 11px/1 var(--edc-font-body);
}

.reports-detail-reason {
  cursor: help;
}

.reports-detail-reason em {
  position: absolute;
  right: 0;
  bottom: calc(100% + 7px);
  width: 260px;
  display: none;
  border: 1px solid rgba(24, 32, 39, 0.16);
  border-radius: 6px;
  background: #fff;
  color: var(--reports-ink);
  padding: 9px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  font: 500 11px/1.35 var(--edc-font-body);
  text-align: left;
}

.reports-detail-reason:hover em,
.reports-detail-reason:focus-visible em {
  display: block;
}

.reports-detail-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--reports-border);
  padding: 12px 16px;
}

.reports-detail-pagination button {
  min-height: 31px;
  border: 1px solid var(--reports-border);
  border-radius: 5px;
  background: #fff;
  color: var(--reports-cyan-dark);
  cursor: pointer;
  padding: 0 10px;
  font: 650 11px/1 var(--edc-font-body);
}

.reports-detail-pagination button:disabled {
  color: rgba(72, 83, 103, 0.48);
  cursor: default;
}

.reports-detail-pagination span {
  color: var(--reports-muted);
  font: 650 11px/1 var(--edc-font-body);
}

.reports-loading {
  position: sticky;
  top: 62px;
  z-index: 45;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin: 0 28px 16px;
  border: 1px solid rgba(36, 87, 197, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 12px;
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.08);
}

.reports-loading[hidden] {
  display: none;
}

.reports-loading span {
  color: var(--reports-cyan-dark);
  font: 650 12px/1 var(--edc-font-body);
}

.reports-loading i {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf1f7, #dbe4f5, #edf1f7);
  background-size: 220% 100%;
  animation: reportsSkeleton 1.1s linear infinite;
}

@keyframes reportsSkeleton {
  to {
    background-position: -220% 0;
  }
}

.reports-message,
.reports-empty {
  color: var(--reports-muted);
  font-size: 12px;
}

.reports-message {
  padding: 0 28px 24px;
}

.reports-empty {
  border: 1px dashed rgba(24, 32, 39, 0.16);
  border-radius: 8px;
  padding: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .global-api-loader-dot,
  .public-reports-app *,
  .public-reports-app *::before,
  .public-reports-app *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1120px) {
  .frontend-home-workspace,
  .frontend-home-analytics-grid {
    grid-template-columns: 1fr;
  }

  .frontend-home-rail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .reports-field {
    flex-basis: calc(25% - 8px);
    min-width: 145px;
  }

  .reports-field-search {
    flex-basis: calc(50% - 8px);
  }

  .reports-workspace,
  .reports-analytics-grid {
    grid-template-columns: 1fr;
  }

  .reports-detail-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reports-detail-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .reports-detail-row-foot {
    justify-items: start;
  }

  .reports-insight-rail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .reports-map {
    flex: 0 0 auto;
    height: 520px;
  }
}

@media (max-width: 720px) {
  .public-map-workspace {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .public-map-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-map-app.is-drawer-open .public-map-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-map-drawer {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: auto;
    max-height: 46vh;
    border: 1px solid var(--map-border);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(22, 43, 52, 0.18);
  }
}

@media (max-width: 720px) {
  .frontend-home-command {
    display: grid;
    padding: 22px 14px 14px;
  }

  .frontend-home-command h1 {
    font-size: 27px;
  }

  .frontend-home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .frontend-home-actions .edc-button {
    justify-content: center;
    min-width: 0;
  }

  .frontend-home-kpi-grid,
  .frontend-home-workspace,
  .frontend-home-analytics-grid {
    grid-template-columns: 1fr;
    padding-left: 14px;
    padding-right: 14px;
  }

  .frontend-home-rail {
    grid-template-columns: 1fr;
  }

  .frontend-home-map-preview {
    min-height: 370px;
  }

  .home-map-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .reports-topbar {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 10px 14px;
  }

  .reports-nav {
    width: 100%;
  }

  .reports-nav a {
    padding: 0 8px;
  }

  .edc-frontend-footer {
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .edc-frontend-footer div,
  .edc-frontend-footer nav {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .edc-frontend-footer span {
    white-space: normal;
  }

  .reports-command {
    display: grid;
    padding: 20px 14px 14px;
  }

  .reports-command h1 {
    font-size: 27px;
  }

  .reports-range {
    justify-self: start;
  }

  .reports-control-bar {
    gap: 8px;
    padding: 12px 14px;
  }

  .reports-field {
    flex-basis: calc(50% - 4px);
    min-width: 0;
  }

  .reports-field-search,
  .reports-reset {
    flex-basis: 100%;
  }

  .reports-context-row {
    display: grid;
    padding-left: 14px;
    padding-right: 14px;
  }

  .reports-loading {
    margin-left: 14px;
    margin-right: 14px;
    grid-template-columns: 1fr;
  }

  .reports-kpi-grid,
  .reports-workspace,
  .reports-analytics-grid {
    grid-template-columns: 1fr;
    padding-left: 14px;
    padding-right: 14px;
  }

  .reports-hourly-panel {
    margin-left: 14px;
    margin-right: 14px;
  }

  .reports-campaign {
    grid-template-columns: 1fr;
  }

  .reports-detail-modal {
    padding: 10px;
  }

  .reports-detail-modal-panel {
    max-height: calc(100vh - 20px);
  }

  .reports-detail-filters,
  .reports-detail-row-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .reports-detail-reason em {
    right: auto;
    left: 0;
    width: min(260px, calc(100vw - 44px));
  }

  .reports-insight-rail {
    grid-template-columns: 1fr;
  }

  .reports-map {
    flex: 0 0 auto;
    min-height: 420px;
    height: 56vh;
  }

  .reports-section-heading {
    display: grid;
  }

  .public-map-topbar {
    height: auto;
    min-height: 54px;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 10px 12px;
  }

  .public-map-nav {
    width: 100%;
    gap: 0;
  }

  .public-map-nav a {
    padding: 0 8px;
  }

  .public-map-workspace {
    height: auto;
    min-height: calc(100vh - 54px);
    grid-template-columns: 1fr;
  }

  .public-map-rail {
    position: sticky;
    top: 0;
    height: auto;
    max-height: none;
    z-index: 30;
    border-right: 0;
    border-bottom: 1px solid var(--map-border);
    display: block;
    overflow: visible;
    padding: 12px;
  }

  .public-map-results {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 82vw);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .public-map-stage {
    min-height: 62vh;
  }

  .public-map-canvas {
    min-height: 62vh;
  }

  .public-map-drawer {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-height: 52vh;
    padding: 14px;
  }

  .public-map-favorites {
    left: 12px;
    right: 12px;
    bottom: 72px;
    width: auto;
    justify-items: stretch;
  }

  .public-map-favorites-toggle {
    justify-content: center;
    width: 100%;
  }

  .public-map-favorites-panel {
    max-height: min(52vh, 420px);
  }

  .public-map-favorite-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-map-favorite-meta,
  .public-map-favorite-actions {
    grid-column: 1;
  }

  .drawer-location-info,
  .session-history-filters {
    grid-template-columns: 1fr;
  }

  .drawer-actions,
  .session-history-pagination {
    display: grid;
    grid-template-columns: 1fr;
  }

  .drawer-route-link,
  .drawer-retry,
  .session-history-pagination button {
    width: 100%;
    text-align: center;
  }

  .global-api-loader {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }

  .public-map-app.is-drawer-open .global-api-loader {
    bottom: calc(52vh + 24px);
  }
}
