:root{font-family:"Microsoft JhengHei",system-ui,sans-serif;color:#173648;background:#f3f6f7;font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:#136779}header{background:#143847;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px max(20px,calc((100vw - 1120px)/2));color:white}header a{color:white;text-decoration:none}.brand{font-size:24px;font-weight:700}nav{display:flex;gap:24px}main{max-width:1120px;margin:0 auto;padding:40px 20px}.hero{max-width:760px;padding:20px 0 32px}.eyebrow{font-size:max(var(--q842-min-font-size, 0px), 12px);letter-spacing:3px;color:#437582}h1{font-size:40px;line-height:1.35;margin:12px 0 20px}.hero p,.hint{line-height:1.8;color:#526b77}.steps{display:flex;gap:36px;padding-left:20px;font-size:14px;color:#336877;margin-top:28px}section{padding:28px;border:1px solid #d7e1e6;border-radius:14px;background:white;margin-bottom:24px}h2{font-size:23px;margin:0 0 20px}h3{font-size:18px;line-height:1.5;margin:0 0 12px}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.section-head h2{margin:0}.hint{font-size:14px}.catalogue{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.product{border:1px solid #cadce1;border-radius:10px;padding:20px;display:flex;flex-direction:column;background:#fbfdfd}.product p{font-size:max(var(--q842-min-font-size, 0px), 13px);line-height:1.7;color:#607580}.price{color:#12657a;font-size:18px;font-weight:700}.product button{margin-top:auto}button,input,select,textarea{font:inherit}button{border:1px solid #9cafb6;background:white;color:#17465a;border-radius:7px;padding:11px 16px;min-height:44px;cursor:pointer}button:hover{background:#e8f2f3}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:#166779;color:white;font-weight:700}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:9px;font-size:14px;color:#335365}input,select,textarea{width:100%;padding:12px;border:1px solid #adbec7;border-radius:6px;background:white;color:#163d51;min-height:46px}textarea{resize:vertical}.cart-row{display:grid;grid-template-columns:1fr 90px 70px;gap:16px;align-items:center;border-bottom:1px solid #dfE7eb;padding:16px 0}.cart-row small{display:block;margin-top:6px;color:#647883}.total{display:flex;justify-content:space-between;gap:16px;margin-top:24px;font-size:20px}.total strong{color:#145d70}.consent{flex-direction:row;align-items:start;line-height:1.8}.consent input{width:20px;min-height:20px;margin-top:4px;flex:none}.trap{position:absolute;left:-10000px}.trap input{width:1px}#status{line-height:1.8;font-weight:600;color:#4f6172;overflow-wrap:anywhere}#challenge{margin-top:20px}#newRequest{margin-left:10px}aside{padding:18px;line-height:1.8;background:#e6eff0;border-radius:8px}footer{text-align:center;line-height:1.8;padding:16px 20px 40px;color:#59727e;font-size:14px}[hidden]{display:none!important}:focus-visible{outline:3px solid #deb454;outline-offset:3px}@media(max-width:760px){header{flex-direction:column;gap:14px;padding:18px}nav{gap:20px;font-size:14px}main{padding:24px 12px}.hero{padding:12px 8px 24px}h1{font-size:31px}.steps{gap:25px;font-size:max(var(--q842-min-font-size, 0px), 12px);flex-wrap:wrap}.catalogue{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.wide{grid-column:auto}section{padding:20px 16px}.section-head{align-items:start;flex-direction:column}.cart-row{grid-template-columns:1fr 76px;gap:10px}.cart-row button{grid-column:2}.total{font-size:18px}#submit,#newRequest{display:block;width:100%;margin:10px 0}.brand{font-size:23px}}

#pricingEstimate{border:2px solid #3d866b;background:#f3faf6}#pricingEstimate h3{margin-top:0}#pricingEstimate .estimate-total{font-size:1.3rem;font-weight:700}#pricingEstimate li{margin-bottom:.5rem}
/* R15 brand and service-planner alignment */
:root{--qq-navy:#0b2d62;--qq-orange:#f58220;--qq-ink:#18324b;--qq-bg:#f3f7fb}body{color:var(--qq-ink);background:var(--qq-bg)}a{color:#0b4f83}header{background:var(--qq-navy)}.brand{display:flex;align-items:center;gap:10px}.brand img{background:#fff;border-radius:9px;padding:4px}.brand span{display:grid}.brand small{font-size:max(var(--q842-min-font-size, 0px), 11px);font-weight:500;opacity:.78}.eyebrow,.price,.total strong{color:#d96508}.product{border-color:#cbd9e6;background:#fff}.product button,.primary{border-color:var(--qq-orange);background:var(--qq-orange);color:#fff;font-weight:750}.product button:hover,.primary:hover{background:#d96508}.intent-filter{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.intent-filter button{border-color:#9cb2c8;color:var(--qq-navy);background:#fff}.intent-filter button[aria-pressed=true]{border-color:var(--qq-orange);background:#fff3e8;color:#9b4300;box-shadow:inset 0 0 0 1px var(--qq-orange)}:focus-visible{outline-color:var(--qq-orange)}
/* R300 review: keep reference prices apart from the formally confirmed amount. */
.request-review{border:2px solid #0b2d62;background:#f7faff}.review-details{display:grid;grid-template-columns:minmax(110px,.4fr) 1fr;gap:10px 18px}.review-details dt{font-weight:700}.review-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.review-estimate{white-space:pre-line;line-height:1.8}.review-notice{padding:16px;background:#fff3e8;border-left:4px solid #d96508;line-height:1.8}.review-start .primary{width:auto}.consent+.consent{margin-top:16px}#reviewItems{padding-left:22px;line-height:1.9}#reviewHeading:focus{outline:3px solid #f58220;outline-offset:6px}@media(max-width:760px){.review-details{grid-template-columns:1fr;gap:6px}.review-details dd{margin-bottom:10px}.review-start .primary,#editRequest{width:100%}}

/* Live backend premium explanations. */
.pricing-premiums{display:grid;grid-template-columns:minmax(110px,.35fr) 1fr;gap:10px 18px}.pricing-premiums dt{font-weight:700}.pricing-premiums dd{margin:0;line-height:1.7;overflow-wrap:anywhere}.estimate-services,.estimate-lines{line-height:1.8}#refreshPricing{margin-top:12px}#pricingEstimate[data-pricing-state="unavailable"],#pricingEstimate[data-pricing-state="unconfigured"]{border-color:#a76a12;background:#fff9ed}@media(max-width:760px){.pricing-premiums{grid-template-columns:1fr;gap:5px}.pricing-premiums dd{margin-bottom:10px}}

/* Q842：手機字級下限；桌面保留原值。 */
@media screen and (max-width: 767px) { :root { --q842-min-font-size: max(14px, .875rem); } }

/* Q842：手機資訊字、聯絡列與觸控空間。只在 767px 以下生效。 */
@media screen and (max-width: 767px) {
  :root { --q842-min-font-size: max(14px, .875rem); }
  body small { font-size: max(14px, .875em); line-height: 1.6; }
  .brand-copy b { line-height: 1.4; }
  .brand-copy small, .footer-logo small { font-size: max(14px, .875rem); line-height: 1.6; white-space: normal; letter-spacing: 0; }
  .brand-copy, .footer-logo > span { min-width: 0; }
  .footer-logo { align-items: center; }
  .footer-logo > span { overflow-wrap: anywhere; }
  #q350-answer-label, .q79-answer > strong { font-size: max(14px, .875rem); line-height: 1.6; }
  .topbar, .qqsvc-check > header small, .qqsvc-check > footer,
  .knowledge-local-note, .knowledge-status, .knowledge-group-heading p,
  .knowledge-group-count, .knowledge-kicker, .knowledge-card-summary,
  .knowledge-card-figure figcaption, body:has(.knowledge-filters) .article-body .text-link, .knowledge-grid .text-link,
  .knowledge-group .text-link { font-size: max(14px, .875rem) !important; line-height: 1.6; }
  .qqsvc .qqsvc-check header small, .qqsvc .qqsvc-check footer {
    font-size: max(14px, .875rem) !important; line-height: 1.6; color: #526379;
  }
  .qq-surcharge-card b { color: #A9561A !important; }
  #public-prices td[data-label]::before { font-size: max(14px, .875rem) !important; line-height: 1.6; }
  .q215r-hero-visual::before { font-size: max(14px, .875rem) !important; line-height: 1.6; }
  .mobile-sticky.mobile-sticky a, .mobile-sticky.qq-r48-four a {
    min-width: 0; min-height: 64px; padding: 6px 4px !important;
    font-size: max(14px, .875rem) !important; line-height: 1.5;
    flex-direction: column; justify-content: center; gap: 4px !important;
    white-space: normal; text-align: center;
  }
  .mobile-sticky.mobile-sticky a > span { font-size: inherit; line-height: inherit; min-width: 0; overflow-wrap: anywhere; }
  .mobile-sticky.mobile-sticky a:not([data-line-call]):not(.qq-bar-cart):not([hidden]) { display: flex; }
  .mobile-sticky.mobile-sticky a > svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .mobile-sticky.mobile-sticky a[href^="tel:"] { background: #193E82; color: #fff; }
  .mobile-sticky.mobile-sticky a.line { background: #00813c; color: #fff; }
  .mobile-sticky.mobile-sticky a.qq-r48-sticky-online { background: #A9561A; color: #fff; }
  :is(.site-header, .qq-std-head) .menu-toggle { min-width: 44px; min-height: 44px; }
  :is(.site-footer, .article-related) a { display: inline-flex; min-height: 44px; align-items: center; max-width: 100%; }
  .site-footer .footer-links a { padding-block: 4px; }
  .site-footer .contact-list small, .site-footer .footer-bottom { line-height: 1.6; }
  html { scroll-padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
  body:has(.mobile-sticky) { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}
