:root{
  --bg:#f5f6f4;
  --surface:#ffffff;
  --surface2:#eef1ed;
  --text:#16201b;
  --muted:#6f7973;
  --line:#dfe4df;
  --accent:#193f33;
  --accent2:#2d6352;
  --soft:#e4ece8;
  --danger:#9b3e32;
  --shadow:0 16px 42px rgba(25,45,36,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
button,input,select{font:inherit}
button{cursor:pointer}
.topbar{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(24px,calc((100vw - 1360px)/2));
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(14px);
}
.topbar-actions{display:flex;align-items:center;gap:12px}
.language-switch{display:flex;align-items:center;gap:4px}
.language-switch button{
  min-width:38px;height:34px;padding:0 7px;
  border:1px solid var(--line);border-radius:7px;
  background:var(--surface);color:var(--text);font-size:12px;font-weight:700;
}
.language-switch button:hover{border-color:var(--accent2)}
.language-switch button[aria-pressed="true"]{
  background:var(--accent);border-color:var(--accent);color:#fff;
}
.language-switch button:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.brand{display:block;width:200px;height:60px;overflow:hidden}
.brand-logo{display:block;width:200px;height:60px;overflow:hidden}
.brand-logo img{
  display:block;
  width:230px;
  max-width:none;
  transform:translate(-16px,-61px);
}
.hero{
  background:
    radial-gradient(circle at 88% 10%,rgba(95,143,125,.20),transparent 30%),
    linear-gradient(145deg,#e8eee9,#f8faf8);
  border-bottom:1px solid var(--line);
}
.hero-inner{
  max-width:1360px;margin:auto;padding:66px 24px 40px;
}
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.hero-text {
  flex: 1;
  max-width: 850px;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-top: 16px;
}
.stats-number {
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stats-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
  white-space: nowrap;
}
.eyebrow{
  font-size:12px;font-weight:800;letter-spacing:.16em;color:var(--accent2);margin:0 0 16px
}
h1{
  font-size:clamp(38px,5vw,68px);
  line-height:1.02;
  letter-spacing:-.055em;
  margin:0;
  max-width:850px;
}
.hero-copy{color:var(--muted);font-size:17px;margin:20px 0 34px}
.search-panel{
  background:var(--surface);
  padding:18px;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}
.search-main{
  display:grid;
  grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(150px,1fr)) 130px;
  gap:10px;
}
.field{display:flex;flex-direction:column;gap:7px}
.field span,.sort span{
  font-size:11px;
  font-weight:800;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.06em;
}
input,select{
  width:100%;
  height:46px;
  border:1px solid var(--line);
  border-radius:11px;
  padding:0 12px;
  background:#fff;
  color:var(--text);
  outline:none;
}
input:focus,select:focus{border-color:#75988b;box-shadow:0 0 0 3px rgba(62,108,90,.09)}
.multi-select-native{display:none}
.multi-select{position:relative;width:100%}
.multi-select-toggle{
  width:100%;height:46px;padding:0 38px 0 12px;text-align:left;
  border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;
}
.multi-select-toggle::after{
  content:"";position:absolute;right:14px;top:18px;width:7px;height:7px;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:rotate(45deg);
}
.multi-select-toggle:focus{border-color:#75988b;box-shadow:0 0 0 3px rgba(62,108,90,.09);outline:none}
.multi-select-menu{
  position:absolute;z-index:50;top:calc(100% + 5px);left:0;min-width:100%;max-height:310px;
  overflow:auto;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:0 14px 32px rgba(31,48,42,.18);
}
.multi-select-option{
  display:flex;align-items:center;gap:9px;padding:9px 8px;border-radius:8px;
  cursor:pointer;white-space:nowrap;
}
.multi-select-option:hover{background:#f1f6f3}
.multi-select-option input{width:17px;height:17px;margin:0;accent-color:var(--accent);flex:0 0 auto}
.field .multi-select-option span{
  font-size:14px;font-weight:500;color:var(--text);text-transform:none;letter-spacing:0;
}
.multi-select-all{border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;margin-bottom:3px}

.price-field{position:relative}
.price-range{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
}
.price-input-shell{
  height:46px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}
.price-input-shell:focus-within{
  border-color:#75988b;
  box-shadow:0 0 0 3px rgba(62,108,90,.09);
}
.price-input-shell input{
  min-width:0;
  width:100%;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  outline:0;
}
.price-input-shell input:focus{box-shadow:none}
.price-currency{
  flex:0 0 24px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f0f2f1;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.price-hint{
  position:absolute;
  left:0;
  top:100%;
  margin-top:6px;
  font-size:13px;
  line-height:1.3;
  font-weight:600;
  color:#42544c;
  white-space:normal;
  max-width:280px;
}
.price-hint-example{
  display:block;
  margin-top:2px;
  font-size:13px;
  line-height:1.3;
  font-weight:700;
  color:#2f4f44;
}

.primary{
  border:0;border-radius:11px;background:var(--accent);color:#fff;font-weight:750
}
.primary:hover{background:var(--accent2)}
.search-button{height:46px;align-self:end}
.quick-row{
  margin-top:14px;
  display:flex;justify-content:space-between;align-items:center;gap:16px
}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip,.more-button,.ghost{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:9px 14px;
}
.chip.active{background:var(--soft);border-color:#9eb8ae;color:var(--accent);font-weight:700}
.more-button{font-weight:700}
.more-button span:not(:empty){
  display:inline-grid;place-items:center;
  min-width:20px;height:20px;padding:0 5px;
  border-radius:10px;background:var(--accent);color:#fff;font-size:11px;margin-left:5px
}
.more-filters{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}
.filter-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}
.market-checkbox{display:flex;align-items:center;gap:9px;align-self:end;min-height:42px;font-size:13px;font-weight:700;color:var(--accent);cursor:pointer}
.market-checkbox input{width:18px;height:18px;accent-color:var(--accent);cursor:pointer}
.clear-filters{grid-column:-2/-1;justify-self:end;align-self:end;min-height:42px;border:1px solid var(--line);background:#fff;color:var(--accent);border-radius:10px;padding:9px 14px;font-weight:700;cursor:pointer}
.clear-filters:hover{background:var(--soft);border-color:#9eb8ae}
.amenity-head{display:flex;justify-content:space-between;align-items:center;margin:19px 0 10px;font-weight:700}
.link-button{border:0;background:transparent;color:var(--accent2);font-size:13px}
.amenities{display:flex;flex-wrap:wrap;gap:8px}
.amenity{
  border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 11px;font-size:13px
}
.amenity.active{background:var(--accent);border-color:var(--accent);color:#fff}
.results-section{max-width:1360px;margin:auto;padding:34px 24px 70px}
.results-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}
.results-title{font-size:27px;font-weight:800;letter-spacing:-.03em}
.results-meta{color:var(--muted);font-size:14px;margin-top:5px}
.sort{display:flex;align-items:center;gap:9px}
.sort select{width:190px}
.property-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:.18s ease;
  cursor:pointer;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card-link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.card-photo{height:210px;background:#dde2de;position:relative;overflow:hidden}
.card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#89928d;font-weight:700}
.photo-count{
  position:absolute;right:10px;bottom:10px;background:rgba(17,25,21,.78);
  color:#fff;border-radius:8px;padding:5px 8px;font-size:12px
}
.card-body{padding:16px}
.card-source{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.card-title{
  margin-top:7px;font-size:17px;font-weight:760;line-height:1.28;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px
}
.card-area{font-size:13px;color:var(--muted);margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-price{font-size:23px;font-weight:850;margin-top:14px;letter-spacing:-.03em}
.card-price small{font-size:12px;color:var(--muted);font-weight:600}
.specs{display:flex;gap:14px;margin-top:13px;padding-top:13px;border-top:1px solid var(--line);color:#4f5954;font-size:13px}
.loading{padding:50px;text-align:center;color:var(--muted)}
.error{background:#f9e8e5;color:var(--danger);padding:15px;border-radius:12px}
.pagination{display:flex;justify-content:center;gap:6px;margin-top:34px}
.page-btn{
  min-width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px
}
.page-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.page-btn:disabled{opacity:.4;cursor:default}
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.modal-backdrop{position:absolute;inset:0;background:rgba(10,16,13,.66);backdrop-filter:blur(3px)}
.modal-card{
  width:min(1080px,100%);
  max-height:92vh;
  overflow:auto;
  position:relative;
  background:#fff;
  border-radius:22px;
  box-shadow:0 30px 90px rgba(0,0,0,.32);
}
.modal-close{
  position:absolute;right:14px;top:14px;z-index:4;
  width:40px;height:40px;border:0;border-radius:50%;
  background:rgba(255,255,255,.94);font-size:26px
}
.detail-gallery{height:430px;background:#dfe4e0;position:relative;overflow:hidden}
.detail-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-nav{
  position:absolute;top:50%;z-index:2;transform:translateY(-50%);
  width:48px;height:48px;border:0;border-radius:50%;
  display:grid;place-items:center;padding:0;
  background:rgba(255,255,255,.92);color:#17201b;
  box-shadow:0 4px 18px rgba(0,0,0,.24);
  font-size:38px;line-height:1;cursor:pointer;
}
.gallery-nav:hover{background:#fff}
.gallery-nav:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.gallery-nav-prev{left:16px}
.gallery-nav-next{right:16px}
.gallery-counter{
  position:absolute;left:50%;bottom:14px;z-index:2;transform:translateX(-50%);
  padding:6px 10px;border-radius:999px;background:rgba(10,16,13,.68);
  color:#fff;font-size:12px;font-weight:750;line-height:1;
}
.detail-wrap{padding:28px}
.detail-top{display:grid;grid-template-columns:1fr auto;gap:30px}
.detail-title{font-size:30px;line-height:1.15;font-weight:850;letter-spacing:-.04em}
.detail-location{color:var(--muted);margin-top:7px}
.detail-price{font-size:30px;font-weight:850;white-space:nowrap}
.detail-specs{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}
.detail-spec{
  background:var(--surface2);border-radius:10px;padding:9px 12px;font-size:13px
}
.detail-columns{display:grid;grid-template-columns:1.7fr 1fr;gap:30px;margin-top:24px}
.section-title{font-size:18px;font-weight:800;margin:0 0 12px}
.description{white-space:pre-line;line-height:1.65;color:#45504a}
.detail-amenities{display:flex;flex-wrap:wrap;gap:8px}
.detail-amenity{padding:8px 10px;border-radius:9px;background:var(--surface2);font-size:13px}
.source-box,.check-box{
  border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:14px
}
.source-box a{color:var(--accent2);font-weight:700;text-decoration:none}
.check-button{width:100%;height:46px}
.check-status{font-size:19px;font-weight:850;margin-bottom:8px}
.match{
  margin-top:10px;padding:11px;border-radius:9px;background:var(--surface2);font-size:13px
}
.muted{color:var(--muted)}
.hidden{display:none!important}
.mobile-only{display:none}
@media(max-width:1050px){
  .search-main{grid-template-columns:1fr 1fr 1fr}
  .search-main .wide{grid-column:span 2}
  .filter-grid{grid-template-columns:repeat(4,1fr)}
  .property-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .topbar{height:64px;padding:0 16px}
  .topbar-actions{gap:8px}
  .language-switch button{min-width:34px;padding:0 5px}
  .brand-sub{display:none}
  .hero-inner{padding:38px 16px 24px}
  .hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero-stats {
    align-items: flex-start;
    text-align: left;
    margin-top: -8px;
    margin-bottom: 16px;
  }
  .stats-number {
    font-size: 38px;
  }
  h1{font-size:40px}
  .hero-copy{font-size:15px}
  .search-panel{padding:13px;border-radius:16px}
  .search-main{grid-template-columns:1fr}
  .search-main .wide{grid-column:auto}
  .quick-row{align-items:flex-start}
  .chips{gap:6px}
  .chip{padding:8px 10px;font-size:12px}
  .filter-grid{grid-template-columns:1fr 1fr}
  .results-section{padding:25px 14px 50px}
  .results-head{align-items:flex-start;gap:15px}
  .sort span{display:none}
  .sort select{width:145px}
  .property-grid{grid-template-columns:1fr 1fr;gap:10px}
  .card-photo{height:160px}
  .card-body{padding:12px}
  .card-title{font-size:15px}
  .card-price{font-size:19px}
  .specs{gap:8px;font-size:12px}
  .detail-gallery{height:300px}
  .detail-wrap{padding:20px}
  .detail-top,.detail-columns{grid-template-columns:1fr}
  .detail-price{font-size:26px}
}
@media(max-width:480px){
  .property-grid{grid-template-columns:1fr}
  .card-photo{height:225px}
  .results-head{display:block}
  .sort{margin-top:14px}
  .sort select{width:100%}
}

.card-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.card-badges{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
}
.deal-badge{
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--accent2);
  background:var(--soft);
  padding:5px 7px;
  border-radius:7px;
}
.object-match-badge{
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#315c4b;
  background:#e5f2ec;
  padding:5px 7px;
  border-radius:7px;
}
.amenity-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.amenity-count{
  color:#7a847e;
  margin-left:3px;
  font-size:11px;
}
.amenity.active .amenity-count{
  color:rgba(255,255,255,.75);
}
.detail-price small{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:650;
  text-align:right;
  margin-top:3px;
  letter-spacing:0;
}
.check-message{
  font-size:13px;
  line-height:1.5;
}

/* Loading skeletons */
.skeleton-card{
  pointer-events:none;
}
.skeleton{
  position:relative;
  overflow:hidden;
  background:#e7ebe8;
}
.skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.72),
    transparent
  );
  animation:skeleton-shimmer 1.25s infinite;
}
@keyframes skeleton-shimmer{
  100%{transform:translateX(100%)}
}
.skeleton-photo{
  height:210px;
}
.skeleton-line{
  height:12px;
  border-radius:7px;
  margin-top:12px;
}
.skeleton-line.short{width:28%;margin-top:0}
.skeleton-line.title{width:82%;height:18px}
.skeleton-line.medium{width:48%}
.skeleton-line.price{width:40%;height:22px;margin-top:24px}
.skeleton-line.specs-line{width:72%;margin-top:22px}

/* Better mobile interaction */
@media(max-width:760px){
  .mobile-only{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
  }

  .hero-inner{
    padding-top:30px;
  }

  .hero-copy{
    margin-bottom:24px;
  }

  .quick-row{
    flex-direction:column;
    align-items:stretch;
  }

  .more-button{
    width:100%;
  }

  .amenity-head{
    align-items:flex-start;
    gap:10px;
  }

  .amenity-actions{
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .amenities{
    gap:7px;
  }

  .amenity{
    padding:9px 10px;
  }

  .modal{
    padding:0;
    align-items:flex-end;
  }

  .modal-card{
    width:100%;
    max-height:94vh;
    border-radius:22px 22px 0 0;
  }

  .modal-close{
    position:sticky;
    float:right;
    margin:10px 10px -50px 0;
    top:10px;
  }

  .detail-gallery{
    height:280px;
  }

  .gallery-nav{
    width:44px;height:44px;font-size:34px;
  }

  .gallery-nav-prev{left:10px}
  .gallery-nav-next{right:10px}

  .skeleton-photo{
    height:160px;
  }
}

@media(max-width:480px){
  .skeleton-photo{
    height:225px;
  }
}

/* ==========================================================
   CHECK PROPERTY V3
   ========================================================== */

.check-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0 4px;
  font-size: 13px;
  color: #66716b;
}

.check-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d8e1dc;
  border-top-color: #174f3d;
  border-radius: 50%;
  animation: check-spin .75s linear infinite;
}

@keyframes check-spin {
  to { transform: rotate(360deg); }
}

.check-results {
  margin-top: 16px;
}

.market-position,
.market-unavailable {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dce5df;
  border-radius: 16px;
  background: #f8fbf9;
}

.market-position-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #164f3d;
}

.market-position-head strong { font-size: 22px; }
.market-position-head span { color: #64736c; }

.market-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin-top: 14px;
  color: #64736c;
}

.market-metrics strong { color: #17251f; }
.market-meta { margin-top: 12px; color: #78857f; font-size: 12px; }
.market-unavailable { color: #78857f; }
.market-unavailable strong { display: block; margin-top: 8px; color: #17251f; }
.market-unavailable span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; }

.check-result-summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dfe6e2;
  border-radius: 14px;
  background: #f7f9f8;
}

.check-result-icon {
  display: flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  background: #e8efeb;
  color: #174f3d;
}

.check-result-title {
  margin-top: 1px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 800;
  color: #17231e;
}

.check-result-description {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: #6c7771;
}

.check-result-strong {
  background: #f0f7f3;
  border-color: #bdd5c8;
}

.check-result-strong .check-result-icon {
  background: #174f3d;
  color: white;
}

.check-result-possible,
.check-result-repost {
  background: #faf7ee;
  border-color: #ddd3b5;
}

.check-result-possible .check-result-icon,
.check-result-repost .check-result-icon {
  background: #eee5c9;
  color: #665627;
}

.check-result-clear .check-result-icon {
  background: #e9f1ed;
  color: #174f3d;
}

.check-result-empty .check-result-icon {
  background: #edf0ee;
  color: #78827c;
}

.check-match-count {
  margin: 16px 2px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6c7771;
}

.check-match-list {
  display: grid;
  gap: 12px;
}

.check-match-card {
  padding: 15px;
  border: 1px solid #dde5e0;
  border-radius: 14px;
  background: #fff;
}

.dedupe-review {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.dedupe-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.dedupe-review-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.dedupe-review-button:hover,
.dedupe-review-button.is-selected {
  border-color: var(--accent);
  color: var(--accent);
}

.dedupe-review-button:disabled {
  cursor: wait;
  opacity: .55;
}

.dedupe-review-status {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.check-match-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.check-source-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.check-source {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #174f3d;
}

.match-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
}

.match-badge-strong {
  background: #e6f1eb;
  color: #174f3d;
}

.match-badge-possible {
  background: #f2ead2;
  color: #6c5a23;
}

.match-badge-repost {
  background: #eef0ef;
  color: #59625d;
}

.check-match-title {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  color: #1c2822;
}

.check-confidence {
  flex: 0 0 auto;
  min-width: 46px;
  text-align: right;
}

.check-confidence strong {
  display: block;
  font-size: 17px;
  line-height: 1;
  color: #174f3d;
}

.check-confidence span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #8a928e;
}

.confidence-track {
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ef;
}

.confidence-fill {
  height: 100%;
  border-radius: inherit;
  background: #174f3d;
}

.check-match-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.check-match-price {
  font-size: 15px;
  font-weight: 800;
  color: #17231e;
}

.check-freshness {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f3f2;
  font-size: 10px;
  font-weight: 700;
  color: #68716c;
}

.check-fresh {
  background: #e9f3ed;
  color: #276148;
}

.check-stale {
  background: #f0eeee;
  color: #766767;
}

.check-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.check-facts span {
  padding: 4px 7px;
  border-radius: 7px;
  background: #f5f7f6;
  font-size: 10px;
  color: #59645e;
}

.check-evidence,
.check-differences {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #edf0ee;
}

.check-block-label {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6d7772;
}

.check-evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.evidence-pill {
  padding: 4px 7px;
  border-radius: 7px;
  background: #edf5f0;
  font-size: 10px;
  line-height: 1.3;
  color: #285c46;
}

.difference-row {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 10px;
  color: #66706b;
}

.difference-row strong {
  font-size: 10px;
  font-weight: 700;
  color: #2d3832;
}

.difference-percent,
.difference-soft {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f5eee6;
  font-size: 9px;
  font-weight: 700;
  color: #7b5c39;
}

.difference-soft {
  background: #f2f0e8;
  color: #71684c;
}

.difference-note {
  margin: -1px 0 5px;
  font-size: 9px;
  line-height: 1.4;
  color: #858d89;
}

.check-open-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid #edf0ee;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: #174f3d;
}

.check-open-match:hover {
  text-decoration: underline;
}

.check-empty-detail {
  margin-top: 11px;
  padding: 0 2px;
  font-size: 11px;
  line-height: 1.5;
  color: #828a86;
}

.check-error {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e2cece;
  border-radius: 10px;
  background: #faf3f3;
  font-size: 12px;
  color: #744949;
}

.check-error div {
  margin-top: 4px;
  font-size: 10px;
  opacity: .8;
}

@media (max-width: 700px) {
  .check-match-head {
    gap: 8px;
  }

  .check-match-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .difference-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 7px 0;
  }

  .check-confidence strong {
    font-size: 15px;
  }
}
