/* Plantshop rental quote — flat / vivid / no gradients */
/* Fonts enqueued from plantshop-rental-quote.php */

:root {
  --rq-green: #6fdc78;
  --rq-green-deep: #3ecf55;
  --rq-lime: #eef9a8;
  --rq-sunny: #fff3a0;
  --rq-monthly-bg: #f3f8f0;
  --rq-gift-bg: #eaf4ff;
  --rq-gift-edge: #5ba3d9;
  --rq-gift-ink: #1a5f8a;
  --rq-wash: #f4faf0;
  --rq-ink: #111111;
  --rq-muted: #5c5c5c;
  --rq-line: #d5d8cf;
  --rq-card: #ffffff;
  --rq-warn: #c62828;
  --rq-ok: #1b7a2e;
  --rq-radius: 6px;
  --rq-accent-edge: 2px solid var(--rq-green);
  --rq-shadow: 0 10px 32px rgba(17, 17, 17, 0.1);
  --rq-shadow-sm: 0 4px 14px rgba(17, 17, 17, 0.08);
}

/* —— Dedicated landing page shell —— */
body.ps-rq-landing {
  background: #ffffff;
}

body.ps-rq-landing .wd-sidebar,
body.ps-rq-landing .sidebar-container,
body.ps-rq-landing .sidebar-container-main,
body.ps-rq-landing aside.wd-sidebar,
body.ps-rq-landing .wd-sidebar-opener,
body.ps-rq-landing .wd-sticky-sidebar,
body.ps-rq-landing .wd-toolbar-sidebar {
  display: none !important;
}

body.ps-rq-landing .main-page-wrapper,
body.ps-rq-landing .wd-page-content,
body.ps-rq-landing .content-layout-wrapper,
body.ps-rq-landing .wd-content-layout {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-bleed content only — do NOT zero .container sitewide (that clips header nav). */
body.ps-rq-landing .main-page-wrapper > .container,
body.ps-rq-landing .wd-page-content .container,
body.ps-rq-landing .wd-content-area .container,
body.ps-rq-landing .entry-content > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.ps-rq-landing .wd-content-layout,
body.ps-rq-landing .content-layout-wrapper {
  --wd-col-lg: 12 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.ps-rq-landing .wd-content-layout.wd-grid-g {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

body.ps-rq-landing .wd-content-area,
body.ps-rq-landing .wd-content-area.site-content {
  --wd-col-lg: 12 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

body.ps-rq-landing .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.ps-rq-landing .entry-header,
body.ps-rq-landing .page-title,
body.ps-rq-landing .wd-page-title,
body.ps-rq-landing .breadcrumbs,
body.ps-rq-landing .wd-breadcrumbs {
  display: none !important;
}

.ps-rq-shell {
  font-family: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  color: var(--rq-ink);
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

/* Hero — white + thin green top edge */
.ps-rq-hero {
  position: relative;
  overflow: visible;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px clamp(16px, 4vw, 40px) 4px;
  background: var(--rq-wash);
}

.ps-rq-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: clamp(22px, 3.5vw, 32px) clamp(18px, 3vw, 32px);
  border: 0;
  border-top: var(--rq-accent-edge);
  border-radius: var(--rq-radius);
  background: #fff;
  box-shadow: var(--rq-shadow);
  animation: ps-rq-rise 0.55s ease-out both;
}

@keyframes ps-rq-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ps-rq-brand {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--rq-ink);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.ps-rq-brand::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--rq-green);
}

.ps-rq-brand span {
  color: var(--rq-ink);
}

.ps-rq-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rq-ok);
}

.ps-rq-hero h1 {
  font-family: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: 0.18em;
  margin: 0 auto 14px;
  max-width: none;
  white-space: nowrap;
  color: var(--rq-ink);
  animation: ps-rq-rise 0.6s 0.06s ease-out both;
}

@media (max-width: 520px) {
  .ps-rq-hero h1 {
    white-space: normal;
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    letter-spacing: 0.12em;
  }
}

