/* =========================================================
   Ricohome — trang dịch vụ & trang báo giá chi tiết
   Dùng cùng biến, nút, form của style.css
   ========================================================= */

/* ---------- Tiện ích chung ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle;
}
.icon-sm { width: 16px; height: 16px; }
.btn-icon { gap: 10px; white-space: normal; text-align: left; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.lead { font-size: 18px; color: var(--ink-soft); max-width: 36em; }
.svc-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section h3 { font-size: 20px; }

/* Bố cục hai cột: ảnh + chữ, căn theo cùng lề container */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-top { align-items: start; }
.split-reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--beige-line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 18px; }
.split + * { margin-top: clamp(32px, 4vw, 48px); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-text { order: -1; }
  .lead { font-size: 17px; }
}

/* =========================================================
   1. Banner tràn ngang — chỉ ảnh, H1 và mô tả
   ========================================================= */
.svc-hero {
  position: relative;
  background: var(--teal);
  color: var(--on-teal);
  overflow: hidden;
}
.svc-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-hero h1 {
  color: var(--cream);
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.svc-hero p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: #E4ECEA;
  max-width: 30em;
}

/* Máy tính: ảnh phủ kín, chữ kem nằm ở vùng tối bên trái */
@media (min-width: 861px) {
  .svc-hero {
    min-height: clamp(440px, 38.5vw, 640px);
    display: flex; align-items: center;
  }
  .svc-hero-media { position: absolute; inset: 0; }
  .svc-hero-media img { object-position: 78% 40%; }
  /* Giữ vùng chữ luôn đủ tối khi màn hình hẹp làm ảnh dịch sang trái */
  .svc-hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13, 61, 62, .78) 0%, rgba(13, 61, 62, .45) 38%, rgba(13, 61, 62, 0) 58%);
  }
  .svc-hero-text { position: relative; z-index: 1; padding-block: 64px; }
  .svc-hero-text > * { max-width: min(520px, 44%); }
}

/* Điện thoại: ảnh giữ chủ thể bên phải, chữ trên nền chuyển sắc phía dưới */
@media (max-width: 860px) {
  .svc-hero-media { position: relative; aspect-ratio: 4 / 3; }
  .svc-hero-media img { object-position: 76% 35%; }
  .svc-hero-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
    background: linear-gradient(180deg, rgba(15, 61, 62, 0) 0%, var(--teal) 100%);
  }
  .svc-hero-text {
    position: relative;
    margin-top: -28px;
    padding-bottom: 36px;
    background: linear-gradient(180deg, var(--teal) 0%, #0B3132 100%);
  }
  .svc-hero h1 { font-size: clamp(32px, 9vw, 40px); margin-bottom: 12px; }
  .svc-hero p { font-size: 17px; }
}

/* =========================================================
   2. Hạng mục — 3 × 2 trên máy tính, 1 cột trên điện thoại
   ========================================================= */
.svc-items { background: var(--cream); }
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.item-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--beige-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.item-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige-line); }
.item-media img { width: 100%; height: 100%; object-fit: cover; }
.item-body { padding: 22px 22px 26px; }
.item-body h3 { margin-bottom: 10px; }
.item-body p { font-size: 16px; color: var(--ink-soft); }

@media (max-width: 1023px) and (min-width: 641px) {
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .item-grid { grid-template-columns: 1fr; }
  .item-body { padding: 20px 20px 22px; }
}

/* =========================================================
   3. Tư vấn — ba nhóm quyết định
   ========================================================= */
