:root {
  --ink: #17211d;
  --muted: #77807c;
  --line: #e7ebe8;
  --paper: #fbfcfa;
  --accent: #ff6646;
  --accent-dark: #e84f32;
  --green: #1d5a46;
  --shadow: 0 18px 50px rgba(24, 37, 31, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; min-height: 100%; }

body {
  color: var(--ink);
  background: #e9ede9;
  font-family: "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.app-shell {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}

.sidebar {
  z-index: 1000;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  padding: 34px 30px 20px;
  background: rgba(251, 252, 250, 0.98);
  border-right: 1px solid rgba(30, 48, 40, 0.08);
}

.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand-mark {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(29, 90, 70, 0.22);
}
.brand-mark span { position: absolute; border-radius: 999px; background: #f8f4e8; transform: rotate(-28deg); }
.brand-mark span:nth-child(1) { width: 34px; height: 8px; left: -6px; top: 13px; }
.brand-mark span:nth-child(2) { width: 30px; height: 8px; right: -8px; bottom: 10px; background: var(--accent); }
.brand-mark span:nth-child(3) { width: 7px; height: 7px; left: 21px; top: 19px; background: #ffd05b; }
.eyebrow { margin: 0 0 2px; color: #a0a8a4; font: 600 10px/1 "DM Sans", sans-serif; letter-spacing: 0.17em; }
.brand h1 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -0.04em; }

.drop-zone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 15px;
  border: 1.5px dashed #bdc7c1;
  border-radius: 16px;
  background: #f6f8f5;
  cursor: pointer;
  transition: 180ms ease;
}
.drop-zone:hover, .drop-zone.dragging, .drop-zone:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: #fff8f5;
  transform: translateY(-1px);
}
.upload-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--accent);
  background: #fff;
  border: 1px solid #edf0ed;
}
.upload-icon svg, .map-button svg, .primary-button svg, .input-wrap svg { width: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone strong { display: block; font-size: 13px; }
.drop-zone p, .file-summary p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.file-badge {
  margin-left: auto;
  padding: 4px 6px;
  border-radius: 5px;
  color: #85908a;
  background: #e9eeea;
  font: 700 9px/1 "DM Sans", sans-serif;
}
.file-format-tooltip {
  position: absolute;
  z-index: 900;
  top: 86px;
  left: 28px;
  width: min(560px, calc(100% - 56px));
  padding: 16px;
  border: 1px solid rgba(30, 48, 40, .1);
  border-radius: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 48px rgba(24, 37, 31, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.file-format-tooltip.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.format-tooltip-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.format-tooltip-heading span, .format-tooltip-heading strong { display: block; }
.format-tooltip-heading span { color: #7c9587; font: 700 8px/1 "DM Sans", sans-serif; letter-spacing: .12em; }
.format-tooltip-heading strong { margin-top: 5px; font-size: 12px; }
.format-tooltip-heading a { flex: 0 0 auto; padding: 7px 9px; border-radius: 7px; color: var(--green); background: #edf5ef; font-size: 9px; font-weight: 700; text-decoration: none; }
.format-tooltip-heading a:hover { background: #deece2; }
.file-format-tooltip > p { margin: 11px 0; color: #68746e; font-size: 9px; line-height: 1.55; }
.format-table-wrap { overflow-x: auto; border: 1px solid #e1e8e3; border-radius: 8px; }
.format-table { width: 100%; min-width: 505px; border-collapse: collapse; color: #536059; font-size: 8px; white-space: nowrap; }
.format-table th, .format-table td { padding: 6px 7px; border-right: 1px solid #e4e9e5; border-bottom: 1px solid #e4e9e5; text-align: center; }
.format-table tr > :last-child { border-right: 0; }
.format-table tbody tr:last-child td { border-bottom: 0; }
.format-table thead tr:first-child th { color: #3c594b; background: #eaf2ed; font-weight: 700; }
.format-table thead tr:nth-child(2) th { color: #738078; background: #f6f8f6; font-weight: 600; }
.format-table tbody td { background: #fff; }
.file-format-tooltip small { display: block; margin-top: 10px; color: #77827c; font-size: 8px; line-height: 1.55; }
.file-format-tooltip small b { color: var(--accent-dark); }

.file-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin: 10px 0 26px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #eef6f1;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #39a775; box-shadow: 0 0 0 4px rgba(57, 167, 117, 0.12); }
.file-summary > div { min-width: 0; }
.file-summary strong { display: block; max-width: 235px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.icon-button { margin-left: auto; border: 0; background: transparent; cursor: pointer; color: #76837c; font-size: 18px; }

.controls { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: 13px; letter-spacing: -0.02em; }
.section-heading > span { color: var(--muted); font-size: 11px; }
.text-button { border: 0; padding: 0; color: var(--accent-dark); background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; }
.select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label > span { display: block; margin-bottom: 6px; color: #737d77; font-size: 10px; font-weight: 600; }
select, .input-wrap {
  width: 100%;
  height: 42px;
  border: 1px solid #dfe5e1;
  border-radius: 10px;
  background-color: #fff;
}
select { appearance: none; padding: 0 36px 0 12px; background-image: linear-gradient(45deg, transparent 50%, #708078 50%), linear-gradient(135deg, #708078 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px; background-repeat: no-repeat; font-size: 12px; }
select:disabled { color: #a9b0ac; background-color: #f4f6f4; }
.region-field { display: block; margin-top: 14px; }
.region-field > span { display: block; margin-bottom: 6px; color: #737d77; font-size: 10px; font-weight: 600; }
.region-select-row label { min-width: 0; }
.region-select-row select { color: var(--ink); }
.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; }
.api-status { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 10px 12px; border: 1px solid #e3e8e4; border-radius: 11px; background: #f7f9f7; }
.kakao-dot { width: 9px; height: 9px; border-radius: 50%; background: #f7c800; box-shadow: 0 0 0 4px rgba(247,200,0,.15); }
.api-status strong, .api-status small { display: block; }
.api-status strong { font-size: 10px; }
.api-status small { margin-top: 2px; color: #929b96; font-size: 8px; }
.api-status em { margin-left: auto; color: #31815f; font-size: 9px; font-style: normal; font-weight: 700; }
.api-status[data-state="checking"] .kakao-dot { background: #a9b0ac; box-shadow: 0 0 0 4px rgba(169,176,172,.15); }
.api-status[data-state="checking"] em { color: #7c8781; }
.api-status[data-state="failed"] { border-color: #f0d8d2; background: #fff8f6; }
.api-status[data-state="failed"] .kakao-dot { background: #dc624d; box-shadow: 0 0 0 4px rgba(220,98,77,.13); }
.api-status[data-state="failed"] em { color: #c54f3c; }
.input-wrap { display: flex; align-items: center; padding: 0 11px; }
.input-wrap svg { flex: 0 0 17px; width: 17px; color: #8a958f; }
.input-wrap input { width: 100%; border: 0; outline: 0; padding-left: 8px; color: var(--ink); background: transparent; font-size: 12px; }
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(255, 102, 70, 0.2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 160ms ease;
}
.primary-button:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-1px); }
.primary-button:disabled { background: #c8ceca; box-shadow: none; cursor: not-allowed; }
.primary-button svg { width: 16px; }
.progress-wrap { margin-top: 13px; }
.progress-track { height: 4px; overflow: hidden; border-radius: 99px; background: #e7eae8; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--accent); transition: width 220ms ease; }
.progress-wrap p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }

.legend-section { padding: 23px 0; }
.legend { display: grid; grid-template-columns: 1fr; gap: 6px; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e7ebe8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  transition: 150ms ease;
}
.legend-item:hover, .legend-item:focus-visible { outline: none; border-color: #bdcbc4; background: #f5f8f6; transform: translateX(2px); }
.legend-item.active { border-color: #9bb9ac; background: #eef6f1; box-shadow: inset 3px 0 0 var(--green); }
.legend-item .legend-location { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 8px; color: var(--green); background: #eef4f1; }
.legend-location svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legend-item b { font-weight: 700; }
.legend-item small { margin-left: auto; color: #9aa39e; }
.legend-item .legend-arrow { width: auto; height: auto; color: #8d9993; background: none; font: 500 18px/1 "DM Sans", sans-serif; }
.empty-copy { grid-column: 1 / -1; margin: 0; color: #a0a8a4; font-size: 11px; line-height: 1.6; }
footer { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: #9ba39f; font-size: 9px; }
.privacy-icon { display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid #bdc5c0; border-radius: 50%; font-size: 8px; }

.map-panel { position: relative; min-width: 0; height: 100vh; overflow: hidden; }
#map { width: 100%; height: 100%; background: #dce3df; }
.map-topbar {
  position: absolute;
  z-index: 500;
  top: 27px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.map-title, .map-actions, .map-stats { pointer-events: auto; }
.map-title { padding: 13px 17px; border-radius: 13px; background: rgba(255,255,255,0.92); box-shadow: 0 10px 30px rgba(29,43,36,0.1); backdrop-filter: blur(10px); }
.map-title span { display: block; margin-bottom: 3px; color: #99a39e; font: 600 9px/1 "DM Sans", sans-serif; letter-spacing: 0.13em; }
.map-title strong { font-size: 14px; letter-spacing: -0.03em; }
.map-actions { display: flex; gap: 8px; }
.map-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(38,56,47,0.09);
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 28px rgba(29,43,36,0.12);
  cursor: pointer;
}
.map-button-wide { gap: 7px; width: auto; padding: 0 14px; font-size: 11px; font-weight: 600; }
.map-button svg { width: 17px; }
.guide-toggle span { display: grid; place-items: center; width: 17px; height: 17px; border: 1.6px solid var(--green); border-radius: 50%; color: var(--green); font: 700 11px/15px "DM Sans", sans-serif; }
.failure-toggle { gap: 4px; width: auto; padding: 0 11px; color: #bd452e; }
.failure-toggle span { min-width: 15px; font: 700 10px/1 "DM Sans", sans-serif; }
.map-stats {
  position: absolute;
  z-index: 500;
  left: 28px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 31, 26, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.map-stats div { display: flex; align-items: baseline; gap: 6px; color: #d7ded9; font-size: 9px; }
.map-stats strong { color: #fff; font: 700 16px/1 "DM Sans", sans-serif; }
.map-stats i { width: 1px; height: 17px; background: rgba(255,255,255,0.15); }
.toast { position: absolute; z-index: 1000; left: 50%; bottom: 28px; max-width: calc(100% - 40px); padding: 11px 16px; border-radius: 10px; color: #fff; background: #202d27; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: 220ms ease; font-size: 11px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.failure-report, .service-guide-panel {
  position: absolute;
  z-index: 800;
  top: 86px;
  right: 28px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  width: min(350px, calc(100% - 56px));
  overflow: hidden;
  border: 1px solid rgba(30, 48, 40, .09);
  border-radius: 17px;
  background: rgba(251, 252, 250, .97);
  box-shadow: 0 20px 55px rgba(24,37,31,.2);
  backdrop-filter: blur(12px);
}
.failure-report header, .service-guide-panel header { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.failure-report header span, .service-guide-panel header span { color: #ae8178; font: 700 8px/1 "DM Sans", sans-serif; letter-spacing: .14em; }
.failure-report h2, .service-guide-panel h2 { margin: 5px 0 2px; font-size: 15px; letter-spacing: -.03em; }
.failure-report header p, .service-guide-panel header p { margin: 0; color: var(--muted); font-size: 10px; }
.failure-report header button, .service-guide-panel header button { width: 29px; height: 29px; border: 0; border-radius: 50%; color: #727e77; background: #edf0ed; cursor: pointer; font-size: 19px; line-height: 27px; }
.service-guide-panel header span { color: #5d8c77; }
.guide-content { flex: 1; overflow-y: auto; padding: 15px 18px 18px; }
.guide-intro { margin: 0 0 13px; color: #5d6b64; font-size: 11px; line-height: 1.65; word-break: keep-all; }
.guide-list { display: grid; gap: 8px; }
.guide-item { padding: 11px 12px; border: 1px solid rgba(210, 222, 214, .85); border-radius: 10px; background: #f8faf8; }
.guide-item[href] { display: block; color: inherit; text-decoration: none; transition: 160ms ease; }
.guide-item[href]:hover, .guide-item[href]:focus-visible { outline: none; border-color: #d99c8d; box-shadow: 0 4px 12px rgba(167, 90, 72, .1); transform: translateY(-1px); }
.guide-item h3 { margin: 0 0 5px; color: var(--green); font-size: 11px; letter-spacing: -.02em; }
.guide-item p, .guide-item ol { margin: 0; color: #65716b; font-size: 9px; line-height: 1.65; word-break: keep-all; }
.guide-item ol { padding-left: 15px; }
.guide-item strong { color: #3e5147; font-weight: 700; }
.guide-contact { border-color: #e7d9d4; background: #fffaf8; }
.guide-contact h3 { color: #a75a48; }
.contact-link { display: block; margin-top: 8px; color: #a75a48; font-size: 9px; font-weight: 700; }
.failure-list { flex: 1; overflow-y: auto; padding: 10px; }
.failure-item { padding: 12px; border: 1px solid #e8ebe8; border-radius: 12px; background: #fff; }
.failure-item + .failure-item { margin-top: 8px; }
.failure-item-top { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.failure-badge { padding: 4px 6px; border-radius: 5px; color: #b54833; background: #fff0eb; font-size: 8px; font-weight: 700; }
.failure-item-top b { font-size: 10px; }
.failure-item-top small { margin-left: auto; color: #a1aaa5; font-size: 8px; }
.failure-query { margin: 0; color: #34423b; font-size: 11px; font-weight: 600; line-height: 1.45; }
.failure-candidate { margin: 5px 0 0; color: #8a948e; font-size: 9px; line-height: 1.45; }
.failure-report footer { margin: 0; padding: 11px 15px; border-top: 1px solid var(--line); color: #9ba39f; font-size: 8px; }

.kakao-marker { border: 0; padding: 0 0 6px; background: none; cursor: pointer; transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease; }
.result-marker-stack { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 3px; width: max-content; max-width: 280px; }
.marker-pin {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 32px;
  padding: 0 8px;
  border: 3px solid #fff;
  border-radius: 11px;
  color: #fff;
  background: var(--marker);
  box-shadow: 0 4px 12px rgba(20, 35, 28, 0.3);
}
.marker-pin::after { position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; background: var(--marker); content: ""; transform: translateX(-50%) rotate(45deg); }
.marker-pin b { position: relative; z-index: 1; white-space: nowrap; font: 700 8px/1 "Noto Sans KR", sans-serif; }
.apartment-pin {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 78px;
  height: 34px;
  padding: 0 8px;
  border: 3px solid #fff;
  border-radius: 11px;
  color: #fff;
  background: var(--apartment-fill, var(--green));
  box-shadow: 0 4px 12px rgba(20, 35, 28, 0.3);
}
.apartment-pin::after { position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; background: var(--apartment-tail, var(--green)); content: ""; transform: translateX(-50%) rotate(45deg); }
.apartment-pin svg { position: relative; z-index: 1; flex: 0 0 15px; width: 15px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.apartment-pin b { position: relative; z-index: 1; max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.apartment-meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 3px; margin-left: 2px; white-space: nowrap; }
.apartment-meta em, .apartment-meta small { padding: 3px 4px; border-radius: 5px; font-size: 7px; font-style: normal; font-weight: 700; }
.apartment-meta em { color: #fff; background: rgba(255,255,255,.22); }
.apartment-meta small { color: #dcebe4; background: rgba(255,255,255,.1); }
.popup-anchor { padding-bottom: 43px; }
.kakao-popup { position: relative; min-width: 210px; max-width: min(330px, calc(100vw - 32px)); padding: 14px 38px 14px 16px; border: 1px solid rgba(25,39,32,.09); border-radius: 13px; background: #fff; box-shadow: 0 12px 35px rgba(24,37,31,0.2); }
.kakao-popup::after { position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; border-right: 1px solid rgba(25,39,32,.08); border-bottom: 1px solid rgba(25,39,32,.08); background: #fff; content: ""; transform: translateX(-50%) rotate(45deg); }
.popup-close { position: absolute; z-index: 1; top: 7px; right: 8px; width: 25px; height: 25px; border: 0; border-radius: 50%; color: #89928d; background: #f2f4f2; cursor: pointer; font-size: 17px; line-height: 23px; }
.popup-close:hover { color: var(--ink); background: #e8ece9; }
.popup-meta { margin: 7px 0 0; padding-top: 7px; border-top: 1px solid var(--line); color: #9aa39e; font-size: 8px; }
.parcel-marker-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; width: max-content; max-width: 150px; padding: 3px; border: 2px solid rgba(255,255,255,.9); border-radius: 10px; background: rgba(255,255,255,.82); box-shadow: 0 5px 15px rgba(23,36,29,.18); backdrop-filter: blur(4px); }
.parcel-owner-marker { min-width: 39px; height: 22px; padding: 0 5px; border: 0; border-radius: 6px; color: #fff; background: var(--marker); cursor: pointer; box-shadow: 0 2px 6px rgba(20,35,28,.17); white-space: nowrap; font-size: 7px; font-weight: 700; transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease; }
.parcel-owner-marker:hover { filter: brightness(.9); transform: translateY(-1px); }
.focus-dim { opacity: .13 !important; filter: grayscale(.7) !important; }
.focus-match { position: relative; z-index: 2; opacity: 1 !important; filter: saturate(1.2) brightness(.92) !important; transform: translateY(-2px) scale(1.08) !important; }
.popup-kicker { margin-bottom: 4px; color: var(--accent-dark); font: 700 9px/1 "DM Sans", sans-serif; letter-spacing: .08em; }
.popup-title { margin: 0 0 5px; font-size: 14px; }
.popup-address { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.apartment-classifications { max-height: 230px; margin: 11px -22px 0 0; padding: 0 22px 0 0; overflow-y: auto; list-style: none; }
.apartment-classifications li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); }
.apartment-classifications b { flex: 0 0 auto; font-size: 10px; }
.apartment-classifications span { color: #6f7b75; font-size: 9px; text-align: right; }

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { position: relative; width: 100%; height: auto; max-height: none; padding: 24px 20px; }
  .map-panel { height: 68vh; min-height: 520px; }
  .legend { grid-template-columns: repeat(2, 1fr); }
  footer { margin-top: 10px; }
  .file-format-tooltip { top: 70px; right: 14px; left: 14px; width: calc(100% - 28px); }
}

@media (max-width: 520px) {
  .sidebar { padding: 22px 16px; }
  .legend { grid-template-columns: 1fr 1fr; }
  .map-topbar { top: 14px; left: 14px; right: 14px; }
  .map-title { max-width: calc(100% - 154px); }
  .map-title strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .map-button-wide { width: 43px; padding: 0; }
  .map-button-wide span, .map-button-wide:not(:has(span)) { font-size: 0; }
  .map-button-wide { font-size: 0; }
  .map-stats { left: 14px; bottom: 18px; }
  .failure-report, .service-guide-panel { top: 70px; right: 14px; bottom: 18px; width: calc(100% - 28px); }
}