.ps-rq-hero__lead {
  margin: 0 auto 22px;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.82);
  font-weight: 500;
  max-width: 52ch;
  animation: ps-rq-rise 0.6s 0.1s ease-out both;
  position: relative;
  padding-bottom: 18px;
}

.ps-rq-hero__lead::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--rq-green);
}

.ps-rq-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation: ps-rq-rise 0.6s 0.14s ease-out both;
}

.ps-rq-hero__cta a {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--rq-radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--rq-shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ps-rq-hero__cta a:hover {
  transform: translateY(-2px);
  box-shadow: var(--rq-shadow);
}

.ps-rq-hero__cta a.primary {
  background: #111;
  color: #fff;
  border: 2px solid #111;
}

.ps-rq-hero__cta a.primary:hover {
  background: #000;
  color: #fff;
}

.ps-rq-hero__cta a.ghost {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}

.ps-rq-tool-wrap {
  background: var(--rq-wash);
  padding: 4px clamp(16px, 4vw, 32px) clamp(48px, 8vw, 80px);
}

.ps-rq-tool-wrap .ps-rq {
  margin: 0 auto;
  max-width: 1100px;
}

/* Corp rental — large above-the-fold quote CTA (softer than quote landing) */
.ps-rq-corp-hero {
  font-family: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  margin: 0 auto 1.75rem;
  max-width: 920px;
  padding: clamp(22px, 4vw, 32px) clamp(20px, 4vw, 36px);
  border-radius: 14px;
  background: #f3f8f4;
  border: 1px solid rgba(74, 130, 96, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
}

.ps-rq-corp-hero__copy {
  flex: 1 1 260px;
  min-width: 0;
}

.ps-rq-corp-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #3d7a52;
}

.ps-rq-corp-hero strong {
  display: block;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.3;
  margin-bottom: 6px;
  color: #1a2e22;
  font-weight: 800;
}

.ps-rq-corp-hero span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a5c50;
  font-weight: 500;
}

.ps-rq-corp-hero__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 200px);
  padding: 16px 28px;
  background: #2f6b45;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(47, 107, 69, 0.22);
  transition: background 0.15s ease, transform 0.15s ease;
}

.ps-rq-corp-hero__btn:hover {
  background: #255738;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .ps-rq-corp-hero {
    text-align: center;
    justify-content: center;
  }

  .ps-rq-corp-hero__btn {
    width: 100%;
    min-width: 0;
    padding: 18px 22px;
    font-size: 1.12rem;
  }
}

/* Corp rental CTA strip */
.ps-rq-corp-cta {
  font-family: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  margin: 1.75rem 0;
  padding: clamp(22px, 4vw, 30px);
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(74, 130, 96, 0.16);
  border-left: 3px solid #6aa87a;
  box-shadow: 0 4px 14px rgba(26, 46, 34, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ps-rq-corp-cta strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #1a2e22;
  font-weight: 800;
}

.ps-rq-corp-cta span {
  font-size: 0.9rem;
  color: #4a5c50;
  font-weight: 500;
}

.ps-rq-corp-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: #2f6b45;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.ps-rq-corp-cta a:hover {
  background: #255738;
}

/* —— Quote widget —— */
.ps-rq {
  --rq-ink: #111111;
  --rq-muted: #5c5c5c;
  --rq-line: #d5d8cf;
  --rq-accent: #111;
  --rq-accent-deep: #111;
  --rq-soft: var(--rq-lime);
  --rq-card: #ffffff;
  --rq-warn: #c62828;
  font-family: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  color: var(--rq-ink);
  background: var(--rq-card);
  border: 0;
  border-left: var(--rq-accent-edge);
  border-radius: var(--rq-radius);
  padding: clamp(20px, 3.5vw, 34px);
  margin: 0.5rem auto 1.5rem;
  box-sizing: border-box;
  max-width: 1100px;
  box-shadow: var(--rq-shadow);
}

.ps-rq *,
.ps-rq *::before,
.ps-rq *::after {
  box-sizing: border-box;
}

.ps-rq h2 {
  margin: 0 0 10px;
  font-family: "Outfit", "Noto Sans TC", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--rq-ink);
  position: relative;
  padding-bottom: 12px;
}

