.tanzsuite-standalone { margin: 0; background: #fbf8f2; }
.tanzsuite { --ts-ink: #302338; --ts-muted: #66596c; --ts-purple: #633a76; --ts-line: #ddd4df; --ts-cream: #fbf8f2; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ts-ink); background: var(--ts-cream); max-width: 1160px; margin: 0 auto; padding: 0 42px; line-height: 1.65; font-size: 16px; box-sizing: border-box; }
.tanzsuite *, .tanzsuite *::before, .tanzsuite *::after { box-sizing: border-box; }
.tanzsuite [hidden] { display: none !important; }
.tanzsuite a { color: var(--ts-purple); text-underline-offset: 4px; }
.tanzsuite a:hover { color: #3e204e; }
.tanzsuite :focus-visible { outline: 3px solid #9b5b26; outline-offset: 4px; }
.tanzsuite h1, .tanzsuite h2, .tanzsuite h3 { color: var(--ts-ink); line-height: 1.15; font-weight: 650; letter-spacing: -.025em; }
.tanzsuite h1 { font-size: clamp(36px, 4.7vw, 62px); margin: 15px 0 24px; max-width: 860px; }
.tanzsuite h2 { font-size: 27px; margin: 0 0 18px; }
.tanzsuite h3 { font-size: 23px; margin: 4px 0 10px; }
.tanzsuite p { margin: 0 0 18px; }
.tanzsuite .ts-brand { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--ts-line); }
.tanzsuite .ts-brand > a:first-child { display: flex; align-items: center; gap: 12px; color: var(--ts-ink); font-size: 22px; font-weight: 650; text-decoration: none; line-height: 1.2; }
.tanzsuite .ts-brand small { display: block; margin-top: 4px; color: var(--ts-muted); font-size: 12px; font-weight: 400; }
.tanzsuite .ts-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--ts-purple); border-radius: 50% 50% 50% 13%; font-family: Georgia, serif; font-size: 29px; }
.tanzsuite .ts-home-link { font-size: 14px; }
.tanzsuite .ts-lab-note { padding: 11px 15px; margin: 22px 0 0; background: #f2e8d8; border-left: 3px solid #9c6b28; font-size: 13px; color: #593f1e; }
.tanzsuite .ts-intro { padding: 60px 0 46px; max-width: 800px; }
.tanzsuite .ts-eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .13em; color: var(--ts-purple); margin: 0 0 12px; }
.tanzsuite .ts-lead { color: var(--ts-muted); font-size: 19px; line-height: 1.65; max-width: 650px; }
.tanzsuite .ts-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ts-line); margin-bottom: 18px; }
.tanzsuite .ts-section-heading span { font-size: 13px; color: var(--ts-muted); }
.tanzsuite .ts-session-list { display: grid; gap: 16px; }
.tanzsuite .ts-session-card { display: flex; align-items: center; gap: 24px; padding: 26px; background: #fff; border: 1px solid var(--ts-line); border-radius: 12px; }
.tanzsuite .ts-date-tile { flex: 0 0 74px; width: 74px; min-height: 88px; padding: 12px 8px; display: grid; align-content: center; text-align: center; background: #eee4f0; border-radius: 8px; color: #563166; line-height: 1.2; }
.tanzsuite .ts-date-tile strong { font-size: 31px; font-weight: 650; }
.tanzsuite .ts-date-tile span { margin-top: 5px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.tanzsuite .ts-session-card-body { flex: 1; }
.tanzsuite .ts-session-card h3 a { text-decoration: none; color: inherit; }
.tanzsuite .ts-session-card h3 a:hover { text-decoration: underline; }
.tanzsuite .ts-session-card-body p:last-child { color: var(--ts-muted); margin: 0; font-size: 14px; }
.tanzsuite .ts-card-action { min-width: 170px; display: grid; text-align: right; }
.tanzsuite .ts-card-action > strong { font-size: 23px; }
.tanzsuite .ts-card-action > span { color: var(--ts-muted); font-size: 12px; margin-bottom: 14px; }
.tanzsuite .ts-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 47px; padding: 12px 20px; background: var(--ts-purple); color: white; border: 1px solid var(--ts-purple); border-radius: 7px; font: inherit; font-size: 15px; font-weight: 650; line-height: 1.4; cursor: pointer; text-decoration: none; text-align: center; }
.tanzsuite .ts-button:hover { background: #482458; color: #fff; border-color: #482458; }
.tanzsuite .ts-button:disabled { opacity: .65; cursor: wait; }
.tanzsuite .ts-button-secondary { color: var(--ts-purple); background: white; }
.tanzsuite .ts-button-secondary:hover { background: #f2eaf5; color: var(--ts-purple); border-color: var(--ts-purple); }
.tanzsuite .ts-button-danger { background: #fff; border-color: #8d3542; color: #8d3542; }
.tanzsuite .ts-button-danger:hover { background: #8d3542; border-color: #8d3542; color: #fff; }
.tanzsuite .ts-breadcrumb { margin: 27px 0 36px; font-size: 14px; }
.tanzsuite .ts-breadcrumb a { text-decoration: none; }
.tanzsuite .ts-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: 64px; align-items: start; }
.tanzsuite .ts-detail h1 { font-size: clamp(36px, 4vw, 51px); }
.tanzsuite .ts-detail .ts-lead { font-size: 18px; }
.tanzsuite .ts-facts { margin: 32px 0; }
.tanzsuite .ts-facts > div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--ts-line); }
.tanzsuite .ts-facts dt { min-width: 0; font-size: 13px; color: var(--ts-muted); overflow-wrap: anywhere; }
.tanzsuite .ts-facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.tanzsuite .ts-muted { color: var(--ts-muted); font-size: 13px; }
.tanzsuite .ts-details { padding: 18px 0; border-top: 1px solid var(--ts-line); }
.tanzsuite .ts-details summary { cursor: pointer; color: var(--ts-purple); font-weight: 600; padding: 7px 0; }
.tanzsuite .ts-details p { font-size: 14px; margin: 12px 0 0; }
.tanzsuite .ts-booking-panel { background: #fff; border: 1px solid var(--ts-line); border-radius: 12px; padding: 29px; box-shadow: 0 8px 28px #39234408; }
.tanzsuite .ts-booking-panel > p, .tanzsuite .ts-booking-panel > div p { font-size: 14px; color: var(--ts-muted); }
.tanzsuite label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 7px; }
.tanzsuite input:not([type=checkbox]) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a89bad; border-radius: 5px; background: #fff; color: var(--ts-ink); font: inherit; font-size: 16px; }
.tanzsuite input::placeholder { color: #807386; }
.tanzsuite .ts-field-help { font-size: 12px; color: var(--ts-muted); margin: 6px 0 16px; line-height: 1.6; }
.tanzsuite .ts-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; margin: 15px 0; cursor: pointer; }
.tanzsuite .ts-check input { flex-shrink: 0; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--ts-purple); }
.tanzsuite .ts-booking-panel form > .ts-button, .tanzsuite #ts-manage-link { width: 100%; margin-top: 8px; }
.tanzsuite .ts-form-status { font-size: 14px; margin: 14px 0 0; }
.tanzsuite .ts-form-status:empty, .tanzsuite #ts-cancel-status:empty { display: none; }
.tanzsuite .ts-payment-notice, .tanzsuite .ts-message { background: #f4eff5; border-radius: 7px; padding: 17px; margin: 20px 0; font-size: 14px; }
.tanzsuite .ts-payment-notice p:last-child, .tanzsuite .ts-message p:last-child { margin-bottom: 0; }
.tanzsuite .ts-message-warning { background: #f7e9d9; }
.tanzsuite .ts-empty { padding: 38px 28px; background: #fff; border: 1px solid var(--ts-line); border-radius: 10px; }
.tanzsuite .ts-empty p { margin: 0; }
.tanzsuite .ts-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; border-top: 1px solid var(--ts-line); padding: 24px 0 32px; font-size: 12px; color: var(--ts-muted); }
.tanzsuite .ts-manage { max-width: 760px; margin: 0 auto; padding-top: 10px; }
.tanzsuite .ts-manage h1 { font-size: clamp(35px, 4vw, 50px); }
.tanzsuite .ts-manage-summary { padding: 30px; border: 1px solid var(--ts-line); background: #fff; border-radius: 12px; margin: 28px 0; }
.tanzsuite .ts-manage-summary .ts-facts { margin-bottom: 0; }
.tanzsuite .ts-manage-summary .ts-facts > div { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
.tanzsuite .ts-badge { display: inline-block; background: #eee4f0; color: #563166; border-radius: 30px; padding: 5px 12px; font-size: 12px; font-weight: 650; margin-bottom: 17px; }
.tanzsuite .ts-policy { margin: 32px 0; }
.tanzsuite .ts-policy p { font-size: 15px; }
.tanzsuite #ts-cancel-form { border-top: 1px solid var(--ts-line); padding-top: 12px; }
.tanzsuite #ts-cancel-form .ts-check { font-size: 14px; }
.tanzsuite #ts-cancel-status { margin: 14px 0; }
.tanzsuite-admin .ts-admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; max-width: 1200px; }
.tanzsuite-admin .ts-admin-card { background: #fff; padding: 22px; border: 1px solid #c3c4c7; border-top: 3px solid #633a76; }
.tanzsuite-admin .ts-admin-card h2 { margin-top: 0; }
.tanzsuite-admin .ts-admin-number { font-size: 28px; font-weight: 600; margin: 14px 0; }
.tanzsuite-admin .ts-admin-help { max-width: 750px; }
.tanzsuite-admin .ts-admin-help p { margin: 8px 0; }
.tanzsuite-admin .ts-admin-help details { margin-top: 10px; }
.tanzsuite-admin .ts-admin-help summary { cursor: pointer; color: #2271b1; }
.tanzsuite-admin .ts-admin-preview { padding: 20px; border: 1px solid #8c8f94; background: #fff; margin: 22px 0; max-width: 1100px; }
.tanzsuite-admin .ts-admin-preview table { margin: 15px 0; }
.tanzsuite-admin .ts-admin-inline-form { display: inline-block; }
.tanzsuite-admin .ts-admin-muted { color: #646970; }
.tanzsuite-admin .ts-admin-list { max-width: 1300px; margin-top: 20px; }
.tanzsuite-admin .ts-admin-list td { vertical-align: top; }
.tanzsuite-admin .ts-admin-list code { overflow-wrap: anywhere; }
@media (max-width: 850px) {
    .tanzsuite { padding: 0 25px; }
    .tanzsuite .ts-detail-grid { gap: 30px; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr); }
    .tanzsuite .ts-session-card { gap: 18px; padding: 22px; }
    .tanzsuite .ts-card-action { min-width: 155px; }
}
@media (max-width: 650px) {
    .tanzsuite { padding: 0 20px; }
    .tanzsuite .ts-brand { padding: 21px 0; }
    .tanzsuite .ts-brand > a:first-child { font-size: 20px; }
    .tanzsuite .ts-home-link { font-size: 12px; max-width: 95px; text-align: right; }
    .tanzsuite .ts-lab-note { margin-top: 16px; font-size: 12px; }
    .tanzsuite .ts-intro { padding: 38px 0 27px; }
    .tanzsuite .ts-lead { font-size: 17px; }
    .tanzsuite .ts-section-heading h2 { font-size: 22px; }
    .tanzsuite .ts-section-heading span { white-space: nowrap; font-size: 12px; }
    .tanzsuite .ts-session-card { display: grid; grid-template-columns: 60px 1fr; gap: 17px; padding: 19px; }
    .tanzsuite .ts-date-tile { width: 60px; min-height: 76px; }
    .tanzsuite .ts-date-tile strong { font-size: 28px; }
    .tanzsuite .ts-session-card h3 { font-size: 21px; }
    .tanzsuite .ts-session-card .ts-eyebrow { font-size: 9px; }
    .tanzsuite .ts-card-action { grid-column: 1 / -1; grid-template-columns: 1fr auto; text-align: left; padding-top: 13px; border-top: 1px solid var(--ts-line); }
    .tanzsuite .ts-card-action > strong { grid-column: 1; }
    .tanzsuite .ts-card-action > span { grid-column: 1; margin: 0; }
    .tanzsuite .ts-card-action .ts-button { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 10px 13px; font-size: 13px; }
    .tanzsuite .ts-detail-grid { grid-template-columns: 1fr; gap: 26px; }
    .tanzsuite .ts-booking-panel { padding: 23px; }
    .tanzsuite .ts-breadcrumb { margin: 23px 0 28px; }
    .tanzsuite .ts-facts > div { grid-template-columns: 85px minmax(0, 1fr); gap: 12px; }
    .tanzsuite .ts-manage-summary .ts-facts > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
    .tanzsuite .ts-footer { display: block; margin-top: 45px; padding-bottom: 25px; }
    .tanzsuite .ts-footer span { display: block; margin-top: 6px; }
    .tanzsuite .ts-manage-summary { padding: 22px; }
    .tanzsuite .ts-button-danger { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tanzsuite *, .tanzsuite *::before, .tanzsuite *::after { scroll-behavior: auto !important; transition: none !important; } }
.ts-week-nav{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 3rem}.ts-week-nav .ts-button{min-height:44px}

.ts-header-nav{display:flex;gap:1.1rem;align-items:center;flex-wrap:wrap}.ts-header-nav a{color:inherit}
.tanzsuite #ts-dance select, .tanzsuite #ts-dance textarea { width:100%; max-width:100%; min-height:44px; padding:10px; border:1px solid #a89bad; border-radius:5px; background:#fff; color:var(--ts-ink); font:inherit; }
.tanzsuite #ts-dance-share code { overflow-wrap:anywhere; white-space:normal; }
.tanzsuite #ts-dance fieldset { min-width:0; margin:20px 0; padding:14px; border:1px solid var(--ts-line); border-radius:8px; }

/* Admin catalogue and lab pages: scoped presentation shared by all TanzSuite
   screens. Limited to .tanzsuite-admin; no global WordPress changes. */
.tanzsuite-admin { max-width: 1180px; }
.tanzsuite-admin .ts-admin-muted { color: #7d6b57; font-weight: 400; font-size: .92em; }
.tanzsuite-admin .ts-admin-card {
    background: #fdfaf4; border: 1px solid #e7dccb; border-radius: 10px;
    padding: 18px 20px; margin: 0 0 18px; box-shadow: 0 1px 2px rgba(93,72,48,.06);
}
.tanzsuite-admin .ts-admin-card h2, .tanzsuite-admin .ts-admin-card h3 { margin-top: 0; color: #5d4830; }
.tanzsuite-admin .ts-admin-card p:last-child { margin-bottom: 0; }
.tanzsuite-admin .ts-admin-summary {
    background: #f1e9f8; border: 1px solid #dcc9ee; border-radius: 10px;
    padding: 12px 16px; color: #4b3563;
}
.tanzsuite-admin .ts-admin-empty {
    background: #faf7f0; border: 1px dashed #d8c9b2; border-radius: 10px;
    padding: 22px; color: #6b5a44;
}
.tanzsuite-admin .ts-admin-table th { color: #5d4830; }
.tanzsuite-admin .ts-admin-form label { display: inline-block; margin-right: 1.4em; margin-bottom: .6em; font-weight: 600; color: #4a3a28; }
.tanzsuite-admin .ts-admin-form input:not([type=checkbox]), .tanzsuite-admin .ts-admin-form select, .tanzsuite-admin .ts-admin-form textarea { max-width: 100%; }
.tanzsuite-admin .ts-admin-form .widefat { max-width: 640px; }
@media (max-width: 782px) {
    .tanzsuite-admin .ts-admin-form label { display: block; margin-right: 0; }
    .tanzsuite-admin .ts-admin-form input:not([type=checkbox]), .tanzsuite-admin .ts-admin-form select { width: 100%; }
    .tanzsuite-admin .ts-admin-table { display: block; overflow-x: auto; }
}

/* Shared catalogue -> session -> participant navigation. */
.tanzsuite-admin .ts-admin-nav, .tanzsuite-admin .ts-session-links {
    display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:16px 0 22px;
}
.tanzsuite-admin .ts-admin-nav .button { margin:0; }
.tanzsuite-admin .ts-admin-table-scroll { max-width:100%; overflow-x:auto; margin:14px 0; }
.tanzsuite-admin .ts-admin-table-scroll:focus-visible,
.tanzsuite-admin .ts-table-wrap:focus-visible { outline:3px solid #633a76; outline-offset:3px; }
.tanzsuite-admin .ts-admin-table-scroll table { min-width:760px; }
.tanzsuite-admin .ts-admin-actions { min-width:180px; }
.tanzsuite-admin .ts-admin-actions .button { margin:0 4px 6px 0; }
.tanzsuite-admin .ts-session-links .button { white-space:normal; }
.tanzsuite-admin.ts-session-panel .ts-table-wrap td { vertical-align:top; }
.tanzsuite-admin.ts-session-panel td textarea { width:100%; min-width:140px; max-width:100%; }
.tanzsuite-admin.ts-session-panel td form { min-width:180px; }
@media (max-width:782px) {
    .tanzsuite-admin .ts-admin-card { padding:16px 12px; }
    .tanzsuite-admin .ts-admin-table-scroll .ts-admin-table { display:table; overflow:visible; }
    .tanzsuite-admin .ts-admin-nav .button { padding:4px 10px; }
    .tanzsuite-admin .ts-session-links { align-items:stretch; }
    .tanzsuite-admin .ts-session-links .button { width:100%; text-align:left; }
}

/* Local operational workspace: same reading rhythm across commerce and rights. */
.tanzsuite-admin .ts-admin-related { display:flex; flex-wrap:wrap; gap:8px 18px; margin:-8px 0 22px; }
.tanzsuite-admin .ts-admin-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:16px; margin:18px 0; }
.tanzsuite-admin .ts-admin-cards > .ts-admin-card { margin:0; min-width:0; }
.tanzsuite-admin .ts-admin-card, .tanzsuite-admin fieldset { min-width:0; }
.tanzsuite-admin .ts-admin-card h4 { margin:0 0 12px; font-size:16px; }
.tanzsuite-admin .ts-admin-number { font-size:28px; font-weight:600; margin:12px 0; }
.tanzsuite-admin .ts-admin-card code { overflow-wrap:anywhere; white-space:normal; }
.tanzsuite-admin .ts-admin-card label { display:inline-block; max-width:100%; margin:0 12px 10px 0; }
.tanzsuite-admin :is(select,input:not([type=checkbox]):not([type=radio]),textarea) { max-width:100%; box-sizing:border-box; }
.tanzsuite-admin :is(details,summary) { overflow-wrap:anywhere; }
.tanzsuite-admin summary { cursor:pointer; line-height:1.6; }
.tanzsuite-admin .ts-admin-kpis { display:flex; flex-wrap:wrap; gap:12px; }
.tanzsuite-admin .ts-admin-kpis > div { background:#fff; border:1px solid #e7dccb; border-radius:8px; padding:12px; min-width:110px; }
.tanzsuite-admin .ts-admin-kpis dt { color:#5d4830; }
.tanzsuite-admin .ts-admin-kpis dd { margin:4px 0 0; font-size:20px; font-weight:600; }
@media(max-width:782px) {
 .tanzsuite-admin .ts-admin-nav .button { white-space:normal; min-height:40px; display:inline-flex; align-items:center; }
 .tanzsuite-admin .ts-admin-related a { padding:5px 0; }
 .tanzsuite-admin .ts-admin-card :is(select,input:not([type=checkbox]):not([type=radio]),textarea) { width:100%; }
 .tanzsuite-admin .ts-admin-card label { display:block; margin-right:0; }
 .tanzsuite-admin .ts-admin-card .button { white-space:normal; }
 .tanzsuite-admin .ts-admin-card ol { margin-left:20px; }
}

/* Keep sandbox operations usable without widening the admin page on phones. */
.tanzsuite-admin .ts-table-scroll { max-width:100%; overflow-x:auto; }
.tanzsuite-admin .ts-table-scroll table { min-width:640px; }
.tanzsuite .ts-manage-tools { margin:1.5rem 0; padding:1rem; border:1px solid var(--ts-border, #ded9e2); border-radius:12px; }
.tanzsuite .ts-manage-tools .ts-button { margin:.25rem .5rem .25rem 0; }

/* Accepted text and its long content fingerprint must fit a narrow personal view. */
.tanzsuite #ts-offer-record { min-width:0; overflow-wrap:anywhere; }

.tanzsuite .ts-commercial-checkout { padding:40px 0; overflow-wrap:anywhere; }
.tanzsuite .ts-commercial-checkout .ts-panel { padding:28px; margin-bottom:24px; border:1px solid var(--ts-line); border-radius:12px; background:#fff; }
.tanzsuite .ts-commercial-checkout fieldset { border:0; padding:0; display:grid; gap:16px; max-width:600px; }
.tanzsuite .ts-commercial-checkout fieldset label { display:block; }
.tanzsuite .ts-commercial-checkout input:not([type=checkbox]) { display:block; width:100%; padding:10px; margin-top:6px; border:1px solid var(--ts-line); border-radius:6px; }
.tanzsuite .ts-commercial-checkout button { padding:12px 18px; border:1px solid var(--ts-line); border-radius:6px; }
@media(max-width:600px) { .tanzsuite .ts-commercial-checkout .ts-panel { padding:18px; } }
.tanzsuite .ts-commercial-checkout fieldset { min-width:0; min-inline-size:0; width:100%; margin:0; }
.tanzsuite .ts-commercial-checkout fieldset > * { min-width:0; max-width:100%; }

/* Grouped WordPress administration navigation; no site-wide styles. */
.tanzsuite-admin .ts-admin-group-nav { display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; }
.tanzsuite-admin .ts-admin-nav-hint { flex-basis:100%; margin:0 0 2px; color:#5f5141; font-size:13px; }
.tanzsuite-admin .ts-admin-nav-group { min-width:0; max-width:100%; border:1px solid #c3c4c7; border-radius:4px; background:#fff; }
.tanzsuite-admin .ts-admin-nav-group summary, .tanzsuite-admin .ts-overview-secondary > summary { cursor:pointer; font-weight:600; color:#4a3855; padding:7px 10px; }
.tanzsuite-admin .ts-admin-nav-group summary:focus-visible, .tanzsuite-admin .ts-overview-secondary > summary:focus-visible { outline:3px solid #633a76; outline-offset:2px; }
.tanzsuite-admin .ts-admin-nav-items { display:flex; flex-wrap:wrap; gap:6px; padding:0 8px 8px; max-width:100%; }
.tanzsuite-admin .ts-admin-nav-items .button { white-space:normal; height:auto; max-width:100%; text-align:left; overflow-wrap:anywhere; }
.tanzsuite-admin .ts-overview-secondary { margin:18px 0; border:1px solid #c3c4c7; border-radius:4px; background:#fff; padding:0 12px; }
@media (max-width:782px) {
    .tanzsuite-admin .ts-admin-nav-group { flex:1 1 calc(50% - 8px); }
    .tanzsuite-admin .ts-admin-nav-group[open] { flex-basis:100%; }
    .tanzsuite-admin .ts-admin-nav-items .button { flex:1 1 145px; }
}

.tanzsuite .ts-editorial-image { margin:1rem 0; }
.tanzsuite .ts-editorial-image img,.tanzsuite .ts-editorial-flyer img { display:block; width:auto; max-width:100%; height:auto; border-radius:12px; }
.tanzsuite .ts-editorial-content { overflow-wrap:anywhere; }

.tanzsuite .ts-editorial-topics { list-style:none; display:flex; flex-wrap:wrap; gap:.5rem; padding:0; }
.tanzsuite .ts-editorial-topics li { padding:.35rem .65rem; border:1px solid #dce3eb; border-radius:1rem; font-size:.9rem; }

/* Public catalogue controls remain usable without JavaScript. */
.tanzsuite .ts-public-filter-panel { margin: 0 0 30px; padding: 24px; border: 1px solid var(--ts-line); border-radius: 12px; background: #fff; }
.tanzsuite .ts-public-filter-panel h2 { font-size: 23px; margin-bottom: 10px; }
.tanzsuite .ts-public-filter-panel > p { font-size: 14px; color: var(--ts-muted); }
.tanzsuite .ts-scope-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tanzsuite .ts-scope-tabs a { padding: 9px 14px; border: 1px solid var(--ts-line); border-radius: 6px; text-decoration: none; }
.tanzsuite .ts-scope-tabs a[aria-current="page"] { color: #fff; background: var(--ts-purple); border-color: var(--ts-purple); }
.tanzsuite .ts-public-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
.tanzsuite .ts-filter-field { flex: 1 1 300px; min-width: 0; }
.tanzsuite .ts-filter-field label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.tanzsuite .ts-filter-field select { width: 100%; max-width: 100%; min-height: 47px; padding: 10px; border: 1px solid var(--ts-line); border-radius: 6px; font: inherit; background: #fff; color: var(--ts-ink); }
.tanzsuite .ts-filter-reset { display: inline-block; padding: 10px 0; }
.tanzsuite .ts-filter-error { margin: 18px 0 0; }
.tanzsuite .ts-public-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 30px 0; }
.tanzsuite .ts-editorial-topics a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
 .tanzsuite .ts-public-filter-panel { padding: 18px; }
 .tanzsuite .ts-public-filters { align-items: stretch; }
 .tanzsuite .ts-filter-field { flex-basis: 100%; }
 .tanzsuite .ts-public-filters > button { flex: 1 1 100%; }
 .tanzsuite .ts-scope-tabs a { padding: 8px 10px; font-size: 14px; }
 .tanzsuite .ts-session-card-body { min-width: 0; overflow-wrap: anywhere; }
}

.tanzsuite #ts-guest-recovery .ts-recovery-fields { border:0; padding:0; margin:0; min-width:0; }

/* Preserve the complete private offer hash without widening a mobile summary. */
.tanzsuite .ts-membership-offer .ts-summary-list [data-field="hash"] {
    overflow-wrap: anywhere;
    white-space: normal;
}

/* Personal plan names and references remain complete on narrow screens. */
.tanzsuite [data-membership-access-id] { min-width: 0; overflow-wrap: anywhere; }

/* Keep complete private plan-change references readable on narrow screens. */
.tanzsuite .ts-plan-change-offer,
.tanzsuite .ts-plan-change-offer .ts-summary-list dd { min-width: 0; }
.tanzsuite .ts-plan-change-offer .ts-summary-list,
.tanzsuite .ts-plan-change-offer .ts-summary-list code { overflow-wrap: anywhere; white-space: normal; }

/* Case history and preserved references stay readable on narrow admin screens. */
.tanzsuite-admin.ts-compensation-cases { min-width: 0; overflow-wrap: anywhere; }
.tanzsuite-admin.ts-compensation-cases select { max-width: 100%; }

.tanzsuite .ts-manual-registration { min-width:0; min-inline-size:0; border:1px solid var(--ts-line); padding:16px; margin:20px 0; border-radius:8px; }
.tanzsuite .ts-manual-registration > * { max-width:100%; min-width:0; overflow-wrap:anywhere; }
.tanzsuite .ts-manual-registration .ts-manual-terms { white-space:pre-wrap; overflow-wrap:anywhere; }

/* Shared private forms and secondary screens: same controls, spacing and actions. */
.tanzsuite :is(select,textarea){width:100%;max-width:100%;min-height:46px;margin:7px 0 0;padding:10px 12px;border:1px solid #a89bad;border-radius:7px;background:#fff;color:var(--ts-ink);font:inherit;font-size:16px;line-height:1.5}
.tanzsuite textarea{min-height:110px;resize:vertical}
.tanzsuite :is(.ts-booking-panel,.ts-panel,.ts-manage) form{min-width:0}
.tanzsuite :is(.ts-booking-panel,.ts-panel,.ts-manage) fieldset{min-inline-size:0;border:1px solid var(--ts-line);border-radius:9px;padding:18px;margin:22px 0}
.tanzsuite :is(.ts-booking-panel,.ts-panel,.ts-manage) legend{padding:0 7px;font-size:15px;font-weight:650}
.tanzsuite :is(.ts-booking-panel,.ts-panel,.ts-manage) label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:14px;line-height:1.65;cursor:pointer}
.tanzsuite :is(.ts-booking-panel,.ts-panel,.ts-manage) label>input[type=checkbox]{flex:0 0 auto;width:19px;height:19px;margin:3px 0 0;accent-color:var(--ts-purple)}
.tanzsuite :is(.ts-manage,.ts-panel) .ts-policy{background:#fff;border:1px solid var(--ts-line);border-radius:12px;padding:24px;margin:22px 0;min-width:0}
.tanzsuite .ts-manage .ts-policy>h2{font-size:22px}
.tanzsuite .ts-manage .ts-policy>p{font-size:14px;line-height:1.75}
.tanzsuite .ts-manage-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}
.tanzsuite .ts-manage-tools>p{flex-basis:100%}
.tanzsuite :is(#ts-cancel-form,#ts-dance-cancel-form){padding:22px;border:1px solid #e4cfd5;border-radius:10px;background:#fff;margin:24px 0}
.tanzsuite :is(.ts-form-status,#ts-manage-status,#ts-membership-status,#ts-card-status):not(:empty){padding:13px 16px;border-radius:8px;background:#f1ebf5;overflow-wrap:anywhere}
.tanzsuite :is(.ts-summary-list,.ts-facts){min-width:0}
@media(max-width:600px){.tanzsuite :is(.ts-manage,.ts-panel) .ts-policy{padding:18px}.tanzsuite .ts-manage-tools>.ts-button{flex:1 1 100%}.tanzsuite :is(.ts-booking-panel,.ts-panel,.ts-manage) fieldset{padding:14px}}
