/* Tonstation v27: legal pages and link-only directions. No external assets. */
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) > :is(.hero, .content__entry) {
    box-sizing: border-box;
    width: min(1080px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
}
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) > .hero {
    display: block;
    padding: 44px 0 24px;
}
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) > .hero::after { display: none; }
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) .hero__content { padding: 0; text-align: left; }
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) .hero .wrapper { padding: 0; max-width: none; }
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) .hero h1 {
    margin: 18px 0 0;
    color: var(--ts-text);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) .ts-page-path {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--ts-muted);
    font-size: 13px;
    line-height: 1.5;
}
.page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) > .content__entry { padding: 0 0 76px; }
.ts-legal { font-size: 17px; line-height: 1.75; color: #c1c7cb; }
.ts-legal p, .ts-legal ul, .ts-legal ol, .ts-legal dl { margin: 14px 0 0; }
.ts-legal p:first-child { margin-top: 0; }
.ts-legal a { color: #f3f4f2 !important; text-decoration: underline; text-decoration-color: #ff7180; text-underline-offset: .2em; overflow-wrap: anywhere; }
.ts-legal a:hover { color: #ff8793 !important; }
.ts-legal a:focus-visible, .ts-legal summary:focus-visible, .ts-map-link-panel a:focus-visible { outline: 3px solid #fff !important; outline-offset: 5px; }
.ts-legal strong { color: var(--ts-text); font-weight: 700; }
.ts-legal .ts-legal-eyebrow { margin: 0 0 12px; color: #ff7180; font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.ts-legal .ts-legal-lead { margin: 0; max-width: 66ch; color: var(--ts-muted); font-size: 20px; line-height: 1.65; }
.ts-legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.ts-legal-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border: 1px solid var(--ts-line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; }
.ts-legal-tabs a[aria-current="page"] { background: #2b1c20; border-color: #ae3946; color: #fff !important; }
.ts-legal-review { margin: 28px 0 0; padding: 18px 22px; border: 1px solid #7f3942; border-left: 3px solid #ff7180; border-radius: 10px; background: #221a1e; font-size: 14px; line-height: 1.65; }
.ts-legal-review > p { margin-top: 6px; }
.ts-legal-review details { margin-top: 8px; }
.ts-legal-review summary { width: fit-content; color: #f3f4f2; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 5px 0; }
.ts-legal-review ul { padding-left: 19px; margin-top: 10px; }
.ts-legal-review li { list-style: disc; margin: 5px 0; }
.ts-legal-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 50px; align-items: start; margin-top: 42px; }
.ts-legal-toc { position: sticky; top: 118px; padding: 20px 18px; border: 1px solid var(--ts-line); border-radius: 12px; background: var(--ts-bg-soft); }
.ts-legal .ts-legal-toc-label { color: #f3f4f2; font-size: 13px; font-weight: 750; margin: 0 0 12px; }
.ts-legal-toc ol { margin: 0; padding: 0; }
.ts-legal-toc li { margin: 0; padding: 0; list-style: none; }
.ts-legal-toc a { display: block; padding: 8px 0; font-size: 13px; line-height: 1.4; text-decoration: none; color: #c1c7cb !important; }
.ts-legal-toc a span { color: #ff7180; margin-right: 8px; font-size: 11px; font-weight: 700; }
.ts-legal-main { min-width: 0; }
.ts-legal-section { scroll-margin-top: 118px; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--ts-line); }
.ts-legal-section:last-child { margin-bottom: 0; }
.ts-legal .ts-legal-section h2 { font-size: 26px; font-weight: 750; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 18px; }
.ts-legal .ts-legal-section h3 { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 24px 0 10px; }
.ts-legal-section ul { padding-left: 20px; }
.ts-legal-section li { list-style: disc; padding-left: 4px; margin: 8px 0; }
.ts-legal-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ts-legal-contact { min-width: 0; padding: 22px; border: 1px solid var(--ts-line); border-radius: 12px; background: var(--ts-bg-soft); }
.ts-legal .ts-legal-contact-label { color: #ff7180; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.ts-legal-contact address, .ts-legal-contact p { font-size: 16px; line-height: 1.75; margin: 0; }
.ts-legal .ts-legal-small { color: var(--ts-muted); font-size: 14px; line-height: 1.65; }
.ts-legal-rights { padding: 22px; border-left: 3px solid #ff7180; border-radius: 0 10px 10px 0; background: var(--ts-bg-soft); }
.ts-legal-rights h3:first-child { margin-top: 0; }
.ts-legal-finish { display: flex; gap: 14px; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 13px; }
.ts-legal-finish p { margin: 0; }
.ts-map-link-panel { margin: 26px 0; padding: 30px; border: 1px solid var(--ts-line); border-radius: 16px; background: var(--ts-bg-soft); color: var(--ts-muted); }
.ts-map-link-panel .ts-map-pin { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #2d1e23; color: #ff7180; font-size: 24px; margin-bottom: 16px; }
.ts-map-link-panel .ts-map-address { color: var(--ts-text); font-size: 23px; line-height: 1.3; font-weight: 750; letter-spacing: -.02em; margin: 0 0 12px; }
.ts-map-link-panel p { margin: 12px 0 0; }
.ts-map-link-panel .ts-map-privacy { max-width: 65ch; font-size: 14px; }
.page .content__entry .ts-map-link-panel a.ts-button-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; margin-top: 22px; border: 1px solid transparent; background: #b72d3b; color: #fff !important; font-size: 15px; line-height: 1.4; text-decoration: none; border-radius: 999px; }
.page .content__entry .ts-map-link-panel a.ts-button-primary:hover { background: #962331; transform: none; }
@media (max-width: 899px) {
    .ts-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 30px; }
    .ts-legal-toc { position: static; }
    .ts-legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
    .ts-legal-toc a { min-height: 44px; padding: 10px 0; }
    .ts-legal-section { scroll-margin-top: 100px; }
}
@media (max-width: 520px) {
    .page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) > :is(.hero, .content__entry) { width: calc(100% - 32px); }
    .page .content:is([data-ts-page-id="15"], [data-ts-page-id="16"]) > .hero { padding-top: 30px; }
    .ts-legal { font-size: 16px; line-height: 1.75; }
    .ts-legal .ts-legal-lead { font-size: 18px; }
    .ts-legal-review { padding: 16px; }
    .ts-legal-contact-grid { grid-template-columns: 1fr; }
    .ts-legal .ts-legal-section h2 { font-size: 24px; }
    .ts-legal-contact, .ts-legal-rights { padding: 20px; }
    .ts-map-link-panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.ts-legal) { scroll-behavior: auto; }
    .ts-legal a, .ts-map-link-panel a { transition: none; }
}
@media print {
    .ts-legal { color: #111; font-size: 11pt; }
    .ts-legal a, .ts-legal strong, .ts-legal h2, .ts-legal h3 { color: #111 !important; }
    .ts-legal-toc, .ts-legal-tabs { display: none; }
    .ts-legal-layout { display: block; }
    .ts-legal-contact, .ts-legal-review, .ts-legal-rights { background: transparent; border-color: #666; }
    .ts-legal-section { break-inside: auto; }
    .ts-legal h2, .ts-legal h3 { break-after: avoid; }
}