.ps-rq h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1px;
  background: var(--rq-green);
}

.ps-rq .ps-rq-sub {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--rq-muted);
  line-height: 1.55;
}

.ps-rq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .ps-rq-grid {
    grid-template-columns: 1fr;
  }
}

.ps-rq-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--rq-muted);
}

.ps-rq-field input,
.ps-rq-field textarea {
  width: 100%;
  border: 1.5px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 11px 13px;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
  color: var(--rq-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ps-rq-field input:focus,
.ps-rq-field textarea:focus {
  outline: none;
  border-color: var(--rq-green-deep);
}

.ps-rq-sizes {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.ps-rq-sizes__hint {
  margin: 0 0 2px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--rq-ok);
}

.ps-rq-size {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 2px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 16px 18px;
  min-width: 0;
  max-width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ps-rq-size:focus-within {
  background: var(--rq-lime);
  border-color: var(--rq-green-deep);
  box-shadow: var(--rq-shadow-sm);
}

.ps-rq-size__meta {
  min-width: 0;
}

.ps-rq-size .name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.ps-rq-size .rate {
  font-size: 0.84rem;
  color: var(--rq-muted);
  white-space: normal;
  font-weight: 600;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.ps-rq-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  max-width: 100%;
}

.ps-rq .ps-rq-qty__btn {
  appearance: none;
  -webkit-appearance: none;
  width: 52px;
  height: 56px;
  flex: 0 0 52px;
  border: 2px solid #111 !important;
  border-radius: var(--rq-radius) !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: var(--rq-shadow-sm);
  padding: 0 !important;
  margin: 0 !important;
}

.ps-rq .ps-rq-qty__btn:hover {
  background: var(--rq-green-deep) !important;
  border-color: var(--rq-green-deep) !important;
  color: #fff !important;
}

.ps-rq .ps-rq-size input[type="number"] {
  width: 96px;
  height: 56px;
  flex: 0 0 96px;
  border: 2px solid #111 !important;
  border-radius: var(--rq-radius) !important;
  padding: 8px !important;
  font: inherit;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  text-align: center;
  background: #fff !important;
  color: var(--rq-ink) !important;
}

/* Phone: stack size rows — qty controls were ~212px and blew past ~390px viewports */
@media (max-width: 560px) {
  .ps-rq-shell,
  .ps-rq-tool-wrap,
  .ps-rq {
    overflow-x: clip;
    max-width: 100%;
  }

  .ps-rq {
    padding: 18px 14px;
  }

  .ps-rq-hero__cta a {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 12px 14px;
  }

  .ps-rq-seg {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .ps-rq-seg button {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 10px 8px;
  }

  .ps-rq-size {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    overflow: hidden;
  }

  .ps-rq-size__meta,
  .ps-rq-qty {
    min-width: 0;
    max-width: 100%;
  }

  /* Grid (not flex): fr track cannot outgrow the card */
  .ps-rq-qty {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 6px;
    width: 100%;
  }

  .ps-rq .ps-rq-qty__btn {
    width: 48px;
    height: 48px;
    flex: none;
    font-size: 1.35rem !important;
  }

  .ps-rq .ps-rq-size input[type="number"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    height: 48px;
    flex: none;
    font-size: 1.35rem !important;
  }

  .ps-rq-actions button,
  .ps-rq-actions a.btn {
    flex: 1 1 100%;
  }

  .ps-rq-lead__actions .ps-rq-btn-primary {
    width: 100%;
  }
}

.ps-rq-size input[type="number"]:focus {
  outline: none;
  border-color: var(--rq-green-deep);
  background: #fff;
}

.ps-rq-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ps-rq-seg button {
  appearance: none;
  border: 1.5px solid var(--rq-line);
  background: #fff;
  border-radius: var(--rq-radius);
  padding: 10px 16px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--rq-ink);
  box-shadow: var(--rq-shadow-sm);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ps-rq-seg button:hover {
  border-color: var(--rq-green-deep);
  transform: translateY(-1px);
}

.ps-rq-seg button.active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: var(--rq-shadow-sm);
}

.ps-rq-summary {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
  box-shadow: none;
}

.ps-rq-monthly {
  background: var(--rq-monthly-bg);
  border: 0;
  border-left: 3px solid var(--rq-green);
  border-radius: var(--rq-radius);
  padding: 18px 20px 16px;
  margin-bottom: 12px;
  box-shadow: var(--rq-shadow-sm);
  text-align: left;
}

.ps-rq-monthly__label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a7a52;
  margin-bottom: 4px;
}

.ps-rq-monthly__amount {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #1a1a1a;
}

.ps-rq-monthly__meta {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.72);
}

.ps-rq-breakdown {
  background: #fff;
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.ps-rq-summary .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 6px;
  font-weight: 500;
}

.ps-rq-summary .row:last-child {
  margin-bottom: 0;
}

.ps-rq-gift {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: var(--rq-radius);
  background: var(--rq-gift-bg);
  border: 0;
  border-left: 3px solid var(--rq-gift-edge);
  color: var(--rq-ink);
  line-height: 1.45;
  box-shadow: var(--rq-shadow-sm);
}

.ps-rq-gift--muted {
  background: var(--rq-wash);
  border-left-color: var(--rq-line);
  color: var(--rq-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.ps-rq-gift__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rq-gift-ink);
  margin-bottom: 4px;
}

.ps-rq-gift__amount {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 2px 0 6px;
  color: var(--rq-ink);
}

.ps-rq-gift__tagline {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--rq-ink);
}

