/* Histolab, Western Health reference direction. Original copy and blue/yellow identity. */
:root {
  --paper: #fff;
  --ink: #283f4b;
  --muted: #536975;
  --blue: #00649c;
  --deep: #064b73;
  --line: #d9e3e8;
  --pale-blue: #edf5f9;
  --pale-yellow: #fff9df;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: var(--sans);
  --max: 1240px;
  --gutter: 40px;
  --field-border: #8195a0;
}
html { scroll-padding-top: 24px; }
body { font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--deep); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
h1 { font-size: clamp(36px, 4.5vw, 60px); }
h2 { font-size: 34px; }
h3 { font-size: 23px; }
em { font-family: inherit; color: inherit; }
a { text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 1px; }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 15px; }
.eyebrow-dot { display: none; }
.text-link { font-size: 16px; color: var(--blue); }
.button { min-height: 48px; border-radius: 4px; font-size: 16px; font-weight: 500; padding: 14px 24px; gap: 24px; }
.button:hover { transform: none; }
/* Histolab's own logo artwork (lib/logo.mjs): a glass slide with the mark on black and the wordmark on white. */
.logo svg { display: block; width: auto; height: 64px; }
.clinic-header { position: relative; z-index: 30; background: var(--white); }
.clinic-masthead { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.clinic-brand { display: flex; align-items: center; gap: 32px; }
.clinic-header-contact { display: flex; align-items: center; }
.clinic-header-contact > a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding-inline: 32px; color: var(--deep); }
.clinic-header-contact > a:last-child { padding-right: 0; }
.clinic-header-contact > a + a { border-left: 1px solid var(--line); }
.clinic-header-badge { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pale-blue); color: var(--blue); transition: background .2s, color .2s; }
.clinic-header-badge .icon { width: 20px; height: 20px; }
.clinic-header-contact > a:hover .clinic-header-badge { background: var(--blue); color: var(--white); }
.clinic-header-text { display: flex; flex-direction: column; gap: 2px; }
.clinic-header-text strong { font-weight: 500; line-height: 1.25; }
.clinic-header-text > span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.clinic-header-address strong { font-size: 16px; }
.clinic-header-phone strong { font-size: 23px; letter-spacing: -.01em; }
.clinic-header-contact > a:hover strong { color: var(--blue); }
.clinic-nav-bar { border-block: 1px solid var(--line); background: var(--white); }
.clinic-nav-inner { display: flex; justify-content: space-between; align-items: stretch; }
.clinic-nav-inner .desktop-nav { display: flex; gap: 0; margin: 0; align-items: stretch; }
.clinic-nav-inner .desktop-nav a { display: flex; align-items: center; padding: 20px 27px; border-right: 1px solid var(--line); min-height: 64px; font-size: 16px; font-weight: 500; color: var(--deep); position: relative; }
.clinic-nav-inner .desktop-nav a:first-child { border-left: 1px solid var(--line); }
.clinic-nav-inner .desktop-nav a::after { display: none; }
.clinic-nav-inner .desktop-nav a[aria-current] { background: var(--pale-blue); box-shadow: inset 0 -3px var(--blue); }
.clinic-nav-inner .desktop-nav a:hover { background: var(--pale-blue); }
.clinic-results { display: flex; gap: 16px; align-items: center; padding: 16px 0 16px 24px; color: var(--deep); font-size: 15px; font-weight: 500; }
.clinic-results:hover { text-decoration: underline; }
.clinic-results .icon { width: 18px; height: 18px; }
.clinic-mobile-phone { display: none; }
.menu-toggle { display: none; }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px #064b7310; }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); color: var(--deep); font-size: 17px; }
.health-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--pale-blue); }
.health-hero-copy { padding: 64px 64px 60px max(var(--gutter), calc((100vw - var(--max)) / 2)); align-self: center; }
.health-hero h1 { font-size: clamp(42px, 4.4vw, 66px); line-height: 1.06; margin-bottom: 28px; letter-spacing: -.035em; }
.health-hero .source-copy { max-width: 500px; font-size: 18px; line-height: 1.65; }
.hero-doctors { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; margin-top: 28px; color: var(--deep); border-bottom: 1px solid var(--deep); font-weight: 500; font-size: 16px; }
.hero-doctors:hover { color: var(--blue); }
.health-hero-image { min-height: 490px; position: relative; }
.health-hero-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: right center; }
.health-shortcuts { background: var(--deep); color: var(--white); }
.health-shortcuts > div { display: grid; grid-template-columns: repeat(3, 1fr); }
.health-shortcuts a { display: flex; align-items: center; justify-content: space-between; min-height: 98px; padding: 20px 32px; gap: 24px; font-size: 19px; font-weight: 500; border-right: 1px solid #ffffff38; }
.health-shortcuts a:first-child { border-left: 1px solid #ffffff38; }
.health-shortcuts a:hover { background: var(--blue); }
.health-shortcuts .icon { width: 23px; height: 23px; color: var(--yellow); }
.health-shortcuts a:focus-visible { outline-color: var(--yellow); outline-offset: -6px; }
.health-practice { display: grid; grid-template-columns: 1fr 1.7fr; gap: 80px; padding-block: 80px; }
.health-practice h2 { font-size: 36px; }
.health-location { margin: 16px 0 0; color: var(--muted); }
.source-copy { font-size: 17px; line-height: 1.8; color: var(--ink); }
.source-copy p { margin: 0 0 1.3em; }
.source-copy p:last-child { margin: 0; }
.source-copy + .source-copy { margin-top: 24px; }
.source-copy > br { display: none; }
.source-copy strong { font-weight: 600; }
.practice-information { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 72px; padding-block: 64px 80px; border-top: 1px solid var(--line); }
.practice-services h2 { max-width: 500px; margin-bottom: 32px; }
.practice-service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.practice-service-list article { border-top: 1px solid var(--line); padding: 24px 0 28px; }
.practice-service-list h2, .practice-service-list h3 { font-size: 21px; margin-bottom: 12px; }
.practice-service-list p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }
.practice-service-list .service-pathologists { margin-top: 12px; }
.service-pathologists a { color: var(--blue); }
.laboratory-details { background: var(--pale-blue); padding: 28px; border-top: 4px solid var(--yellow); }
.laboratory-details h2 { font-size: 25px; margin-bottom: 24px; }
.laboratory-details p { font-size: 15px; margin-bottom: 24px; }
.laboratory-details p:last-child { margin: 22px 0 0; }
.practice-phone { display: block; font-size: 23px; color: var(--deep); }
.practice-email { display: inline-block; font-size: 15px; text-decoration: underline; padding: 10px 0; }
.practice-team { background: var(--pale-blue); padding: 64px 0 72px; }
.practice-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pathologist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pathologist-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 0 0 28px 0; overflow: hidden; }
.pathologist-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.pathologist-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 28px 28px; }
.pathologist-card h3 { font-size: 25px; margin: 0 0 8px; }
.pathologist-card h3 a::after { content: ""; position: absolute; inset: 0; }
.pathologist-card .qualifications { margin-bottom: 16px; }
.pathologist-interest { align-self: flex-start; background: var(--pale-yellow); color: var(--deep); font-size: 14px; font-weight: 500; line-height: 1.4; padding: 4px 10px; border-radius: 4px; margin: 0 0 16px; }
.pathologist-summary { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 20px; }
.pathologist-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue); font-size: 16px; }
.pathologist-more .icon { width: 18px; height: 18px; transition: transform .2s; }
.pathologist-card:hover h3 a { text-decoration: underline; }
.pathologist-card:hover .pathologist-more .icon { transform: translateX(4px); }
.pathologist-card:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.pathologist-card h3 a:focus-visible { outline: none; }
.source-biography { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: 56px; border-top: 1px solid #c9dbe5; padding: 48px 0; }
.source-biography h2, .source-biography h3, .source-biography h1 { margin: 0 0 10px; }
.source-biography h2, .source-biography h3 { font-size: 29px; }
.source-role { color: var(--deep); margin: 0 0 6px; font-size: 16px; }
.qualifications { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.source-biography .source-copy { max-width: 800px; font-size: 16px; }
.source-portrait img { width: 100%; height: 280px; object-fit: cover; object-position: center top; border-radius: 0 0 28px 0; }
.page-hero { padding-block: 48px; }
.source-page-title { padding-block: 16px 24px; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.source-page-title h1 { font-size: 44px; line-height: 1.15; letter-spacing: -.025em; }
.jump-links { margin-top: 16px; }
.jump-links ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.jump-links a:hover { color: var(--deep); }
.source-page-title + .source-directory > .source-biography:first-child { border-top: 0; padding-top: 32px; }
.source-page-title + .source-services .practice-service-list > article:nth-child(-n+2) { border-top: 0; }
.page-hero-grid { gap: 48px; }
.page-hero .lead { font-size: 18px; }
.info-section { grid-template-columns: 300px minmax(0,1fr); gap: 64px; padding-block: 40px; }
.info-section h2 { font-size: 29px; }
.info-content > h3 { margin: 24px 0 16px; font-size: 23px; }
.info-content > h3:first-child { margin-top: 0; }
.info-content > .download-row { margin: 20px 0; }
.download-row { background: var(--pale-blue); border: 0; padding: 20px 24px; font-size: 16px; line-height: 1.5; }
.source-payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-block: 32px; }
.source-payment-methods article { border-top: 1px solid var(--line); padding-top: 24px; }
.source-payment-methods h3 { margin-bottom: 16px; }
.source-payment-methods .source-copy { font-size: 16px; }
.source-payment-methods .button { margin-top: 20px; }
.source-payment-methods article:nth-child(2) p { margin-bottom: 0; }
.transaction-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.65fr); gap: 80px; margin-block: 40px 80px; }
.transaction-aside h2 { font-size: 29px; margin-bottom: 24px; }
.form-panel { background: var(--pale-blue); border-top: 4px solid var(--blue); border-radius: 0 0 12px 12px; padding: 40px; }
.form-heading h2 { font-size: 28px; }
.field label { font-size: 16px; }
.field input, .field textarea { background: var(--white); border: 1px solid var(--field-border); border-radius: 4px; min-height: 52px; }
.field-hint, .field-error { font-size: 13px; }
.form-grid { gap: 24px; }
.payment-assistance { font-size: 14px; line-height: 1.7; margin: 24px 0 0; }
.payment-assistance a { text-decoration: underline; }
.source-directory, .source-services { padding-bottom: 64px; }
.breadcrumbs { padding-top: 16px; font-size: 14px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span { display: inline-flex; align-items: center; min-height: 40px; }
.source-profile { padding-top: 24px; }
.source-profile .source-biography { border-top: 0; padding-top: 8px; }
.source-about { display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding-block: 24px 64px; }
.source-about img { width: 100%; height: auto; }
.accreditation-reference { margin: 24px 0 0; font-size: 15px; }
.accreditation-reference + .accreditation-reference { margin-top: 8px; }
.accreditation-reference .text-link { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; }
.source-notice { color: var(--muted); font-size: 15px; margin-block: 20px; }
.policy-source { margin-top: 40px; }
.policy-source h2 { font-size: 28px; margin-top: 48px; }
.policy-source h3 { font-size: 22px; margin-top: 32px; }
.policy-source a { text-decoration: underline; overflow-wrap: anywhere; }
.billing-questions { display: grid; grid-template-columns: minmax(0, 760px) 240px; gap: 64px; padding-block: 24px 64px; }
.billing-question-list > section { border-bottom: 1px solid var(--line); padding-block: 28px; }
.billing-question-list > section:first-child { padding-top: 0; }
.billing-question-list h2 { font-size: 27px; margin-bottom: 20px; }
.billing-question-list .source-copy a { text-decoration: underline; }
.billing-question-list .source-copy br { display: none; }
.billing-help { border-top: 3px solid var(--blue); padding-top: 24px; }
.billing-help h2 { font-size: 23px; }
.billing-help a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-top: 20px; }
@media (max-width: 950px) {
  .billing-questions { grid-template-columns: 1fr; gap: 32px; }
  .billing-help { max-width: 400px; }
}
.contact-grid { padding-block: 32px 64px; }
.practice-footer { background: var(--deep); color: var(--white); padding: 56px 0 28px; }
.practice-footer-main { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 64px; padding-bottom: 48px; }
.practice-footer-map { min-height: 300px; }
.practice-footer-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.practice-footer h2 { color: var(--white); font-size: 23px; margin: 0 0 24px; }
.practice-footer-contact h2 { margin-bottom: 16px; }
.footer-phone-number { display: block; width: fit-content; font-size: 36px; line-height: 1.3; margin-bottom: 8px; }
.footer-email-address { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; text-decoration: underline; text-decoration-color: #ffffff60; }
.practice-footer-details { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; font-size: 15px; line-height: 1.8; }
.practice-footer-details p { margin: 0; }
.practice-footer-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; border-bottom: 1px solid #ffffff35; font-size: 16px; }
.practice-footer-links a:first-of-type { border-top: 1px solid #ffffff35; }
.practice-footer-links .icon { width: 18px; height: 18px; color: var(--yellow); }
.practice-footer a:hover { text-decoration: underline; }
.practice-footer a:focus-visible { outline-color: var(--yellow); }
.practice-footer-signoff { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff35; padding-top: 24px; }
.practice-footer-signoff .logo svg { height: 48px; }
.practice-footer-signoff .logo:hover { text-decoration: none; }
.practice-footer-signoff > span { font-size: 13px; }
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .clinic-nav-inner .desktop-nav a { padding-inline: 20px; }
  .health-hero h1 { font-size: 48px; }
  .health-hero { grid-template-columns: minmax(0, 1fr); }
  .health-hero-copy { padding: 48px var(--gutter); }
  .health-hero-image { min-height: 0; aspect-ratio: 1655 / 804; }
  .health-shortcuts a { padding: 20px 24px; font-size: 17px; }
  .health-practice { gap: 48px; }
  .practice-information { gap: 40px; }
}
@media (max-width: 950px) {
  .clinic-masthead { min-height: 96px; }
  .clinic-header-contact { margin-left: auto; }
  .clinic-header-contact > .clinic-header-address { display: none; }
  .clinic-header-contact > a + a { border-left: 0; }
  .clinic-header-phone strong { font-size: 21px; }
  .clinic-nav-inner .desktop-nav { display: none; }
  .clinic-nav-inner { min-height: 50px; align-items: center; }
  .clinic-results { padding: 12px 0; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--deep); background: var(--pale-blue); border-radius: 4px; }
  .menu-toggle span { width: 22px; height: 2px; background: currentColor; }
  .health-hero h1 { font-size: 42px; }
  .health-hero .source-copy { font-size: 16px; }
  .health-practice { grid-template-columns: 1fr 1.7fr; gap: 32px; padding-block: 56px; }
  .health-practice h2 { font-size: 29px; }
  .practice-information { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .laboratory-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .laboratory-details h2 { grid-column: 1/-1; }
  .laboratory-details p:last-child { margin: 0; }
  .source-biography { grid-template-columns: 168px 1fr; gap: 32px; }
  .source-portrait img { height: 224px; }
  .pathologist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .practice-footer-main { grid-template-columns: 1fr 1fr; gap: 48px; }
  .practice-footer-map { grid-column: 1 / -1; }
  .info-section { grid-template-columns: 220px minmax(0,1fr); gap: 32px; }
  .transaction-layout { grid-template-columns: 1fr 1.5fr; gap: 32px; }
  .form-panel { padding: 28px; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  h2 { font-size: 28px; }
  .clinic-masthead { min-height: 88px; gap: 16px; }
  .logo svg { height: 54px; }
  .clinic-header-contact { display: none; }
  .clinic-mobile-phone { display: flex; align-items: center; min-height: 44px; color: var(--deep); }
  .clinic-results, .clinic-mobile-phone { font-size: 13px; }
  .clinic-results { gap: 10px; }
  .clinic-results .icon { width: 15px; height: 15px; }
  .health-hero { grid-template-columns: 1fr; }
  .health-hero-copy { padding: 40px var(--gutter); }
  .health-hero h1 { font-size: 43px; margin-bottom: 24px; }
  .health-hero .source-copy { font-size: 16px; }
  .hero-doctors { margin-top: 20px; }
  .health-hero-image { min-height: 0; height: 260px; aspect-ratio: auto; }
  .health-shortcuts > div { grid-template-columns: 1fr; }
  .health-shortcuts a { border: 0; border-bottom: 1px solid #ffffff38; padding: 18px 0; min-height: 66px; font-size: 17px; }
  .health-shortcuts a:first-child { border-left: 0; }
  .health-shortcuts a:last-child { border-bottom: 0; }
  .health-practice { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
  .health-location { margin-top: 10px; }
  .source-copy { font-size: 16px; line-height: 1.75; }
  .practice-service-list { grid-template-columns: 1fr; }
  .practice-services h2 { font-size: 30px; }
  .practice-service-list article { padding-block: 22px; }
  .laboratory-details { display: block; padding: 24px; }
  .laboratory-details p:last-child { margin-top: 16px; }
  .practice-team { padding-block: 44px; }
  .practice-section-title { margin-bottom: 24px; }
  .source-biography { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .source-portrait { width: 160px; }
  .source-portrait img { height: 208px; }
  .pathologist-grid { grid-template-columns: 1fr; }
  .source-biography h2, .source-biography h3 { font-size: 26px; }
  .page-hero { padding-block: 32px; }
  .source-page-title { padding-block: 12px 24px; }
  .source-page-title h1 { font-size: 36px; }
  .source-page-title + .source-directory > .source-biography:first-child { padding-top: 24px; }
  .source-page-title + .source-services .practice-service-list > article:nth-child(2) { border-top: 1px solid var(--line); }
  .info-section { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .info-section h2 { font-size: 27px; }
  .source-payment-methods { grid-template-columns: 1fr; }
  .transaction-layout { grid-template-columns: 1fr; gap: 32px; margin-block: 24px 48px; }
  .form-panel { padding: 24px; }
  .source-about { grid-template-columns: 1fr; gap: 24px; }
  .source-about img { max-width: 240px; }
  .practice-footer { padding-block: 40px 24px; }
  .practice-footer-main { grid-template-columns: 1fr; gap: 40px; padding-bottom: 32px; }
  .footer-phone-number { font-size: 32px; }
  .practice-footer-signoff .logo svg { height: 42px; }
}
@media (prefers-reduced-motion: no-preference) {
  .health-shortcuts a, .clinic-nav-inner a { transition: background-color 140ms ease; }
}

/* Payment details belong to Histolab; provider marks remain secondary. */
.payment-instructions br { display: none; }
.payment-instructions p:not(:last-child) { margin-bottom: 12px; }
.payment-form-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.payment-card-marks { display: flex; align-items: center; gap: 12px; }
.payment-card-marks img { display: block; width: 62px; height: auto; border-radius: 3px; }
.field-input-wrap { position: relative; }
.field-prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-input-wrap input { padding-left: 36px; }
.payment-processing { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 24px; }
.payment-bank-logo { display: block; width: 112px; max-width: 100%; height: auto; }
.payment-processing p { font-size: 13px; line-height: 1.6; margin: 0; color: var(--muted); }
.payment-other { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.payment-other h3 { margin-bottom: 16px; }

/* The card step uses the same panel as the invoice and courier forms. */
.form-panel, #payment-checkout, #card-form { min-width: 0; }
.payment-checkout-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.payment-edit { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.payment-edit:hover { color: var(--deep); }
.payment-summary { margin: 0 0 28px; }
.payment-summary > div { display: flex; justify-content: space-between; gap: 24px; padding-block: 10px; }
.payment-summary dt { color: var(--muted); flex-shrink: 0; }
.payment-summary dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.payment-summary .payment-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 600; }
.payment-total dt { color: var(--ink); }
.payment-test-notice { padding: 14px 16px; border-left: 3px solid var(--yellow); background: var(--white); font-size: 14px; }
#card-form .bpoint-container { max-width: none; margin: 0; padding: 0; color: var(--ink); }
#card-form #bpoint_cardDiv { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 16px; margin: 0 0 24px; }
#card-form #bpoint_cardDiv > * { min-width: 0; grid-column: 1 / -1; }
#card-form #bpoint_cardDiv > .bpoint-cardExpiry { grid-column: 1; }
#card-form #bpoint_cardDiv > .bpoint-cardCvn { grid-column: 2; }
#card-form .bpoint-btn { margin: 0; background: var(--blue); border-color: var(--blue); min-height: 48px; padding: 14px 24px; font: inherit; font-weight: 500; }
#card-form .bpoint-btn:hover:not([disabled]) { background: var(--deep); border-color: var(--deep); }
#card-form .bpoint-form-control { box-sizing: border-box; width: 100%; min-width: 0; min-height: 52px; padding: 12px; border: 1px solid var(--field-border); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
#card-form .bpoint-form-group { margin: 0; }
#card-form label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 500; }
#card-form .bpoint-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
/* BPOINT's float clearfix becomes extra columns in a grid or flex layout. */
#card-form .bpoint-row::before, #card-form .bpoint-row::after { content: none; }
#card-form .bpoint-row > div { width: auto; min-width: 0; padding: 0; float: none; }
#card-form .bpoint-is-invalid { border-color: var(--red, #a42d2d); }
#card-form .bpoint-feedback-invalid { color: var(--red, #a42d2d); font-size: 13px; }
#card-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
#card-form button { margin-top: 8px; }
.payment-auth-frame { width: 100%; height: 1px; visibility: hidden; border: 0; }
.payment-auth-frame.is-visible { height: 450px; visibility: visible; }
@media (max-width: 600px) {
  .payment-processing { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .payment-summary > div { gap: 16px; }
}
