/* Native sendingtk/mega 5.5 UI refinements; no reset, bootstrap or skeleton selectors. */
:root { --ct-v550-teal: #0f7672; --ct-v550-soft: #e7f4f1; }
.dark { --ct-v550-teal: #5eead4; --ct-v550-soft: #183d38; }
.ct-v550-support-entry { display: flex; justify-content: center; flex-shrink: 0; list-style: none; }
[data-ct-support-entry="rail"] { margin-top: auto; padding: 0 0 12px; }
.ct-v550-support-button { position: relative; display: grid; place-content: center; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 1px solid currentColor; border-radius: 8px; background: transparent; color: var(--ct-v550-teal); cursor: pointer; }
[data-ct-support-placement="sidebar"] { width: 44px; height: 44px; border: 0; }
.ct-v550-support-button svg { display: block; width: 19px; height: 19px; }
.ct-v550-support-button:hover, .ct-v550-support-button[aria-expanded="true"] { background: var(--ct-v550-soft); }
.ct-v550-support-button:focus-visible { outline: 2px solid var(--ct-v550-teal); outline-offset: 3px; }
.ct-v550-support-button:disabled { cursor: wait; opacity: .55; }
.ct-v550-support-badge { position: absolute; inset-block-start: -4px; inset-inline-end: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #b42335; color: #fff; font-size: 10px; line-height: 16px; font-weight: 700; }
.ct-v550-support-mobile-row { display: none; }
.woot-widget-holder:not(.has-unread-view) { border: 1px solid var(--ct-v550-teal); border-radius: 12px; overflow: hidden; }
.woot-widget-holder:not(.has-unread-view) > iframe { height: 100% !important; max-height: 100% !important; min-height: 0 !important; }
.ct-v550-captain-panel { --ct-v550-captain-color: var(--ct-v550-teal); }
.ct-v550-captain-panel :is(.text-n-iris-11,.text-n-iris-9), .i-woot-captain, .ct-v550-captain-trigger { color: var(--ct-v550-teal) !important; }
.ct-v550-captain-panel .bg-n-iris-9 { background-color: var(--ct-v550-teal); }
/* Native composer loading/editor/accept/follow-up and desktop/mobile task lists.
   Markers sit on existing roots; callbacks, selection and node order stay native. */
.ct-v550-captain-editor :is(.text-n-iris-10, .text-n-iris-12),
.ct-v550-captain-tasks :is(.text-n-violet-9, .text-n-iris-10),
.ct-v550-captain-tasks button { color: var(--ct-v550-teal) !important; }
.ct-v550-captain-editor .bg-n-iris-5 { background-color: var(--ct-v550-soft) !important; }
.ct-v550-captain-editor .bg-n-iris-9,
.ct-v550-captain-actions .bg-n-iris-9 { background-color: #0f7672 !important; color: #fff !important; }
.ct-v550-captain-tasks button:hover { background-color: var(--ct-v550-soft) !important; }
.ct-v550-captain-trigger:enabled:is(:hover, :active) { background-color: var(--ct-v550-soft) !important; }
.ct-v550-captain-tasks button:focus-visible { outline: 2px solid var(--ct-v550-teal); outline-offset: -2px; }

.ct-v550-captain-mark { display: block; width: 40px; height: 40px; color: var(--ct-v550-teal); animation: ct-v550-pulse 1.9s ease-in-out infinite; }
/* Empty conversation only. 128px × .93 = 119.04px, 16px caption. */
[data-ct-empty-canvas] img { width: 7.44rem; height: auto; }
[data-ct-empty-canvas] > span { font-size: 16px; }
/* R41 owns these loading nodes; the existing DS4 SVG exclusion stays authoritative. */
.ct-r41-logo-loader { flex-shrink: 0; vertical-align: middle; overflow: visible; padding: 0; border: 0; background: transparent; color: rgb(var(--teal-11)); animation: none !important; max-width: 72vw; max-height: 72vw; }
/* R41c: string-size loaders keep inline-block at R41's (0,1,0). Numeric loaders (ct-v550-button-spinner) get block
   at zero specificity, i.e. the e114/preflight svg rule: mx-auto centres them and caller display utilities win. */
.ct-r41-logo-loader:where(:not(.ct-v550-button-spinner)) { display: inline-block; }
:where(.ct-r41-logo-loader.ct-v550-button-spinner) { display: block; }
.ct-r41-logo-loader.spinner::before { display: none !important; }
.ct-r41-loading-logo,.ct-r41-loading-fallback { transform-box: fill-box; transform-origin: center; animation: ctR41LogoPulse 1.4s cubic-bezier(.16,1,.3,1) infinite; }
.ct-r41-loading-cash { fill: currentColor; font: 800 24px/1 system-ui,sans-serif; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: ctR41CashFloat 2.1s cubic-bezier(.22,.61,.36,1) infinite; animation-delay: var(--ct-cash-delay,0s); }
.ct-r41-button-loading:where(:not(.absolute,.fixed,.sticky)) { position: relative; }
.ct-r41-button-loading-slot { display: inline-block; width: 1.25rem; height: 1.25rem; flex-shrink: 0; pointer-events: none; }
/* Label-only buttons: the aria-hidden slot generates no box (no gap, no label shift); the absolute track keeps the button as containing block. */
.ct-r41-button-loading-slot[data-ct-loading-slot="overlay"] { display: contents; }
.ct-r41-button-loading-track { position: absolute; inset-inline: 5px; bottom: 2px; height: 2px; border-radius: 2px; overflow: hidden; background: transparent; }
.ct-r41-button-loading-track::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .18; }
.ct-r41-button-loading-fill { position: absolute; inset: 0; border-radius: inherit; background: currentColor; transform-origin: left; transition: transform 120ms linear; }
[dir="rtl"] .ct-r41-button-loading-fill { transform-origin: right; }
[data-ct-loading-kind="indeterminate"] .ct-r41-button-loading-fill { width: 28%; animation: ctR41BarTravel 1.1s linear infinite; transition: none; }
[dir="rtl"] [data-ct-loading-kind="indeterminate"] .ct-r41-button-loading-fill { animation-direction: reverse; }
[data-ct-loading-motion="paused"] .ct-r41-loading-logo,
[data-ct-loading-motion="paused"] .ct-r41-loading-fallback,
[data-ct-loading-motion="paused"] .ct-r41-loading-cash,
[data-ct-loading-motion="paused"] .ct-r41-button-loading-fill { animation-play-state: paused; transition: none; }
@keyframes ctR41LogoPulse { 0%,100% { opacity: .82; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }
@keyframes ctR41CashFloat { 0% { opacity: 0; transform: translate(0,0) scale(.92); } 26% { opacity: .8; animation-timing-function: cubic-bezier(.45,0,.55,1); } 100% { opacity: 0; transform: translate(var(--ct-cash-dx,0px),var(--ct-cash-dy,-22px)) scale(.62); } }
@keyframes ctR41BarTravel { from { transform: translateX(-105%); } to { transform: translateX(365%); } }
@media (prefers-reduced-motion: reduce) {
 .ct-r41-loading-logo,.ct-r41-loading-fallback { animation: none; transform: none; opacity: 1; }
 .ct-r41-loading-cash { display: none; animation: none; }
 .ct-r41-button-loading-fill { animation: none !important; transition: none; }
 [data-ct-loading-kind="indeterminate"] .ct-r41-button-loading-fill { left: 36%; transform: none; }
}
@keyframes ct-v550-pulse { 0%, 100% { opacity: .62; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }
@media (max-width: 767px) {
  [data-ct-support-entry="rail"] { display: none; }
  .ct-v550-support-mobile-row { display: flex; justify-content: flex-end; align-items: center; flex-shrink: 0; min-height: 44px; padding: 0 12px; }
  [data-ct-support-placement="mobile"] { width: 44px; height: 44px; }
  .woot-widget-holder:not(.has-unread-view) { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-v550-captain-mark, .ct-v550-native-loader img, .ct-v550-loader-cash, .ct-v550-button-spinner { animation: none; }
  .ct-v550-loader-cash { display: none; }
}
