/* Tretra design system v2 — normalized implementation tokens from selected v6b reference. */
:root{
  color-scheme:light;
  --tr-ui-primary:#0050ff;--tr-chat-text:#123dff;--tr-muted:#8198ff;--tr-quiet-icon:#b6c7e8;
  --tr-canvas:#fbf7ef;--tr-surface-top:#fafcff;--tr-surface-bottom:#f1f5fc;
  --tr-control-top:#f7faff;--tr-control-bottom:#eaf2ff;
  --tr-action-top:#ff865a;--tr-action-bottom:#ff6237;--tr-on-action:#fff;
  --tr-selected-top:#4a89ff;--tr-selected-bottom:#0059ff;--tr-nav-active:#dfeaff;
  --tr-today-top:#ffe6d5;--tr-today-bottom:#ffd6bc;--tr-today-text:#ff6337;
  --tr-activity-run:#dce9ff;--tr-activity-sport:#e2edff;--tr-activity-other:#e9f0ff;--tr-danger:#a62f29;
  --tr-font:Arial,Helvetica,sans-serif;
  --tr-card-fill:linear-gradient(145deg,rgba(255,255,255,.9),rgba(245,248,254,.86) 55%,rgba(237,244,255,.8));
  --tr-control-fill:linear-gradient(150deg,rgba(255,255,255,.78),rgba(226,238,255,.68));
  --tr-navigation-fill:linear-gradient(135deg,rgba(255,255,255,.92),rgba(238,245,255,.8));
  --tr-input-fill:linear-gradient(135deg,rgba(250,252,255,.55),rgba(236,243,255,.45));
  --tr-soft-border:1px solid rgba(209,225,249,.32);--tr-edge-highlight:inset 0 1px 0 rgba(255,255,255,.9);
  --tr-card-shadow:0 4px 18px rgba(117,133,164,.09);--tr-control-shadow:0 3px 12px rgba(90,129,189,.1);
  --tr-header-scroll-shadow:0 8px 13px -8px rgba(87,73,54,.2);--tr-focus:0 0 0 3px rgba(0,80,255,.22);
  --tr-card-radius:18px;--tr-control-radius:14px;--tr-content-width:760px;--tr-nav-height:74px;--tr-glass-blur:14px;
  --tr-hover:140ms;--tr-press:90ms;--tr-expand:180ms;
  --green:var(--tr-ui-primary);--green2:#0043da;--coral:var(--tr-action-bottom);--soft:var(--tr-activity-run);
  --paper:var(--tr-canvas);--ink:var(--tr-chat-text);--muted:var(--tr-muted);--line:rgba(185,207,241,.42);
  --danger:var(--tr-danger);--shadow:var(--tr-card-shadow);
}
