:root {
  color-scheme:light;
  --bg:#edf2f4;
  --paper:#fff;
  --ink:#112a30;
  --muted:#4c626a;
  --line:#d8e3e7;
  --teal:#006b61;
  --teal-dark:#004f48;
  --lime:#d6f87a;
  --nav:#092c30;
  --soft:#e5f4ef;
  --shadow:0 1px 2px #092c300b;
  font:16px/1.5 "Aptos","Segoe UI",Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
}

a {
  color:var(--teal-dark);
  text-underline-offset:3px;
}

a:hover {
  color:var(--teal);
}

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

button,a {
  touch-action:manipulation;
}

:focus-visible {
  outline:3px solid #c37b07;
  outline-offset:3px;
}

.shell {
  max-width:1390px;
  width:calc(100% - 80px);
  margin:0 auto;
}

.skip {
  position:absolute;
  left:-1000px;
  top:12px;
  background:var(--paper);
  padding:10px;
  z-index:2;
}

.skip:focus {
  left:12px;
}

.top {
  background:var(--nav);
  color:#eaf7f5;
}

.top-inner {
  min-height:76px;
  display:flex;
  align-items:center;
  gap:48px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:13px;
  color:#f7fffa;
  font-size:1.04rem;
  font-weight:750;
  text-decoration:none;
  line-height:1.2;
}

.brand:hover {
  color:var(--lime);
}

.brand small {
  font-size:.75rem;
  display:block;
  color:#b9d4d0;
  margin-top:4px;
  font-weight:500;
}

.mark {
  width:35px;
  height:35px;
  border-radius:9px;
  background:var(--lime);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:3px;
  padding-bottom:9px;
}

.mark i {
  width:4px;
  background:var(--nav);
  height:8px;
  border-radius:3px;
}

.mark i:nth-child(2) {
  height:12px;
}

.mark i:nth-child(3) {
  height:17px;
}

.top nav {
  display:flex;
  align-self:stretch;
  gap:24px;
}

.top nav a {
  display:flex;
  align-items:center;
  color:#b9d4d0;
  text-decoration:none;
  font-size:.95rem;
  border-bottom:3px solid transparent;
  padding-top:3px;
}

.top nav a[aria-current],.top nav a:hover {
  color:#fff;
  border-color:var(--lime);
}

.account {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.9rem;
}

.avatar {
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  border-radius:50%;
  color:#f6fffb;
  background:#275356;
  font-weight:700;
}

.ghost {
  border:0;
  background:none;
  color:#d7eeea;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}

.ghost:hover {
  color:#fff;
}

.hero {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  padding:44px 0 24px;
}

.kicker {
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
  font-weight:800;
  color:var(--teal);
  margin:0 0 7px;
}

.hero h1,.detail-hero h1,.login-intro h1 {
  margin:0;
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:780;
  letter-spacing:-.045em;
  line-height:1.06;
}

.hero p:not(.kicker),.detail-hero p {
  color:var(--muted);
  margin:12px 0 0;
}

.date-stamp {
  min-width:max-content;
  display:grid;
  gap:1px;
  border-left:1px solid #c2d2d7;
  padding-left:20px;
  color:var(--muted);
  font-size:.82rem;
}

.date-stamp strong {
  font-size:1rem;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}

.tabs {
  display:flex;
  gap:7px;
  overflow:auto;
  padding-bottom:14px;
  margin-bottom:5px;
}

.tabs a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border:1px solid transparent;
  border-radius:9px;
  color:var(--muted);
  text-decoration:none;
  white-space:nowrap;
  font-weight:680;
  font-size:.93rem;
}

.tabs a[aria-current] {
  color:#fff;
  background:var(--teal-dark);
}

.tabs a:hover:not([aria-current]) {
  background:#e0ecee;
  color:var(--ink);
}

.tabs span {
  font-size:.75rem;
  font-variant-numeric:tabular-nums;
  padding:0 6px;
  border-radius:12px;
  background:#dae8e9;
  color:#23484d;
}

.tabs a[aria-current] span {
  background:var(--lime);
  color:var(--nav);
}

.panel {
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--paper);
  box-shadow:var(--shadow);
  min-width:0;
}

.filters {
  padding:21px;
}

.filters form {
  display:grid;
  grid-template-columns:repeat(5,minmax(116px,1fr));
  gap:13px;
}

.filters .wide {
  grid-column:span 2;
}

.filters .actions {
  align-self:end;
}

.filters label,label:has(textarea),.login-form label {
  display:grid;
  gap:4px;
  font-size:.88rem;
  font-weight:680;
}

