/* TS WhatsApp: accessible, responsive disclosure system across the CRM. */
:root{--ts88-motion:cubic-bezier(.22,1,.36,1);--ts88-speed:290ms}
body.ts-studio .content details:not(.ts-number-menu):not(.ts-number-submenu)>summary{
 cursor:pointer;transition:background-color .24s ease,color .24s ease,border-color .24s ease;
 -webkit-tap-highlight-color:transparent;scroll-margin-top:90px;
}
body.ts-studio .content details>summary:focus-visible,
body.ts-studio .content .ui-accordion-head:focus-visible{
 outline:2px solid #62aafa;outline-offset:3px;border-radius:10px;
}
/* Animate real native disclosure height, not a fake visual-only arrow. */
@supports (interpolate-size:allow-keywords){
 :root{interpolate-size:allow-keywords}
 body.ts-studio .content details:not(.ts-number-menu):not(.ts-number-submenu)::details-content{
  height:0;opacity:0;overflow:clip;
  transition:height var(--ts88-speed) var(--ts88-motion),opacity 220ms ease,content-visibility var(--ts88-speed) allow-discrete;
 }
 body.ts-studio .content details:not(.ts-number-menu):not(.ts-number-submenu)[open]::details-content{height:auto;opacity:1}
 @starting-style{body.ts-studio .content details[open]::details-content{height:0;opacity:0}}
}
body.ts-studio .content details>summary :is(svg,.ts87-chevron,.ts67-chevron,.source-fold-chevron),
body.ts-studio .content .ui-accordion-toggle::after{
 transition:transform .28s var(--ts88-motion),background-color .18s ease!important;
}
/* Existing JS-driven accordion modules must keep their own state and event handlers. */
body.ts-studio .content .ui-accordion-section{transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease;min-width:0}
body.ts-studio .content .ui-accordion-section>.ui-accordion-head{transition:background-color .24s ease,color .24s ease;cursor:pointer}
body.ts-studio .content .ui-accordion-section:not(.is-collapsed)>.ui-accordion-head{border-radius:12px 12px 0 0}
/* General section wrappers added only to safe, top-level content cards. */
body.ts-studio .content .ts88-section{border:1px solid var(--line,var(--border,#38516b));border-radius:14px;overflow:clip;margin-bottom:14px;min-width:0;background:var(--panel,var(--card,transparent))}
body.ts-studio .content .ts88-section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 19px;min-height:60px;list-style:none;cursor:pointer;font-weight:750}
body.ts-studio .content .ts88-section>summary::-webkit-details-marker{display:none}
body.ts-studio .content .ts88-section>summary:hover{background:rgba(100,157,225,.07)}
body.ts-studio .content .ts88-section .ts88-summary-label{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.45}
body.ts-studio .content .ts88-section .ts88-caret{width:32px;height:32px;border-radius:9px;flex:none;display:grid;place-items:center;border:1px solid var(--line,var(--border,#3b546d));font-size:19px;transition:transform .29s var(--ts88-motion)}
body.ts-studio .content .ts88-section[open]>summary .ts88-caret{transform:rotate(180deg)}
body.ts-studio .content .ts88-section-body{padding:0 14px 14px;min-width:0}
body.ts-studio .content .ts88-section-body>.card{margin:0!important}
body.ts-studio .content .ts87-accordion{max-width:100%;min-width:0}
body.ts-studio .content .ts87-accordion .ts87-panel-body{min-width:0}
body.ts-studio .content :is(.ts87-panel-body,.ts88-section-body) .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.ts-studio .content :is(.ts87-panel-body,.ts88-section-body) input:not([type=checkbox]),
body.ts-studio .content :is(.ts87-panel-body,.ts88-section-body) select,
body.ts-studio .content :is(.ts87-panel-body,.ts88-section-body) textarea{max-width:100%;min-width:0}
@media(max-width:760px){body.ts-studio .content .ts88-section>summary{padding:13px 14px;min-height:54px}body.ts-studio .content .ts88-section-body{padding:0 9px 11px}body.ts-studio .content .ts87-accordion>summary{padding:13px 14px}}
@media(prefers-reduced-motion:reduce){:root{--ts88-speed:0ms}body.ts-studio .content details::details-content,body.ts-studio .content details>summary,body.ts-studio .content .ts88-section .ts88-caret,body.ts-studio .content .ui-accordion-section,body.ts-studio .content .ui-accordion-toggle::after{transition:none!important;animation:none!important}}
