.estimate-page {
  --estimate-blue:#3b3b3b;
  --estimate-line:#dfdfdf;
  --estimate-muted:#606060;
  font-size: 15px;
  line-height: 1.8;
}
.estimate-page [hidden] {
  display: none !important;
}
.estimate-page button,
.estimate-page input {
  font: inherit;
}
.estimate-page button,
.estimate-page summary,
.estimate-page label {
  cursor: pointer;
}
.estimate-page a {
  color: var(--estimate-blue);
}
.estimate-page h2,
.estimate-page h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.estimate-page h2 > svg,
.estimate-page h3 > svg {
  color: var(--estimate-blue);
  flex: none;
}
.estimate-page h2 {
  font-size: 24px;
}
.estimate-page h3 {
  font-size: 18px;
}
.estimate-intro {
  padding: 32px 0 0;
}
.estimate-intro .v3-breadcrumb {
  margin-bottom: 20px;
}
.estimate-page h1 {
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.estimate-lead {
  font-size: 15px;
  color: var(--estimate-muted);
  margin: 12px 0 0;
}
.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 4px;
  padding-bottom: 40px;
}
.estimate-hint {
  font-size: 12px;
  color: var(--estimate-muted);
  line-height: 1.8;
  margin: 8px 0;
}
.sheet-hint {
  margin-bottom: 28px;
}
.estimate-group {
  border: 0;
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
}
.estimate-group legend {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
}
.estimate-group legend svg {
  width: 20px;
  height: 20px;
  color: var(--estimate-blue);
  flex: none;
}
.work-list {
  border-top: 1px solid var(--estimate-line);
}
.work-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--estimate-line);
  background: #ffffff;
  transition: background .15s;
  line-height: 1.6;
}
.work-row:has(input:checked) {
  background: #f2f2f2;
}
.work-row:has(input:focus-visible) {
  outline: 2px solid var(--estimate-blue);
  outline-offset: 2px;
}
.work-row input,
.estimate-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--estimate-blue);
  margin: 0;
  flex: none;
}
.work-label {
  font-size: 14px;
  font-weight: 500;
}
.work-label small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--estimate-muted);
  margin-top: 3px;
}
.check-price {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.work-fixed {
  background: #f9f9f9;
}
.fixed-check {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #737373;
}
.fixed-check svg {
  width: 18px;
  height: 18px;
}
.estimate-page summary {
  list-style: revert;
  min-height: 48px;
  padding: 12px 0;
  font-weight: 600;
}
.estimate-additional {
  border: 1px solid var(--estimate-line);
  border-radius: 8px;
  padding: 0 16px;
  margin-top: 8px;
}
.estimate-additional > summary {
  font-size: 13px;
}
.estimate-additional > summary > span {
  font-size: 11px;
  color: var(--estimate-muted);
  font-weight: 400;
  margin-left: 8px;
}
.estimate-additional-content {
  padding: 12px 0 16px;
}
.estimate-revisions-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.estimate-revisions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
}
.estimate-revisions input {
  width: 90px;
  padding: 8px 10px;
  border: 1px solid #919191;
  border-radius: 5px;
  min-height: 44px;
  background: white;
}
.estimate-custom-options {
  padding: 20px 0 0;
  border: 0;
  min-width: 0;
}
.estimate-custom-options legend {
  float: left;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  margin: 18px 0 8px;
  padding: 0;
}
.estimate-check {
  clear: both;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid #eaeaea;
  line-height: 1.6;
}
.estimate-check > span {
  flex: 1;
}
.estimate-check small {
  font-size: 11px;
  color: var(--estimate-muted);
  white-space: nowrap;
}
.estimate-reset {
  min-height: 44px;
  border: 1px solid var(--estimate-line);
  border-radius: 8px;
  background: white;
  padding: 10px 16px;
  margin-top: 16px;
  color: var(--estimate-muted);
  font-size: 12px !important;
  text-decoration: none;
}
.estimate-result {
  border: 1px solid #d7d7d7;
  border-top: 3px solid var(--estimate-blue);
  border-radius: 4px;
  background: white;
  padding: 26px;
  box-shadow: 0 8px 28px #00000010;
  scroll-margin-top: 100px;
}
.quote-heading {
  padding-bottom: 18px;
}
.quote-heading h2 {
  font-size: 18px;
}
.quote-heading p {
  font-size: 12px;
  color: var(--estimate-muted);
  margin: 6px 0 0;
}
.quote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.7;
}
.quote-table th,
.quote-table td {
  padding: 12px 0;
  border-bottom: 1px solid #eaeaea;
  vertical-align: top;
}
.quote-table thead th {
  color: var(--estimate-muted);
  font-size: 11px;
  font-weight: 400;
  border-top: 1px solid var(--estimate-line);
  border-bottom: 1px solid var(--estimate-line);
}
.quote-table th {
  text-align: left;
  font-weight: 400;
  padding-right: 12px;
}
.quote-table th:last-child,
.quote-table td {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.quote-table td {
  font-weight: 500;
}
.quote-total {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--estimate-line);
}
#result-total-label {
  font-size: 12px;
  font-weight: 600;
}
.result-amount {
  color: var(--estimate-blue);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  margin: 6px 0;
}
.result-amount strong {
  font-size: 29px;
  letter-spacing: -.025em;
  font-weight: 700;
  white-space: nowrap;
}
.result-tax {
  font-size: 12px;
  color: var(--estimate-muted);
}
.result-custom {
  padding: 14px;
  margin: 16px 0 0;
  background: #fafafa;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  font-size: 12px;
  color: #4d4d4d;
}
.result-custom p {
  font-weight: 600;
}
.estimate-page ul {
  padding-left: 20px;
}
.result-custom ul {
  margin: 6px 0 0;
}
.result-detail {
  margin: 0 0 20px;
  font-size: 12px;
}
.result-detail summary {
  font-size: 12px;
}
.result-detail ul {
  margin-bottom: 12px;
}
.estimate-error {
  padding: 12px;
  border: 1px solid #585858;
  background: #f6f6f6;
  color: #444444;
  border-radius: 6px;
  margin: 0 0 16px;
  font-size: 13px;
}
.estimate-page .estimate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--estimate-blue);
  color: white;
  border: 1px solid var(--estimate-blue);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.result-disclaimer {
  font-size: 11px;
  margin: 12px 0 8px;
}
.estimate-copy-button {
  display: block;
  margin-top: 12px;
  min-height: 44px;
  max-width: 100%;
  border: 1px solid var(--estimate-line);
  border-radius: 8px;
  background: white;
  padding: 10px 14px;
  color: var(--estimate-muted);
  font-size: 11px !important;
  text-decoration: none;
  text-align: left;
  line-height: 1.6;
}
.estimate-copy-button:focus-visible {
  outline: 2px solid var(--estimate-blue);
  outline-offset: 3px;
}
.estimate-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.estimate-all-details {
  border-top: 1px solid var(--estimate-line);
  margin: 0 0 64px;
}
.estimate-all-details > summary {
  font-size: 14px;
  color: var(--estimate-muted);
  padding: 18px 0;
}
.estimate-all-details .v3-wrap {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.estimate-section {
  padding: 32px 0;
}
.estimate-section-lead {
  color: var(--estimate-muted);
  margin: 16px 0 30px;
}
.estimate-term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}
.estimate-term-grid article {
  padding: 24px;
  border: 1px solid var(--estimate-line);
  border-radius: 10px;
}
.estimate-term-grid p,
.estimate-term-details p {
  font-size: 14px;
  color: var(--estimate-muted);
  margin-top: 16px;
}
.estimate-term-details {
  border-bottom: 1px solid var(--estimate-line);
  padding: 8px 0;
}
.estimate-term-details[open] {
  padding-bottom: 22px;
}
.estimate-updated {
  font-size: 12px;
  color: var(--estimate-muted);
  margin: 30px 0 24px;
}
.estimate-mobile-total {
  display: none !important;
}
@media (min-width: 901px) {
  .estimate-result {
    position: sticky;
    top: 104px;
  }
}
@media (max-width: 1100px) {
  .estimate-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1.15fr) minmax(345px, 1fr);
  }
  .estimate-result {
    padding: 22px;
  }
  .work-row {
    gap: 9px;
    padding: 13px 8px;
  }
  .work-label {
    font-size: 13px;
  }
  .check-price {
    font-size: 11px;
  }
  .result-amount strong {
    font-size: 27px;
  }
}
@media (max-width: 900px) {
  .estimate-intro {
    padding-top: 24px;
  }
  .estimate-intro .v3-breadcrumb {
    margin-bottom: 16px;
  }
  .estimate-page h1 {
    font-size: 28px;
  }
  .estimate-lead {
    font-size: 14px;
  }
  .estimate-layout {
    display: block;
    padding-top: 4px;
    padding-bottom: 32px;
  }
  .estimate-group {
    margin-bottom: 24px;
  }
  .work-row {
    min-height: 68px;
    padding: 14px 10px;
    gap: 12px;
  }
  .work-label {
    font-size: 14px;
  }
  .check-price {
    font-size: 12px;
  }
  .estimate-result {
    margin-top: 24px;
    padding: 24px;
  }
  .result-amount strong {
    font-size: 30px;
  }
  .estimate-all-details {
    margin-bottom: 40px;
  }
  .estimate-page h2 {
    font-size: 22px;
  }
  .quote-heading h2 {
    font-size: 18px;
  }
  .estimate-term-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .estimate-section-lead {
    font-size: 14px;
  }
  .estimate-page .estimate-mobile-total:not([hidden]) {
    position: fixed;
    z-index: 35;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px max(20px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    border-top: 1px solid #d5d5d5;
    background: #f7f7f7f5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px #00000010;
    color: var(--estimate-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }
  .estimate-mobile-total > span:last-child {
    font-size: 11px;
    white-space: nowrap;
  }
  .estimate-page:has(.estimate-mobile-total:not([hidden])) {
    padding-bottom: 70px;
  }
}
@media (max-width: 480px) {
  .estimate-layout {
    padding-top: 4px;
  }
  .work-row {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 13px 6px;
  }
  .work-label {
    font-size: 13px;
  }
  .check-price {
    font-size: 11px;
  }
  .sheet-hint {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .estimate-result {
    padding: 20px 16px;
  }
  .quote-table {
    font-size: 11px;
  }
  .quote-table th {
    padding-right: 8px;
  }
  .result-amount strong {
    font-size: 27px;
  }
  .estimate-additional {
    padding: 0 12px;
  }
  .estimate-additional > summary {
    font-size: 12px;
  }
  .estimate-additional > summary > span {
    font-size: 10px;
    margin-left: 4px;
  }
  .estimate-term-grid article {
    padding: 20px;
  }
  .estimate-page .estimate-mobile-total:not([hidden]) {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .estimate-page * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.quote-line-detail {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--estimate-muted);
}
.estimate-notes {
  margin: 0 0 8px;
}
.estimate-notes h2 {
  font-size: 16px !important;
  gap: 8px;
  margin-bottom: 12px;
}
.estimate-notes h2 svg {
  width: 20px;
  height: 20px;
}
.estimate-notes-copy {
  border-top: 1px solid var(--estimate-line);
  padding: 14px 10px;
  font-size: 13px;
  color: var(--estimate-muted);
}
.estimate-notes-copy p {
  margin: 0 0 6px;
}
.estimate-notes-copy p:last-child {
  margin-bottom: 0;
}
.estimate-notes-copy h3 {
  font-size: 13px !important;
  color: #2a2a2a;
  margin: 18px 0 6px;
}
.estimate-notes-copy h3:first-child {
  margin-top: 0;
}
.estimate-notes-copy ul {
  margin: 0;
  padding-left: 1.3em;
}
.estimate-notes-copy li {
  margin: 4px 0;
}
.note-example {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.estimate-notes-copy .note-examples {
  margin-top: 2px;
  font-size: 12px;
}
.estimate-notes-copy .note-examples li {
  margin: 2px 0;
}
#base-scope-hint {
  margin-bottom: 0;
  line-height: 1.6;
}
.sheet-hint {
  margin-top: 0;
}
.estimate-page .sheet-hint .estimate-hint {
  margin: 0;
  line-height: 1.6;
}
.estimate-page .sheet-hint .estimate-hint + .estimate-hint {
  margin-top: 2px;
}
.work-row:has(.work-help) {
  row-gap: 6px;
}
.work-help {
  grid-column: 2/-1;
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--estimate-muted);
  line-height: 1.65;
  white-space: pre-line;
}
.work-help,
.work-label small,
.quote-line-detail,
.estimate-hint,
.estimate-notes-copy li {
  word-break: normal;
  word-break: auto-phrase;
  line-break: strict;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.estimate-result #estimate-mail {
  margin-top: 16px;
}
.quote-heading .quote-updated {
  margin: 4px 0 12px;
  font-size: 11px;
  color: var(--estimate-muted);
}
.result-tax-rate {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--estimate-muted);
}
#share-status:empty {
  display: none;
}
#share-fallback {
  font-size: 12px;
  margin-top: 12px;
}
#estimate-share-url {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--estimate-line);
  border-radius: 8px;
  margin-top: 8px;
  font-size: 12px;
}
#estimate-share {
  width: 100%;
  text-align: center;
  font-size: 12px !important;
}
#shared-rate-note {
  padding: 8px 10px;
  background: #f6f6f6;
  border-radius: 6px;
  margin: 0 0 14px;
}
#share-load-error {
  margin-top: 20px;
}
#estimate-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 12px !important;
  color: var(--estimate-blue);
}
#estimate-pdf svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.estimate-pdf-dialog {
  box-sizing: border-box;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 28px;
  border: 1px solid var(--estimate-line);
  border-radius: 12px;
  background: white;
  color: #2a2a2a;
  box-shadow: 0 24px 80px #00000033;
  overflow: auto;
}
.estimate-pdf-dialog::backdrop {
  background: #20202066;
}
.pdf-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.estimate-page .pdf-dialog-heading h2 {
  font-size: 18px;
  margin: 0;
}
.pdf-dialog-heading button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--estimate-muted);
  font-size: 26px;
}
.pdf-dialog-lead {
  margin: 12px 0 22px;
  font-size: 13px;
  color: var(--estimate-muted);
  line-height: 1.7;
}
.pdf-recipient-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.pdf-recipient-label span {
  margin-left: 8px;
  color: var(--estimate-muted);
  font-weight: 400;
  font-size: 11px;
}
.pdf-recipient-fields {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pdf-recipient-fields input,
.pdf-recipient-fields select {
  box-sizing: border-box;
  min-height: 46px;
  border: 1px solid #b7b7b7;
  border-radius: 6px;
  padding: 10px;
  background: white;
  font-size: 16px;
  color: #2a2a2a;
}
.pdf-recipient-fields input {
  width: 100%;
  min-width: 0;
  flex: 1;
}
.pdf-recipient-fields select {
  flex: none;
  font: inherit;
}
.estimate-pdf-dialog #pdf-download {
  margin-top: 22px;
}
.estimate-page button:disabled {
  opacity: .6;
  cursor: wait;
}
#pdf-status:empty {
  display: none;
}
#pdf-error {
  margin-top: 16px;
}
.estimate-pdf-dialog #pdf-status {
  margin: 12px 0 0;
}
@media (max-width: 480px) {
  .estimate-pdf-dialog {
    padding: 22px 18px;
  }
  .estimate-page .pdf-dialog-heading h2 {
    font-size: 16px;
  }
}
.estimate-comparison {
  padding-top: 24px;
  padding-bottom: 28px;
}
.estimate-comparison h2 {
  font-size: 20px;
}
.comparison-scroll {
  overflow-x: auto;
}
.estimate-comparison .quote-table {
  max-width: 880px;
}
.estimate-comparison button {
  border: 0;
  background: none;
  text-align: left;
  color: var(--estimate-blue);
  padding: 8px 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.estimate-comparison .quote-table small {
  display: block;
  white-space: normal;
  color: var(--estimate-muted);
  max-width: 28em;
  font-size: 11px;
}
.media-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.media-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 14px;
  border: 1px solid var(--estimate-line);
  background: #ffffff;
  min-height: 96px;
}
.media-option:has(input:checked) {
  border-color: var(--estimate-blue);
  background: #f2f2f2;
}
.media-option:has(input:focus-visible) {
  outline: 3px solid var(--estimate-blue);
  outline-offset: 3px;
}
.media-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--estimate-blue);
  flex: none;
  margin-top: 3px;
}
.media-option b {
  font-size: 14px;
}
.media-option small {
  display: block;
  font-size: 12px;
  color: var(--estimate-muted);
  margin-top: 6px;
}
.result-media {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
}
#selected-scope {
  margin-top: 28px;
}
#selected-scope ul {
  font-size: 13px;
  color: var(--estimate-muted);
}
#other-media-terms {
  margin-top: 24px;
  font-size: 13px;
}
#result-total-label {
  line-height: 1.6;
}
#media-rate-note:empty {
  display: none;
}
@media (max-width: 600px) {
  .media-options {
    grid-template-columns: 1fr;
  }
  .media-option {
    min-height: 76px;
  }
  .estimate-comparison h2 {
    font-size: 19px;
  }
  .estimate-comparison .quote-table th {
    white-space: normal;
  }
  .estimate-comparison .quote-table td {
    max-width: 140px;
    white-space: normal;
  }
  #result-range {
    white-space: normal;
  }
}