.filters input,.filters select,.login-form input,textarea {
  width:100%;
  min-width:0;
  background:#fbfdfd;
  border:1px solid #c6d7dc;
  border-radius:7px;
  color:var(--ink);
  padding:8px 11px;
  min-height:40px;
}

.filters select {
  appearance:none;
  padding-right:27px;
  background-image:linear-gradient(45deg,transparent 50%,#527077 50%),linear-gradient(135deg,#527077 50%,transparent 50%);
  background-position:calc(100% - 15px) 17px,calc(100% - 10px) 17px;
  background-size:5px 5px;
  background-repeat:no-repeat;
}

.actions {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.primary,.secondary {
  color:var(--teal-dark);
  background:white;
  border:1px solid #b9d1d2;
  padding:8px 14px;
  border-radius:8px;
  display:inline-block;
  font-size:.94rem;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
}

.primary {
  background:var(--teal-dark);
  border-color:var(--teal-dark);
  color:white;
}

.primary:hover {
  background:var(--teal);
  color:white;
}

.secondary:hover {
  background:var(--soft);
  color:var(--teal-dark);
}

.section-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.section-head h2,h2 {
  margin:0;
  font-size:1.27rem;
  letter-spacing:-.018em;
}

.section-head span,.lot-meta,.section small,.year small,.metric small {
  color:var(--muted);
  font-size:.84rem;
}

.year-section,.listing {
  margin-top:25px;
}

.years-grid,.metric-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
}

.year {
  padding:14px 16px;
  border-top:3px solid #91adab;
}

.year-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-bottom:1px solid var(--line);
  padding-bottom:8px;
}

.year h3 {
  margin:0;
  font-size:1.13rem;
}

.year-top span {
  font-size:.79rem;
  color:var(--muted);
}

dl {
  margin:0;
}

.year dl>div {
  margin-top:11px;
}

dt,.metric span {
  font-size:.86rem;
  color:var(--muted);
}

dd {
  margin:0;
}

.year dd {
  font-variant-numeric:tabular-nums;
  font-size:1.21rem;
  font-weight:780;
  line-height:1.28;
}

.year small {
  font-size:.76rem;
}

.table-wrap {
  overflow:auto;
}

.column-heading,.column-actions {
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.column-actions {
  flex:none;
  gap:2px;
}

.column-sort,.column-filter {
  display:inline-grid;
  place-items:center;
  width:25px;
  height:25px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:5px;
  color:inherit;
  cursor:pointer;
  text-decoration:none;
}

.column-sort:hover,.column-filter:hover {
  color:var(--teal-dark);
  background:var(--soft);
}

.column-sort span {
  font-size:1rem;
}

[aria-sort] .column-sort,.column-filter.is-active {
  color:var(--teal-dark);
  background:var(--soft);
}

.column-filter.is-active {
  box-shadow:inset 0 0 0 1px #b2d8c7;
}

.column-filter span {
  width:12px;
  height:12px;
  background:currentColor;
  clip-path:polygon(0 0,100% 0,62% 51%,62% 100%,38% 81%,38% 51%);
}

.column-popover {
  position:fixed;
  inset:auto;
  margin:0;
  width:min(248px,calc(100vw - 16px));
  background:var(--paper);
  border:1px solid #b9d1d2;
  color:var(--ink);
  box-shadow:0 8px 24px #092c3022;
  border-radius:9px;
  padding:11px;
  font-size:.9rem;
}

.column-popover .column-popover-title {
  margin:0 0 8px;
  font-weight:700;
}

.column-popover input:not([type="hidden"]),.column-popover select {
  width:100%;
  min-height:35px;
  border:1px solid #c6d7dc;
  border-radius:6px;
  background:var(--paper);
  color:var(--ink);
  padding:4px 7px;
  font-size:.83rem;
}

.column-range,.column-range label {
  display:grid;
  gap:6px;
}

.column-range label {
  gap:2px;
  color:var(--muted);
}

.column-popover-footer:not(:empty) {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.column-popover-footer > * {
  margin-top:8px;
  font-size:.8rem;
}

.column-popover-footer small {
  color:var(--muted);
}

.listing {
  margin-bottom:44px;
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:.92rem;
}

.lot-territory {
  min-width:9rem;
  overflow-wrap:anywhere;
}

th,td {
  padding:13px 12px;
  vertical-align:top;
  border-bottom:1px solid var(--line);
}

th {
  background:#f5f9f9;
  color:#3b565d;
  font-weight:680;
  font-size:.82rem;
  min-width:80px;
}

td:first-child,th:first-child {
  padding-left:17px;
}

td:last-child,th:last-child {
  padding-right:17px;
}

tbody tr:last-child td {
  border-bottom:0;
}

tbody tr:hover {
  background:#f7faf9;
}

.subject {
  max-width:480px;
  min-width:270px;
}

.subject>a {
  display:inline-block;
  line-height:1.3;
  font-weight:720;
  text-decoration:none;
}

.subject>a:hover {
  text-decoration:underline;
}

.lot-meta {
  line-height:1.4;
  margin:2px 0;
  overflow-wrap:anywhere;
}

.number,.nowrap {
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.reviewed {
  display:inline-block;
  margin-top:4px;
  color:var(--teal-dark);
  font-size:.77rem;
  font-weight:700;
}

.empty {
  padding:34px 22px;
}

.empty h3 {
  margin:0;
}

.empty p {
  color:var(--muted);
  margin:7px 0 12px;
}

.pagination {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
}

.pagination span {
  color:var(--muted);
  font-size:.88rem;
}

.breadcrumbs {
  display:flex;
  gap:9px;
  color:var(--muted);
  margin:25px 0 16px;
  font-size:.9rem;
}

.detail-hero {
  padding-bottom:25px;
}

.detail-hero h1 {
  font-size:clamp(1.67rem,3vw,2.65rem);
  max-width:1070px;
  line-height:1.15;
  margin-top:10px;
  overflow-wrap:anywhere;
}

.detail-hero > .actions {
  margin-top:14px;
}

.metric-grid {
  margin-bottom:14px;
}

.metric-grid.lot-metrics {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));
}

.metric {
  min-height:100px;
  padding:16px 17px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:5px;
}

.metric strong {
  font-size:clamp(1.05rem,2.2vw,1.45rem);
  font-variant-numeric:tabular-nums;
  line-height:1.17;
}

.metric.forecast {
  border-color:#b2d8c7;
  background:#e6f5ee;
}

.metric.forecast strong {
  color:var(--teal-dark);
}

.detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.detail-grid > :only-child {
  grid-column:1 / -1;
}

.section {
  padding:18px 21px;
  margin-bottom:14px;
}

.section h2 {
  margin-bottom:12px;
}

.section p {
  margin:0 0 10px;
  overflow-wrap:anywhere;
}

.section p:last-child {
  margin-bottom:0;
}

.document-item {
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--line);
}

