@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --navy: #061e37;
  --ink: #0e1837;
  --muted: #7888a7;
  --blue: #0874ff;
  --line: #e5ecf5;
  --bg: #f3f7fc;
  --green: #00a568;
  --cyan: #00cce7;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px "DM Sans",
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 550;
  transition: 0.18s;
}
button:hover {
  background: #edf4ff;
  border-color: #b8d5fa;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 3px 8px #0874ff20;
}
.primary:hover {
  background: #0564dd;
  color: white;
}
.text-btn {
  border: 0;
  color: var(--blue);
  background: transparent;
  padding: 6px;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar {
  position: fixed;
  width: 242px;
  inset: 0 auto 0 0;
  background: linear-gradient(150deg, #051a30, #08233d);
  color: #d4deec;
  display: flex;
  flex-direction: column;
  z-index: 40;
  padding: 20px 12px 12px;
}
.brand {
  padding: 0 7px 18px;
  display: block;
}
.brand img {
  width: 100%;
  height: 66px;
  object-fit: contain;
}
.nav-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  flex: 1;
}
.nav-group {
  margin: 13px 0 7px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #a5b9d2;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 7px;
  margin: 2px 0;
  font-size: 14px;
  min-height: 39px;
}
.nav-link:hover {
  background: #ffffff0d;
  color: #fff;
}
.nav-link.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 3px 12px #0072ff25;
}
.nav-link .icon {
  width: 19px;
}
.profile {
  border: 1px solid #ffffff16;
  background: #ffffff05;
  padding: 12px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #318eff, #7445ff);
  color: white;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  font-weight: 600;
  font-size: 16px;
}
.profile small {
  color: #96aac5;
  display: block;
  margin-top: 3px;
}
.main {
  margin-left: 242px;
  min-height: 100vh;
}
.topbar {
  height: 80px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e6edf440;
  background: #f8fbfe;
}
.topbar select,
.topbar input {
  background: white;
  border: 1px solid #dce6f3;
  padding: 10px 12px;
  border-radius: 8px;
  color: #263352;
  min-height: 40px;
}
.topbar .spacer {
  flex: 1;
}
.date-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.date-wrap input {
  width: 142px;
  font-size: 13px;
}
.top-user {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d4e7fc;
  color: #1568c7;
  font-weight: 700;
}
.bell {
  position: relative;
  border: 0;
  background: transparent;
}
.bell:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f24d6a;
  right: 12px;
  top: 7px;
}
.content {
  padding: 16px 28px 32px;
  max-width: 1920px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
}
.page-head h1 {
  font:
    800 30px/1.2 "Manrope",
    Arial;
  letter-spacing: -1px;
  margin: 4px 0 7px;
}
.subtitle {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.demo {
  color: #54719b;
  background: #e9f1ff;
  border: 1px solid #d9e7fb;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.stat {
  padding: 22px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 5px #233f651f;
}
.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf3ff;
  flex-shrink: 0;
}
.stat-icon.pink {
  color: #fa347e;
  background: #fff0f7;
}
.stat-icon.purple {
  color: #8645f4;
  background: #f2edff;
}
.stat-icon.green {
  color: #02a774;
  background: #e7fbf2;
}
.stat-label {
  color: #506383;
  font-size: 13px;
  font-weight: 600;
  margin: 1px 0 9px;
}
.stat-value {
  font:
    800 30px/1.1 "Manrope",
    sans-serif;
  letter-spacing: -1px;
  white-space: nowrap;
}
.stat-value small {
  font: 500 19px "DM Sans";
  color: #8294b5;
  letter-spacing: 0;
}
.stat-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 9px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
  gap: 20px;
}
.card-head {
  padding: 19px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #f0f3f8;
}
.card-head h2 {
  font: 750 18px "Manrope";
  margin: 0;
}
.card-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 0;
}
.map {
  height: 343px;
  position: relative;
  overflow: hidden;
  background: #edf0e7;
}
.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  filter: saturate(0.65);
}
.map:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, #ffffff15, #ffffff00);
}
.map.big {
  height: 540px;
}
.map-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  z-index: 3;
  box-shadow: 0 2px 10px #1232;
}
.map-controls button {
  padding: 6px 9px;
  border-radius: 0;
  font-size: 19px;
}
.map-controls button:first-child {
  border-radius: 6px 6px 0 0;
}
.map-controls button:last-child {
  border-radius: 0 0 6px 6px;
}
.map-label {
  position: absolute;
  top: 37%;
  left: 32%;
  background: #ffffffb3;
  padding: 6px 9px;
  border-radius: 4px;
  font-weight: 600;
  transform: rotate(30deg);
  font-size: 13px;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 3px solid white;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 50%;
  background: #00b96a;
  box-shadow:
    0 0 0 9px #00b96a22,
    0 0 0 21px #00b96a11;
  z-index: 2;
}
.map-pin.low {
  background: #ff555a;
  box-shadow:
    0 0 0 9px #ff555a22,
    0 0 0 21px #ff555a11;
}
.map-pin.mid {
  background: #ffb321;
  box-shadow:
    0 0 0 9px #ffb32122,
    0 0 0 21px #ffb32111;
}
.map-popup {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 205px;
  background: white;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 20px #14293b33;
  z-index: 4;
}
.map-popup img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 5px;
}
.map-popup .row {
  gap: 3px;
  margin: 6px 0;
  font-size: 12px;
}
.map-popup button {
  font-size: 12px;
  padding: 4px 0;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  font-size: 11px;
  color: #607394;
}
.gradient {
  height: 9px;
  background: linear-gradient(90deg, #ff454e, #ffca41, #beed51, #00b76a);
  border-radius: 3px;
  flex: 1;
}
.legend-scale {
  display: flex;
  justify-content: space-between;
  color: #7c8faf;
  font-size: 11px;
  margin-top: 5px;
}
.map-legend .legend-bar {
  flex: 1;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid #edf1f7;
  cursor: pointer;
  width: 100%;
  background: white;
  border-radius: 0;
  text-align: left;
  justify-content: initial;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.project-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 12px 12px;
}
.project-row img {
  width: 63px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}
.project-row .project-info {
  flex: 1;
  min-width: 0;
}
.project-info strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.project-info small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  white-space: nowrap;
  background: #eaf0f6;
  color: #59708d;
  border-radius: 20px;
}
.pill.green {
  background: #dff8ec;
  color: #008955;
}
.pill.amber {
  background: #fff5d6;
  color: #bd8400;
}
.pill.blue {
  background: #eaf2ff;
  color: #1968c5;
}
.project-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.activity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f3f8;
}
.activity:last-child {
  border: 0;
}
.activity .stat-icon {
  width: 33px;
  height: 33px;
  border-radius: 6px;
}
.activity strong {
  font-size: 12px;
  display: block;
}
.activity small {
  font-size: 12px;
  color: var(--muted);
}
.activity time {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.status-body {
  padding: 23px;
}
.stacked {
  height: 12px;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  background: #eaf0f5;
  margin-bottom: 24px;
}
.stacked span {
  height: 100%;
}
.status-keys {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.status-keys strong {
  font: 750 24px "Manrope";
  display: block;
  margin: 7px 0;
}
.status-keys small {
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 360px;
}
.search .icon {
  position: absolute;
  left: 13px;
  top: 12px;
  color: #7e91ad;
}
.search input {
  padding-left: 42px;
  width: 100%;
}
input,
select,
textarea {
  border: 1px solid #dce5f1;
  background: #fff;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #12345615;
}
.project-cover {
  height: 152px;
  position: relative;
  background: #dfeaf4;
}
.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-cover .pill {
  position: absolute;
  left: 14px;
  top: 14px;
}
.project-card-body {
  padding: 20px;
}
.project-card h3 {
  font: 750 18px "Manrope";
  margin: 0 0 7px;
}
.project-card p {
  margin: 0 0 20px;
  color: var(--muted);
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.project-metrics {
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 13px;
  color: #647592;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.media-card {
  overflow: hidden;
  cursor: pointer;
}
.media-image {
  height: 175px;
  position: relative;
  overflow: hidden;
  background: #e5edf6;
}
.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-image .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  background: #00132620;
}
.play .icon {
  width: 46px;
  height: 46px;
  fill: #ffffff44;
}
.media-image .pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.media-info {
  padding: 17px;
}
.media-info h3 {
  font-size: 14px;
  margin: 0 0 9px;
}
.media-info p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.section-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.panel {
  padding: 23px;
}
.panel h2,
.panel h3 {
  margin: 0 0 16px;
  font-family: "Manrope";
  font-size: 18px;
}
.photo-large {
  width: 100%;
  height: 315px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #e9eff7;
}
.analysis-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.segment-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #5bbbfd77 0 27%, transparent 27%),
    linear-gradient(20deg, #9378e4aa 0 33%, transparent 33%),
    linear-gradient(
      110deg,
      #f1ad5088 0 28%,
      #69ba6388 28% 44%,
      transparent 44% 60%,
      #e6934e99 60%
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}
.segment-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #061e37cc;
  color: white;
  font-size: 12px;
  padding: 6px 9px;
  border-radius: 5px;
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  background: #eaf0f7;
  padding: 4px;
  border-radius: 8px;
  width: max-content;
  max-width: 100%;
}
.tabs button {
  background: none;
  border: 0;
  padding: 9px 15px;
  color: #6f819b;
}
.tabs .active {
  background: white;
  color: var(--blue);
  box-shadow: 0 2px 6px #173a6210;
}
.bar-row {
  margin: 18px 0;
}
.bar-row .row {
  font-size: 13px;
  margin-bottom: 9px;
}
.bar {
  height: 8px;
  background: #edf1f6;
  border-radius: 10px;
  overflow: hidden;
}
.bar span {
  height: 100%;
  display: block;
  background: var(--blue);
  border-radius: 10px;
}
.score {
  font: 800 66px "Manrope";
  letter-spacing: -3px;
  color: #00a568;
}
.score small {
  font: 400 24px "DM Sans";
  letter-spacing: 0;
  color: #93a0b6;
}
.note {
  font-size: 13px;
  color: #7385a1;
  line-height: 1.7;
  background: #f4f8fd;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #e7eef7;
  margin-top: 18px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.metric-grid .card {
  padding: 21px;
}
.metric-grid strong {
  font: 750 29px "Manrope";
  display: block;
  margin: 8px 0;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  color: #7484a0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #f9fbfe;
  font-weight: 600;
}
th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid #eaf0f7;
}
td {
  font-size: 14px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f8fbff;
}
td .avatar {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  font-size: 12px;
}
.chart {
  height: 240px;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  padding: 25px 25px 35px;
  border-bottom: 1px solid #e5ecf4;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 46px,
    #edf2f8 47px,
    #edf2f8 48px
  );
}
.chart-col {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  align-items: center;
  gap: 8px;
}
.chart-col .fill {
  width: 65%;
  max-width: 50px;
  background: linear-gradient(#40a7ff, #0976ff);
  border-radius: 6px 6px 0 0;
  min-height: 5px;
}
.chart-col strong {
  font-size: 12px;
  color: #45739e;
}
.chart-col label {
  position: absolute;
  bottom: -26px;
  font-size: 12px;
  color: #667a96;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 25px;
}
.compare-hero img {
  width: 90px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}
.compare-hero h2 {
  margin: 0 0 5px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-weight: 600;
  color: #50617e;
  font-size: 13px;
}
.field small {
  color: var(--muted);
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.switch-row p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}
.switch {
  appearance: none;
  width: 39px;
  height: 23px;
  background: #ccd8e7;
  border: 0;
  border-radius: 20px;
  position: relative;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.switch:checked {
  background: var(--blue);
}
.switch:before {
  content: "";
  width: 17px;
  height: 17px;
  position: absolute;
  background: white;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  transition: 0.2s;
}
.switch:checked:before {
  left: 19px;
}
.report {
  max-width: 930px;
  margin: auto;
  background: white;
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 12px;
}
.report-brand {
  color: #008db9;
  font: 750 23px "Manrope";
}
.report h2 {
  font: 800 30px "Manrope";
  margin: 32px 0 10px;
}
.report p {
  line-height: 1.8;
  color: #6c7c95;
}
.report .metric-grid {
  margin: 30px 0;
}
.report h3 {
  font: 750 19px "Manrope";
  margin-top: 30px;
}
.report li {
  line-height: 1.8;
  color: #566b89;
  margin: 10px 0;
}
.export-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.export-option {
  padding: 22px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.export-option:has(input:checked) {
  border-color: var(--blue);
  background: #f1f7ff;
}
dialog {
  border: 1px solid #e2eaf4;
  border-radius: 15px;
  padding: 0;
  max-width: 580px;
  width: calc(100% - 30px);
  box-shadow: 0 24px 100px #051a3040;
  color: var(--ink);
}
dialog::backdrop {
  background: #07192c77;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font: 750 21px "Manrope";
  margin: 0;
}
.dialog-head button {
  padding: 6px;
  border: 0;
}
.dialog-body {
  padding: 25px;
}
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 25px;
  border-top: 1px solid var(--line);
  background: #f8fbff;
}
.upload-zone {
  border: 2px dashed #c7dbf3;
  background: #f6faff;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  position: relative;
}
.upload-zone .icon {
  width: 38px;
  height: 38px;
  color: var(--blue);
  margin-bottom: 12px;
}
.upload-zone input {
  max-width: 100%;
  background: white;
  margin-top: 16px;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  grid-column: 1/-1;
  color: var(--muted);
}
.empty .icon {
  width: 40px;
  height: 40px;
  color: #a4bad6;
  margin-bottom: 13px;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 25px;
  max-width: 450px;
  background: #08233d;
  color: white;
  padding: 15px 22px;
  border-radius: 9px;
  box-shadow: 0 8px 35px #00152c33;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.25s;
  pointer-events: none;
  font-size: 14px;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
.mobile-toggle {
  display: none;
}
.detail-back {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7185a2;
  margin-bottom: 14px;
  font-size: 13px;
}
.legend-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 15px 0;
  font-size: 12px;
  color: #657793;
}
.legend-list i {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 2px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.footer-note {
  font-size: 12px;
  color: #8293ad;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.neg span {
  background: #f28b70;
}
.pos span {
  background: #11b88a;
}
.shap-row {
  display: grid;
  grid-template-columns: 155px 1fr 50px;
  align-items: center;
  gap: 12px;
  margin: 19px 0;
  font-size: 13px;
}
.shap-track {
  height: 18px;
  background: linear-gradient(90deg, #fff5f1 0 50%, #effaf5 50%);
  position: relative;
  border-radius: 3px;
}
.shap-track:before {
  content: "";
  position: absolute;
  left: 50%;
  height: 100%;
  border-left: 1px solid #b7c8d8;
}
.shap-fill {
  position: absolute;
  height: 100%;
  background: #17b887;
  border-radius: 3px;
}
.shap-fill.negative {
  background: #f28b70;
}
.demo-banner {
  color: #63819e;
  font-size: 12px;
  background: #eaf3fb;
  border: 1px solid #dce9f5;
  padding: 10px 14px;
  border-radius: 7px;
  margin-bottom: 20px;
}
.scene-preview {
  font-size: 12px;
  color: #7d8fa9;
  line-height: 1.7;
}
.scene-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 15px;
}
.scene-controls input {
  flex: 1;
  padding: 0;
}
.danger {
  color: #da4360;
}
.settings-saved {
  color: #008955;
  font-size: 13px;
}
video {
  width: 100%;
  max-height: 350px;
  background: #061e37;
  border-radius: 8px;
}
.hidden {
  display: none !important;
}
@media (min-width: 1600px) {
  .map {
    height: 415px;
  }
  .project-row {
    padding: 23px 20px;
  }
  .project-cover {
    height: 185px;
  }
  .media-image {
    height: 220px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 216px;
  }
  .main {
    margin-left: 216px;
  }
  .content {
    padding: 16px 20px 30px;
  }
  .topbar {
    padding: 16px 20px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px 12px;
    gap: 10px;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-label {
    font-size: 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .project-row {
    padding: 18px 12px;
  }
  .project-row img {
    width: 45px;
    height: 50px;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .page-head .actions {
    gap: 7px;
  }
  .project-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar .date-wrap input {
    width: 133px;
  }
  .brand {
    padding: 0 0 14px;
  }
  .brand img {
    height: 57px;
  }
}
@media (max-width: 1000px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }
  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .date-wrap input:nth-last-child(1),
  .date-wrap span {
    display: none;
  }
  .stat {
    padding: 20px;
  }
  .project-row img {
    width: 60px;
  }
  .topbar {
    gap: 8px;
  }
  .comparison {
    grid-template-columns: 1fr;
  }
  .map {
    height: 360px;
  }
  .project-row {
    padding: 15px 20px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
    width: 240px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vw #00152c60;
  }
  .main {
    margin-left: 0;
  }
  .mobile-toggle {
    display: inline-flex;
    padding: 9px;
  }
  .topbar {
    height: 68px;
    padding: 12px 16px;
  }
  .topbar .date-wrap {
    display: none;
  }
  .topbar select {
    max-width: 142px;
  }
  .content {
    padding: 18px 16px 28px;
  }
  .page-head {
    gap: 16px;
    margin-bottom: 20px;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .actions {
    gap: 8px;
  }
  .actions .demo {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 16px 12px;
  }
  .stat:last-child {
    grid-column: 1/-1;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat-label {
    font-size: 13px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .bottom-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .project-grid,
  .media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .project-cover {
    height: 115px;
  }
  .project-card-body {
    padding: 14px;
  }
  .project-card h3 {
    font-size: 16px;
  }
  .project-metrics {
    gap: 8px;
    flex-wrap: wrap;
  }
  .media-image {
    height: 145px;
  }
  .media-info {
    padding: 12px;
  }
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .metric-grid .card {
    padding: 15px 12px;
  }
  .metric-grid strong {
    font-size: 24px;
  }
  .metric-grid small {
    font-size: 11px;
  }
  .panel {
    padding: 18px;
  }
  .photo-large {
    height: 250px;
  }
  .report {
    padding: 23px;
  }
  .report h2 {
    font-size: 25px;
  }
  .export-options {
    grid-template-columns: 1fr;
  }
  .map.big {
    height: 460px;
  }
  .map-popup {
    width: 170px;
  }
  .shap-row {
    grid-template-columns: 125px 1fr 35px;
    gap: 8px;
    font-size: 12px;
  }
  .profile {
    padding: 10px;
  }
  .dialog-body {
    padding: 20px;
  }
  .card-head h2 {
    font-size: 17px;
  }
}
@media (max-width: 400px) {
  .project-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .topbar select {
    max-width: 125px;
  }
  .top-user {
    display: none;
  }
  .map-popup {
    width: 148px;
  }
  .stat {
    gap: 7px;
  }
  .stat-icon {
    width: 29px;
    height: 29px;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  .page-head,
  .footer-note,
  .demo-banner,
  button {
    display: none !important;
  }
  .main {
    margin: 0;
  }
  .content {
    padding: 0;
  }
  .report {
    border: 0;
    max-width: none;
    padding: 15px;
  }
  .card {
    box-shadow: none;
    break-inside: avoid;
  }
  .report h2 {
    margin-top: 20px;
  }
  a {
    color: black;
  }
}
.compact .project-cover {
  height: 100px;
}
.compact .project-card-body {
  padding: 13px;
}
.hide-labels .demo {
  visibility: hidden;
}

/* Model evaluation and prediction metadata */
.confidence-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 21px;
}
.confidence-line .pill {
  font-size: 14px;
  padding: 7px 11px;
  gap: 6px;
}
.confidence-line .icon {
  width: 16px;
  height: 16px;
}
.confidence-line > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.model-info {
  border: 1px solid #e2eaf5;
  background: #f7faff;
  border-radius: 10px;
  padding: 17px;
  margin-top: 20px;
}
.model-info-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}
.model-info-heading .stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.model-info-heading > div {
  flex: 1;
}
.model-info-heading strong {
  font-size: 14px;
  display: block;
}
.model-info-heading > div > span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.model-metrics {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 1fr 0.8fr;
  gap: 14px;
  margin: 0;
}
.model-metrics dt {
  font-size: 12px;
  color: #7285a1;
  line-height: 1.5;
  margin-bottom: 6px;
}
.model-metrics dt small {
  display: block;
  font-size: 11px;
  font-weight: 400;
}
.model-metrics dd {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.model-metrics .model-miou {
  color: #0874d7;
}
.model-caption {
  color: #7a8ca6;
  font-size: 12px;
  line-height: 1.6;
  margin: 15px 0 0;
}
.model-overview {
  background: white;
  margin-top: 20px;
  padding: 20px;
}
.model-overview .model-metrics {
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
.seg-evaluation {
  padding: 15px;
  background: #edf5ff;
  border: 1px solid #dceafd;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.seg-evaluation > div > span {
  display: block;
  color: #6e83a1;
  font-size: 12px;
  margin-bottom: 7px;
}
.seg-evaluation strong {
  font:
    750 24px "Manrope",
    sans-serif;
  color: #1274d8;
}
.section-grid .model-metrics {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 760px) {
  .model-overview .model-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .model-info-heading {
    flex-wrap: wrap;
  }
  .seg-evaluation {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .model-info {
    padding: 14px;
  }
}
@media print {
  .model-info {
    break-inside: avoid;
    background: white;
  }
  .model-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.model-architecture {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}
.collaboration-footer {
  font-size: 8pt;
  line-height: 1.6;
  text-align: center;
  color: #7a8ba3;
  padding: 16px 28px 22px;
  border-top: 1px solid var(--line);
  margin: 0 28px;
  overflow-wrap: anywhere;
}
.main {
  display: flex;
  flex-direction: column;
}
.content {
  width: 100%;
  flex: 1;
}
.collaboration-footer {
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .collaboration-footer {
    margin: 0 16px;
    padding: 14px 0 20px;
  }
}
@media print {
  .collaboration-footer {
    display: block;
    font-size: 8pt;
    color: #555;
    margin: 20px 0 0;
    padding: 12px 0;
    border-top: 1px solid #ddd;
  }
  .main {
    display: block;
  }
}

/* Credits */
.credits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.credit-card{overflow:hidden;display:grid;grid-template-columns:160px minmax(0,1fr)}.credit-body{padding:22px}.credit-body dt{font-weight:650;color:#8191a8;text-transform:uppercase;letter-spacing:.07em;margin:17px 0 5px}.credit-body dd{margin:0;line-height:1.5;overflow-wrap:anywhere}.credit-body .credit-name{font-size:20px;font-weight:750;color:#203f64}@media(max-width:1150px){.credit-card{display:block}}@media(max-width:760px){.credits-grid{grid-template-columns:1fr;gap:16px}}

.credit-portrait{padding:16px 10px;background:#eef3f8;display:flex;align-items:flex-start;justify-content:center}.credit-portrait-crop{width:100%;aspect-ratio:var(--portrait-ratio);position:relative;overflow:hidden;border-radius:10px}.credit-portrait-crop img{position:absolute;max-width:none;width:var(--image-width);height:auto;left:var(--image-left);top:var(--image-top)}.credit-mock{display:inline-block;color:#81612b;font-size:10px;letter-spacing:0;text-transform:none;font-weight:500;margin-left:5px}.credit-body dt{font-size:12px}.credit-body dd{font-size:14px}.credit-body dl{margin-top:0}@media(max-width:1150px){.credit-portrait-crop{max-width:180px}.credit-portrait{padding:20px}}

/* AI Recommendation and perceived quality */
.quality-panel{background:#f3f7fc;border:1px solid #e0eaf5;border-radius:12px;padding:20px;margin:22px 0}.quality-panel h3{font-size:17px;margin:0}.quality-panel>.row{flex-wrap:wrap;gap:10px}.quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.quality-grid>div{background:white;border:1px solid #e1e9f2;border-radius:9px;padding:17px 13px}.quality-grid span{display:block;font-size:14px;color:#60748e}.quality-grid strong{display:block;font-size:28px;margin-top:10px;color:#193c65}.quality-grid small{font-size:14px;color:#8291a8;font-weight:400}.quality-panel>p{font-size:12px;color:#6e829c;line-height:1.6;margin:14px 0 0}.recommendation-card{overflow:hidden}.recommendation-card>img{width:100%;height:190px;object-fit:cover}.recommendation-card h3{margin:17px 0 8px}.recommendation-card button{width:100%;margin-top:12px;justify-content:center}.recommendation-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px}.recommendation-pair figure{margin:0;min-width:0}.recommendation-pair figcaption{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.recommendation-pair figcaption strong{font-size:19px;color:#173655}.recommendation-pair figcaption span{font-size:12px;color:#6e829c}.recommendation-image{padding:0;width:100%;border:0;overflow:hidden;border-radius:10px;background:#eaf0f6}.recommendation-image img{display:block;width:100%;aspect-ratio:11/6;object-fit:contain}.recommendation-score-note{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:18px;font-size:13px;line-height:1.6;color:#627894}.recommendation-suggestions>p{line-height:1.7}.recommendation-item{border:1px solid #e0e8f2;border-radius:10px;padding:22px;margin:18px 0;background:#fff}.recommendation-item>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.recommendation-item h3{margin:0;flex:1;font-size:17px}.recommendation-number{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:#1377cf;background:#eaf4ff;font-size:13px;font-weight:700}.recommendation-values{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:#657b97;margin:17px 0;padding-bottom:16px;border-bottom:1px solid #e8edf4}.recommendation-values strong{color:#2e4969;margin-left:6px}.recommendation-item p{font-size:14px;line-height:1.8;color:#49617c;margin:9px 0}.recommendation-item .recommendation-effect{color:#6d8299;font-size:13px}.recommendation-expanded{width:100%;max-height:70vh;object-fit:contain}.recommendation-suggestions .note{line-height:1.8}@media(max-width:760px){.recommendation-pair{grid-template-columns:1fr}.quality-grid{gap:8px}.quality-grid>div{padding:12px 9px}.quality-grid span{font-size:12px}.quality-grid strong{font-size:24px}.quality-panel{padding:16px}.recommendation-item{padding:16px}.recommendation-item h3{flex-basis:70%;font-size:16px}.recommendation-values{gap:10px}}@media print{.recommendation-image{display:block!important}.recommendation-pair,.quality-panel{break-inside:avoid}}

/* Verified Credits portraits and photo-level UVI factors */
.credit-portrait-crop img{position:static;width:100%;height:100%;object-fit:contain;object-position:top center;display:block}
.uvi-factors{margin-top:26px}.uvi-factors>.row{flex-wrap:wrap;gap:12px}.uvi-factors h2{margin:0}.uvi-factors>p{line-height:1.7}.uvi-factor-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.uvi-factor-card{overflow:hidden}.uvi-factor-card h3{margin:0;padding:20px 24px;color:#fff;font-size:19px;background:#08b5cb}.uvi-factor-card.negative h3{background:#e53b36}.uvi-factor-body{padding:24px}.uvi-factor-row+.uvi-factor-row{margin-top:26px}.uvi-factor-row .row{gap:12px;align-items:baseline}.uvi-factor-row strong{color:#069caf;white-space:nowrap}.negative .uvi-factor-row strong{color:#d93b37}.uvi-factor-track{height:9px;border-radius:9px;background:#edf0f3;overflow:hidden;margin-top:12px}.uvi-factor-track span{display:block;height:100%;background:#08b5cb;border-radius:9px;min-width:0}.negative .uvi-factor-track span{background:#e53b36}.uvi-factor-row strong{font-size:14px}@media(max-width:760px){.uvi-factor-grid{grid-template-columns:1fr;gap:18px}.uvi-factor-body{padding:20px}.uvi-factor-row .row{flex-wrap:wrap}}

/* Language selector */
.language-control{display:flex;align-items:center;gap:12px;font-size:12px;color:#60748e}.language-control select{max-width:180px}@media(max-width:600px){.language-control>span{display:none}.language-control select{max-width:165px}.topbar{gap:10px}}

/* Interactive map only */
.uvi-map{height:343px;z-index:0;background:#edf1f4}.uvi-map.large{height:540px}.uvi-map-tools{padding:12px 16px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid #edf1f5}.uvi-map-tools label{display:flex;align-items:center;gap:6px;font-size:12px;cursor:pointer}.uvi-map-tools input{width:auto;margin:0;accent-color:#087cff}.uvi-map-tools button{padding:7px 10px;font-size:12px;min-height:32px}.uvi-map-status{padding:9px 16px;font-size:12px;color:#637b94;background:#f7fafc}.uvi-map-message,.uvi-tile-warning{padding:10px 16px;margin:0;font-size:12px;background:#fff7e7;color:#835b1c}.uvi-heat-canvas{position:absolute;pointer-events:none}.uvi-score-gradient{background:linear-gradient(90deg,rgb(239,68,68),rgb(250,204,21),rgb(16,185,129))!important}.uvi-photo-popup{font-family:inherit;min-width:190px;max-width:235px}.uvi-photo-popup img{display:block;width:100%;height:120px;object-fit:cover;border-radius:7px;margin:0 0 10px}.uvi-photo-popup strong{display:block;font-size:14px}.uvi-photo-popup p{margin:7px 0!important;line-height:1.5;font-size:12px}.uvi-photo-popup .uvi-popup-score{font-weight:700;font-size:20px;color:#173655}.uvi-photo-popup small{display:block;color:#697b8c;font-size:10px;line-height:1.5}.uvi-photo-popup a{display:block;margin-top:10px}.uvi-map .leaflet-control-zoom a{color:#183954}.uvi-map .leaflet-control-attribution{font-size:10px}@media(max-width:600px){.uvi-map.large{height:460px}.uvi-map-tools{gap:9px;padding:10px}.uvi-map-tools button{font-size:11px}.uvi-map .leaflet-control-attribution{max-width:90%;white-space:normal}}