.svc-advice { background: var(--beige); }
.advice-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.advice-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--teal);
}
.advice-first { border-top-color: var(--amber); }
.advice-later { border-top-color: #8FA8A4; }
.advice-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal);
  margin-bottom: 14px;
}
.advice-first .advice-icon { background: #FBE9D2; color: var(--amber-dark); }
.advice-icon .icon { width: 22px; height: 22px; }
.advice-card h3 { margin-bottom: 8px; }
.advice-card p { font-size: 16px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .advice-groups { grid-template-columns: 1fr; }
}

/* =========================================================
   4. Bảng giá tóm tắt
   ========================================================= */
.svc-price { background: var(--cream); }
.price-wrap {
  background: #fff;
  border: 1px solid var(--beige-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table thead th {
  background: var(--teal); color: var(--on-teal);
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  text-align: left; padding: 14px 20px;
}
.price-table th, .price-table td { padding: 14px 20px; text-align: left; vertical-align: top; }
.price-table tbody tr + tr > * { border-top: 1px solid var(--beige-line); }
.price-table tbody tr:nth-child(even) { background: #FCFBF9; }
.price-table tbody th { font-weight: 600; color: var(--ink); width: 38%; }
.price-table td:nth-child(2) {
  font-weight: 600; color: var(--teal); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-table td:nth-child(3) { color: var(--ink-soft); }

.price-notes { margin-top: 20px; display: grid; gap: 14px; justify-items: start; }
.price-example {
  padding: 14px 18px;
  background: var(--beige);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.price-source { font-size: 15px; color: var(--ink-soft); max-width: 60em; }
.price-source a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.price-notes .btn { margin-top: 6px; }

/* Điện thoại: mỗi dòng thành một khối, không tràn ngang */
@media (max-width: 640px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tbody tr { padding: 14px 16px; }
  .price-table tbody tr + tr > * { border-top: 0; }
  .price-table tbody tr + tr { border-top: 1px solid var(--beige-line); }
  .price-table tbody th, .price-table td { padding: 0; width: auto; }
  .price-table tbody th { font-size: 16px; margin-bottom: 6px; }
  .price-table td { display: grid; grid-template-columns: 92px 1fr; gap: 8px; font-size: 15px; }
  .price-table td + td { margin-top: 4px; }
  .price-table td::before {
    content: attr(data-label);
    font-weight: 500; font-size: 13px; color: #6B6B73;
    padding-top: 1px;
  }
  .price-table td:nth-child(2) { white-space: normal; font-size: 16px; }
  .price-notes .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   5. Trước – sau
   ========================================================= */
.svc-compare { background: var(--teal); color: var(--on-teal); }
.svc-compare h2 { color: var(--cream); }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.compare-half { margin: 0; }
/* Mỗi nửa là ô vuông cắt từ ảnh ghép 2:1, nên tỷ lệ ảnh gốc được giữ nguyên */
.compare-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--teal-90);
}
.compare-before .compare-frame { border-radius: var(--radius) 0 0 var(--radius); }
.compare-after .compare-frame { border-radius: 0 var(--radius) var(--radius) 0; }
.compare-frame img {
  position: absolute; top: 0; height: 100%;
  width: 200%; max-width: none;
  object-fit: cover;
}
.compare-before img { left: 0; }
.compare-after img { left: -100%; }
.compare-label {
  position: absolute; top: 16px; left: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24, 24, 27, .82);
  color: #fff;
  font-weight: 600; font-size: 15px;
}
.compare-label-after { background: var(--amber); color: var(--ink); }
.compare-half figcaption {
  margin-top: 14px;
  font-size: 16px;
  color: #E4ECEA;
  max-width: 34em;
}
@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; gap: 28px; }
  .compare-before .compare-frame,
  .compare-after .compare-frame { border-radius: var(--radius); }
}

/* =========================================================
   6. Điểm khác biệt
   ========================================================= */
.svc-diff { background: var(--beige); }
.feature-list { display: grid; gap: 22px; margin-top: 8px; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal); color: var(--cream);
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature-list h3 { margin-bottom: 6px; }
.feature-list p { font-size: 16px; color: var(--ink-soft); }

/* =========================================================
   7. Quy trình
   ========================================================= */
.svc-process { background: var(--cream); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 60px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: var(--cream);
  font: 700 17px/1 var(--font-head);
  font-variant-numeric: tabular-nums;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: 2px;
  width: 2px; background: var(--beige-line);
}
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: 16px; color: var(--ink-soft); }
.step-result { font-weight: 600; color: var(--amber-dark); }

/* =========================================================
   8. Nhà đang ở
   ========================================================= */
.svc-living { background: var(--beige); }
.situation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.situation {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
}
.situation h3 { margin-bottom: 8px; font-size: 18px; }
.situation p { font-size: 16px; color: var(--ink-soft); }
.callout {
  margin-top: 20px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: var(--radius-sm);
  font-size: 16px;
}
.callout .icon { margin-top: 2px; }
@media (max-width: 1023px) {
  .situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .situation-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   9. FAQ — <details>/<summary>, dùng được bằng bàn phím
   ========================================================= */
.svc-faq { background: var(--cream); }
.faq-media { aspect-ratio: 4 / 3; }
@media (min-width: 861px) { .faq-media { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-list { border-top: 1px solid var(--beige-line); margin-top: 8px; }
.faq { border-bottom: 1px solid var(--beige-line); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px;
  padding: 16px 4px;
  cursor: pointer;
  border-radius: 6px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; margin: 0; }
.faq summary:hover h3 { color: var(--amber-dark); }
.faq-icon {
  width: 32px; height: 32px; padding: 6px;
  border-radius: 50%;
  background: var(--beige); color: var(--teal);
  transition: transform .2s, background-color .2s;
}
.faq[open] .faq-icon { transform: rotate(180deg); background: var(--teal); color: var(--cream); }
.faq p { padding: 0 52px 20px 4px; font-size: 16px; color: var(--ink-soft); }
@media (max-width: 640px) { .faq p { padding-right: 4px; } }

/* =========================================================
   10. Liên hệ
   ========================================================= */
.svc-contact { background: var(--beige); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-side h2 { margin-bottom: 16px; }
.contact-photo {
  margin-top: 28px;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--beige-line);
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hint { font-size: 14px; color: #5F5F67; margin-top: -2px; }
.field-label, .check-group legend { font-weight: 600; font-size: 15px; color: var(--ink); }
.legend-hint { font-weight: 400; color: #5F5F67; }

.check-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-group legend { padding: 0; margin-bottom: 8px; }
.check {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #CFC8BB;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px; line-height: 1.35;
}
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--teal); background: #F1F6F5; }
.check:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

.file-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
/* Ẩn ô chọn tệp gốc nhưng vẫn nhận focus bàn phím; nhãn "Đính kèm ảnh" là nút hiển thị.
   Cần đặc hiệu cao hơn ".field input" của style.css (rộng 100%). */
.field .file-input {
  position: absolute; width: 1px; height: 1px; min-height: 0;
  padding: 0; border: 0; margin: -1px;
  opacity: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.file-pick { position: relative; }
.file-button { cursor: pointer; }
.file-input:focus-visible + .file-button { outline: 3px solid var(--amber); outline-offset: 3px; }
.file-clear {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 4px;
  border: 0; background: none;
  font: 500 15px/1.2 var(--font-body);
  color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.file-clear[hidden] { display: none; }
.file-list { display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 12px;
  background: var(--beige);
  border-radius: 8px;
  font-size: 14px;
}
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: #5F5F67; flex-shrink: 0; }
.svc-form .btn-block { justify-content: center; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-photo { margin-top: 20px; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .form-row, .check-group { grid-template-columns: 1fr; }
  .file-pick .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Trang báo giá chi tiết
   ========================================================= */
.quote-hero { background: var(--teal); color: var(--on-teal); padding-block: clamp(40px, 6vw, 72px); }
.quote-hero h1 { color: var(--cream); font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; letter-spacing: -.02em; }
.quote-hero p { color: #E4ECEA; max-width: 44em; font-size: 17px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin-bottom: 12px;
  color: var(--cream); font-weight: 500; text-decoration: none;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.quote-meta {
  margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 32px;
}
.quote-meta div { display: grid; gap: 2px; }
.quote-meta dt { font-size: 13px; color: var(--on-teal-soft); text-transform: uppercase; letter-spacing: .08em; }
.quote-meta dd { margin: 0; font-weight: 600; color: var(--cream); }
.quote-meta a { color: var(--cream); display: inline-flex; align-items: center; gap: 4px; }

.quote-tools {
  position: sticky; top: var(--header-h); z-index: 5;
  background: rgba(249, 248, 246, .97);
  border-bottom: 1px solid var(--beige-line);
  padding-block: 14px;
}
.quote-tools-inner { display: grid; gap: 12px; }
.search-box { position: relative; max-width: 520px; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #6B6B73; pointer-events: none; }
.search-box input {
  width: 100%; min-height: 48px;
  padding: 10px 92px 10px 44px;
  font: 400 16px/1.4 var(--font-body);
  border: 1.5px solid #CFC8BB; border-radius: 999px; background: #fff;
}
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 61, 62, .18); }
.search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 36px; padding: 6px 12px;
  border: 0; border-radius: 999px; background: var(--beige);
  font: 500 14px/1 var(--font-body); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.search-clear[hidden] { display: none; }
.group-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.group-nav a {
  flex-shrink: 0;
  padding: 8px 14px; border-radius: 999px;
  background: var(--beige); color: var(--teal);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.group-nav a:hover { background: var(--teal); color: var(--cream); }
.search-status { font-size: 14px; color: var(--ink-soft); min-height: 0; }
.search-status:empty { display: none; }

.quote-body { padding-block: clamp(32px, 5vw, 56px) var(--section-y); }
.quote-group { scroll-margin-top: calc(var(--header-h) + 150px); }
.quote-group + .quote-group { margin-top: clamp(36px, 5vw, 56px); }
.quote-group h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.group-intro { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; max-width: 60em; }

.quote-table-wrap { background: #fff; border: 1px solid var(--beige-line); border-radius: var(--radius); overflow: hidden; }
.quote-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.quote-table thead th {
  background: var(--beige); color: var(--teal);
  font-weight: 600; font-size: 13px; text-align: left;
  padding: 12px 14px; vertical-align: bottom;
}
.quote-table th, .quote-table td { padding: 12px 14px; text-align: left; vertical-align: top; }
.quote-table tbody tr + tr > * { border-top: 1px solid var(--beige-line); }
.quote-table tbody th { font-weight: 600; color: var(--ink); min-width: 220px; }
.quote-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote-table td.price { font-weight: 700; color: var(--teal); }
.quote-table .muted { color: var(--ink-soft); }
.quote-table tbody tr { scroll-margin-top: calc(var(--header-h) + 160px); }
.quote-table tbody tr:target { background: #FFF4E5; box-shadow: inset 4px 0 0 var(--amber); }
.in-summary {
  display: inline-block; margin-top: 4px;
  padding: 2px 8px; border-radius: 999px;
  background: #FBE9D2; color: var(--amber-dark);
  font-size: 12px; font-weight: 600;
}
.src-note { display: block; font-weight: 400; font-size: 13px; color: #6B6B73; margin-top: 2px; }
.group-note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 60em; }

.quote-empty { padding: 24px; background: var(--beige); border-radius: var(--radius); }
.quote-empty[hidden] { display: none; }

.quote-footer-note {
  margin-top: clamp(36px, 5vw, 56px);
  padding: 20px 22px;
  background: var(--beige);
  border-radius: var(--radius);
  display: grid; gap: 10px;
  font-size: 15px; color: var(--ink-soft);
}
.quote-footer-note .btn { justify-self: start; margin-top: 6px; }

@media (max-width: 860px) {
  .quote-meta { grid-template-columns: repeat(2, auto); }
  .quote-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .quote-table, .quote-table tbody, .quote-table tr, .quote-table th, .quote-table td { display: block; width: 100%; }
  .quote-table tbody tr { padding: 14px 16px; }
  .quote-table tbody tr + tr > * { border-top: 0; }
  .quote-table tbody tr + tr { border-top: 1px solid var(--beige-line); }
  .quote-table tbody th, .quote-table td { padding: 0; min-width: 0; }
  .quote-table tbody th { margin-bottom: 6px; font-size: 16px; }
  .quote-table td { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
  .quote-table td + td { margin-top: 3px; }
  .quote-table td::before { content: attr(data-label); font-size: 13px; color: #6B6B73; font-weight: 500; }
  .quote-table td:empty, .quote-table td.blank { display: none; }
  .quote-table .num { text-align: left; white-space: normal; }
  .quote-footer-note .btn { justify-self: stretch; justify-content: center; }
}

/* Tên công việc trong bảng tóm tắt dẫn tới đúng dòng ở trang chi tiết */
.row-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(15, 61, 62, .3); text-underline-offset: 4px; }
.row-link:hover { color: var(--teal); text-decoration-color: var(--amber); }

/* Chỉnh sau kiểm tra */
.in-summary { display: table; margin-top: 6px; }
.quote-tools { background: var(--cream); }
@media (max-width: 860px) {
  /* Trên điện thoại thanh tra cứu không dính để chừa chỗ cho bảng */
  .quote-tools { position: static; }
  .quote-group, .quote-table tbody tr { scroll-margin-top: calc(var(--header-h) + 16px); }
}
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.quote-meta a, .price-source a { display: inline; }
.quote-meta a .icon, .price-source a .icon { margin-left: 4px; vertical-align: -2px; }