.document-item h3 {
  margin:0 0 5px;
  font-size:1rem;
  overflow-wrap:anywhere;
}

.fields div {
  padding:8px 0;
  border-bottom:1px solid #e4ecee;
}

.fields div:last-child {
  border:0;
}

.fields dd {
  font-weight:600;
  overflow-wrap:anywhere;
}

.pill {
  display:inline-block;
  padding:3px 8px;
  border-radius:7px;
  color:#344951;
  background:#eaf1f4;
  font-size:.8rem;
  font-weight:720;
}

.pill.open,.pill.ok,.pill.manual {
  color:#06594b;
  background:#dbf3e9;
}

.pill.planned {
  color:#27537c;
  background:#e2f0ff;
}

.pill.review,.pill.partial,.pill.maintenance {
  color:#684404;
  background:#f9edc5;
}

.pill.error,.error {
  color:#9a2c28;
  background:#fbe9e7;
}

.error,.success {
  padding:9px;
  border-radius:7px;
}

.success {
  background:#dff4e7;
  color:#0d5947;
}

.feedback-form {
  display:grid;
  gap:10px;
  max-width:46rem;
}

.feedback-form button {
  justify-self:start;
}

.favorite-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.favorite-action span {
  color:#7a5500;
  font-size:1.19em;
  line-height:1;
}

.thumb-choice {
  position:relative;
  cursor:pointer;
}

.thumb-choice input {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}

.thumb-choice span {
  display:grid;
  place-items:center;
  width:48px;
  height:44px;
  background:var(--paper);
  border:1px solid #b9d1d2;
  border-radius:8px;
  font-size:1.26rem;
}

.thumb-choice:hover span {
  background:var(--soft);
}

.thumb-choice input:checked + span {
  background:var(--soft);
  border-color:var(--teal);
  box-shadow:inset 0 0 0 1px var(--teal);
}

.thumb-choice input:focus-visible + span {
  outline:3px solid #c37b07;
  outline-offset:3px;
}

