.tlr{--tlr-accent:#0b6b8a;--tlr-border:#d9dee3;--tlr-muted:#5f6b76;--tlr-bad:#b3261e;--tlr-ok:#1b7f3b;max-width:960px;margin:1.5em auto;font:inherit;color:inherit}
.tlr *{box-sizing:border-box}
.tlr h2,.tlr h3{margin:.2em 0 .4em}
.tlr-hero{margin-bottom:1.5em}
.tlr-hero-img{width:100%;max-height:320px;object-fit:cover;border-radius:10px;margin-bottom:.8em}
.tlr-contact span,.tlr-contact a{margin-right:1em}
.tlr-grid,.tlr-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:1em}
.tlr-card{border:1px solid var(--tlr-border);border-radius:10px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.tlr-card img{width:100%;height:170px;object-fit:cover}
.tlr-card-body{padding:.9em;display:flex;flex-direction:column;gap:.3em;flex:1}
.tlr-card-body p{margin:0}
.tlr-card-body .tlr-btn{margin-top:auto}
.tlr-meta{color:var(--tlr-muted);font-size:.9em}
.tlr-price strong{font-size:1.2em}
.tlr-ok{color:var(--tlr-ok)}.tlr-bad{color:var(--tlr-bad)}
.tlr-soldout{opacity:.6}
.tlr-highlight{outline:2px solid var(--tlr-accent)}
.tlr-search{display:flex;flex-wrap:wrap;gap:.8em;align-items:flex-end;margin-bottom:1em}
.tlr label{display:flex;flex-direction:column;gap:.25em;font-size:.95em}
.tlr input[type=text],.tlr input[type=email],.tlr input[type=tel],.tlr input[type=date],.tlr input[type=number]{padding:.55em .6em;border:1px solid var(--tlr-border);border-radius:6px;font:inherit;min-width:0}
.tlr-guest{display:grid;gap:.8em;max-width:560px}
.tlr-row{display:grid;grid-template-columns:1fr 1fr;gap:.8em}
.tlr-consent{flex-direction:row!important;align-items:flex-start;gap:.5em}
.tlr-actions{display:flex;gap:.6em;flex-wrap:wrap}
.tlr-btn{background:var(--tlr-accent);color:#fff;border:0;border-radius:6px;padding:.65em 1.1em;font:inherit;cursor:pointer}
.tlr-btn:hover:not(:disabled){filter:brightness(1.1)}
.tlr-btn:disabled{opacity:.6;cursor:default}
.tlr-btn-secondary{background:#fff;color:var(--tlr-accent);border:1px solid var(--tlr-accent)}
.tlr-error{color:var(--tlr-bad);margin:.3em 0}
.tlr-info{color:var(--tlr-muted)}
.tlr-summary{background:#f3f7f9;border-radius:6px;padding:.6em .8em;margin:0}
.tlr-confirm{border:1px solid var(--tlr-ok);border-radius:10px;padding:1em 1.2em;display:grid;gap:.4em;max-width:560px}
.tlr-confirm p{margin:0}
.tlr-ref strong{font-size:1.2em;letter-spacing:.03em}
.tlr-notice{border:1px dashed var(--tlr-border);padding:.8em;border-radius:6px;color:var(--tlr-muted)}
.tlr-search .tlr-guests-field input{width:6.5em}
.tlr-dl{display:grid;grid-template-columns:max-content 1fr;gap:.35em 1.2em;margin:.4em 0}.tlr-dl dt{color:var(--tlr-muted)}.tlr-dl dd{margin:0}
.tlr-link{background:none;border:0;padding:0;font:inherit;color:var(--tlr-accent);text-decoration:underline;cursor:pointer}
.tlr-manage-link{margin:.2em 0 1em}
.tlr-btn-danger{color:var(--tlr-bad);border-color:var(--tlr-bad)}
.tlr-btn.tlr-btn-danger:not(.tlr-btn-secondary){background:var(--tlr-bad);color:#fff}
.tlr-btn-gcash{background:#0070e0}
.tlr-policy{white-space:pre-line}
.tlr textarea{padding:.55em .6em;border:1px solid var(--tlr-border);border-radius:6px;font:inherit;width:100%}
@media (max-width:520px){.tlr-row{grid-template-columns:1fr}.tlr-search{flex-direction:column;align-items:stretch}.tlr-search .tlr-guests-field input{width:100%}.tlr-dl{grid-template-columns:1fr}}

/* Facility reservation form */
.tlr.tlr-amenity{max-width:760px;margin:0 auto;background:#fff;padding:clamp(1.25rem,4vw,2.5rem);box-shadow:0 10px 30px rgba(45,41,83,.1);border-radius:2px;--tlr-hl:var(--tlr-accent)}
.tlr-amenity .tlr-guest{max-width:none}
.tlr-amenity .tla-form{gap:1.6rem}
.tlr.tlr-amenity h3{margin:0}

/* Header: title, facility name, capacity */
.tlr-amenity .tla-head{display:grid;gap:.45rem;padding-bottom:1.15rem;border-bottom:1px solid var(--tlr-border,#d9d3c2)}
.tlr-amenity .tla-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .9rem}
.tlr-amenity .tla-name{margin:0;font-size:1.15rem;font-weight:600;color:var(--tlr-accent,#2D2953)}
.tlr-amenity .tla-cap{display:inline-flex;align-items:center;padding:.15em .75em;border:1px solid var(--tlr-border,#d9d3c2);border-radius:999px;background:#fafbfc;color:var(--tlr-muted);font-size:.82em;line-height:1.5}
.tlr-amenity .tla-cap::before{content:"";width:1em;height:1em;margin-right:.45em;background:currentColor;-webkit-mask:var(--tlr-ico-guests) center/contain no-repeat;mask:var(--tlr-ico-guests) center/contain no-repeat}

/* Rental type: selectable cards */
.tlr-amenity .tla-rates{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:.75rem}
.tlr-amenity .tla-rate{position:relative;display:grid;gap:.1rem;padding:.85rem 1rem .85rem 2.9rem;border:1px solid var(--tlr-border,#d9d3c2);border-radius:2px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s}
.tlr-amenity .tla-rate::before{content:"";position:absolute;left:1rem;top:1.05rem;width:1.15rem;height:1.15rem;border:2px solid #7c8791;border-radius:50%;background:#fff}
.tlr-amenity .tla-rate:hover:not(.tla-on){border-color:var(--tlr-accent)}
.tlr-amenity .tla-rate.tla-on{border-color:var(--tlr-accent);box-shadow:0 0 0 1px var(--tlr-accent);background:#f8f9fc}
.tlr-amenity .tla-rate.tla-on::before{border-color:var(--tlr-accent);background:radial-gradient(circle,var(--tlr-accent) 0 38%,#fff 42%)}
.tlr-amenity .tla-rate:focus-within{outline:2px solid var(--tlr-hl);outline-offset:2px}
.tlr-amenity .tla-rate input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;pointer-events:none}
.tlr-amenity .tla-rate-name{font-weight:600}
.tlr-amenity .tla-rate-price strong{font-size:1.25rem;line-height:1.2;color:var(--tlr-accent)}
.tlr-amenity .tla-rate-price small{margin-left:.3em;color:var(--tlr-muted);font-size:.85em}

/* Date & time */
.tlr-amenity .tla-grid{display:grid;gap:.9rem}
.tlr-amenity .tla-3{grid-template-columns:1.35fr 1fr 1fr}
.tlr-amenity .tla-field>span{font-weight:600;font-size:.85em}
.tlr-amenity .tla-when{margin:0;padding:.55em .85em;background:#f3f7f9;border-left:3px solid var(--tlr-hl);font-size:.92rem}
.tlr-amenity .tla-when:empty{display:none}

/* Inputs */
.tlr-amenity input[type=time],.tlr-amenity input[type=date],.tlr-amenity input[type=number],.tlr-amenity input[type=text],.tlr-amenity input[type=email],.tlr-amenity input[type=tel]{width:100%;box-sizing:border-box;min-height:46px;padding:.55em .7em;border:1px solid var(--tlr-border,#d9d3c2);border-radius:2px;background:#fff;font:inherit;color:inherit}
.tlr-amenity input:focus{outline:2px solid var(--tlr-accent,#2D2953);outline-offset:1px}
.tlr-amenity input[aria-invalid=true]{border-color:var(--tlr-bad);box-shadow:0 0 0 1px var(--tlr-bad)}

/* Guests stepper */
.tlr-amenity .tla-guests-row{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem}
.tlr-amenity .tla-stepper{display:inline-grid;grid-template-columns:48px minmax(64px,96px) 48px;max-width:100%}
.tlr-amenity .tla-stepper input{text-align:center;border-radius:0;border-left:0;border-right:0;-moz-appearance:textfield;appearance:textfield}
.tlr-amenity .tla-stepper input::-webkit-outer-spin-button,.tlr-amenity .tla-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tlr-amenity .tla-step{min-height:46px;padding:0;border:1px solid var(--tlr-border,#d9d3c2);background:#fff;color:var(--tlr-accent);font:inherit;font-size:1.4rem;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.tlr-amenity .tla-step:first-child{border-radius:2px 0 0 2px}
.tlr-amenity .tla-step:last-child{border-radius:0 2px 2px 0}
.tlr-amenity .tla-step:hover{background:var(--tlr-accent);color:#fff}
.tlr-amenity .tla-step:focus-visible{outline:2px solid var(--tlr-hl);outline-offset:1px;position:relative}
.tlr-amenity .tla-hint{color:var(--tlr-muted);font-size:.88em}

/* Availability result */
.tlr-amenity .tlr-msg:empty{display:none}
.tlr-amenity .tla-result{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;padding:.9rem 1.1rem;border:1px solid;border-left-width:4px;border-radius:2px}
.tlr-amenity .tla-result p{flex:1 1 220px;margin:0;font-weight:600}
.tlr-amenity .tla-ok{border-color:var(--tlr-ok);background:#f2faf4}
.tlr-amenity .tla-no{border-color:#c77700;background:#fff8e6;color:#5b4a00}
.tlr-amenity .tla-ico{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.7rem;height:1.7rem;border-radius:50%;color:#fff;font-weight:700;line-height:1}
.tlr-amenity .tla-ok .tla-ico{background:var(--tlr-ok)}
.tlr-amenity .tla-no .tla-ico{background:#c77700}

/* Footer: live estimate + action */
.tlr-amenity .tla-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.5rem;padding-top:1.2rem;border-top:1px solid var(--tlr-border,#d9d3c2)}
.tlr-amenity .tla-est{display:grid;gap:.1rem;min-width:0}
.tlr-amenity .tla-est-k{color:var(--tlr-muted);font-size:.8em;letter-spacing:.07em;text-transform:uppercase}
.tlr-amenity .tla-est-v{font-size:1.7rem;line-height:1.15;color:var(--tlr-accent)}
.tlr-amenity .tla-est-note{color:var(--tlr-muted);font-size:.85em}
.tlr-amenity .tla-foot .tlr-btn{min-width:220px}

/* Confirmation */
.tlr-amenity .tla-confirm{max-width:none;gap:1rem}
.tlr-amenity .tla-confirm-head{display:flex;align-items:center;gap:.75rem}
.tlr-amenity .tla-check{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--tlr-ok);color:#fff;font-weight:700}
.tlr-amenity .tla-confirm-head h3{margin:0}
.tlr-amenity .tla-ref{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1rem;padding:.8rem 1rem;background:#f3f7f9;border:1px dashed var(--tlr-border,#d9d3c2)}
.tlr-amenity .tla-ref strong{font-size:1.4rem;letter-spacing:.04em}
.tlr-amenity .tla-ref .tlr-link{margin-left:auto}
.tlr-amenity .tla-confirm .tlr-dl{margin:0}
.tlr-amenity .tla-confirm .tlr-actions .tlr-btn{min-width:200px}

@media (max-width:640px){
	.tlr-amenity .tla-3{grid-template-columns:1fr 1fr}
	.tlr-amenity .tla-3>:first-child{grid-column:1/-1}
	.tlr-amenity .tla-foot{flex-direction:column;align-items:stretch}
	.tlr-amenity .tla-foot .tlr-btn{width:100%;min-width:0}
	.tlr-amenity .tla-stepper{grid-template-columns:52px minmax(64px,1fr) 52px;width:100%;max-width:260px}
	.tlr-amenity .tla-confirm .tlr-dl{grid-template-columns:1fr;gap:0}
	.tlr-amenity .tla-confirm .tlr-dl dt{margin-top:.7rem;font-size:.75em;letter-spacing:.07em;text-transform:uppercase}
	.tlr-amenity .tla-ref strong{font-size:1.2rem;overflow-wrap:anywhere}
}

/* GCash QR payment panel */
.tlr-qr{margin:1.2rem 0;padding:1.2rem;border:1px solid var(--tlr-border,#d9d3c2);border-left:4px solid #0070e0;background:#fff;text-align:center}
.tlr-qr h4{margin:0 0 .8rem;color:#0070e0}
.tlr-qr-img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto .8rem;border-radius:4px}
.tlr-qr-amount{margin:0 0 .4rem;font-size:1.1rem}

/* Extra-person reminder */
.tlr-notice-extra{margin:.6rem 0;padding:.6em .8em;background:#fff8e6;border-left:4px solid #e0a100;font-size:.9em;color:#5b4a00}

.tlr .tlr-bands{display:flex;flex-direction:column;gap:.5em;margin-top:.2em}
.tlr .tlr-bands .tlr-band{position:relative;display:grid;grid-template-columns:1fr auto 1.6em;grid-template-areas:"name price check" "sub unit check";column-gap:.6em;row-gap:.1em;align-items:center;border:1px solid var(--tlr-border);border-radius:8px;padding:.6em .7em;cursor:pointer;font-size:1em}
.tlr .tlr-band input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.tlr .tlr-band-name{grid-area:name;font-weight:600}
.tlr .tlr-band-price{grid-area:price;text-align:right}
.tlr .tlr-band-price strong{font-size:1.05em}
.tlr .tlr-band-sub{grid-area:sub}
.tlr .tlr-band-unit{grid-area:unit;text-align:right}
.tlr .tlr-band-check{grid-area:check;width:1.4em;height:1.4em;border:1.5px solid var(--tlr-border);border-radius:50%;display:flex;align-items:center;justify-content:center;justify-self:end;font-size:.85em;color:#fff;line-height:1}
.tlr .tlr-band.tlr-band-on{border-color:var(--tlr-accent);box-shadow:0 0 0 1px var(--tlr-accent)}
.tlr .tlr-band.tlr-band-on .tlr-band-check{background:var(--tlr-accent);border-color:var(--tlr-accent)}
.tlr .tlr-band.tlr-band-on .tlr-band-check::after{content:"\2713";font-weight:700}
.tlr .tlr-band input:focus-visible ~ .tlr-band-check{outline:2px solid var(--tlr-accent);outline-offset:2px}
.tlr .tlr-band.tlr-soldout{opacity:.55;cursor:not-allowed}

/* ── 1.6.0 layout refinements ─────────────────────────────────────────── */
/* Search summary: what these prices are for, pinned while the cards scroll. The offset can be set by the theme
   (e.g. a fixed header): .tlr{--tlr-sticky-top:72px}. */
.tlr .tlr-sumbar{grid-column:1/-1;position:sticky;top:var(--tlr-sticky-top,0);z-index:5;display:flex;flex-wrap:wrap;gap:.3em 1em;align-items:center;justify-content:space-between;padding:.55em .8em;background:#f3f7f9;border:1px solid var(--tlr-border);border-radius:8px;font-size:.95em}
.tlr .tlr-sumbar-text{font-weight:600}

/* Cards: equal rhythm, with the action pinned to the bottom whatever the content above. */
.tlr-card .tlr-card-ph{width:100%;height:170px;background:linear-gradient(135deg,#eef3f6,#dde7ed);display:flex;align-items:center;justify-content:center;color:#8b9aa6}
.tlr-card .tlr-card-ph::before{content:"";width:46px;height:46px;opacity:.55;background:currentColor;-webkit-mask:var(--tlr-ico-bed) center/contain no-repeat;mask:var(--tlr-ico-bed) center/contain no-repeat}
.tlr{--tlr-ico-bed:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V6M21 19v-6a3 3 0 00-3-3h-7v6M3 15h18M7.5 12.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z'/%3E%3C/svg%3E");--tlr-ico-guests:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 00-4-4H6a4 4 0 00-4 4v2M9 11a4 4 0 100-8 4 4 0 000 8zM22 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75'/%3E%3C/svg%3E")}
.tlr .tlr-fact::before{content:"";display:inline-block;width:1.05em;height:1.05em;margin-right:.4em;vertical-align:-.15em;background:currentColor;-webkit-mask:var(--tlr-ico-guests) center/contain no-repeat;mask:var(--tlr-ico-guests) center/contain no-repeat}
.tlr .tlr-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tlr .tlr-card-foot{margin-top:auto;display:grid;gap:.45em;padding-top:.4em}
.tlr .tlr-card-foot .tlr-btn{margin-top:0;width:100%}
.tlr .tlr-band-left{margin:0;font-size:.9em;color:var(--tlr-ok);font-weight:600}
.tlr .tlr-band-left.tlr-low{color:#9a5b00}
.tlr .tlr-band-left:empty{display:none}
.tlr .tlr-band-detail{margin:0}
.tlr .tlr-band-detail[hidden]{display:none}

/* Rate rows: a clearer empty radio, and a taken rate that reads as taken at a glance. */
.tlr .tlr-band-check{border-color:#7c8791!important;border-width:2px!important}
.tlr .tlr-band:hover:not(.tlr-soldout):not(.tlr-band-on){border-color:var(--tlr-accent);background:#f8fbfc}
.tlr .tlr-band.tlr-band-on .tlr-band-check{border-color:var(--tlr-accent)!important}
.tlr .tlr-band.tlr-soldout{opacity:1;background:repeating-linear-gradient(135deg,#f6f7f8,#f6f7f8 6px,#eef0f2 6px,#eef0f2 12px);cursor:not-allowed}
.tlr .tlr-band.tlr-soldout .tlr-band-name,.tlr .tlr-band.tlr-soldout .tlr-band-sub{color:var(--tlr-muted);text-decoration:line-through}
.tlr .tlr-band.tlr-soldout .tlr-band-price strong{color:var(--tlr-bad);font-size:.9em;text-transform:uppercase;letter-spacing:.04em}
.tlr .tlr-band.tlr-soldout .tlr-band-check{border-color:#c4c9ce!important;background:#e4e7ea}

/* Action row (Back…) under a results grid: breathing room so it doesn't touch the cards. */
.tlr .tlr-results + .tlr-actions,.tlr .tlr-grid + .tlr-actions{margin-top:1.5em}

/* Room picker */
.tlr .tlr-actions-top{margin-bottom:.8em}
.tlr-booking > .tlr-sumbar{margin:.6em 0 1em}
.tlr .tlr-tag{align-self:flex-start;background:#e6f4ea;color:#14602b;border-radius:999px;padding:.1em .7em;font-size:.8em;font-weight:600}
.tlr .tlr-card-foot select{width:100%;padding:.55em .6em;border:1px solid var(--tlr-border);border-radius:6px;font:inherit;background:#fff;color:inherit}
.tlr .tlr-card-foot label{gap:.2em}

/* ── Details form (step 2) ─────────────────────────────────────────────── */
.tlr .tlr-details{max-width:640px;gap:1.1em}
.tlr .tlr-details>h3{margin:0}

/* Booking summary card: what you're booking on the left, the total set apart on the right. */
.tlr .tlr-sum{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:space-between;gap:.8em 1.2em;padding:1em 1.1em;background:#f3f7f9;border:1px solid var(--tlr-border);border-left:4px solid var(--tlr-accent);border-radius:8px}
.tlr .tlr-sum-main{flex:1 1 260px;min-width:0}
.tlr .tlr-sum-title{margin:0 0 .5em;font-weight:700;font-size:1.05em;line-height:1.3}
.tlr .tlr-chips{display:flex;flex-wrap:wrap;gap:.5em .6em}
.tlr .tlr-chip{display:flex;flex-direction:column;gap:.1em;padding:.35em .7em;background:#fff;border:1px solid var(--tlr-border);border-radius:6px;font-size:.88em;line-height:1.3}
.tlr .tlr-chip-k{color:var(--tlr-muted);font-size:.82em}
.tlr .tlr-chip-v{font-weight:600}
.tlr .tlr-sum-total{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;text-align:right;padding-left:1.2em;border-left:1px solid var(--tlr-border);margin-left:auto}
.tlr .tlr-sum-total span{color:var(--tlr-muted);font-size:.85em;text-transform:uppercase;letter-spacing:.06em}
.tlr .tlr-sum-total strong{font-size:1.6em;line-height:1.15;color:var(--tlr-accent)}

/* Field groups */
.tlr .tlr-group{margin:0;padding:0;border:0;min-width:0;display:grid;gap:.8em}
.tlr .tlr-group>legend{float:left;width:100%;padding:0 0 .45em;margin:0 0 .2em;border-bottom:1px solid var(--tlr-border);font-weight:700;font-size:.8em;letter-spacing:.09em;text-transform:uppercase;color:var(--tlr-muted)}
.tlr .tlr-group>legend+*{clear:both}
.tlr .tlr-details label>span{font-weight:600;font-size:.88em}
.tlr .tlr-hint{margin:0;color:var(--tlr-muted);font-size:.88em}
.tlr .tlr-details .tlr-notice-extra{margin:0}

/* Focus + validation states */
.tlr .tlr-details input:focus{outline:2px solid var(--tlr-accent);outline-offset:1px;border-color:var(--tlr-accent)}
.tlr .tlr-details input[aria-invalid=true]{border-color:var(--tlr-bad);box-shadow:0 0 0 1px var(--tlr-bad)}
.tlr .tlr-details input[type=number]{text-align:left}

/* Consent: a tappable panel rather than a stray checkbox */
.tlr .tlr-details .tlr-consent{padding:.8em .9em;background:#fafbfc;border:1px solid var(--tlr-border);border-radius:8px;cursor:pointer;line-height:1.5;font-size:.92em}
.tlr .tlr-details .tlr-consent input{flex:none;width:1.15em;height:1.15em;margin:.2em 0 0;accent-color:var(--tlr-accent)}
.tlr .tlr-details .tlr-consent:has(input:checked){border-color:var(--tlr-accent);background:#f3f7f9}
.tlr .tlr-details .tlr-consent:has(input[aria-invalid=true]){border-color:var(--tlr-bad)}
.tlr .tlr-details .tlr-msg:empty{display:none}

/* Back on the left, the primary action takes the remaining width */
.tlr .tlr-actions-split{flex-wrap:nowrap;margin-top:.2em}
.tlr .tlr-actions-split .tlr-btn{min-height:48px}
.tlr .tlr-actions-split .tlr-btn:not(.tlr-btn-secondary){flex:1 1 auto}

@media (max-width:520px){
	.tlr .tlr-sum{padding:.9em}
	.tlr .tlr-sum-total{flex-direction:row;justify-content:space-between;align-items:baseline;width:100%;padding:.6em 0 0;border-left:0;border-top:1px solid var(--tlr-border)}
	.tlr .tlr-details .tlr-row{grid-template-columns:1fr}
	.tlr .tlr-details .tlr-group:has(#tlr-male) .tlr-row,.tlr .tlr-details .tlr-group:has(#tlr-xmale) .tlr-row{grid-template-columns:1fr 1fr}
	.tlr .tlr-actions-split{flex-direction:column-reverse}
}

/* Required-field emphasis: asterisk, an accent edge on the input, and "optional" on the rest */
.tlr .tlr-req{color:var(--tlr-bad);font-weight:700;text-decoration:none;border:0;cursor:help}
.tlr .tlr-opt{font-style:normal;font-weight:400;color:var(--tlr-muted);font-size:.9em}
.tlr .tlr-reqnote{margin:-.3em 0 0;font-size:.85em;color:var(--tlr-muted)}
.tlr .tlr-details input[aria-required=true]:not([type=checkbox]){border-left:3px solid var(--tlr-accent)}
.tlr .tlr-details input[aria-required=true]:not([type=checkbox])[aria-invalid=true]{border-left-color:var(--tlr-bad)}
/* consent text is body copy, not a field label */
.tlr .tlr-details .tlr-consent>span{font-weight:400;font-size:1em}

/* Spam protection: honeypot is kept off-screen (not display:none, which some bots skip); the reCAPTCHA box reserves its height to avoid a layout jump */
.tlr .tlr-hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.tlr .tlr-captcha{min-height:78px;margin:.2em 0;max-width:100%;overflow-x:auto}
.tlr .tlr-actions .tlr-btn:disabled{cursor:not-allowed}