.ps-rq-gift__equiv {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: var(--rq-radius);
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.ps-rq-gift__how {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.78);
  line-height: 1.5;
}

.ps-rq-note {
  font-size: 0.78rem;
  color: var(--rq-warn);
  line-height: 1.45;
  margin-top: 6px;
}

.ps-rq-note-ok {
  color: var(--rq-ok);
  font-weight: 600;
}

.ps-rq-note-warn {
  color: var(--rq-warn);
  font-weight: 700;
}

.ps-rq-terms {
  font-size: 0.76rem;
  color: var(--rq-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  padding-left: 1.1em;
  padding-top: 4px;
}

.ps-rq-terms li {
  margin-bottom: 4px;
}

.ps-rq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.ps-rq-actions button,
.ps-rq-actions a.btn {
  appearance: none;
  border: 0;
  border-radius: var(--rq-radius);
  padding: 13px 22px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--rq-shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ps-rq-actions button:hover,
.ps-rq-actions a.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--rq-shadow);
}

.ps-rq-btn-primary {
  background: #111;
  color: #fff;
  border: 2px solid #111 !important;
}

.ps-rq-btn-primary:hover {
  background: #000;
  color: #fff;
}

.ps-rq-btn-secondary {
  background: #fff;
  color: #111;
  border: 2px solid #111 !important;
}

.ps-rq-toast {
  display: none;
  padding: 10px 12px;
  border-radius: var(--rq-radius);
  background: var(--rq-lime);
  color: var(--rq-ok);
  font-size: 0.86rem;
  margin-bottom: 10px;
  box-shadow: var(--rq-shadow-sm);
}

.ps-rq-toast.show {
  display: block;
}

.ps-rq-toast.err {
  background: #ffe8e4;
  color: #8b1e14;
}

.ps-rq-field--full {
  grid-column: 1 / -1;
}

.ps-rq-lead {
  margin-top: 28px;
  padding: clamp(22px, 3.5vw, 32px);
  position: relative;
  background: #fff;
  border: 1.5px solid var(--rq-line);
  border-radius: 12px;
  box-shadow: var(--rq-shadow-sm);
}

.ps-rq-lead__head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rq-line);
}

.ps-rq-lead__eyebrow {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--rq-ok);
  text-transform: none;
}

.ps-rq-lead h3 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  color: var(--rq-ink);
  line-height: 1.3;
}

.ps-rq-lead__intro {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--rq-muted);
  max-width: 46rem;
}

.ps-rq-lead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
}

.ps-rq-lead__actions .ps-rq-btn-primary {
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: 8px;
}