.review-criteria {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.review-criteria fieldset {
  min-width:0;
  margin:0;
  padding:5px 10px 10px;
  border:1px solid var(--line);
  border-radius:8px;
}

.review-criteria legend {
  padding:0 4px;
  font-size:.88rem;
  font-weight:700;
}

.source-links {
  list-style:none;
  margin:0;
  padding:0;
}

.source-links li {
  display:flex;
  flex-wrap:wrap;
  gap:5px 12px;
  border-bottom:1px solid var(--line);
  padding:8px 0;
}

.source-links li:last-child {
  border:0;
}

.message {
  max-width:410px;
  overflow-wrap:anywhere;
}

.price-section table {
  margin-bottom:10px;
}

.login-layout {
  min-height:calc(100vh - 76px);
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-content:center;
  gap:32px;
  max-width:1000px;
  margin:auto;
  padding:34px 0;
}

.login-intro,.login-panel {
  padding:clamp(23px,5vw,48px);
}

.login-intro {
  border-radius:15px;
  background:var(--nav);
  color:#f4fffb;
  overflow:hidden;
  min-height:300px;
  position:relative;
}

.login-intro .kicker {
  color:var(--lime);
}

.login-intro p:not(.kicker) {
  max-width:340px;
  color:#d1e8e4;
  position:relative;
  z-index:1;
}

.login-panel {
  align-self:center;
}

.login-form {
  display:grid;
  gap:14px;
  margin-top:20px;
}

.login-form button {
  justify-self:start;
}

.signal-lines {
  position:absolute;
  bottom:-145px;
  right:-110px;
  width:420px;
  height:290px;
  transform:rotate(-22deg);
}

.signal-lines i {
  display:block;
  position:absolute;
  inset:calc(var(--j,0) * 24px);
  border:1px solid #a9e9d345;
  border-radius:48%;
  height:210px;
}

.signal-lines i:nth-child(2) {
  --j:1;
}

.signal-lines i:nth-child(3) {
  --j:2;
}

.signal-lines i:nth-child(4) {
  --j:3;
}

@media(max-width:1050px) {
  .filters form {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .shell {
    width:calc(100% - 42px);
  }
  .years-grid,.metric-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:650px) {
  .shell {
    width:calc(100% - 28px);
  }
  .top-inner {
    min-height:63px;
    gap:13px;
    flex-wrap:wrap;
    padding:8px 0 0;
  }
  .top nav {
    order:3;
    width:100%;
    gap:21px;
  }
  .top nav a {
    padding:4px 0;
  }
  .account .avatar,.account>span:not(.avatar) {
    display:none;
  }
  .brand small {
    display:none;
  }
  .hero {
    padding:25px 0 16px;
    align-items:flex-start;
  }
  .date-stamp {
    display:none;
  }
  .filters {
    padding:13px;
  }
  .filters form {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .hero h1 {
    font-size:2.05rem;
  }
  .detail-grid,.login-layout {
    grid-template-columns:1fr;
    gap:10px;
  }
  .metric {
    padding:10px;
    min-height:80px;
  }
  .metric-grid.lot-metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lot-metrics .metric:last-child:nth-child(odd) {
    grid-column:1 / -1;
  }
  .section {
    padding:14px;
  }
  .review-criteria fieldset {
    padding-inline:6px;
  }
  .review-criteria .actions {
    gap:6px;
  }
  .review-criteria .thumb-choice span {
    width:40px;
  }
  .subject {
    min-width:230px;
  }
  .login-layout {
    min-height:0;
  }
  .login-intro {
    min-height:205px;
  }
  .login-panel {
    margin-top:4px;
  }
  .tabs a {
    padding:8px 9px;
  }
}

.server-reading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--muted);
}

.server-reading strong {
  color: var(--ink);
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

.server-overview meter {
  width: 100%;
  height: 12px;
  accent-color: var(--teal);
  margin-bottom: 7px;
}

.metric-note {
  color: var(--muted);
  font-size: .9rem;
}

.section .metric-note {
  margin-top: 10px;
}

.advanced-filter {
  grid-column: 1 / -1;
  align-self: end;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.advanced-filter h2 {
  margin:0;
  color: var(--teal-dark);
  font-size: .94rem;
  font-weight: 700;
}

.advanced-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.advanced-fields fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 8px 8px;
  margin: 0;
}

.advanced-fields legend {
  color: var(--muted);
  font-size: .84rem;
}

.filter-range {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
}

.text-action {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  text-decoration: underline;
  cursor: pointer;
  font-size: .86rem;
}

.lot-actions {
  margin-top: 4px;
}

.hide-lot {
  color: #932f27;
}

.feedback-history {
  padding-left: 19px;
}

.feedback-history > li {
  margin-bottom: 8px;
}

.history-ratings {
  display:flex;
  flex-wrap:wrap;
  gap:4px 12px;
  margin:4px 0;
  padding:0;
  list-style:none;
  color:var(--muted);
  font-size:.9rem;
}
