/* Templates hub, template guide pages and tools hub. Uses the site green theme. */
.rh { --rh-ink: #00201b; --rh-green: #008060; --rh-green-d: #004942; --rh-deep: #002925; --rh-mint: #a3ffe4; --rh-body: #475569; --rh-line: #e3e9e5; --rh-tint: #eef8f4; color: var(--rh-body); }
.rh * { box-sizing: border-box; }
.rh-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* hero */
.rh-hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 100px; background: radial-gradient(70% 120% at 85% 0%, rgba(0,128,96,.55), transparent 60%), linear-gradient(180deg, #004942 0%, #002925 100%); }
.rh-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.rh-hero .rh-wrap { position: relative; }
.rh-crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.rh-crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.rh-crumbs a:hover { color: #fff; text-decoration: underline; }
.rh-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rh-mint); background: rgba(163,255,228,.1); border: 1px solid rgba(163,255,228,.3); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.rh-hero h1 { font-size: clamp(30px, 4.8vw, 52px); font-weight: 800; line-height: 1.1; color: #fff; margin: 0 0 16px; max-width: 20ch; }
.rh-hero p.rh-lead { color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.65; max-width: 62ch; margin: 0 0 26px; }
.rh-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--rh-green-d); font-weight: 800; font-size: 15px; padding: 14px 24px; border-radius: 14px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.rh-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.rh-btn--green { background: var(--rh-green); color: #fff; }
.rh-btn--green:hover { background: #00946f; }
.rh-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rh-points span { font-size: 13.5px; color: #e9fff8; background: rgba(255,255,255,.08); border: 1px solid rgba(163,255,228,.25); border-radius: 999px; padding: 7px 16px; }
.rh-points b { color: var(--rh-mint); margin-right: 4px; }

/* sections */
.rh-sec { padding: 64px 0; }
.rh-sec--tint { background: var(--rh-tint); }
.rh-h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--rh-ink); margin: 0 0 10px; line-height: 1.2; }
.rh-sub { max-width: 68ch; margin: 0 0 28px; line-height: 1.7; }
.rh-sub a, .rh-prose a { color: var(--rh-green-d); font-weight: 700; }

/* filter tabs */
.rh-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.rh-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rh-line); background: #fff; color: var(--rh-body); font-size: 14px; font-weight: 700; text-decoration: none; transition: all .15s; }
.rh-tab:hover { border-color: var(--rh-green); color: var(--rh-green-d); }
.rh-tab small { font-size: 12px; background: var(--rh-tint); color: var(--rh-green-d); border-radius: 999px; padding: 1px 8px; font-weight: 800; }
.rh-tab.is-active { background: var(--rh-green); color: #fff; border-color: var(--rh-green); }
.rh-tab.is-active small { background: rgba(255,255,255,.22); color: #fff; }

/* cards */
.rh-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.rh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rh-line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 6px 22px rgba(0,41,37,.07); transition: transform .18s, box-shadow .18s; }
.rh-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,41,37,.16); }
.rh-thumb { position: relative; height: 150px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #003a33 0%, #008060 60%, #12b886 100%); overflow: hidden; }
.rh-thumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.rh-thumb-ic { position: relative; width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.rh-thumb-ic svg { width: 34px; height: 34px; }
.rh-badge { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--rh-green-d); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.rh-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.rh-cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rh-green); margin-bottom: 8px; }
.rh-card h3 { font-size: 19px; font-weight: 800; color: var(--rh-ink); margin: 0 0 8px; line-height: 1.3; }
.rh-card p { font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.rh-link { color: var(--rh-green); font-weight: 800; font-size: 14.5px; }
.rh-meta { display: inline-block; font-size: 12.5px; color: #64748b; margin: -6px 0 14px; }
.rh-sample { font-size: 13px; font-weight: 700; color: var(--rh-green-d); background: var(--rh-tint); border-radius: 10px; padding: 8px 12px; margin: 0 0 14px; }

/* start-here + steps */
.rh-qa { display: grid; gap: 12px; }
.rh-qa a { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--rh-line); border-radius: 14px; padding: 16px 20px; text-decoration: none; color: var(--rh-ink); font-weight: 700; transition: border-color .15s, transform .15s; }
.rh-qa a:hover { border-color: var(--rh-green); transform: translateX(4px); }
.rh-qa a span { color: var(--rh-green); font-weight: 800; white-space: nowrap; font-size: 14px; }
.rh-three { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rh-box { background: #fff; border: 1px solid var(--rh-line); border-top: 4px solid var(--rh-green); border-radius: 16px; padding: 24px; }
.rh-box h3 { font-size: 18px; font-weight: 800; color: var(--rh-ink); margin: 0 0 8px; }
.rh-box p { margin: 0; line-height: 1.65; font-size: 15px; }
.rh-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--rh-tint); color: var(--rh-green-d); font-weight: 800; margin-bottom: 12px; }

/* faq */
.rh-faq { display: grid; gap: 12px; max-width: 860px; }
.rh-faq details { background: #fff; border: 1px solid var(--rh-line); border-radius: 14px; padding: 4px 20px; }
.rh-faq summary { cursor: pointer; font-weight: 800; color: var(--rh-ink); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.rh-faq summary::-webkit-details-marker { display: none; }
.rh-faq summary::after { content: "+"; color: var(--rh-green); font-size: 22px; line-height: 1; }
.rh-faq details[open] summary::after { content: "\2212"; }
.rh-faq details p { margin: 0 0 16px; line-height: 1.7; }

/* closing band */
.rh-band { background: linear-gradient(135deg, #004942, #002925); color: #fff; border-radius: 24px; padding: 44px 36px; text-align: center; }
.rh-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 10px; }
.rh-band p { color: rgba(255,255,255,.8); max-width: 60ch; margin: 0 auto 22px; line-height: 1.65; }

/* detail page */
.rh-detail { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.rh-prose { line-height: 1.8; font-size: 1.05rem; max-width: 70ch; }
.rh-prose h2 { font-size: 26px; font-weight: 800; color: var(--rh-ink); margin: 2.2rem 0 .8rem; }
.rh-prose ul, .rh-prose ol { padding-left: 1.2rem; margin: .8rem 0; }
.rh-prose li { margin: .5rem 0; }
.rh-steps { list-style: none; padding: 0; counter-reset: s; }
.rh-steps li { position: relative; padding-left: 52px; margin: 1rem 0; }
.rh-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 11px; background: var(--rh-tint); color: var(--rh-green-d); font-weight: 800; display: grid; place-items: center; }
.rh-steps strong { color: var(--rh-ink); display: block; }
.rh-callout { border-radius: 14px; padding: 18px 20px; margin: 1rem 0; border-left: 4px solid; }
.rh-callout--good { background: #ecfdf5; border-color: #10b981; }
.rh-callout--bad { background: #fef2f2; border-color: #ef4444; }
.rh-callout strong { display: block; color: var(--rh-ink); margin-bottom: 4px; }
.rh-side { position: sticky; top: 100px; }
.rh-dl { background: #fff; border: 1px solid rgba(0,128,96,.2); border-top: 4px solid var(--rh-green); border-radius: 20px; padding: 26px; box-shadow: 0 14px 36px rgba(0,41,37,.12); }
.rh-dl h2 { font-size: 20px; font-weight: 800; color: var(--rh-ink); margin: 0 0 6px; }
.rh-dl p { font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.rh-dl form { display: flex; flex-direction: column; gap: 10px; }
.rh-dl input[type=text], .rh-dl input[type=email], .rh-dl input[type=tel] { width: 100%; border: 1px solid #d1d5db; border-radius: 10px; padding: 11px 12px; font-size: 14px; }
.rh-dl input:focus { outline: 2px solid var(--rh-mint); border-color: var(--rh-green); }
.rh-err { color: #b91c1c; font-size: 13px; }
.rh-ok { color: #047857; font-weight: 700; font-size: 14px; display: none; }
.rh-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.rh-fine { font-size: 12px; color: #64748b; margin: 12px 0 0; }
.rh-related { list-style: none; padding: 0; margin: .8rem 0; }
.rh-related li { margin: .5rem 0; }
.rh-related a { font-weight: 700; color: var(--rh-green-d); }

@media (max-width: 900px) {
    .rh-detail { grid-template-columns: 1fr; }
    .rh-side { position: static; order: -1; }
    .rh-hero { padding: 120px 0 70px; }
}

/* ===== v2: professional polish ===== */
.rh { font-family: inherit; }
.rh .rh-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.rh .rh-crumbs a { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.rh .rh-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.rh .rh-crumbs b { color: #fff; font-weight: 600; }
.rh .rh-crumbs span { opacity: .5; }

.rh-hero--split { padding: 150px 0 90px; }
.rh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.rh-hero--split h1 { max-width: 16ch; }
.rh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rh-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.rh-btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }

/* spreadsheet preview */
.rh-mock { background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.4); overflow: hidden; transform: rotate(1.2deg); border: 1px solid rgba(255,255,255,.3); }
.rh-mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1f5f3; border-bottom: 1px solid var(--rh-line); font-size: 12px; color: #64748b; }
.rh-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5d1; display: inline-block; }
.rh-mock-bar span { margin-left: 8px; font-weight: 600; }
.rh-mock-grid { padding: 6px 0; font-variant-numeric: tabular-nums; }
.rh-mock-row { display: grid; grid-template-columns: .8fr 1fr 1fr 1fr; padding: 11px 18px; font-size: 13.5px; color: #334155; border-bottom: 1px solid #eef2f0; }
.rh-mock-row span:not(:first-child) { text-align: right; }
.rh-mock-head { background: var(--rh-green); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border: 0; }
.rh-mock-row .ok { color: #047857; font-weight: 700; }
.rh-mock-row .bad { color: #b91c1c; font-weight: 800; background: #fee2e2; border-radius: 6px; padding: 0 8px; justify-self: end; }
.rh-mock-foot { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 12.5px; color: #64748b; background: #f8faf9; }
.rh-mock-foot b { color: #b91c1c; }

/* stat strip */
.rh-strip { background: #fff; border-bottom: 1px solid var(--rh-line); }
.rh-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rh-strip-grid > div { padding: 22px 16px; text-align: center; border-right: 1px solid var(--rh-line); }
.rh-strip-grid > div:last-child { border-right: 0; }
.rh-strip-grid b { display: block; font-size: 20px; font-weight: 800; color: var(--rh-green-d); }
.rh-strip-grid span { font-size: 13px; color: #64748b; }

/* section heads */
.rh-head { margin-bottom: 28px; }
.rh-head--center { text-align: center; }
.rh-head--center .rh-sub { margin-left: auto; margin-right: auto; }
.rh-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rh-green); margin-bottom: 10px; }
.rh-sec { padding: 80px 0; }

/* cards: refined */
.rh-card { border-radius: 18px; }
.rh-thumb { height: 132px; }
.rh-link i, .rh-timeline a i { font-style: normal; display: inline-block; transition: transform .15s; }
.rh-card:hover .rh-link i, .rh-timeline a:hover i { transform: translateX(4px); }

/* timeline */
.rh-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: none; }
.rh-timeline::before { content: ""; position: absolute; top: 22px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--rh-green) 0 8px, transparent 8px 16px); opacity: .35; }
.rh-timeline li { position: relative; background: #fff; border: 1px solid var(--rh-line); border-radius: 18px; padding: 52px 24px 24px; text-align: left; box-shadow: 0 6px 22px rgba(0,41,37,.06); }
.rh-timeline li::before { display: none; }
.rh-tl-dot { position: absolute; top: -22px; left: 24px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #0a6b58, #12b886); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px rgba(0,128,96,.35); }
.rh-timeline small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-green); margin-bottom: 6px; }
.rh-timeline h3 { font-size: 20px; font-weight: 800; color: var(--rh-ink); margin: 0 0 8px; }
.rh-timeline p { margin: 0 0 14px; line-height: 1.65; font-size: 15px; }
.rh-timeline a { font-weight: 800; color: var(--rh-green); text-decoration: none; font-size: 14.5px; }

/* two column */
.rh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rh-two .rh-h2 { font-size: clamp(24px, 2.6vw, 30px); }
.rh-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.rh-checks li { position: relative; padding-left: 34px; line-height: 1.6; font-size: 15px; }
.rh-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--rh-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008060' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.rh-checks b { color: var(--rh-ink); }
.rh-two .rh-qa { margin-top: 20px; }
.rh-qa a { flex-direction: column; align-items: flex-start; gap: 6px; }
.rh-qa a span { font-size: 13.5px; }

/* faq two columns */
.rh-faq--two { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; }
.rh-more { text-align: center; margin: 28px auto 0; max-width: 70ch; line-height: 1.7; font-size: 15px; }
.rh-more a { color: var(--rh-green-d); font-weight: 700; }

@media (max-width: 900px) {
    .rh-hero-grid, .rh-two, .rh-timeline, .rh-faq--two { grid-template-columns: 1fr; }
    .rh-hero--split { padding: 120px 0 60px; }
    .rh-mock { transform: none; }
    .rh-timeline::before { display: none; }
    .rh-timeline { gap: 40px; }
    .rh-strip-grid { grid-template-columns: 1fr 1fr; }
    .rh-strip-grid > div:nth-child(2) { border-right: 0; }
    .rh-strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--rh-line); }
    .rh-sec { padding: 60px 0; }
}

/* ===== Why these exist (dark) ===== */
.rh-eyebrow--mint { color: var(--rh-mint); }
.rh-why { position: relative; overflow: hidden; padding: 84px 0; color: #fff; background: radial-gradient(60% 90% at 90% 0%, rgba(18,184,134,.28), transparent 60%), linear-gradient(180deg, #004942 0%, #002925 100%); }
.rh-why::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.rh-why .rh-wrap { position: relative; }
.rh-why-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.rh-why-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.18; color: #fff; margin: 0 0 14px; }
.rh-why-head p { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.7; margin: 0; }
.rh-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rh-why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(163,255,228,.2); border-radius: 18px; padding: 26px 22px; backdrop-filter: blur(6px); transition: transform .18s, background .18s, border-color .18s; }
.rh-why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.11); border-color: rgba(163,255,228,.45); }
.rh-why-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, #0a6b58 0%, #12b886 100%); box-shadow: 0 8px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.3); }
.rh-why-ic svg { width: 26px; height: 26px; }
.rh-why-card h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.rh-why-card p { color: rgba(255,255,255,.74); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ===== Start here cards ===== */
.rh-ask { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rh-ask-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rh-line); border-radius: 20px; padding: 28px 26px 24px; text-decoration: none; box-shadow: 0 6px 22px rgba(0,41,37,.07); transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; }
.rh-ask-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--rh-green), #12b886); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.rh-ask-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,41,37,.15); border-color: rgba(0,128,96,.35); }
.rh-ask-card:hover::before { transform: scaleX(1); }
.rh-ask-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--rh-green); background: var(--rh-tint); border: 1px solid rgba(0,128,96,.2); transition: all .18s; }
.rh-ask-ic svg { width: 25px; height: 25px; }
.rh-ask-card:hover .rh-ask-ic { background: var(--rh-green); color: #fff; }
.rh-ask-card h3 { flex: 1; font-size: 19px; font-weight: 800; line-height: 1.4; color: var(--rh-ink); margin: 0 0 20px; }
.rh-ask-go { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; font-weight: 800; color: var(--rh-green-d); background: var(--rh-tint); border-radius: 999px; padding: 8px 16px; transition: all .18s; }
.rh-ask-go i { font-style: normal; transition: transform .15s; }
.rh-ask-card:hover .rh-ask-go { background: var(--rh-green); color: #fff; }
.rh-ask-card:hover .rh-ask-go i { transform: translateX(4px); }

/* Related guides & services cards */
.rh-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.rh-rel-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rh-line); border-radius: 20px; text-decoration: none; box-shadow: 0 6px 22px rgba(0,41,37,.07); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rh-rel-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,41,37,.15); border-color: rgba(0,128,96,.35); }
.rh-rel-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #e8f6f1 0%, #d3efe6 100%); }
.rh-rel-media img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rh-rel-card:hover .rh-rel-media img { transform: scale(1.05); }
.rh-rel-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--rh-green); background: #fff; box-shadow: 0 8px 20px rgba(0,41,37,.12); }
.rh-rel-ic svg { width: 28px; height: 28px; }
.rh-rel-tag { position: absolute; z-index: 3; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rh-green-d); background: rgba(255,255,255,.95); border-radius: 999px; padding: 5px 12px; box-shadow: 0 2px 8px rgba(0,41,37,.12); }
.rh-rel-body { display: block; flex: 1; padding: 22px 24px 4px; }
.rh-rel-card h3 { font-size: 19px; font-weight: 800; line-height: 1.35; color: var(--rh-ink); margin: 0 0 8px; }
.rh-rel-card p { font-size: 14.5px; line-height: 1.6; color: #4a5a57; margin: 0; }
.rh-rel-go { display: flex; align-items: center; gap: 8px; margin: 16px 24px 22px; font-size: 14.5px; font-weight: 800; color: var(--rh-green-d); padding-top: 14px; border-top: 1px solid var(--rh-line); transition: color .2s; }
.rh-rel-go i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rh-tint); transition: all .2s; }
.rh-rel-card:hover .rh-rel-go i { background: var(--rh-green); color: #fff; transform: translateX(4px); }

@media (max-width: 1000px) { .rh-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .rh-why-grid, .rh-ask, .rh-rel { grid-template-columns: 1fr; }
    .rh-why { padding: 60px 0; }
}

/* ===== Template guide page ===== */
.rh-hero-grid--dl { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.rh-hero-grid--dl h1 { max-width: 18ch; }
.rh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.rh-chips span { font-size: 13px; color: #e9fff8; background: rgba(255,255,255,.08); border: 1px solid rgba(163,255,228,.25); border-radius: 999px; padding: 7px 14px; }

.rh-dl--hero { position: relative; padding: 30px 28px 26px; box-shadow: 0 30px 70px rgba(0,0,0,.4); border: 0; border-top: 5px solid #12b886; }
.rh-dl-badge { position: absolute; top: 20px; right: 22px; background: var(--rh-tint); color: var(--rh-green-d); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.rh-dl--hero h2 { font-size: 22px; }

.rh-two--center { align-items: center; }
.rh-mock--flat { transform: none; box-shadow: 0 24px 60px rgba(0,41,37,.18); border: 1px solid var(--rh-line); }
.rh-mock-foot b.ok { color: #047857; }

/* vertical steps */
.rh-vsteps { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; display: grid; gap: 18px; }
.rh-vsteps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: repeating-linear-gradient(180deg, var(--rh-green) 0 8px, transparent 8px 16px); opacity: .35; }
.rh-vsteps li { position: relative; display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--rh-line); border-radius: 18px; padding: 22px 24px 22px 20px; box-shadow: 0 6px 22px rgba(0,41,37,.06); transition: transform .18s, box-shadow .18s; }
.rh-vsteps li:hover { transform: translateX(4px); box-shadow: 0 14px 34px rgba(0,41,37,.12); }
.rh-vnum { flex: none; width: 36px; height: 36px; margin-left: 0; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0a6b58, #12b886); box-shadow: 0 8px 18px rgba(0,128,96,.3); position: relative; z-index: 1; }
.rh-vsteps h3 { font-size: 18px; font-weight: 800; color: var(--rh-ink); margin: 2px 0 6px; }
.rh-vsteps p { margin: 0; line-height: 1.65; font-size: 15.5px; }

/* good vs bad */
.rh-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.rh-verdict-card { border-radius: 20px; padding: 30px 28px; border: 1px solid; }
.rh-verdict-card--good { background: #ecfdf5; border-color: #a7f3d0; }
.rh-verdict-card--bad { background: #fef2f2; border-color: #fecaca; }
.rh-verdict-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.rh-verdict-ic svg { width: 24px; height: 24px; }
.rh-verdict-card--good .rh-verdict-ic { background: #10b981; }
.rh-verdict-card--bad .rh-verdict-ic { background: #ef4444; }
.rh-verdict-card h3 { font-size: 20px; font-weight: 800; color: var(--rh-ink); margin: 0 0 8px; }
.rh-verdict-card p { margin: 0; line-height: 1.7; font-size: 15.5px; color: #334155; }

/* mistakes */
.rh-mistakes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.rh-mistake { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--rh-line); border-radius: 16px; padding: 20px 22px; }
.rh-mistake span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fee2e2; color: #dc2626; }
.rh-mistake span svg { width: 18px; height: 18px; }
.rh-mistake p { margin: 0; line-height: 1.6; font-size: 15px; }

/* related cards: single-line variant */
.rh-ask-card h3 { font-size: 18px; }

@media (max-width: 900px) {
    .rh-hero-grid--dl, .rh-verdict, .rh-mistakes { grid-template-columns: 1fr; }
    .rh-vsteps::before { display: none; }
    .rh-vsteps li { padding: 18px; }
}

/* ===== Common mistakes (v2: title, problem, fix) ===== */
.rh-mistakes { align-items: stretch; }
.rh-mistake { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 6px 22px rgba(0,41,37,.07); transition: transform .18s, box-shadow .18s; }
.rh-mistake:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,41,37,.13); }
.rh-mistake-top { display: flex; align-items: center; gap: 14px; padding: 20px 24px 0; }
.rh-mistake .rh-mistake-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fee2e2; color: #dc2626; }
.rh-mistake .rh-mistake-ic svg { width: 18px; height: 18px; }
.rh-mistake h3 { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--rh-ink); margin: 0; }
.rh-mistake .rh-mistake-why { flex: 1; margin: 12px 0 18px; padding: 0 24px; line-height: 1.65; font-size: 15px; }
.rh-mistake-fix { display: flex; gap: 12px; align-items: flex-start; padding: 16px 24px 18px; background: #f0faf6; border-top: 1px solid #d5eee4; }
.rh-mistake-fix > span { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 8px; display: grid; place-items: center; background: #10b981; color: #fff; }
.rh-mistake-fix > span svg { width: 14px; height: 14px; }
.rh-mistake-fix p { margin: 0; line-height: 1.6; font-size: 14.5px; color: #1f3d36; }
.rh-mistake-fix b { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-green); margin-bottom: 2px; }
.rh-mistake { align-items: stretch; gap: 0; }
.rh-mistake-fix { min-height: 108px; }

/* ===== Card thumbnails: photo + mini spreadsheet ===== */
.rh-thumb--photo { height: 170px; padding: 0; background: #003a33; }
.rh-thumb--photo::before { display: none; }
.rh-thumb--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rh-card:hover .rh-thumb--photo img { transform: scale(1.05); }
.rh-thumb--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,41,37,.0) 45%, rgba(0,41,37,.35) 100%); }
.rh-thumb--photo .rh-badge { z-index: 2; }

.rh-thumb--sheet { height: 170px; display: block; padding: 46px 22px 0; }
.rh-thumb--sheet .rh-badge { z-index: 2; }
.rh-mini { position: relative; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.28); transform: translateY(2px); font-size: 10.5px; color: #334155; transition: transform .25s; }
.rh-card:hover .rh-mini { transform: translateY(-4px); }
.rh-mini-bar { display: flex; align-items: center; gap: 4px; padding: 5px 8px; background: #f1f5f3; border-bottom: 1px solid #e3e9e5; color: #64748b; font-size: 9.5px; }
.rh-mini-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5d1; display: inline-block; }
.rh-mini-bar span { margin-left: 4px; font-weight: 600; }
.rh-mini-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 4px; padding: 5px 10px; border-bottom: 1px solid #eef2f0; white-space: nowrap; overflow: hidden; }
.rh-mini-row span { overflow: hidden; text-overflow: ellipsis; }
.rh-mini-row span:not(:first-child) { text-align: right; }
.rh-mini-head { background: #008060; color: #fff; font-weight: 700; text-transform: uppercase; font-size: 9px; letter-spacing: .03em; border: 0; }

/* ===== Interactive calculators ===== */
.rh-hero--calc { padding: 140px 0 120px; }
.rh-hero--calc h1 { max-width: 22ch; }
.rh-sec--calc { padding-top: 0; margin-top: -70px; position: relative; z-index: 2; }
.rh-btn--outline { background: #fff; color: var(--rh-green-d); border: 1px solid var(--rh-line); }
.rh-btn--outline:hover { border-color: var(--rh-green); box-shadow: 0 8px 20px rgba(0,41,37,.12); }

.gs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px; align-items: start; }
.gs-card { background: #fff; border: 1px solid var(--rh-line); border-radius: 22px; padding: 30px 28px; box-shadow: 0 20px 50px rgba(0,41,37,.12); }
.gs-card h2 { font-size: 21px; font-weight: 800; color: var(--rh-ink); margin: 0 0 18px; }
.gs-side { display: grid; gap: 22px; position: sticky; top: 100px; }
.gs-field { margin-bottom: 18px; }
.gs-field label { display: block; font-size: 14px; font-weight: 700; color: var(--rh-ink); margin-bottom: 7px; }
.gs-field small { display: block; font-size: 12.5px; color: #64748b; margin-top: 6px; line-height: 1.5; }
.gs-input { display: flex; align-items: center; border: 1px solid #d1d5db; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; overflow: hidden; }
.gs-input:focus-within { border-color: var(--rh-green); box-shadow: 0 0 0 3px rgba(163,255,228,.6); }
.gs-input input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 14px; font-size: 16px; font-weight: 600; color: var(--rh-ink); background: transparent; }
.gs-aff { padding: 0 14px; font-weight: 700; color: #64748b; background: #f3f6f4; align-self: stretch; display: grid; place-items: center; font-size: 14px; }
.gs-field select { width: 100%; border: 1px solid #d1d5db; border-radius: 12px; padding: 13px 14px; font-size: 15px; font-weight: 600; color: var(--rh-ink); background: #fff; }
.gs-field select:focus { outline: 0; border-color: var(--rh-green); box-shadow: 0 0 0 3px rgba(163,255,228,.6); }

.gs-head { background: linear-gradient(135deg, #004942, #002925); color: #fff; border-radius: 16px; padding: 24px 24px 22px; margin-bottom: 14px; }
.gs-head span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-mint); }
.gs-head b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.15; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.gs-head small { color: rgba(255,255,255,.78); font-size: 14px; }
.gs-verdict { border-radius: 12px; padding: 12px 16px; font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; border-left: 4px solid; }
.gs-verdict.gs-good { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.gs-verdict.gs-warn { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.gs-verdict.gs-bad { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.gs-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.gs-kpis div { background: var(--rh-tint); border-radius: 12px; padding: 12px 14px; }
.gs-kpis span { display: block; font-size: 12px; color: #64748b; font-weight: 600; margin-bottom: 2px; }
.gs-kpis b { font-size: 17px; color: var(--rh-ink); font-variant-numeric: tabular-nums; }
.gs-tt { font-size: 15px; font-weight: 800; color: var(--rh-ink); margin: 18px 0 8px; }
.gs-tw { overflow-x: auto; }
.gs-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.gs-table th { background: var(--rh-green); color: #fff; font-weight: 700; padding: 9px 12px; text-align: right; font-size: 12.5px; }
.gs-table th:first-child, .gs-table td:first-child { text-align: left; }
.gs-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #eef2f0; color: #334155; }
.gs-table tr:last-child td { font-weight: 800; }
.gs-table tr:last-child td:not([class]) { color: var(--rh-ink); }
.gs-table td.gs-good { color: #047857; font-weight: 800; }
.gs-table td.gs-warn { color: #b45309; font-weight: 800; }
.gs-table td.gs-bad { color: #b91c1c; font-weight: 800; }
.gs-extra { font-size: 14px; line-height: 1.6; background: #f8faf9; border-radius: 10px; padding: 12px 14px; margin: 14px 0 0; color: #334155; }
.gs-empty { background: #fffbeb; color: #92400e; border-radius: 12px; padding: 16px; font-weight: 600; }
.gs-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.gs-disc { font-size: 12.5px; color: #64748b; margin: 14px 0 0; line-height: 1.55; }
.gs-lead p { font-size: 14.5px; line-height: 1.6; margin: -6px 0 16px; }
.gs-lead form { display: flex; flex-direction: column; gap: 10px; }
.gs-lead input[type=text], .gs-lead input[type=email], .gs-lead input[type=tel] { width: 100%; border: 1px solid #d1d5db; border-radius: 10px; padding: 12px; font-size: 14.5px; }
.gs-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.gs-modal[hidden] { display: none; }
.gs-modal-bg { position: absolute; inset: 0; background: rgba(0,25,22,.6); backdrop-filter: blur(3px); }
.gs-modal-box { position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 20px; padding: 32px 30px 28px; box-shadow: 0 30px 80px rgba(0,25,22,.35); animation: gsPop .22s ease; }
.gs-modal-box h2 { margin: 0 0 10px; font-size: 24px; color: var(--rh-ink); }
.gs-modal-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--rh-tint); color: var(--rh-green-d); font-size: 24px; line-height: 1; cursor: pointer; }
.gs-modal-x:hover { background: var(--rh-green); color: #fff; }
body.gs-modal-open { overflow: hidden; }
@keyframes gsPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.gs-lead input:focus { outline: 2px solid var(--rh-mint); border-color: var(--rh-green); }

@media (max-width: 960px) {
    .gs-grid { grid-template-columns: 1fr; }
    .gs-side { position: static; }
    .rh-hero--calc { padding: 120px 0 100px; }
}
@media print {
    header, footer, .ocf-header, .ocf-footer, .gs-inputs, .gs-lead, .gs-actions, .rh-hero .rh-chips, .rh-sec--tint, .rh-band, #consultation, .ocf-spot-section, .rh-faq { display: none !important; }
    .rh-hero { padding: 20px 0 !important; background: #fff !important; color: #000 !important; }
    .rh-hero h1, .rh-hero .rh-lead, .rh-crumbs, .rh-kicker { color: #000 !important; }
    .rh-sec--calc { margin-top: 0 !important; }
    .gs-grid { display: block; }
    .gs-card { box-shadow: none !important; border: 0 !important; }
    .gs-head { background: #fff !important; color: #000 !important; border: 1px solid #999; }
    .gs-head span, .gs-head small { color: #333 !important; }
}

/* PDF gate */
.gs-lock { width: 18px; height: 18px; flex: none; }
.gs-hint { display: none; background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.gs-hint.is-on { display: block; }
.gs-pulse { animation: gsPulse 1.8s ease; }
@keyframes gsPulse { 0%, 100% { box-shadow: 0 20px 50px rgba(0,41,37,.12); } 20%, 60% { box-shadow: 0 0 0 4px rgba(18,184,134,.55), 0 20px 50px rgba(0,41,37,.18); } }

/* ===== Fuel reconciliation report generator ===== */
.fr-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-bottom: 16px; }
.fr-toolbar .rh-btn { padding: 10px 18px; font-size: 14px; background: #fff; }
.fr-card { margin-bottom: 22px; }
.fr-card h2 { display: flex; align-items: center; gap: 12px; }
.fr-step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #0a6b58, #12b886); color: #fff; font-size: 15px; font-weight: 800; }
.fr-note { font-size: 14px; color: #64748b; line-height: 1.6; margin: -4px 0 16px; }
.fr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.gs-field textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--rh-ink); resize: vertical; }
.gs-field textarea:focus { outline: 0; border-color: var(--rh-green); box-shadow: 0 0 0 3px rgba(163,255,228,.6); }
.gs-input input[type=date] { font-family: inherit; }

.fr-tablewrap { overflow-x: auto; border: 1px solid var(--rh-line); border-radius: 14px; }
.fr-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.fr-table th { background: var(--rh-green); color: #fff; font-weight: 700; padding: 11px 10px; text-align: left; font-size: 12.5px; white-space: nowrap; }
.fr-table th.fr-calc { background: var(--rh-green-d); }
.fr-table td { padding: 8px 8px; border-bottom: 1px solid #eef2f0; vertical-align: middle; }
.fr-table tr:last-child td { border-bottom: 0; }
.fr-table td input, .fr-table td select { width: 100%; min-width: 0; border: 1px solid #d1d5db; border-radius: 9px; padding: 9px 10px; font-size: 14px; font-weight: 600; color: var(--rh-ink); background: #fffdf3; font-family: inherit; }
.fr-table td input:focus, .fr-table td select:focus { outline: 0; border-color: var(--rh-green); box-shadow: 0 0 0 3px rgba(163,255,228,.6); }
.fr-table td:nth-child(1) { min-width: 100px; } .fr-table td:nth-child(2) { min-width: 130px; }
.fr-table td:nth-child(n+3):nth-child(-n+6) { min-width: 92px; }
.fr-table td.fr-calc { background: #f6f8f7; font-weight: 700; text-align: right; color: #334155; white-space: nowrap; padding: 8px 12px; }
.fr-table td.fr-neg { color: #b91c1c; }
.fr-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.fr-badge.fr-ok { background: #d1fae5; color: #065f46; }
.fr-badge.fr-watch { background: #fef3c7; color: #92400e; }
.fr-badge.fr-bad { background: #fee2e2; color: #991b1b; }
.fr-del { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--rh-line); background: #fff; color: #94a3b8; font-size: 20px; line-height: 1; cursor: pointer; }
.fr-del:hover { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.fr-addrow { margin-top: 14px; }
.fr-addrow .rh-btn { padding: 10px 18px; font-size: 14px; }
.fr-warn { margin-top: 14px; background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; border-radius: 10px; padding: 12px 16px; font-size: 14px; line-height: 1.6; font-weight: 600; }

.fr-kpis { grid-template-columns: repeat(4, 1fr); }
.fr-printgrid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }

/* printed report: hidden on screen */
.gs-printdoc { display: none; }

@media (max-width: 960px) {
    .fr-grid2, .fr-printgrid { grid-template-columns: 1fr; }
    .fr-kpis { grid-template-columns: 1fr 1fr; }
    .fr-toolbar { justify-content: stretch; }
    .fr-toolbar .rh-btn { flex: 1; justify-content: center; }
}

@media print {
    @page { size: letter landscape; margin: 14mm; }
    body.gs-printing > *:not(#gs-print) { display: none !important; }
    body.gs-printing { background: #fff !important; }
    body.gs-printing .gs-printdoc { display: block !important; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 11pt; }
    .gs-printdoc .pd-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid #008060; padding-bottom: 10px; margin-bottom: 14px; }
    .gs-printdoc h1 { font-size: 20pt; margin: 0 0 4px; color: #004942; }
    .gs-printdoc .pd-head p { margin: 0; font-size: 10.5pt; line-height: 1.5; }
    .gs-printdoc .pd-meta { display: grid; gap: 4px; text-align: right; font-size: 10pt; }
    .gs-printdoc .pd-meta span { display: block; color: #666; font-size: 8.5pt; text-transform: uppercase; letter-spacing: .05em; }
    .gs-printdoc .pd-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 10pt; }
    .gs-printdoc .pd-table th { background: #008060 !important; color: #fff !important; padding: 6px 8px; text-align: right; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .gs-printdoc .pd-table th:nth-child(-n+2), .gs-printdoc .pd-table td:nth-child(-n+2) { text-align: left; }
    .gs-printdoc .pd-table td { padding: 6px 8px; border-bottom: 1px solid #ccc; text-align: right; }
    .gs-printdoc .pd-total td { font-weight: 700; border-top: 2px solid #004942; background: #eef6f2 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .gs-printdoc .pd-ok { color: #065f46; } .gs-printdoc .pd-watch { color: #92400e; } .gs-printdoc .pd-bad { color: #b91c1c; }
    .gs-printdoc .pd-verdict { font-size: 11pt; margin: 8px 0; }
    .gs-printdoc .pd-small { font-size: 8.5pt; color: #555; margin: 4px 0 10px; }
    .gs-printdoc .pd-notes { border: 1px solid #bbb; border-radius: 4px; padding: 8px 12px; margin: 10px 0; font-size: 10pt; }
    .gs-printdoc .pd-notes p { margin: 4px 0 0; }
    .gs-printdoc .pd-sign { display: grid; grid-template-columns: 2fr 1fr 2fr 1fr; gap: 26px; margin-top: 40px; page-break-inside: avoid; }
    .gs-printdoc .pd-sign i { display: block; border-bottom: 1px solid #111; height: 26px; }
    .gs-printdoc .pd-sign span { display: block; font-size: 8.5pt; color: #555; margin-top: 4px; }
    .gs-printdoc .pd-foot { margin-top: 22px; font-size: 8pt; color: #777; border-top: 1px solid #ddd; padding-top: 6px; }
}

@media print {
    .gs-printdoc .pd-total td:not(:first-child) { text-align: right; }
}
.fr-table td:nth-child(2) { min-width: 152px; } .fr-table { min-width: 1020px; }

/* ===== Report preview ===== */
.fr-toolbar { align-items: center; }
.fr-toolbar-gap { flex: 1; }
.fr-seg { display: inline-flex; background: #fff; border: 1px solid var(--rh-line); border-radius: 14px; padding: 4px; box-shadow: 0 4px 14px rgba(0,41,37,.08); }
.fr-seg button { border: 0; background: transparent; padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 800; color: var(--rh-body); cursor: pointer; transition: all .15s; font-family: inherit; }
.fr-seg button:hover { color: var(--rh-green-d); }
.fr-seg button.is-active { background: var(--rh-green); color: #fff; box-shadow: 0 6px 14px rgba(0,128,96,.3); }
[data-pane][hidden] { display: none !important; }
.fr-previewcta { text-align: center; margin: 4px 0 26px; }
.fr-previewcta .rh-btn { background: #fff; }
.fr-prevhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.fr-prevhead h2 { margin: 0; }
.fr-prevhead .rh-btn { padding: 10px 18px; font-size: 14px; background: #fff; }

.gs-paperwrap { background: #e9eeec; border-radius: 16px; padding: 28px; overflow-x: auto; }
.gs-paper { background: #fff; width: 100%; min-width: 860px; max-width: 1040px; margin: 0 auto; padding: 38px 42px 34px; box-shadow: 0 14px 40px rgba(0,41,37,.22); border-radius: 4px; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 13.5px; }
.gs-paper .pd-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid #008060; padding-bottom: 12px; margin-bottom: 16px; }
.gs-paper h1 { font-size: 24px; margin: 0 0 6px; color: #004942; font-weight: 800; line-height: 1.2; }
.gs-paper .pd-head p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.gs-paper .pd-meta { display: grid; gap: 6px; text-align: right; font-size: 13px; white-space: nowrap; }
.gs-paper .pd-meta span { display: block; color: #666; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.gs-paper .pd-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 13px; }
.gs-paper .pd-table th { background: #008060; color: #fff; padding: 8px 10px; text-align: right; font-weight: 700; }
.gs-paper .pd-table th:nth-child(-n+2), .gs-paper .pd-table td:nth-child(-n+2) { text-align: left; }
.gs-paper .pd-table td { padding: 8px 10px; border-bottom: 1px solid #ddd; text-align: right; }
.gs-paper .pd-total td { font-weight: 700; border-top: 2px solid #004942; background: #eef6f2; }
.gs-paper .pd-total td:not(:first-child) { text-align: right; }
.gs-paper .pd-ok { color: #065f46; } .gs-paper .pd-watch { color: #92400e; } .gs-paper .pd-bad { color: #b91c1c; }
.gs-paper .pd-verdict { font-size: 14px; margin: 10px 0; }
.gs-paper .pd-small { font-size: 11.5px; color: #555; margin: 4px 0 12px; line-height: 1.5; }
.gs-paper .pd-notes { border: 1px solid #bbb; border-radius: 4px; padding: 10px 14px; margin: 12px 0; font-size: 13px; }
.gs-paper .pd-notes p { margin: 4px 0 0; }
.gs-paper .pd-sign { display: grid; grid-template-columns: 2fr 1fr 2fr 1fr; gap: 28px; margin-top: 46px; }
.gs-paper .pd-sign i { display: block; border-bottom: 1px solid #111; height: 28px; }
.gs-paper .pd-sign span { display: block; font-size: 11px; color: #555; margin-top: 5px; }
.gs-paper .pd-foot { margin-top: 24px; font-size: 10.5px; color: #777; border-top: 1px solid #ddd; padding-top: 8px; line-height: 1.5; }

@media (max-width: 960px) {
    .fr-toolbar-gap { display: none; }
    .fr-seg { width: 100%; }
    .fr-seg button { flex: 1; }
    .gs-paperwrap { padding: 14px; }
}

/* ===== Calculator hero: animated tank panel ===== */
.rh-hero--calc .rh-wrap { position: relative; }
.rh-tankviz { position: absolute; right: 0; top: 50%; transform: translateY(-46%); width: 400px; padding: 20px 22px 18px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); animation: rhFloat 6s ease-in-out infinite; }
.rh-tankviz-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.rh-tankviz-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: rhPulse 1.8s infinite; }
.rh-tankviz-tanks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rh-tank { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.rh-tank-body { position: relative; width: 70px; height: 124px; border-radius: 16px; border: 2px solid rgba(255,255,255,.55); overflow: hidden; background: rgba(0,0,0,.18); margin-bottom: 8px; }
.rh-tank-liquid { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, #34d399, #0a8f6f); animation: rhFill 7s ease-in-out infinite; animation-delay: var(--d); }
.rh-tank--watch .rh-tank-liquid { background: linear-gradient(180deg, #fbbf24, #d97706); }
.rh-tank-liquid i { position: absolute; left: -50%; top: -9px; width: 200%; height: 18px; border-radius: 42%; background: rgba(255,255,255,.28); animation: rhWave 3.2s linear infinite; }
.rh-tank-liquid i + i { top: -6px; opacity: .6; animation-duration: 4.6s; animation-direction: reverse; }
.rh-tank-ticks { position: absolute; inset: 8px 8px 8px auto; width: 10px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.55) 0 2px, transparent 2px 16px); }
.rh-tank b { font-size: 14px; color: #fff; }
.rh-tank-pct { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.rh-tank em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(52,211,153,.2); color: #a7f3d0; }
.rh-tank--watch em { background: rgba(251,191,36,.22); color: #fde68a; }
.rh-tankviz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.7); }
.rh-tankviz-sign { color: #fff; padding: 5px 12px; border-radius: 999px; background: rgba(52,211,153,.22); animation: rhGlow 2.4s ease-in-out infinite; }
@keyframes rhFill { 0%, 100% { height: 18%; } 45%, 60% { height: 78%; } }
@keyframes rhWave { to { transform: translateX(50%); } }
@keyframes rhFloat { 0%, 100% { transform: translateY(-46%); } 50% { transform: translateY(-50%); } }
@keyframes rhPulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes rhGlow { 50% { background: rgba(52,211,153,.45); } }
@media (max-width: 1100px) { .rh-tankviz { display: none; } }
@media (prefers-reduced-motion: reduce) { .rh-tankviz, .rh-tank-liquid, .rh-tank-liquid i, .rh-tankviz-live, .rh-tankviz-sign { animation: none; } .rh-tank-liquid { height: 60%; } }
@media print { .rh-tankviz { display: none !important; } }
.rh-actions--hero { margin-top: 26px; }

/* Illustrated thumbnails for related cards without a photo */
.rh-rel-media .rh-thumb { position: absolute; inset: 0; width: 100%; height: 100%; }
.rh-rel-media::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(52,211,153,.35), transparent 65%); }
.rh-rel-media .rh-thumb { z-index: 1; }
.rt-float { animation: rtFloat 5s ease-in-out infinite; }
.rt-fill { transform-box: fill-box; transform-origin: bottom; animation: rtFill 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.rt-pop { transform-box: fill-box; transform-origin: center; animation: rtPop 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.rt-key { animation: rtKey 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.rh-rel-card:hover .rh-rel-media .rh-thumb { transform: scale(1.04); }
.rh-rel-media .rh-thumb { transition: transform .35s; }
@keyframes rtFloat { 50% { transform: translateY(-4px); } }
@keyframes rtFill { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(.85); } }
@keyframes rtPop { 50% { transform: scale(1.1); } }
@keyframes rtKey { 0%, 80%, 100% { opacity: 1; } 90% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .rt-float, .rt-fill, .rt-pop, .rt-key { animation: none; } .rt-fill { transform: scaleY(.7); } }

/* Short how-to guide inside calculator cards */
.fr-guide { background: #f3faf7; border: 1px solid #cfeadf; border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #334155; }
.fr-guide > strong { display: block; color: #004942; margin-bottom: 6px; }
.fr-guide ul { margin: 0 0 8px; padding-left: 18px; }
.fr-guide li { margin: 2px 0; }
.fr-guide p { margin: 0; }
.fr-guide b { color: #0b1f1c; }

/* Keep the hero text clear of the floating tank card (shown above 1100px) */
@media (min-width: 1101px) {
    .rh-hero--calc .rh-wrap > h1,
    .rh-hero--calc .rh-wrap > .rh-lead,
    .rh-hero--calc .rh-wrap > .rh-chips { max-width: calc(100% - 450px); }
}