.ps-rq-lead__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--rq-muted);
  line-height: 1.45;
}

.ps-rq-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ps-rq .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Print style picker modal —— */
body.ps-rq-print-modal-open {
  overflow: hidden;
}

.ps-rq-print-modal[hidden] {
  display: none !important;
}

.ps-rq-print-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ps-rq-print-modal.is-open,
.ps-rq-print-modal:not([hidden]) {
  display: flex !important;
}

.ps-rq-print-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}

.ps-rq-print-modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  background: #fff;
  border-radius: var(--rq-radius);
  box-shadow: var(--rq-shadow);
  padding: 28px 24px 24px;
  border-top: 3px solid var(--rq-green);
}

.ps-rq-print-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

.ps-rq-print-modal__panel h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: "Outfit", "Noto Sans TC", sans-serif;
}

.ps-rq-print-modal__lead {
  margin: 0 0 18px;
  color: var(--rq-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ps-rq-print-modal__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 560px) {
  .ps-rq-print-modal__choices {
    grid-template-columns: 1fr;
  }
}

.ps-rq-print-choice {
  appearance: none;
  text-align: left;
  border: 2px solid var(--rq-line);
  border-radius: var(--rq-radius);
  background: #fff;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ps-rq-print-choice:hover {
  border-color: #111;
  transform: translateY(-2px);
  box-shadow: var(--rq-shadow-sm);
}

.ps-rq-print-choice__preview {
  display: block;
  height: 88px;
  border-radius: 4px;
  margin-bottom: 12px;
  padding: 12px;
  box-sizing: border-box;
}

.ps-rq-print-choice--formal .ps-rq-print-choice__preview {
  background: #f7f7f5;
  border: 1px solid #ddd;
}

.ps-rq-print-choice--youth .ps-rq-print-choice__preview {
  background: #f4faf0;
  border: 1px solid #c8e8b8;
}

.ps-rq-print-choice__preview .pv-line {
  display: block;
  height: 2px;
  width: 36%;
  margin-bottom: 10px;
}

.ps-rq-print-choice--formal .pv-line {
  background: #111;
}

.ps-rq-print-choice--youth .pv-line {
  background: var(--rq-green);
}

.ps-rq-print-choice__preview .pv-block {
  display: block;
  height: 22px;
  width: 58%;
  margin-bottom: 10px;
}

.ps-rq-print-choice--formal .pv-block {
  background: #111;
}

.ps-rq-print-choice--youth .pv-block {
  background: var(--rq-lime);
  border-left: 3px solid var(--rq-green-deep);
}

.ps-rq-print-choice__preview .pv-row {
  display: block;
  height: 6px;
  width: 100%;
  margin-bottom: 6px;
  background: #ddd;
}

.ps-rq-print-choice--youth .pv-row {
  background: #d7e8c8;
}

.ps-rq-print-choice__name {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: #111;
}

.ps-rq-print-choice__desc {
  display: block;
  font-size: 0.8rem;
  color: var(--rq-muted);
  line-height: 1.4;
}

/* Screen: print sheet hidden */
.ps-rq-print-sheet {
  display: none;
}

.ps-rq-print-only {
  display: none;
}

/* —— One-page A4 print —— */
/* Do NOT use visibility:hidden — invisible page chrome still paginates → blank pages. */
@page {
  size: A4;
  margin: 12mm;
}

@media print {
  html,
  body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /* Hide entire site chrome; only the print sheet remains in the flow. */
  body.ps-rq-printing > *:not(.ps-rq-print-sheet) {
    display: none !important;
  }

  body.ps-rq-printing .ps-rq-print-modal {
    display: none !important;
  }

  body.ps-rq-printing .ps-rq-print-sheet {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    color: #111;
    font-family: "Noto Sans TC", "Outfit", Helvetica, Arial, sans-serif;
    font-size: 10.5pt;
    line-height: 1.35;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    page-break-after: avoid;
    break-after: avoid-page;
  }

  .ps-rq-ps__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    padding-bottom: 6px;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .ps-rq-ps__head .brand {
    font-weight: 800;
    font-size: 12pt;
    letter-spacing: 0.02em;
  }

  .ps-rq-ps__head .meta {
    font-size: 8.5pt;
    color: #555;
  }

  .ps-rq-ps__title {
    margin: 0 0 10px;
    font-size: 16pt;
    font-weight: 700;
    line-height: 1.2;
  }

  .ps-rq-ps__monthly {
    padding: 10px 12px;
    margin-bottom: 10px;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .ps-rq-ps__monthly .lab {
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .ps-rq-ps__monthly .amt {
    font-family: "Outfit", "Noto Sans TC", sans-serif;
    font-size: 28pt;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
  }

  .ps-rq-ps__monthly .sub {
    margin-top: 4px;
    font-size: 9pt;
    color: #444;
  }

  .ps-rq-ps__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 10px;
    font-size: 9.5pt;
  }

  .ps-rq-ps__stats .k {
    color: #666;
    margin-right: 6px;
  }

  .ps-rq-ps__stats .v {
    font-weight: 700;
  }

  .ps-rq-ps__gift {
    margin-bottom: 10px;
    padding: 8px 10px;
  }

  .ps-rq-ps__gift .k {
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .ps-rq-ps__gift .v {
    font-size: 14pt;
    font-weight: 800;
    line-height: 1.15;
  }

  .ps-rq-ps__gift .h {
    font-size: 8.5pt;
    color: #555;
    margin-top: 2px;
  }

  .ps-rq-ps__gift.is-muted {
    font-size: 9pt;
    color: #666;
  }

  .ps-rq-ps__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 9.5pt;
  }

  .ps-rq-ps__table th,
  .ps-rq-ps__table td {
    padding: 5px 6px;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }

  .ps-rq-ps__table th {
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    font-weight: 700;
  }

  .ps-rq-ps__table .num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  .ps-rq-ps__empty {
    font-size: 9.5pt;
    color: #666;
    margin: 0 0 10px;
  }

  .ps-rq-ps__terms {
    margin: 0 0 10px;
    padding-left: 1.1em;
    font-size: 8pt;
    color: #444;
    line-height: 1.4;
  }

  .ps-rq-ps__terms li {
    margin-bottom: 3px;
  }

  .ps-rq-ps__foot {
    font-size: 7.5pt;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 6px;
  }

  /* Formal: black & white, serious */
  .ps-rq-print-sheet--formal .ps-rq-ps__head {
    border-bottom: 1.5px solid #111;
  }

  .ps-rq-print-sheet--formal .ps-rq-ps__title {
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .ps-rq-print-sheet--formal .ps-rq-ps__monthly {
    background: #f3f3f1;
    border-left: 2px solid #111;
  }

  .ps-rq-print-sheet--formal .ps-rq-ps__monthly .lab {
    color: #333;
  }

  .ps-rq-print-sheet--formal .ps-rq-ps__gift {
    border: 1px solid #ccc;
    background: #fff;
  }

  .ps-rq-print-sheet--formal .ps-rq-ps__table th {
    border-bottom: 1.5px solid #111;
    color: #111;
  }

  /* Youth: cheerful green accents */
  .ps-rq-print-sheet--youth .ps-rq-ps__head {
    border-bottom: 2px solid #6fdc78;
  }

  .ps-rq-print-sheet--youth .ps-rq-ps__head .brand {
    color: #1b7a2e;
  }

  .ps-rq-print-sheet--youth .ps-rq-ps__title {
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .ps-rq-print-sheet--youth .ps-rq-ps__monthly {
    background: #f3f8f0;
    border-left: 3px solid #6fdc78;
  }

  .ps-rq-print-sheet--youth .ps-rq-ps__monthly .lab {
    color: #4a7a52;
  }

  .ps-rq-print-sheet--youth .ps-rq-ps__gift {
    background: #eaf4ff;
    border-left: 3px solid #5ba3d9;
  }

  .ps-rq-print-sheet--youth .ps-rq-ps__table th {
    border-bottom: 2px solid #6fdc78;
    color: #1b7a2e;
  }
}
