/* Champagne glass and short, interruptible dashboard motion. */
:root {
 --tg-enter:cubic-bezier(.2,.7,.25,1);
 --tg-glow:0 9px 24px #87601d18,0 2px 8px #5c451015;
}
.tg-qwerty #crm-sidebar {
 background:radial-gradient(ellipse at 95% 7%,#f8ce5880,transparent 53%),
   linear-gradient(156deg,#fffae9f7 5%,#fff0b9eb 49%,#f4d372e8 100%);
 border-color:#d8b659;
 box-shadow:inset 0 1px 1px #fff,inset 1px 0 0 #ffffffb0,0 17px 34px #81642324,0 2px 8px #58491613;
 backdrop-filter:blur(18px) saturate(135%);
 isolation:isolate;
}
.tg-qwerty #crm-sidebar .brand b {color:#382b16}
.tg-qwerty #crm-sidebar :is(.brand small,.tg-workspace-home small,.tg-sidebar-footer small) {color:#654c23}
.tg-qwerty #crm-sidebar .tg-workspace-icon,
.tg-qwerty #crm-sidebar .brand-gem {background:linear-gradient(145deg,#fff4bf,#efc24c);box-shadow:inset 0 1px 1px #fff9,0 2px 5px #79501d25}
.tg-qwerty #crm-sidebar :is(.tg-workspace-home,.tg-sidebar-footer,#nav-close) {
 background:#fff8daaa;border-color:#c6943352;box-shadow:inset 0 1px 0 #ffffffba;color:#392c16;
}
.tg-qwerty #crm-sidebar .nav-item {color:#41331a}
.tg-qwerty #crm-sidebar .nav-item:hover {background:#fff8dcac;border-color:#c99e4066}
.tg-qwerty #crm-sidebar .nav-item.active {
 background:linear-gradient(118deg,#fff3bc 0%,#ffd76c 75%,#f8c44d 100%);
 border-color:#bd8b2e9c;color:#35250c;box-shadow:inset 0 1px 0 #fff6d7,0 5px 14px #925c132c;
}
@media (prefers-reduced-motion:no-preference) {
 .tg-qwerty #crm-sidebar {transition:transform 310ms var(--tg-enter)}
 .tg-qwerty .workspace {transition:margin-left 310ms var(--tg-enter)}
 .tg-qwerty .view.active {animation:tg-page-arrive 320ms var(--tg-enter) both}
 .tg-qwerty .view.active .metrics article {animation:tg-card-arrive 390ms var(--tg-enter) both}
 .tg-qwerty .view.active .metrics article:nth-child(2) {animation-delay:35ms}
 .tg-qwerty .view.active .metrics article:nth-child(3) {animation-delay:70ms}
 .tg-qwerty .view.active .metrics article:nth-child(4) {animation-delay:105ms}
 .tg-qwerty .view.active :is(.tg-feature-panel,.lead-table-wrap,.wa-shell) {animation:tg-card-arrive 380ms var(--tg-enter) both}
 .tg-qwerty :is(button:not(:disabled),.tg-workspace-home) {
   transition:background-color 150ms ease,border-color 150ms ease,box-shadow 180ms ease,color 150ms ease;
 }
 .tg-qwerty :is(.tg-button,.metrics [role=button],.quick-nav button,.rate-edit):hover {box-shadow:var(--tg-glow)}
 .tg-qwerty :is(#rate-dialog,#tg-attempt-dialog)[open],
 .tg-qwerty :is(.room-layer,.detail-layer):not([hidden]) {animation:tg-sheet-arrive 230ms var(--tg-enter) both}
 .tg-qwerty dialog[open]::backdrop {animation:tg-backdrop-in 210ms ease both}
}
@keyframes tg-page-arrive {from{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes tg-card-arrive {from{opacity:.62;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes tg-sheet-arrive {from{opacity:.55;translate:0 8px}to{opacity:1;translate:0 0}}
@keyframes tg-backdrop-in {from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce) {
 .tg-qwerty :is(#crm-sidebar,.workspace,.view,.view *,dialog,dialog::backdrop,.detail-layer,.room-layer,#ticker-copy) {animation:none!important;transition:none!important}
}
