/* Google review link generator: built on the site's tokens (styles.css / services.css) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tool-hero .container { align-items: center; }

/* Step 1 card (sits where the "At a glance" box is on service pages) */
.rt-card { position: relative; display: grid; gap: .9rem; border-radius: 1.5rem; border: 1px solid rgba(200, 240, 45, .32); background: linear-gradient(155deg, rgba(200, 240, 45, .12), transparent 52%), #111312; padding: 1.6rem; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .85); }
.rt-label { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; color: var(--paper); }
.rt-inputrow { position: relative; }
.rt-inputrow input { width: 100%; font: inherit; font-size: 1rem; color: var(--paper); background: rgba(255, 255, 255, .04); border: 1px solid rgba(243, 244, 236, .16); border-radius: .9rem; padding: 1rem 5.2rem 1rem 1rem; transition: border-color .3s, background-color .3s; }
.rt-inputrow input::placeholder { color: #6b706a; }
.rt-inputrow input:focus { outline: none; border-color: var(--lime); background: rgba(200, 240, 45, .05); }
.rt-card.is-invalid .rt-inputrow input { border-color: #ef6f57; }
.rt-paste { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); height: 2.3rem; padding: 0 .9rem; border-radius: .6rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--paper); font: 500 .8rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.rt-paste:hover { border-color: var(--lime); color: var(--lime); }
.rt-go { width: 100%; justify-content: center; }
.rt-go[aria-busy="true"] { opacity: .7; pointer-events: none; }
.rt-status { min-height: 1.25rem; font-size: .9rem; line-height: 1.45; color: var(--fog); margin: 0; }
.rt-status.is-error { color: #ff8f7a; }
.rt-status.is-ok { color: var(--lime); }
.rt-help { border-top: 1px solid var(--line); padding-top: .85rem; font-size: .9rem; color: rgba(243, 244, 236, .75); }
.rt-help summary { cursor: pointer; color: var(--paper); font-weight: 500; list-style: none; display: flex; align-items: center; gap: .5rem; }
.rt-help summary::-webkit-details-marker { display: none; }
.rt-help summary::before { content: "+"; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 1px solid var(--line); font-family: var(--f-mono); font-size: .8rem; color: var(--lime); transition: transform .3s var(--ease); }
.rt-help[open] summary::before { transform: rotate(45deg); }
.rt-help ol { margin: .75rem 0 .5rem 1.2rem; display: grid; gap: .3rem; }
.rt-help p { margin: 0; color: var(--fog); font-size: .85rem; }

/* Step 2 results */
.rt-result { border-bottom: 1px solid var(--line); scroll-margin-top: 5rem; }
.rt-result:focus { outline: none; }
.rt-result__head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: 2.25rem; }
.rt-result__head .h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.rt-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .rt-grid { grid-template-columns: 1.15fr .85fr; } .rt-panel--msg { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .rt-grid { grid-template-columns: 1.1fr .8fr 1.1fr; } .rt-panel--msg { grid-column: auto; } }
.rt-panel { position: relative; display: flex; flex-direction: column; gap: .85rem; border-radius: 1.25rem; border: 1px solid var(--line); background: #111312; padding: 1.5rem; min-width: 0; }
.rt-panel__n { font-family: var(--f-mono); font-size: .75rem; color: var(--lime); letter-spacing: .1em; }
.rt-panel h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; margin: 0; }
.rt-panel > p { margin: 0; color: rgba(243, 244, 236, .7); font-size: .95rem; line-height: 1.5; }
.rt-panel .field input, .rt-panel .field textarea { font-size: .95rem; }
.rt-linkbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .4rem .4rem .4rem .9rem; border-radius: .9rem; border: 1px solid rgba(200, 240, 45, .35); background: rgba(200, 240, 45, .05); }
.rt-linkbox input { min-width: 0; border: 0; background: none; color: var(--paper); font: .85rem var(--f-mono); text-overflow: ellipsis; padding: 0; }
.rt-linkbox input:focus { outline: none; }
.rt-test { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--lime); text-decoration: none; width: fit-content; }
.rt-test svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.rt-test:hover svg { transform: translateX(3px); }
.rt-qr { display: grid; place-items: center; padding: 1rem; border-radius: 1rem; background: #fff; }
.rt-qr canvas { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.rt-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.rt-btns .btn { flex: 1 1 auto; justify-content: center; }
.rt-tabs { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); width: fit-content; }
.rt-tabs button { border: 0; background: none; color: var(--fog); font: 500 .85rem var(--f-body); padding: .45rem .95rem; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.rt-tabs button[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.rt-panel textarea { min-height: 9.5rem; line-height: 1.5; }
.btn.is-done span::after { content: " ✓"; }
.rt-cta { margin: 1.25rem 0 0; }
.rt-reveal { animation: rt-in .6s var(--ease) both; }
@keyframes rt-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rt-reveal { animation: none; } }
@media (max-width: 520px) { .rt-card { padding: 1.25rem; } .rt-panel { padding: 1.2rem; } .rt-linkbox { grid-template-columns: 1fr; padding: .7rem; } .rt-linkbox .btn { width: 100%; justify-content: center; } }
.rt-tips { list-style: none; margin: auto 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; font-size: .9rem; line-height: 1.45; color: rgba(243, 244, 236, .7); }
.rt-tips li { position: relative; padding-left: 1.4rem; }
.rt-tips li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 240, 45, .12); }
.rt-tips b { color: var(--paper); font-weight: 600; }
.rt-status.is-guide { color: rgba(243, 244, 236, .85); display: grid; gap: .75rem; padding: .9rem 1rem; border-radius: .9rem; border: 1px solid rgba(200, 240, 45, .3); background: rgba(200, 240, 45, .06); }
.rt-openmaps { justify-content: center; width: 100%; }
.rt-status.is-guide { color: rgba(243, 244, 236, .85); display: grid; gap: .75rem; padding: .9rem 1rem; border-radius: .9rem; border: 1px solid rgba(200, 240, 45, .3); background: rgba(200, 240, 45, .06); }
.rt-openmaps { justify-content: center; width: 100%; }
