@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #173238;
  --muted: #78868b;
  --line: #e3e9e9;
  --green: #18765b;
  --mint: #c3efd1;
  --bg: #f4f7f7;
  --red: #ec625e;
  --blue: #4289dc;
  --purple: #976bcd;
  --shadow: 0 10px 35px #122d3212;
  font:
    14px "DM Sans",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-color: #3b9979;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
}
button {
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
svg.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #132f34;
  color: #a5b9bc;
  position: fixed;
  width: 238px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 18px;
  z-index: 600;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  padding: 0 12px 35px;
  font-family: Manrope;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.brand-symbol {
  display: grid;
  place-items: center;
  background: #a4e9bd;
  border-radius: 11px;
  color: #173c37;
  width: 37px;
  height: 40px;
  letter-spacing: 0;
}
.brand small {
  display: block;
  font: 10px "DM Sans";
  letter-spacing: 2.2px;
  margin-top: 4px;
  color: #9fb7b6;
}
.nav-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #748f93;
  padding: 6px 15px 14px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  margin: 3px 0;
  border-radius: 9px;
  color: #b1c3c6;
}
.nav-item.active {
  background: #254a4d;
  color: #cbf4da;
}
.nav-item:hover {
  background: #214347;
}
.nav-item .count {
  margin-left: auto;
  background: #42748b;
  color: #e8f8ff;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  padding: 19px 15px;
  color: #8da8ab;
  font-size: 12px;
  line-height: 1.8;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #315055;
  padding: 19px 8px 0;
}
.avatar {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeae7;
  color: #33564d;
  font-weight: 700;
  flex: none;
}
.profile strong {
  display: block;
  color: #e6efed;
  font-size: 13px;
}
.profile small {
  font-size: 11px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb b {
  color: #40565a;
  font-weight: 500;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: #677e80;
}
.env-tag {
  padding: 6px 10px;
  border: 1px solid #e0e9e6;
  border-radius: 6px;
}
.page {
  padding: 30px 34px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.subtitle {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid #dce4e3;
  background: white;
  text-decoration: none;
  white-space: nowrap;
}
.btn.primary {
  background: #18765b;
  color: #fff;
  border-color: #18765b;
}
.btn.primary:hover {
  background: #105e47;
}
.btn.danger {
  color: #ba4a43;
  border-color: #eed2cf;
}
.btn.small {
  padding: 8px 11px;
  font-size: 12px;
}
.btn.ghost {
  background: transparent;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}
.stat {
  padding: 21px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #758589;
  font-size: 13px;
}
.stat-head .stat-icon {
  padding: 8px;
  border-radius: 8px;
  background: #f1f5f4;
  display: flex;
}
.stat-value {
  font: 800 31px Manrope;
  margin-top: 7px;
  letter-spacing: -1px;
}
.stat-foot {
  margin-top: 7px;
  font-size: 12px;
  color: #8a9698;
}
.stat-foot strong {
  font-weight: 500;
  color: #24795d;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.panel-head h3 {
  font-size: 15px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: var(--muted);
}
.map-tools {
  display: flex;
  gap: 9px;
  padding: 14px 17px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.input,
select,
textarea {
  background: white;
  border: 1px solid #dce5e4;
  border-radius: 6px;
  padding: 11px 12px;
  color: #284249;
  min-width: 0;
  width: 100%;
}
.map-tools .input {
  width: 180px;
}
.map-tools select {
  width: 190px;
}
.map-tools .btn {
  margin-left: auto;
}
.map-wrap {
  position: relative;
}
.map {
  height: 432px;
  background: #e5ede8;
}
.legend {
  display: flex;
  gap: 20px;
  padding: 15px 20px;
  font-size: 12px;
  color: #6c7d80;
  flex-wrap: wrap;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  flex: none;
}
.red {
  background: var(--red);
}
.green {
  background: #2caa80;
}
.blue {
  background: var(--blue);
}
.purple {
  background: var(--purple);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: #edf2f1;
  color: #6a7d7d;
}
.badge.red {
  background: #fff0ee;
  color: #c05850;
}
.badge.green {
  background: #e9f7f0;
  color: #2f8968;
}
.badge.blue {
  background: #edf4ff;
  color: #3976bc;
}
.badge.purple {
  background: #f2eefa;
  color: #8b65b1;
}
.project-card {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.project-card:last-child {
  border: 0;
}
.project-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.project-card strong {
  font-size: 13px;
}
.project-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 13px;
}
.progress {
  height: 5px;
  background: #edf1ef;
  border-radius: 9px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: #39997a;
}
.summary-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.notice {
  margin: 16px;
  background: #f3f8f6;
  padding: 14px;
  border-radius: 7px;
  color: #5f7c71;
  line-height: 1.7;
  font-size: 12px;
}
.lower {
  margin-top: 23px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #fafbfb;
  color: #889598;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 20px;
}
td {
  padding: 15px 20px;
  border-top: 1px solid #edf0f0;
  font-size: 13px;
}
td small {
  display: block;
  font-size: 11px;
  color: #8b989a;
  margin-top: 4px;
}
.link-btn {
  color: #247b61;
  font-weight: 600;
}
.table-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.table-title .count {
  font-size: 11px;
  color: #7f9294;
  padding: 3px 7px;
  background: #f0f5f4;
  border-radius: 5px;
}
.pin {
  width: 20px;
  height: 20px;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 6px #0005;
}
.trafo-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid white;
  border-radius: 8px;
  background: #173c43;
  color: #d5f5e0;
  box-shadow: 0 2px 6px #0004;
  font-size: 16px;
}
.person-pin {
  background: #142e34;
  color: white;
  border: 2px solid white;
  border-radius: 20px;
  padding: 4px 7px;
  font-size: 11px;
  white-space: nowrap;
}
.leaflet-container {
  font-family: "DM Sans", sans-serif;
}
.leaflet-popup-content {
  line-height: 1.8;
}
.leaflet-popup-content button {
  color: #18765b;
  padding: 0;
  font-weight: 700;
}
.leaflet-control-attribution {
  font-size: 9px !important;
}
.leaflet-tooltip {
  font-size: 11px;
}
.mobile-toggle {
  display: none;
}
.empty {
  padding: 45px 25px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
}
.boot {
  padding: 50px;
  font: 700 24px Manrope;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
}
.login-art {
  background: #13343a;
  color: #e5f3ed;
  padding: 65px 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-art:after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #48706c;
  border-radius: 50%;
  bottom: -300px;
  right: -250px;
  box-shadow:
    0 0 0 75px #ffffff04,
    0 0 0 150px #ffffff03,
    0 0 0 225px #ffffff02;
}
.login-art .brand {
  padding: 0;
}
.login-art h1 {
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -2px;
  max-width: 410px;
}
.login-art p {
  color: #a4c0bc;
  font-size: 16px;
  max-width: 360px;
  line-height: 1.8;
  margin-top: 24px;
}
.login-art footer {
  font-size: 12px;
  color: #89a5a4;
}
.login-form {
  display: grid;
  place-items: center;
  padding: 35px;
}
.login-box {
  width: 100%;
  max-width: 350px;
}
.login-box h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.login-box form {
  margin-top: 30px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.login-box .btn {
  width: 100%;
  padding: 13px;
}
.form-error {
  color: #bd504d;
  font-size: 13px;
  margin: 12px 0;
  line-height: 1.6;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #0c252957;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(2px);
}
.drawer {
  width: 530px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  overflow: auto;
  box-shadow: -10px 0 40px #0001;
}
.drawer-head {
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 3;
}
.drawer-body {
  padding: 24px 26px;
}
.close {
  font-size: 26px;
  color: #78908e;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.section-title {
  margin: 25px 0 16px;
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.choice-row {
  display: flex;
  gap: 6px;
  background: #f1f5f4;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 22px;
}
.choice-row button {
  flex: 1;
  padding: 10px 5px;
  font-size: 12px;
  border-radius: 5px;
}
.choice-row button.selected {
  background: #fff;
  box-shadow: 0 1px 5px #0001;
  font-weight: 700;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.photo-slot {
  border: 1px dashed #cddbd7;
  border-radius: 8px;
  overflow: hidden;
  min-height: 110px;
  background: #fafcfb;
}
.photo-slot label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 17px 5px;
  cursor: pointer;
  color: #78908b;
  font-size: 12px;
  min-height: 105px;
}
.photo-slot img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 8px;
  font-size: 11px;
}
.photo-slot input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.photo-slot:focus-within {
  outline: 2px solid #18765b;
  outline-offset: 2px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 20px;
  line-height: 1.6;
  font-size: 13px;
}
.check input {
  accent-color: #247a60;
  width: 17px;
  height: 17px;
}
.drawer-footer {
  padding: 20px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  position: sticky;
  bottom: 0;
  background: white;
  z-index: 2;
}
.drawer-footer .primary {
  flex: 1;
}
.muted {
  color: var(--muted);
}
.history {
  border-left: 2px solid #e6edeb;
  margin-left: 5px;
  padding-left: 17px;
}
.history p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.history small {
  color: #8c999b;
  display: block;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.card-body {
  padding: 24px;
}
.upload-brand {
  border: 1px dashed #bacdc7;
  border-radius: 9px;
  padding: 23px;
  margin: 15px 0;
}
.upload-brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trafo-group {
  margin: 22px 0;
}
.group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.group-head h3 {
  font-size: 15px;
}
.select-box {
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 15px;
  margin: 12px 0;
}
.select-box .check {
  margin: 10px 0;
}
.file-drop {
  border: 2px dashed #d7e4df;
  background: #f8fbfa;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  line-height: 1.8;
}
.file-drop input {
  margin-top: 15px;
  max-width: 100%;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #153b32;
  color: #fff;
  padding: 13px 21px;
  box-shadow: var(--shadow);
  border-radius: 9px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90%;
  line-height: 1.6;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #943f3c;
}
.measure-info {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: white;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: var(--shadow);
  font-size: 12px;
}
.field-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.pole-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
.pole-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pole-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.pole-card:hover {
  border-color: #80b79e;
}
.demo-banner {
  font-size: 11px;
  color: #8a9898;
  margin-top: 18px;
}
.status-line {
  padding: 12px 14px;
  border-radius: 6px;
  background: #eef5f2;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.inline-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.inline-filters > * {
  max-width: 260px;
}
.spinner {
  opacity: 0.5;
  pointer-events: none;
}
@media (min-width: 1600px) {
  .page {
    max-width: 1600px;
    margin: auto;
  }
  .map {
    height: 520px;
  }
}
@media (max-width: 1200px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .page {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .map-tools select {
    width: 150px;
  }
  .map-tools .input {
    width: 140px;
  }
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    width: 210px;
  }
  .field-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .side-projects {
    display: none;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .top-right .date {
    display: none;
  }
  .stat-value {
    font-size: 27px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
    width: 238px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 15px 0 40px #0004;
  }
  .mobile-toggle {
    display: block;
    padding: 6px;
  }
  .topbar {
    height: 60px;
    padding: 0 16px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .page {
    padding: 22px 16px;
  }
  .page-heading {
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 24px;
  }
  .subtitle {
    font-size: 13px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 17px;
  }
  .stat {
    padding: 15px;
  }
  .stat-head {
    font-size: 12px;
  }
  .stat-foot {
    font-size: 11px;
  }
  .stat-head .stat-icon {
    padding: 5px;
  }
  .stat-head .stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .stat-value {
    font-size: 27px;
  }
  .map {
    height: 400px;
  }
  .map-tools {
    gap: 7px;
    padding: 12px;
  }
  .map-tools .input,
  .map-tools select {
    width: calc(50% - 4px);
  }
  .map-tools .btn {
    margin-left: 0;
  }
  .legend {
    gap: 12px;
    padding: 12px;
    font-size: 11px;
  }
  .panel-head {
    padding: 16px;
  }
  .env-tag {
    font-size: 10px;
  }
  .top-right {
    gap: 8px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    min-height: 245px;
    padding: 30px;
    gap: 30px;
  }
  .login-art h1 {
    font-size: 30px;
    margin-top: 24px;
    max-width: 300px;
  }
  .login-art p,
  .login-art footer {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .login-art .brand {
    font-size: 21px;
  }
  .field-list {
    grid-template-columns: 1fr;
  }
  .drawer {
    width: 100%;
  }
  .drawer-body {
    padding: 20px;
  }
  .drawer-head {
    padding: 18px 20px;
  }
  .drawer-footer {
    padding: 15px 20px;
  }
  .group-head {
    gap: 12px;
  }
  .inline-filters {
    flex-wrap: wrap;
  }
  .inline-filters > * {
    max-width: 100%;
  }
  .table-wrap td,
  .table-wrap th {
    padding: 13px;
  }
  .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
}
.feed-flow-info { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 18px; color:#145438; background:#eefaf2; font-size:13px; line-height:1.6; }
.feed-flow-info small { color:#52675b; }
.feed-flow-path { animation:feed-flow 1s linear infinite; }
@keyframes feed-flow { to { stroke-dashoffset:-20; } }
@media (prefers-reduced-motion:reduce) { .feed-flow-path { animation:none; } }
.report-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.report-filters .field{flex:1;min-width:160px}.report-filters button{margin-bottom:20px}.report-panel{background:white;border:1px solid #dbe5e5;border-radius:12px;padding:24px;margin:20px 0}.report-panel h2{margin-bottom:12px}.report-card-head{display:flex;justify-content:space-between;gap:12px}.report-photos{display:flex;gap:12px;overflow:auto;padding-top:14px}.report-photos a{flex:0 0 140px;color:inherit;font-size:12px;text-decoration:none}.report-photos img{width:140px;height:105px;object-fit:cover;border-radius:8px;display:block;margin-bottom:6px}.report-pages{display:flex;align-items:center;justify-content:center;gap:20px;margin:24px}.stat>strong{display:block;font-size:30px}.stat>span{display:block;color:#71878a;font-size:13px;margin-top:8px}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* Field staff: the map is the entire workspace. */
.field-map{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden}
.field-map>.panel{margin:0;border:0;border-radius:0;height:100%;box-shadow:none}
.field-map .panel-head,.field-map .legend{display:none}
.field-map .map-wrap,.field-map #map{position:absolute;inset:0;width:100%;height:100%;min-height:0;border-radius:0}
.field-map .map-tools{position:absolute;z-index:700;left:64px;right:12px;top:max(12px,env(safe-area-inset-top));display:flex;gap:8px;padding:0;border:0;background:transparent;flex-wrap:nowrap;pointer-events:none}
.field-map .map-tools>*{pointer-events:auto;box-shadow:0 2px 12px #122d3226;background:white;margin:0}
.field-map .map-tools .input{width:100%;min-width:0;max-width:300px}
.field-map #map-transformer{display:none}
.field-map .field-controls{position:absolute;z-index:700;right:12px;bottom:calc(32px + env(safe-area-inset-bottom));display:flex;gap:8px}
.field-controls .btn{background:white;box-shadow:0 2px 12px #122d3226;min-height:46px}
.field-map #measure-info{position:absolute;z-index:700;bottom:94px;left:12px;right:12px;pointer-events:none}
.field-map .field-empty{position:absolute;z-index:700;top:90px;left:50%;transform:translateX(-50%);max-width:90%;background:white;padding:14px 20px;border-radius:10px;box-shadow:0 2px 12px #122d3226;text-align:center}
.field-account{min-height:100dvh;padding-top:70px}.field-account>#back-field{position:fixed;top:12px;left:16px;z-index:10;background:white}.field-account .page{max-width:900px;margin:auto}
@media(max-width:600px){.field-map .map-tools .btn{font-size:12px;padding:10px;white-space:nowrap}.field-map .map-tools .input{flex:1;width:0}.field-controls .btn{padding:10px 12px}.field-account .page{padding:18px}}
.assignment-drawer{width:min(1100px,96vw)!important;max-width:1100px!important}.assignment-layout{display:grid;grid-template-columns:260px 1fr;gap:20px;margin:18px 0}.assignment-layout .select-box{max-height:370px}.assignment-layout small{display:block;color:#71878a}#assignment-map{height:380px;border-radius:12px}.assignment-trafo{width:28px;height:28px;color:white;border:2px solid white;border-radius:7px;display:grid;place-items:center;font-size:20px}#assignment-result{color:#14724e;font-weight:600}@media(max-width:650px){.assignment-layout{grid-template-columns:1fr}.assignment-layout .select-box{max-height:160px}#assignment-map{height:300px}}
.operations-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:20px 0}.operations-toolbar .input{max-width:250px}.operations-toolbar span{font-size:12px;color:#71878a}.operations-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px}#operations-map{height:calc(100dvh - 310px);min-height:400px;border-radius:14px;position:sticky;top:16px}#operations-people{max-height:calc(100dvh - 310px);min-height:400px;overflow:auto}.operation-person{background:white;border:1px solid #dce5e4;border-radius:12px;padding:18px;margin-bottom:12px}.operation-person.selected{border:2px solid #188361}.operation-person p{margin:10px 0;font-size:13px;line-height:1.6}.operation-person-head{display:flex;justify-content:space-between;gap:8px}.operation-current{background:#edf6f1;padding:10px;border-radius:8px;font-size:13px}.operation-pin{width:38px;height:38px;border-radius:50%;border:3px solid white;color:white;font-weight:700;display:grid;place-items:center;box-shadow:0 2px 10px #122d3244}@media(max-width:800px){.operations-layout{grid-template-columns:1fr}#operations-map{height:50dvh;min-height:300px;position:relative;top:0}#operations-people{max-height:none;min-height:0}}
