:root {
  --nav: #14283c;
  --navdeep: #102133;
  --paper: #f4f6f8;
  --white: #fff;
  --ink: #17283b;
  --muted: #657487;
  --line: #e3e8ee;
  --blue: #275d91;
  --bluep: #eaf1f8;
  --green: #217255;
  --greenp: #e8f3ed;
  --gold: #926421;
  --goldp: #f9f1df;
  --radius: 12px;
  --shadow: 0 2px 5px #17283b08;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #8eb4e0;
  outline-offset: 2px;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}
.sidebar {
  background: var(--nav);
  color: #d8e2ed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 26px 15px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 28px;
  color: white;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #375d7f;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.brand strong {
  font-size: 15px;
  line-height: 1.1;
  display: block;
  letter-spacing: -0.25px;
}
.brand small {
  font-size: 10px;
  color: #b4c5d5;
  letter-spacing: 0.2px;
}
.nav-label {
  padding: 10px 11px;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #90a9be;
  font-weight: 650;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  color: #c6d4e1;
  padding: 12px 11px;
  border-radius: 7px;
  text-align: left;
  font-size: 14px;
}
.nav button:hover,
.nav button.active {
  background: #29475f;
  color: #fff;
}
.nav button.active {
  box-shadow: inset 3px 0 #7baccd;
  font-weight: 650;
}
.nav svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.nav .nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #35536b;
  color: #dce9f3;
  padding: 2px 6px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #32495e;
  padding: 18px 7px 0;
}
.workspace {
  font-weight: 650;
  font-size: 12px;
  color: white;
}
.side-note {
  color: #9cb1c4;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
}
.main {
  min-width: 0;
}
.topbar {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 32px;
  gap: 14px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb b {
  color: var(--ink);
  font-weight: 600;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 13px;
}
.demo-label {
  font-size: 10px;
  letter-spacing: 0.8px;
  font-weight: 700;
  background: #eef2f6;
  color: #53667b;
  padding: 6px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #dce6ef;
  color: #315375;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 750;
}
.page {
  padding: 28px 32px 42px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.page-head h1 {
  margin: 0 0 6px;
  font-size: 29px;
  letter-spacing: -0.9px;
  font-weight: 680;
  line-height: 1.2;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.subtle {
  font-size: 12px;
  color: var(--muted);
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.25px;
  margin: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 19px;
  gap: 12px;
}
.section-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.btn {
  border: 1px solid var(--line);
  background: white;
  color: #294760;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}
.btn:hover {
  background: #edf3f8;
  border-color: #bccbd9;
}
.btn.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.btn.primary:hover {
  background: #194b7d;
}
.btn.link {
  border: none;
  padding: 5px 0;
  color: var(--blue);
  background: transparent;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 20px;
}
.metric {
  border: 1px solid var(--line);
  background: white;
  padding: 16px 17px;
  border-radius: var(--radius);
  text-align: left;
  min-width: 0;
  box-shadow: var(--shadow);
  color: inherit;
}
.metric:hover {
  border-color: #adbdcd;
  background: #fcfdff;
}
.metric-title {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-weight: 600;
}
.metric-title svg {
  width: 17px;
  height: 17px;
  color: #8294a7;
}
.metric-value {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-top: 9px;
  white-space: nowrap;
}
.metric-value.money {
  color: var(--green);
}
.metric-foot {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 18px;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: normal;
}
.data-table thead {
  background: #f8fafb;
}
.data-table th {
  font-size: 11px;
  font-weight: 650;
  color: #5b6b7c;
  padding: 11px 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
  white-space: nowrap;
}
.data-table td {
  padding: 15px 15px;
  border-bottom: 1px solid #edf0f3;
  vertical-align: middle;
  font-size: 12px;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fafcfe;
}
.data-table .job {
  font-weight: 670;
  color: #213950;
  font-size: 13px;
  margin-bottom: 3px;
  line-height: 1.3;
  display: block;
}
.data-table .loc {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.data-table .price {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.data-table .same-price {
  color: var(--green);
}
.data-table .price-unknown {
  color: #7d8895;
  font-size: 13px;
  font-weight: 550;
}
.price-note {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 650;
  display: block;
  white-space: nowrap;
}
.price-note.exact {
  color: var(--green);
}
.price-note.similar {
  color: var(--gold);
}
.price-note.none {
  color: #8a95a2;
}
.detailtext {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 2px;
}
.pill {
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #edf1f5;
  color: #56697b;
}
.pill.blue {
  background: var(--bluep);
  color: #315e89;
}
.pill.green {
  background: var(--greenp);
  color: var(--green);
}
.pill.gold {
  background: var(--goldp);
  color: var(--gold);
}
.small-action {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.small-action:hover {
  text-decoration: underline;
}
.small-action svg {
  width: 13px;
  height: 13px;
}
.row-price {
  background: #f8fbf9;
}
.data-table tr:hover .row-price {
  background: #f2f8f5;
}
.footer-note {
  padding: 11px 18px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.item-list {
  padding: 0 18px 5px;
}
.item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #ecf0f3;
}
.item:first-child {
  border-top: 0;
}
.item-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #eaf1f7;
  color: #365f85;
  border-radius: 8px;
  flex-shrink: 0;
}
.item-icon svg {
  width: 18px;
  height: 18px;
}
.item-icon.gold {
  background: var(--goldp);
  color: var(--gold);
}
.item-body {
  flex: 1;
  min-width: 0;
}
.item-body b {
  display: block;
  font-size: 12px;
  font-weight: 650;
}
.item-body small {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.activity-time {
  font-size: 11px;
  color: #82909f;
  width: 55px;
  white-space: nowrap;
  flex-shrink: 0;
}
.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7199b8;
  flex-shrink: 0;
}
.filters {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.search {
  border: 1px solid #dce3ea;
  border-radius: 7px;
  min-width: 150px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  flex: 1;
  font-size: 12px;
}
.search::placeholder {
  color: #8a97a5;
}
.filter-select {
  border: 1px solid #dce3ea;
  background: white;
  color: #44596d;
  padding: 10px 10px;
  border-radius: 7px;
  font-size: 12px;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  color: #5b6b7c;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.chip.active {
  background: #e9f0f7;
  border-color: #b9ccdf;
  color: #264f77;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: #698094;
  text-transform: uppercase;
}
.callout {
  border: 1px solid #dae4ee;
  background: #f0f5fa;
  padding: 12px 15px;
  border-radius: 8px;
  color: #4b6278;
  font-size: 12px;
  margin-bottom: 17px;
  line-height: 1.55;
}
.danger-note {
  background: #fbf5e9;
  border-color: #ead9b8;
  color: #725723;
}
.progress {
  width: 100px;
  height: 5px;
  border-radius: 3px;
  background: #e7edf1;
  margin-top: 7px;
  overflow: hidden;
}
.progress div {
  height: 100%;
  border-radius: 3px;
  background: #5689ad;
}
.statusrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #0d213666;
  z-index: 10;
  display: none;
}
.overlay.open {
  display: block;
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: min(520px, 100%);
  background: white;
  z-index: 11;
  transform: translateX(105%);
  transition: transform 0.18s ease;
  box-shadow: -15px 0 40px #0d21361f;
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  border-bottom: 1px solid var(--line);
  padding: 23px 23px 18px;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: flex-start;
}
.drawer-header h2 {
  font-size: 22px;
  margin: 5px 0 4px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
.close {
  border: 0;
  background: #edf1f5;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #526476;
  font-size: 20px;
}
.drawer-body {
  padding: 22px;
  overflow: auto;
  flex: 1;
}
.drawer-body h3 {
  margin: 21px 0 10px;
  font-size: 15px;
}
.drawer-body p {
  font-size: 13px;
  line-height: 1.6;
  color: #52677a;
  margin: 6px 0 10px;
}
.drawer-foot {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.drawer-price {
  background: #f1f7f3;
  border: 1px solid #d7e9dd;
  border-radius: 10px;
  padding: 16px;
}
.drawer-price.similar {
  background: #faf6ee;
  border-color: #eee0c3;
}
.drawer-price.none {
  background: #f5f6f7;
  border-color: var(--line);
}
.drawer-price b {
  display: block;
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 4px 0;
  color: var(--green);
}
.drawer-price.similar b {
  color: var(--gold);
}
.drawer-price.none b {
  font-size: 18px;
  color: var(--muted);
}
.detailgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}
.detailgrid div {
  padding: 11px;
  background: #f5f7f9;
  border-radius: 7px;
}
.detailgrid span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.detailgrid strong {
  display: block;
  font-size: 13px;
  margin-top: 5px;
}
.plain-list {
  padding-left: 18px;
  margin: 8px 0;
  color: #42586d;
  font-size: 13px;
  line-height: 1.7;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field label {
  display: block;
  font-size: 12px;
  color: #5c6f82;
  font-weight: 650;
  margin-bottom: 6px;
}
.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid #dce3ea;
  padding: 10px;
  border-radius: 7px;
  color: var(--ink);
  background: white;
}
.settings-body {
  padding: 22px;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 13px;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: #1b3a53;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
  font-size: 13px;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mobilebrand {
  display: none;
}
.summary-bar {
  font-size: 12px;
  color: var(--muted);
  padding: 11px 18px;
  border-top: 1px solid var(--line);
}
.right {
  text-align: right;
}
.nowrap {
  white-space: nowrap;
}
.money-green {
  color: var(--green);
  font-weight: 700;
}
.mini-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.table-subtitle {
  color: #8190a0;
  font-size: 11px;
}
.quote-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.quote-row:last-child {
  border: 0;
}
.quote-row b {
  font-size: 13px;
}
.quote-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.quote-row strong {
  font-variant-numeric: tabular-nums;
}
.emphasis-line {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 12px;
}
.mobile-only {
  display: none;
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .page {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .data-table td,
  .data-table th {
    padding: 13px 11px;
  }
  .metric {
    padding: 14px;
  }
  .metric-value {
    font-size: 25px;
  }
  .data-table {
    min-width: 770px;
  }
  .home-bottom {
    gap: 13px;
  }
  .sidebar {
    padding: 24px 12px;
  }
  .brand {
    padding-left: 4px;
    gap: 8px;
  }
  .brand strong {
    font-size: 14px;
  }
}
@media (max-width: 780px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
    height: auto;
    min-height: 0;
    padding: 12px 11px 8px;
  }
  .brand {
    padding: 0 4px 9px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .brand-mark svg {
    width: 17px;
    height: 17px;
  }
  .brand small,
  .nav-label,
  .sidebar-bottom,
  .nav .nav-count {
    display: none;
  }
  .nav {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
  }
  .nav button {
    padding: 9px 9px;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
  }
  .nav button svg {
    width: 16px;
    height: 16px;
  }
  .nav button.active {
    box-shadow: inset 0 -2px #86afd1;
  }
  .topbar {
    height: 43px;
    padding: 0 14px;
  }
  .avatar {
    display: none;
  }
  .page {
    padding: 18px 13px 24px;
  }
  .page-head h1 {
    font-size: 24px;
  }
  .page-head {
    margin-bottom: 16px;
  }
  .page-head p {
    font-size: 12px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .metric-value {
    font-size: 23px;
  }
  .metric {
    padding: 12px;
  }
  .metric-title {
    font-size: 11px;
  }
  .metric-foot {
    font-size: 10px;
  }
  .home-bottom {
    grid-template-columns: 1fr;
  }
  .section-head {
    padding: 14px;
  }
  .filters {
    padding: 11px 13px;
  }
  .section-title {
    font-size: 15px;
  }
  .table-wrap {
    position: relative;
  }
  .data-table {
    min-width: 730px;
  }
  .page-head .btn {
    font-size: 11px;
    padding: 8px;
  }
  .demo-label {
    font-size: 9px;
  }
  .mobile-only {
    display: inline;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .top-right {
    gap: 6px;
  }
}
