/* Refined demo: silver-grey architecture, white data surfaces, champagne accents. */
:root {
 --tg-canvas:#f5f6f7; --tg-panel:#fff; --tg-border:#e1e4e8; --tg-silver:#f0f1f3;
 --tg-ink:#262a30; --tg-muted:#5d6570; --tg-gold:#e9c363; --tg-gold-light:#fcf4dc;
 --tg-gold-ink:#69521e; --tg-shadow:0 1px 2px #20242b08,0 5px 16px #20242b05;
 --tg-enter:cubic-bezier(.2,.7,.24,1);
}
.tg-qwerty {font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.tg-qwerty :is(.page-header h1,.page-header .eyebrow,.metrics article strong,.metrics article small,.metrics article p,#crm-sidebar .nav-item b,.tg-name,.tg-button) {font-family:inherit}
.tg-qwerty .workspace {min-width:0}
.tg-qwerty main {padding:27px clamp(16px,2.8vw,42px) 42px;max-width:1680px;margin-inline:auto}
.tg-qwerty #crm-sidebar {
 background:linear-gradient(153deg,#fffcf2f5 0%,#faf5e9ef 42%,#f2f0eaf5 100%);
 border-color:#e7dfcb;box-shadow:0 1px 2px #3931260a,0 7px 24px #3931260c;
 backdrop-filter:blur(14px) saturate(110%);
}
.tg-qwerty #crm-sidebar .brand {padding-bottom:17px}
.tg-qwerty #crm-sidebar :is(.brand-gem,.tg-workspace-icon) {background:#f1d79b;border:1px solid #e7cc85;box-shadow:none}
.tg-qwerty #crm-sidebar :is(.tg-workspace-home,.tg-sidebar-footer,#nav-close) {background:#fffaf0ad;border-color:#e7dfcc;box-shadow:none}
.tg-qwerty #crm-sidebar .nav-item {min-height:39px;color:#484644;border:1px solid transparent;border-radius:8px}
.tg-qwerty #crm-sidebar .nav-item:hover {background:#ffffff94;border-color:#eae2d1}
.tg-qwerty #crm-sidebar .nav-item.active {background:#f6e8bd;border-color:#ead7a0;color:#49371a;box-shadow:none}
.tg-qwerty .topbar {height:83px;background:#fff;border-bottom:1px solid var(--tg-border);justify-content:flex-start;padding-right:clamp(12px,2.8vw,42px)}
.tg-qwerty .rate-ticker {
 transform:none;width:100%;min-width:0;max-width:855px;height:auto;display:grid;
 grid-template-columns:minmax(105px,.62fr) minmax(185px,1fr) minmax(160px,1fr);
 gap:8px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible;
}
.tg-desk-label {display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:0 5px}
.tg-desk-label strong {font-size:14px;letter-spacing:-.01em;color:var(--tg-ink)}
.tg-desk-label #tg-rate-stamp {position:static;background:none;padding:0;font-size:11px;font-weight:500;line-height:1.4;color:var(--tg-muted);white-space:normal}
.tg-qwerty .rate-ticker :is(.gold-metal,.silver-metal) {grid-column:auto;grid-row:auto;min-width:0;border:1px solid var(--tg-border);border-radius:10px;background:#fff;padding:7px 10px;box-shadow:none}
.tg-qwerty .rate-ticker .gold-metal {background:#fffbf1;border-color:#eddfba}
.tg-qwerty .rate-ticker .silver-metal {background:#f6f7f9}
.tg-qwerty .rate-ticker .metal small {font:650 10px/1.2 ui-sans-serif,system-ui,sans-serif;letter-spacing:.055em;color:var(--tg-muted)}
.tg-qwerty .rate-ticker .metal strong {font:700 clamp(15px,1.5vw,20px)/1.2 ui-sans-serif,system-ui,sans-serif;white-space:nowrap;color:var(--tg-ink)}
.tg-qwerty .metal .rate-edit {background:#fff;border:1px solid #dce0e5;color:#43464e;min-height:31px;padding:5px 9px;border-radius:7px;font:650 11px ui-sans-serif,system-ui,sans-serif}
.tg-qwerty .metal .rate-edit:hover {background:var(--tg-gold-light)}
.tg-qwerty .command-nav {background:#fff;border-bottom:1px solid var(--tg-border);padding:7px clamp(16px,2.8vw,42px);min-height:47px}
.tg-qwerty .quick-nav {gap:6px;perspective:none}
.tg-qwerty .quick-nav button {border:1px solid transparent;border-radius:8px;background:transparent;padding:7px 10px;color:#555c66;gap:6px;min-height:32px;box-shadow:none}
.tg-qwerty .quick-nav button:hover {transform:none;background:#f3f4f5}
.tg-qwerty .quick-nav button.active {background:var(--tg-gold-light);color:var(--tg-gold-ink);border-color:#f0e4c3}
.tg-qwerty .quick-nav .nav-token,.tg-qwerty .quick-nav button[data-view=whatsapp] .nav-token,.tg-qwerty .quick-nav button.active .nav-token {width:auto;height:auto;border:0;box-shadow:none;background:transparent;color:inherit;font-size:13px}
.tg-qwerty .command-tools .demo-status {font-size:10px;font-weight:600;color:#59616b;letter-spacing:.04em;text-transform:none;background:#f2f3f5;border:1px solid #e6e8ec;padding:5px 8px;border-radius:100px}
.tg-qwerty .page-header {margin-bottom:20px;gap:12px}
.tg-qwerty .page-header h1 {font-size:clamp(27px,3.1vw,36px);line-height:1.14;font-weight:720;letter-spacing:-.035em}
.tg-qwerty .page-header .eyebrow {font-size:10px;color:#68717d;letter-spacing:.09em;text-transform:uppercase;font-weight:750}
.tg-qwerty .page-header>div>p:last-child {font-size:13px}
.tg-qwerty .metrics {gap:14px}
.tg-qwerty .metrics article {border:1px solid var(--tg-border);border-radius:13px;padding:15px;box-shadow:var(--tg-shadow);min-width:0}
.tg-qwerty .metrics article:first-child {border-top:2px solid #d5b259}
.tg-qwerty .metrics article:before {display:none}
.tg-qwerty .metrics article strong {font-size:29px;color:var(--tg-ink);letter-spacing:-.03em}
.tg-qwerty .metrics article small {font-size:10px;letter-spacing:.055em;color:#5f6773}
.tg-qwerty .metrics article p {font-size:11px;line-height:1.4}
.tg-qwerty .metrics .metric-top>span {background:#f1f2f4;border-color:#e7e9ec;color:#565e69}
.tg-qwerty .metrics article:first-child .metric-top>span {background:#fcf1d6;border-color:#f0e2b9;color:#70541b}
.tg-qwerty .metrics .metric-top em {background:#f2f3f5;color:#666c76;box-shadow:none}
.tg-qwerty :is(.activity-card,.lead-table-wrap,.wa-shell,.tg-feature-panel) {border-radius:14px;border-color:var(--tg-border);box-shadow:var(--tg-shadow)}
.tg-qwerty .activity-card>header {margin-bottom:16px}
.tg-qwerty .activity-card h2 {letter-spacing:-.015em}
.tg-qwerty .activity-card .eyebrow {color:#68717d}
.tg-qwerty .tg-registry th {background:#f5f6f8;color:#454e5a;font-weight:700}
.tg-qwerty .tg-attempts button,.tg-qwerty .tg-button {box-shadow:none}
.tg-qwerty .tg-button:hover {box-shadow:none}
.tg-qwerty :is(button,[role=button]):not(:disabled):active {outline-offset:1px}
@media(prefers-reduced-motion:no-preference){
 .tg-qwerty :is(button,[role=button]):not(:disabled) {transition:scale 110ms ease,background-color 160ms ease,border-color 160ms ease}
 .tg-qwerty :is(button,[role=button]):not(:disabled):active {scale:.985}
 .tg-qwerty .view.active {animation-duration:230ms}
 .tg-qwerty .view.active :is(.metrics article,.lead-table-wrap,.wa-shell,.tg-feature-panel) {animation-duration:245ms;animation-delay:0ms}
}
@media(max-width:899px){
 .tg-qwerty .topbar {height:auto;min-height:78px;padding:8px 12px 8px 54px}
 .tg-qwerty .rate-ticker {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:5px}
 .tg-desk-label {grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;line-height:1.2}
 .tg-desk-label strong {font-size:12px}
 .tg-qwerty .rate-ticker .metal {padding:5px 6px}
 .tg-qwerty .rate-ticker .metal strong {font-size:14px}
 .tg-qwerty .rate-ticker .metal .rate-edit {padding:4px 6px;min-height:28px}
 .tg-qwerty .rate-ticker .metal-dot {display:none}
 .tg-qwerty .rate-ticker .metal {grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:380px){
 .tg-qwerty .rate-ticker .metal strong {font-size:12px}
 .tg-qwerty .rate-ticker .metal small {font-size:8px}
 .tg-qwerty main {padding-inline:12px}
 .tg-qwerty .metrics {gap:8px}
 .tg-qwerty .metrics article {padding:10px 8px}
}
