@keyframes lens-alert-dialog-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes lens-alert-dialog-fade-out {
  to {
    opacity: 0;
  }
}
@keyframes lens-alert-dialog-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes lens-alert-dialog-exit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
}
@keyframes lens-button-spinner-enter {
  from {
    opacity: 0;
    scale: 0.75;
  }
}
@keyframes lens-chain-of-thought-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-chat-scroll-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
@keyframes lens-chat-typing {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes lens-dialog-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes lens-dialog-fade-out {
  to {
    opacity: 0;
  }
}
@keyframes lens-dialog-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes lens-dialog-exit {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
}
@keyframes lens-plan-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-progress-indeterminate {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
@keyframes lens-reasoning-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-shimmer-sweep {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-skeleton-shimmer {
  100% {
    transform: translate(100%);
  }
}
@keyframes lens-spinner-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes lens-subagent-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-task-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-terminal-pulse {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
@keyframes lens-test-results-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lens-tool-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes lens-tooltip-enter {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}
@keyframes lens-tooltip-exit {
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}
@scope ([data-style="lens"]) to ([data-style]) {
:scope {
  color-scheme: light;
  --lens-blackberry-black: #2c2d30;
  --lens-blackberry-black-a01: #2c2d3003;
  --lens-blackberry-black-a02: #2c2d3005;
  --lens-blackberry-black-a03: #2c2d3008;
  --lens-blackberry-black-a05: #2c2d300d;
  --lens-blackberry-black-a1: #2c2d301a;
  --lens-blackberry-black-a2: #2c2d3033;
  --lens-blackberry-black-a3: #2c2d304d;
  --lens-blackberry-black-a4: #2c2d3066;
  --lens-blackberry-black-a5: #2c2d3080;
  --lens-blackberry-black-a6: #2c2d3099;
  --lens-blackberry-black-a7: #2c2d30b3;
  --lens-blackberry-black-a8: #2c2d30cc;
  --lens-blackberry-black-a9: #2c2d30e6;
  --lens-white: #fff;
  --lens-white-a1: #ffffff1a;
  --lens-white-a2: #fff3;
  --lens-white-a3: #ffffff4d;
  --lens-white-a5: #ffffff80;
  --lens-white-a8: #fffc;
  --lens-red: #f00020;
  --lens-red-a1: #f000201a;
  --lens-red-a5: #f0002080;
  --lens-green: #00caa0;
  --lens-green-a1: #00caa01a;
  --lens-green-a2: #00caa033;
  --lens-orange: #ffc000;
  --lens-orange-a1: #ffc0001a;
  --lens-orange-a2: #ffc00033;
  --lens-blue: rgb(0 144 255);
  --lens-blue-a1: rgb(0 144 255 / 10%);
  --lens-text-primary: var(--lens-blackberry-black);
  --lens-text-secondary: var(--lens-blackberry-black-a6);
  --lens-text-tertiary: var(--lens-blackberry-black-a3);
  --lens-text-quaternary: var(--lens-blackberry-black-a1);
  --lens-text-warning: var(--lens-orange);
  --lens-text-strong: color(display-p3 0.0883 0.0883 0.0883);
  --lens-text-menu-primary: var(--lens-blackberry-black);
  --lens-text-menu-secondary: var(--lens-blackberry-black-a8);
  --lens-text-menu-tertiary: var(--lens-blackberry-black-a4);
  --lens-text-menu-destructive: var(--lens-red);
  --lens-background-primary: #fff;
  --lens-background-secondary: #fcfcfc;
  --lens-background-tertiary: #fafafa;
  --lens-background-quaternary: #f4f4f4;
  --lens-background-quinary: #f2f2f2;
  --lens-background-warning: linear-gradient(0deg, var(--lens-orange-a1) 0%, var(--lens-orange-a1) 100%), #fff;
  --lens-background-overlay: var(--lens-blackberry-black-a6);
  --lens-stroke: var(--lens-blackberry-black-a05);
  --lens-stroke-light: var(--lens-blackberry-black-a03);
  --lens-stroke-warning: var(--lens-orange-a2);
  --lens-hairline: #0000000d;
  --lens-hairline-hover: #0000001a;
  --lens-hairline-checkbox: #00000012;
  --lens-black-hover: color(display-p3 0.2658 0.2719 0.29);
  --lens-black-disabled: color(display-p3 0.1283 0.1312 0.14);
  --lens-white-hover: color(display-p3 0.98 0.98 0.98);
  --lens-green-ghost: color(display-p3 0.1734 0.7612 0.338);
  --lens-green-ghost-bg: color(display-p3 0.1725 0.7608 0.3373 / 0.1);
  --lens-red-ghost: color(display-p3 1 0.2314 0.1882);
  --lens-red-ghost-bg: color(display-p3 1 0.2314 0.1882 / 0.1);
  --lens-red-tint: rgb(255 25 49 / 3%);
  --lens-switch-track: #e6e6e6;
  --lens-count-bg: #f5f5f5;
  --lens-avatar-bg: #f6f7f9;
  --lens-badge-testnet: color(display-p3 0.8621 0.5103 0.3136);
  --lens-placeholder: #c3c3c3;
  --lens-skeleton-base: #ebebeb;
  --lens-skeleton-highlight: #f5f5f5;
  --lens-spinner: rgb(118 118 118);
  --lens-spinner-track: rgb(0 0 0 / 10%);
  --lens-chevron: #373737;
  --lens-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23373737' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M11.75 6.25 8.25 9.75 4.75 6.25'/%3E%3C/svg%3E");
  --lens-code-bg: #fcfcfc;
  --lens-code-header: #fff;
  --lens-code-stroke: #ededed;
  --lens-code-text: #24292e;
  --lens-code-muted: #8494a4;
  --lens-code-icon: #848281;
  --lens-code-inline: #474645;
  --lens-ring-code: 0 0 0 1px var(--lens-code-stroke);
  --lens-tracking-code-tab: -0.15px;
  --lens-code-title: #878787;
  --lens-code-highlight: #ddefff;
  --lens-code-pill-bg: #fafafa;
  --lens-code-pill-ring: inset 0 0 0 1px #e8e8e8;
  --lens-syntax-keyword: #d73a49;
  --lens-syntax-string: #005cc5;
  --lens-syntax-function: #6f42c1;
  --lens-docs-heading: #1a1a1a;
  --lens-docs-body: #5f5f5f;
  --lens-docs-muted: #848281;
  --lens-docs-step: rgb(55 55 55 / 80%);
  --lens-tracking-palette: -0.09px;
  --lens-callout-success-bg: rgb(12 172 55 / 7%);
  --lens-callout-success-stroke: rgb(4 169 51 / 11%);
  --lens-callout-success-text: rgb(58 121 83);
  --lens-callout-warning-bg: rgb(255 190 10 / 9%);
  --lens-callout-warning-stroke: rgb(255 192 0 / 20%);
  --lens-callout-warning-icon: rgb(246 195 15);
  --lens-callout-danger-bg: rgb(255 25 49 / 4%);
  --lens-callout-danger-stroke: rgb(240 0 32 / 12%);
  --lens-callout-danger-text: rgb(196 30 48);
  --lens-ring-card: inset 0 0 0 1px rgb(0 0 0 / 10%), 0 1px 2px rgb(0 0 0 / 2%);
  --lens-shadow-palette: 0 2px 8px rgb(0 0 0 / 4%), 0 0 0 1px var(--lens-hairline);
  --lens-box-shadow-menu: 0 1px 5px 0 #0000000d;
  --lens-box-shadow-button: 0 1px 2px 0 #00000005;
  --lens-box-shadow-focus: 0 0 0 1px #2c2d3033 inset, 0 0 0 3px #2c2d301a;
  --lens-box-shadow-danger: 0 0 0 1px #ef001f80 inset, 0 0 0 3px #ef001f1a;
  --lens-box-shadow-toast: 0 2px 8px 0 #0000000a;
  --lens-box-shadow-light: 0 1px 2px 0 #00000005;
  --lens-box-shadow-strong: 0 1px 2px 0 #0000000d;
  --lens-box-shadow-heavy: 0 2px 12px 0 #00000014;
  --lens-box-shadow-dropdown: 0 1px 5px 0 #2c2d300d, 0 0 0 1px #2c2d300d;
  --lens-box-shadow-notifications: 0 2px 28px 0 #0000000a;
  --lens-box-shadow-table: 0 1px 2px #00000008;
  --lens-box-shadow-thumb: 0 1px 3px #0000000d;
  --lens-ring-control: 0 1px 2px #00000005, 0 0 #2c2d3005, 0 0 0 1px var(--lens-hairline);
  --lens-ring-control-focus: 0 0 0 4px #2c2d301a, 0 0 0 1px #2c2d3033, 0 0 0 1px var(--lens-hairline);
  --lens-ring-field: 0 0 0 1px var(--lens-hairline), 0 0 #2c2d3033;
  --lens-ring-field-hover: 0 0 0 1px var(--lens-hairline-hover), 0 0 #2c2d3033;
  --lens-ring-field-focus: 0 0 0 4px #2c2d301a, 0 0 0 1px #2c2d3033;
  --lens-ring-field-error: 0 0 0 4px #ef001f1a, 0 0 0 1px #ef001f80;
  --lens-ring-popup: 0 0 0 1px var(--lens-hairline), 0 1px 2px #00000005;
  --lens-ring-trigger: 0 1px 2px #00000005, 0 0 0 1px var(--lens-hairline);
  --lens-ring-option: 0 1px 1px #00000008, 0 0 0 1px #00000012;
  --lens-focus-element: 0 0 0 1px var(--lens-white), 0 0 0 3px var(--lens-blackberry-black), 0 1px 1px 0 #00000008;
  --lens-focus-input: 0 0 0 1px #2c2d3033 inset, 0 0 0 3px #2c2d301a;
  --lens-focus-input-error: 0 0 0 1px var(--lens-red-a5) inset, 0 0 0 3px var(--lens-red-a1);
  --lens-focus-switch: 0 0 0 2px #fff, 0 0 0 3px #2c2d301a, 0 0 0 6px #2c2d301a;
  --lens-tracking-12: -0.09px;
  --lens-tracking-13: -0.00315856em;
  --lens-tracking-14: -0.00622354em;
  --lens-tracking-16: -0.0109598em;
  --lens-tracking-21: -0.0175609em;
  --header-height: 44px;
  --duration-short: 0.2s;
  --duration-medium: 0.3s;
  --duration-long: 0.8s;
  --duration-popup: 0.18s;
  --duration-overlay: 0.1s;
  --duration-copy: 0.22s;
  --duration-dialog: 0.4s;
  --duration-toast: 0.4s;
  --duration-drawer: 0.5s;
  --duration-pulse: 1s;
  --duration-skeleton: 1.5s;
  --duration-spinner: 1s;
  --duration-spinner-large: 0.8s;
  --duration-progress: 400ms;
  --ease-snappy: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --ease-smooth: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-relaxed: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-swift-out: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring-row: linear(0, 0.0162, 0.0575, 0.1154, 0.1831, 0.2556, 0.3294, 0.4017, 0.4708, 0.5356, 0.5953, 0.6497, 0.6986, 0.7422, 0.7808, 0.8146, 0.844, 0.8694, 0.8913, 0.9101, 0.926, 0.9394, 0.9507, 0.9602, 0.968, 0.9745, 0.9799, 0.9843, 0.9878, 0.9907, 0.993, 0.9949, 0.9963, 0.9974, 0.9983, 0.999, 0.9995, 0.9998, 1.0001, 1.0003, 1);
  --duration-spring-row: 391ms;
  --ease-spring-content: linear(0, 0.0275, 0.0934, 0.179, 0.272, 0.3647, 0.4527, 0.5332, 0.6053, 0.6685, 0.7233, 0.7702, 0.8101, 0.8436, 0.8717, 0.895, 0.9144, 0.9303, 0.9435, 0.9542, 0.963, 0.9701, 0.9759, 0.9806, 0.9844, 0.9875, 0.99, 0.992, 0.9936, 0.9949, 0.9959, 0.9967, 0.9974, 0.9979, 0.9984, 0.9987, 0.999, 0.9992, 0.9993, 0.9995, 1);
  --duration-spring-content: 390ms;
  --bg-primary: var(--lens-background-primary);
  --bg-secondary: var(--lens-background-secondary);
  --bg-tertiary: var(--lens-background-tertiary);
  --bg-quaternary: var(--lens-background-quaternary);
  --bg-sidebar: var(--lens-background-primary);
  --border-primary: var(--lens-stroke-light);
  --border-secondary: var(--lens-stroke);
  --border-tertiary: var(--lens-blackberry-black-a1);
  --text-primary: var(--lens-text-primary);
  --text-secondary: var(--lens-text-secondary);
  --text-tertiary: var(--lens-text-tertiary);
  --text-quaternary: var(--lens-text-quaternary);
  --surface-bg: var(--lens-background-primary);
  --surface-border: var(--lens-stroke);
  --surface-divider: var(--lens-stroke-light);
  --surface-text: var(--lens-text-menu-secondary);
  --surface-text-strong: var(--lens-text-menu-primary);
  --surface-text-muted: var(--lens-text-menu-tertiary);
  --surface-highlight: var(--lens-blackberry-black-a03);
  --dialog-bg: var(--lens-background-primary);
  --dialog-text: var(--lens-text-primary);
  --overlay: var(--lens-background-overlay);
  --accent: var(--lens-green);
  --accent-hover: var(--lens-green);
  --accent-text: var(--lens-white);
  --chip-bg: var(--lens-background-primary);
  --chip-bg-hover: var(--lens-background-tertiary);
  --chip-text: var(--lens-text-menu-secondary);
  --chip-ring: var(--lens-hairline);
  --chip-ring-hover: var(--lens-hairline-hover);
  --ghost-text: var(--lens-text-secondary);
  --ghost-text-hover: var(--lens-text-primary);
  --ghost-bg-hover: var(--lens-blackberry-black-a05);
  --switch-bg: var(--lens-switch-track);
  --switch-thumb: var(--lens-white);
  --bg-hover: var(--lens-blackberry-black-a03);
  --text-faint: var(--lens-text-tertiary);
  --button-secondary-bg: var(--lens-white);
  --button-secondary-bg-hover: var(--lens-white-hover);
  --button-ring: var(--lens-hairline);
  --button-ring-hover: var(--lens-hairline-hover);
  --button-ghost-border: var(--lens-stroke);
  --button-tab-active: var(--lens-blackberry-black-a03);
  --button-circle-bg: var(--lens-background-quaternary);
  --danger: var(--lens-red);
  --danger-hover: var(--lens-red);
  --danger-text: var(--lens-text-menu-destructive);
  --danger-bg-hover: var(--lens-red-tint);
  --input-bg: var(--lens-white);
  --input-border: var(--lens-hairline);
  --input-border-hover: var(--lens-hairline-hover);
  --input-text: var(--lens-text-primary);
  --card-bg: var(--lens-background-primary);
  --card-ring: var(--lens-stroke);
  --status-blue: var(--lens-blue);
  --status-green: var(--lens-green);
  --status-amber: var(--lens-orange);
  --status-red: var(--lens-red);
  --shadow-low: var(--lens-box-shadow-button);
  --shadow-menu: var(--lens-ring-popup);
  --shadow-dialog: var(--lens-box-shadow-light);
  --focus-ring: var(--lens-blackberry-black-a3);
  --font-regular:
    "Lens Inter", "Lens Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-monospace: "SF Mono", SFMono-Regular, ui-monospace, Consolas, "Liberation Mono", Menlo, Courier, monospace;
  --font-size-micro: 0.75rem;
  --font-size-mini: 0.75rem;
  --font-size-small: 0.8125rem;
  --font-size-regular: 0.875rem;
  --font-size-large: 1rem;
  --font-size-title3: 1.0625rem;
  --font-size-title2: 1.3125rem;
  --font-size-title1: 2rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --radius-control: 8px;
  --radius-menu: 8px;
  --radius-dialog: 10px;
  --radius-kbd: 4px;
  --radius-rounded: 9999px;
  --speed-quick: var(--duration-overlay);
  --speed-highlight-fade-out: var(--duration-short);
  --speed-regular: var(--duration-short);
  --speed-slow: var(--duration-dialog);
  --ease-out-quad: ease-out;
  --ease-out-cubic: ease;
  --ease-out-quint: var(--ease-smooth);
  --ease-in-out-quad: ease-in-out;
}
:scope[data-theme="dark"] {
  color-scheme: dark;
  --lens-blackberry-black: #ececed;
  --lens-blackberry-black-a01: #ececed05;
  --lens-blackberry-black-a02: #ececed08;
  --lens-blackberry-black-a03: #ececed0d;
  --lens-blackberry-black-a05: #ececed14;
  --lens-blackberry-black-a1: #ececed1f;
  --lens-blackberry-black-a2: #ececed38;
  --lens-blackberry-black-a3: #ececed54;
  --lens-blackberry-black-a4: #ececed6b;
  --lens-blackberry-black-a5: #ececed85;
  --lens-blackberry-black-a6: #ececed9e;
  --lens-blackberry-black-a7: #ecececb8;
  --lens-blackberry-black-a8: #ecececd1;
  --lens-blackberry-black-a9: #ececede8;
  --lens-white: #1c1d1f;
  --lens-white-a1: #1c1d1f1a;
  --lens-white-a2: #1c1d1f33;
  --lens-white-a3: #1c1d1f4d;
  --lens-white-a5: #1c1d1f80;
  --lens-white-a8: #1c1d1fcc;
  --lens-red: #ff3b4f;
  --lens-red-a1: #ff3b4f1f;
  --lens-red-a5: #ff3b4f80;
  --lens-green: #00caa0;
  --lens-green-a1: #00caa01f;
  --lens-green-a2: #00caa038;
  --lens-orange-a1: #ffc0001a;
  --lens-orange-a2: #ffc00038;
  --lens-text-strong: #f4f4f5;
  --lens-background-primary: #1c1d1f;
  --lens-background-secondary: #202123;
  --lens-background-tertiary: #242527;
  --lens-background-quaternary: #2a2b2e;
  --lens-background-quinary: #2e2f32;
  --lens-background-warning: linear-gradient(0deg, var(--lens-orange-a1) 0%, var(--lens-orange-a1) 100%), #1c1d1f;
  --lens-background-overlay: #000000a3;
  --lens-hairline: #ffffff14;
  --lens-hairline-hover: #ffffff24;
  --lens-hairline-checkbox: #ffffff1c;
  --lens-black-hover: #d4d4d6;
  --lens-black-disabled: #ececed;
  --lens-white-hover: #242527;
  --lens-red-tint: rgb(255 59 79 / 8%);
  --lens-switch-track: #3a3b3f;
  --lens-count-bg: #2a2b2e;
  --lens-avatar-bg: #2a2b2e;
  --lens-placeholder: #6b6c70;
  --lens-skeleton-base: #26272a;
  --lens-skeleton-highlight: #2e2f32;
  --lens-spinner: rgb(170 170 172);
  --lens-spinner-track: rgb(255 255 255 / 12%);
  --lens-chevron: #c8c8ca;
  --lens-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23c8c8ca' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M11.75 6.25 8.25 9.75 4.75 6.25'/%3E%3C/svg%3E");
  --lens-code-bg: #202123;
  --lens-code-header: #1c1d1f;
  --lens-code-stroke: #ffffff14;
  --lens-code-text: #e1e4e8;
  --lens-code-muted: #6e7681;
  --lens-code-icon: #9a9998;
  --lens-code-inline: #c8c7c6;
  --lens-code-title: #8d8c8b;
  --lens-code-highlight: rgb(56 139 253 / 15%);
  --lens-code-pill-bg: #242527;
  --lens-code-pill-ring: inset 0 0 0 1px #ffffff17;
  --lens-syntax-keyword: #f97583;
  --lens-syntax-string: #79b8ff;
  --lens-syntax-function: #b392f0;
  --lens-docs-heading: #f4f4f5;
  --lens-docs-body: #a3a3a6;
  --lens-docs-muted: #8d8c8b;
  --lens-docs-step: #ececedcc;
  --lens-callout-success-bg: rgb(44 194 86 / 9%);
  --lens-callout-success-stroke: rgb(44 194 86 / 18%);
  --lens-callout-success-text: rgb(118 204 146);
  --lens-callout-warning-bg: rgb(255 190 10 / 9%);
  --lens-callout-warning-stroke: rgb(255 192 0 / 20%);
  --lens-callout-warning-icon: rgb(246 195 15);
  --lens-callout-danger-bg: rgb(255 59 79 / 8%);
  --lens-callout-danger-stroke: rgb(255 59 79 / 20%);
  --lens-callout-danger-text: rgb(255 122 135);
  --lens-ring-card: inset 0 0 0 1px #ffffff1a, 0 1px 2px #00000026;
  --lens-shadow-palette: 0 8px 24px #00000052, 0 0 0 1px var(--lens-hairline);
  --lens-box-shadow-menu: 0 1px 5px 0 #00000040;
  --lens-box-shadow-button: 0 1px 2px 0 #00000026;
  --lens-box-shadow-focus: 0 0 0 1px #ececed38 inset, 0 0 0 3px #ececed1f;
  --lens-box-shadow-toast: 0 2px 8px 0 #00000052;
  --lens-box-shadow-light: 0 1px 2px 0 #00000026;
  --lens-box-shadow-strong: 0 1px 2px 0 #00000040;
  --lens-box-shadow-heavy: 0 2px 12px 0 #00000066;
  --lens-box-shadow-dropdown: 0 1px 5px 0 #00000040, 0 0 0 1px #ffffff14;
  --lens-box-shadow-notifications: 0 2px 28px 0 #00000052;
  --lens-box-shadow-table: 0 1px 2px #00000026;
  --lens-box-shadow-thumb: 0 1px 3px #00000040;
  --lens-ring-control: 0 1px 2px #00000026, 0 0 #0000, 0 0 0 1px var(--lens-hairline);
  --lens-ring-control-focus: 0 0 0 4px #ececed1f, 0 0 0 1px #ececed38, 0 0 0 1px var(--lens-hairline);
  --lens-ring-field: 0 0 0 1px var(--lens-hairline), 0 0 #0000;
  --lens-ring-field-hover: 0 0 0 1px var(--lens-hairline-hover), 0 0 #0000;
  --lens-ring-field-focus: 0 0 0 4px #ececed1f, 0 0 0 1px #ececed38;
  --lens-ring-field-error: 0 0 0 4px #ff3b4f1f, 0 0 0 1px #ff3b4f80;
  --lens-ring-popup: 0 0 0 1px var(--lens-hairline), 0 4px 16px #00000052;
  --lens-ring-trigger: 0 1px 2px #00000026, 0 0 0 1px var(--lens-hairline);
  --lens-ring-option: 0 1px 1px #00000026, 0 0 0 1px #ffffff1c;
  --lens-focus-element: 0 0 0 1px var(--lens-white), 0 0 0 3px var(--lens-blackberry-black), 0 1px 1px 0 #00000026;
  --lens-focus-input: 0 0 0 1px #ececed38 inset, 0 0 0 3px #ececed1f;
  --lens-focus-switch: 0 0 0 2px #1c1d1f, 0 0 0 3px #ececed1f, 0 0 0 6px #ececed1f;
}
:scope {
  .ui-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
  }
  .ui-accordion > * + * {
    border-top: 1px solid var(--lens-stroke);
  }
  .ui-accordion-header {
    margin: 0;
    font: inherit;
  }
  .ui-accordion-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 12px 20px;
    border: none;
    outline: none;
    background: var(--lens-white);
    color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    text-align: left;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short) var(--ease-snappy);
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background: var(--lens-background-secondary);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
    &[data-disabled] {
      color: var(--lens-text-tertiary);
      cursor: not-allowed;
    }
  }
  .ui-accordion-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-accordion-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-text-secondary);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-accordion-panel {
    box-sizing: border-box;
    height: var(--accordion-panel-height);
    overflow: hidden;
    transition: height var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
  .ui-accordion-content {
    padding: 0 20px 16px;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
}
:scope {
  .ui-alert-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: var(--lens-background-overlay);
    animation: lens-alert-dialog-fade-in var(--duration-overlay) ease both;
    &[data-ending-style] {
      animation: lens-alert-dialog-fade-out var(--duration-overlay) ease both;
    }
  }
  .ui-alert-dialog-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    box-sizing: border-box;
    width: calc(100vw - 32px);
    max-width: 528px;
    overflow: hidden;
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-box-shadow-light);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
    -webkit-font-smoothing: antialiased;
    transform: translate(-50%, -50%);
    transition: all var(--duration-dialog);
    animation: lens-alert-dialog-enter var(--duration-overlay) ease both;
    &[data-ending-style] {
      animation: lens-alert-dialog-exit var(--duration-overlay) ease both;
    }
  }
  .ui-alert-dialog-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: var(--lens-tracking-16);
  }
  .ui-alert-dialog-description {
    margin: 0;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
}
:scope {
  .ui-attachment {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 240px;
    min-height: 52px;
    padding: 8px 12px 8px 8px;
    border-radius: 10px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    color: var(--lens-docs-heading);
    font-family: inherit;
    font-size: 13px;
    line-height: 18px;
  }
  .ui-attachment[data-type="image"] {
    width: 52px;
    height: 52px;
    padding: 0;
  }
  .ui-attachment-preview {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-background-quaternary);
    color: var(--lens-docs-muted);
    & svg {
      width: 16px;
      height: 16px;
    }
    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .ui-attachment-preview:has(.ui-attachment-extension) svg {
    display: none;
  }
  .ui-attachment-extension {
    font-family: var(--font-monospace);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    text-transform: uppercase;
  }
  .ui-attachment[data-kind="pdf"] .ui-attachment-preview {
    background: var(--lens-red-ghost-bg);
    color: var(--lens-red-ghost);
  }
  .ui-attachment[data-kind="code"] .ui-attachment-preview {
    background: var(--lens-code-highlight);
    color: var(--lens-syntax-string);
  }
  .ui-attachment[data-type="image"] .ui-attachment-preview {
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }
  .ui-attachment[data-type="image"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
    pointer-events: none;
  }
  .ui-attachment-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .ui-attachment-name {
    min-width: 0;
    overflow: hidden;
    color: var(--lens-docs-heading);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-attachment-meta {
    overflow: hidden;
    color: var(--lens-docs-muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-attachment-remove {
    position: absolute;
    z-index: 1;
    top: -6px;
    right: -6px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-control);
    color: var(--lens-docs-muted);
    opacity: 0;
    cursor: pointer;
    transform: scale(0.9);
    transition:
      opacity var(--duration-popup),
      transform var(--duration-popup),
      color var(--duration-popup);
    & svg {
      width: 10px;
      height: 10px;
    }
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-control-focus);
    }
    .ui-attachment:hover > &,
    .ui-attachment:focus-within > & {
      opacity: 1;
      transform: none;
    }
    @media (hover: none) {
      opacity: 1;
      transform: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-attachment-remove {
      transform: none;
      transition: opacity var(--duration-popup);
    }
  }
}
:scope {
  .ui-autocomplete-input {
    box-sizing: border-box;
    width: 240px;
    height: 36px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    caret-color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    transition: all var(--duration-popup) ease-out;
    &::placeholder {
      color: var(--lens-text-tertiary);
    }
    @media (hover: hover) {
      &:hover:not([data-disabled], :focus-visible) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-field-focus);
    }
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-autocomplete-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-autocomplete-popup {
    box-sizing: border-box;
    min-width: max(200px, var(--anchor-width));
    max-width: var(--available-width);
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-menu-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-autocomplete-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(290px, var(--available-height));
    padding: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 4px;
    outline: none;
    &:empty {
      padding: 0;
    }
  }
  .ui-autocomplete-item {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    padding: 8px 12px 8px 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    font-weight: 425;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    &:hover,
    &[data-highlighted] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-autocomplete-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-autocomplete-shortcut {
    margin-left: 16px;
    color: var(--lens-text-menu-tertiary);
    font-size: 13px;
    font-weight: 425;
  }
  .ui-autocomplete-empty:not(:empty) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
  }
  .ui-autocomplete-separator {
    flex-shrink: 0;
    height: 1px;
    margin: 2px -4px;
    background: var(--lens-stroke-light);
  }
}
:scope {
  .ui-avatar {
    --avatar-size: 40px;
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: var(--avatar-size);
    height: var(--avatar-size);
    overflow: hidden;
    vertical-align: middle;
    border-radius: 100%;
    background: var(--lens-avatar-bg);
    box-shadow: inset 0 0 0 1px var(--lens-hairline);
    color: var(--lens-text-secondary);
    font-size: calc(var(--avatar-size) * 0.35);
    font-weight: 500;
    line-height: 1;
    user-select: none;
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      border-radius: inherit;
      box-shadow: inset 0 0 0 1px var(--lens-hairline);
      pointer-events: none;
    }
  }
  .ui-avatar[data-size="small"] {
    --avatar-size: 24px;
  }
  .ui-avatar:is([data-size="medium"], [data-size="40"]) {
    --avatar-size: 40px;
  }
  .ui-avatar:is([data-size="large"], [data-size="48"]) {
    --avatar-size: 48px;
  }
  .ui-avatar:is([data-shape="rounded"], [data-shape="square"]) {
    border-radius: 10px;
    &[data-size="small"] {
      border-radius: 6px;
    }
  }
  .ui-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--duration-short);
  }
  .ui-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
  }
}
:scope {
  .ui-badge {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .ui-badge[data-variant="testnet"] {
    gap: 8px;
    height: 24px;
    padding: 4px 8px;
    border-radius: 24px;
    background: var(--lens-badge-testnet);
    color: var(--lens-white);
    letter-spacing: 0.000490775em;
  }
  .ui-badge[data-variant="success"] {
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
  }
  .ui-badge[data-variant="warning"] {
    background: color-mix(in srgb, var(--lens-badge-testnet) 12%, transparent);
    color: var(--lens-badge-testnet);
  }
  .ui-badge[data-variant="error"] {
    background: var(--lens-red-ghost-bg);
    color: var(--lens-red-ghost);
  }
  .ui-badge[data-variant="info"] {
    background: var(--lens-blue-a1);
    color: var(--lens-blue);
  }
  .ui-badge[data-size="small"] {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 16px;
  }
  .ui-badge-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: currentColor;
  }
}
:scope {
  .ui-banner {
    --banner-icon: var(--lens-orange);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--lens-stroke);
    border-radius: 12px;
    background: var(--lens-background-tertiary);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-banner[data-variant="warning"] {
    border-color: var(--lens-stroke-warning);
    background: var(--lens-background-warning);
    color: var(--lens-text-primary);
  }
  .ui-banner:is([data-variant="confirmation"], [data-variant="info"]) {
    --banner-icon: var(--lens-text-secondary);
    padding: 10px 14px;
  }
  .ui-banner[data-variant="success"] {
    --banner-icon: var(--lens-green);
    border-color: var(--lens-green-a2);
    background:
      linear-gradient(0deg, var(--lens-green-a1) 0%, var(--lens-green-a1) 100%),
      var(--lens-white);
    color: var(--lens-text-primary);
  }
  .ui-banner:is([data-variant="error"], [data-variant="danger"]) {
    --banner-icon: var(--lens-red);
    border-color: var(--lens-red-a1);
    background:
      linear-gradient(0deg, var(--lens-red-tint) 0%, var(--lens-red-tint) 100%),
      var(--lens-white);
    color: var(--lens-text-primary);
  }
  .ui-banner-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 18px;
    padding: 2px 1px 0;
    box-sizing: border-box;
    color: var(--banner-icon);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-banner-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .ui-banner-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-banner-description {
    margin: 0;
  }
  .ui-banner-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    align-self: center;
    gap: 8px;
  }
}
:scope {
  .ui-breadcrumbs {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ui-breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
  }
  .ui-breadcrumbs-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-secondary);
    text-decoration: none;
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover {
        color: var(--lens-text-primary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-breadcrumbs-page {
    overflow: hidden;
    color: var(--lens-text-primary);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-breadcrumbs-separator {
    display: inline-flex;
    color: var(--lens-text-tertiary);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
}
:scope {
  .ui-button {
    position: relative;
    z-index: 1;
    box-sizing: content-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    outline: 3px solid transparent;
    outline-offset: 0;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-control);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
    &:disabled,
    &[data-disabled] {
      cursor: not-allowed;
    }
  }
  .ui-button:is([data-variant="white"], [data-variant="secondary"]) {
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-white-hover);
      }
    }
    &:focus-visible {
      background: var(--lens-white);
      box-shadow: var(--lens-ring-control-focus);
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-button:is([data-variant="green"], [data-variant="primary"]) {
    background: var(--lens-green);
    box-shadow: none;
    color: var(--lens-white);
    & svg {
      fill: currentColor;
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        filter: saturate(0.5);
      }
    }
    &:focus-visible {
      outline-color: var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-button[data-variant="black"] {
    background: var(--lens-blackberry-black);
    box-shadow: none;
    color: var(--lens-white);
    & svg {
      fill: currentColor;
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-black-hover);
      }
    }
    &:focus-visible {
      outline: 3px solid var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.3;
      background: var(--lens-black-disabled);
    }
  }
  .ui-button[data-variant="ghost"] {
    padding: 0;
    background: none;
    box-shadow: none;
    color: var(--lens-blackberry-black-a3);
    font-weight: 400;
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        color: var(--lens-blackberry-black);
      }
    }
    &:focus-visible {
      color: var(--lens-blackberry-black);
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-button[data-variant="black-ghost"] {
    border-radius: 6px;
    background: var(--lens-blackberry-black-a03);
    box-shadow: none;
    color: var(--lens-text-secondary);
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-white-hover);
      }
    }
    &:focus-visible {
      outline-color: var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
  }
  .ui-button[data-variant="light"] {
    height: auto;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--lens-blackberry-black-a03);
    box-shadow: none;
    color: var(--lens-text-secondary);
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
    letter-spacing: var(--lens-tracking-12);
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-white-hover);
      }
    }
    &:focus-visible {
      outline-color: var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
  }
  .ui-button:is([data-variant="red"], [data-variant="danger"]) {
    background: var(--lens-red);
    box-shadow: none;
    color: var(--lens-white);
    & svg {
      fill: currentColor;
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        filter: saturate(0.8);
      }
    }
    &:focus-visible {
      outline-color: var(--lens-red-a5);
      outline-offset: 2px;
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-button[data-variant="red-outline"] {
    color: var(--lens-text-menu-destructive);
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-white-hover);
      }
    }
    &:focus-visible {
      background: var(--lens-white);
      box-shadow: var(--lens-ring-control-focus);
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-button:is([data-variant="red-ghost"], [data-variant="green-ghost"]) {
    box-shadow: none;
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        opacity: 0.5;
      }
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-button[data-variant="red-ghost"] {
    background: var(--lens-red-ghost-bg);
    color: var(--lens-red-ghost);
  }
  .ui-button[data-variant="green-ghost"] {
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
  }
  .ui-button[data-size="small"] {
    gap: 6px;
    height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: var(--lens-tracking-12);
    & svg {
      width: 14px;
      height: 14px;
    }
  }
  .ui-button[data-size="large"] {
    height: 36px;
    padding: 0 14px;
  }
  .ui-button[data-variant="ghost"]:is([data-size="small"], [data-size="large"]) {
    padding: 0;
  }
  .ui-button[data-icon-only] {
    aspect-ratio: 1;
    padding: 0;
  }
  .ui-button[data-loading] {
    opacity: 1;
    cursor: wait;
  }
  .ui-button-spinner {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0.6;
    animation:
      lens-button-spinner-enter var(--duration-spring-content) var(--ease-spring-content),
      lens-spinner-spin var(--duration-spinner) linear infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-button-spinner {
      animation: lens-spinner-spin 2s linear infinite;
    }
  }
}
:scope {
  .ui-button-group {
    display: inline-flex;
    align-items: stretch;
    & > .ui-button:focus-visible {
      z-index: 2;
    }
    &[data-orientation="horizontal"] > .ui-button {
      &:not(:first-child) {
        margin-left: -1px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }
      &:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
    }
    &[data-orientation="vertical"] {
      flex-direction: column;
      & > .ui-button {
        border-radius: 0;
        &:first-child {
          border-top-left-radius: 8px;
          border-top-right-radius: 8px;
        }
        &:last-child {
          border-bottom-left-radius: 8px;
          border-bottom-right-radius: 8px;
        }
        &:not(:first-child) {
          margin-top: -1px;
        }
      }
    }
  }
}
:scope {
  .ui-calendar-event {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    overflow: hidden;
    padding: 16px;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-calendar-event-date {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    width: 56px;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 8px;
    background: var(--lens-white);
    font-variant-numeric: tabular-nums;
  }
  .ui-calendar-event-month {
    align-self: stretch;
    padding: 2px 0;
    border-bottom: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
    color: var(--lens-red);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
  }
  .ui-calendar-event-day {
    padding-top: 4px;
    color: var(--lens-text-primary);
    font-size: 21px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: var(--lens-tracking-21);
  }
  .ui-calendar-event-weekday {
    padding-bottom: 6px;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 16px;
  }
  .ui-calendar-event-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
  .ui-calendar-event-title {
    margin: 0 0 2px;
    color: var(--lens-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: var(--lens-tracking-16);
  }
  .ui-calendar-event-time,
  .ui-calendar-event-location,
  .ui-calendar-event-attendees {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      color: var(--lens-text-tertiary);
    }
  }
  .ui-calendar-event-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 -16px -16px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
}
:scope {
  .ui-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-card-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    height: 72px;
    box-sizing: border-box;
    padding: 16px 20px;
    background: var(--lens-white);
    transition: all var(--duration-short) var(--ease-snappy);
    &:not(:last-child) {
      border-bottom: 1px solid var(--lens-stroke);
    }
  }
  .ui-card-title {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: var(--lens-blackberry-black);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-card-description {
    margin: 0;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 20px;
    color: var(--lens-text-secondary);
  }
  .ui-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
  .ui-card[data-variant="section"] {
    border-radius: 12px;
    & .ui-card-header {
      height: auto;
      min-height: 64px;
      padding: 12px 20px;
    }
  }
  .ui-card[data-variant="box"] {
    & .ui-card-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      height: 36px;
      padding: 8px 16px;
    }
    & .ui-card-content {
      padding: 16px;
    }
  }
  .ui-card[data-variant="panel"] {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--lens-background-primary);
    & .ui-card-header {
      min-height: 0;
      padding: 0;
      border: 0;
    }
    & .ui-card-content {
      padding: 0;
    }
    & .ui-card-footer {
      padding: 0;
      border: 0;
      background: none;
    }
  }
}
:scope {
  .ui-chain-of-thought {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
  }
  .ui-chain-of-thought-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    max-width: 100%;
    height: 30px;
    margin: 0;
    padding: 0 6px 0 0;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font: inherit;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &[data-panel-open] {
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-chain-of-thought-icon {
    display: flex;
    flex-shrink: 0;
    & svg {
      width: 16px;
      height: 16px;
    }
    & .ui-spinner {
      --spinner-size: 12px;
      margin: 2px;
    }
  }
  .ui-chain-of-thought-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-chain-of-thought-description {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-chain-of-thought-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-chain-of-thought[data-status="running"] .ui-chain-of-thought-title {
    background: linear-gradient(
        90deg,
        var(--lens-docs-muted) 35%,
        var(--lens-docs-heading) 50%,
        var(--lens-docs-muted) 65%
      )
      0 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    animation: lens-chain-of-thought-shimmer var(--duration-skeleton) ease-in-out infinite;
  }
  .ui-chain-of-thought-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: var(--collapsible-panel-height);
    padding-top: 8px;
    overflow: hidden;
    transition:
      height var(--duration-short) var(--ease-snappy),
      padding-top var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
      padding-top: 0;
    }
  }
  .ui-chain-of-thought-step {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    padding-bottom: 14px;
    &:not(:last-child)::before {
      content: "";
      position: absolute;
      top: 28px;
      bottom: 4px;
      left: 11.5px;
      width: 1px;
      background: var(--lens-code-stroke);
    }
    &:last-child {
      padding-bottom: 0;
    }
  }
  .ui-chain-of-thought-step-icon {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--lens-code-stroke);
    border-radius: 50%;
    background: var(--lens-white);
    color: var(--lens-docs-step);
    & svg {
      width: 14px;
      height: 14px;
    }
    & .ui-spinner {
      --spinner-size: 12px;
    }
  }
  .ui-chain-of-thought-step[data-status="running"] .ui-chain-of-thought-step-icon {
    border-color: var(--lens-docs-heading);
    color: var(--lens-docs-heading);
  }
  .ui-chain-of-thought-step[data-status="pending"] {
    opacity: 0.5;
  }
  .ui-chain-of-thought-step-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-top: 1px;
  }
  .ui-chain-of-thought-step-label {
    margin: 0;
    color: var(--lens-docs-heading);
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
  }
  .ui-chain-of-thought-step-description {
    margin: 0;
    color: var(--lens-docs-body);
  }
  .ui-chain-of-thought-results {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }
  .ui-chain-of-thought-result {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--lens-code-pill-bg);
    box-shadow: var(--lens-code-pill-ring);
    color: var(--lens-code-inline);
    font-family: var(--font-monospace);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-chain-of-thought[data-status="running"] .ui-chain-of-thought-title {
      animation: none;
      background: none;
      color: var(--lens-docs-muted);
    }
    .ui-chain-of-thought-content,
    .ui-chain-of-thought-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-chat {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    font-family: inherit;
  }
  .ui-chat-header {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 2px;
    height: 48px;
    padding: 0 10px 0 16px;
    box-shadow: inset 0 -1px 0 0 var(--lens-stroke);
    & .ui-button[data-variant="ghost"] {
      width: 28px;
      color: var(--lens-docs-muted);
      @media (hover: hover) {
        &:hover:not(:disabled) {
          color: var(--lens-docs-heading);
        }
      }
    }
  }
  .ui-chat-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--lens-docs-heading);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-chat-typing {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
    height: 22px;
  }
  .ui-chat-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lens-docs-muted);
    animation: lens-chat-typing 1.2s ease-in-out infinite;
    &:nth-child(2) {
      animation-delay: 0.15s;
    }
    &:nth-child(3) {
      animation-delay: 0.3s;
    }
  }
  .ui-chat-footer {
    flex-shrink: 0;
    padding: 0 12px 10px;
  }
  .ui-chat-disclaimer {
    margin: 8px 0 0;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
  }
  .ui-chat-viewport {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--lens-blackberry-black-a2) transparent;
  }
  .ui-chat-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px 24px;
  }
  .ui-chat-scroll-button {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -44px 0 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    outline: none;
    background: var(--lens-white);
    box-shadow:
      var(--lens-ring-card),
      0 4px 12px rgb(0 0 0 / 8%);
    color: var(--lens-docs-heading);
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    animation: lens-chat-scroll-in var(--duration-popup) var(--ease-swift-out);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-control-focus);
      color: var(--lens-docs-heading);
    }
  }
  .ui-chat-empty {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 40px 24px;
    text-align: center;
  }
  .ui-chat-empty-title {
    margin: 0;
    color: var(--lens-docs-heading);
    font-size: 18px;
    font-weight: 550;
    line-height: 26px;
    letter-spacing: -0.3px;
  }
  .ui-chat-empty-description {
    max-width: 320px;
    margin: 0;
    color: var(--lens-docs-body);
    font-size: 14px;
    line-height: 22px;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-chat-scroll-button {
      animation: none;
      transition: none;
    }
    .ui-chat-typing-dot {
      animation: none;
      opacity: 0.6;
    }
  }
}
:scope {
  .ui-checkbox {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--lens-hairline-checkbox);
    border-radius: 4px;
    outline: none;
    background: var(--lens-background-secondary);
    color: var(--lens-white);
    cursor: pointer;
    transition: all var(--duration-popup);
    @media (hover: hover) {
      &:hover:not([data-disabled], [data-checked], [data-indeterminate]) {
        border-color: var(--lens-hairline-hover);
        background: var(--lens-background-tertiary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-checked],
    &[data-indeterminate] {
      border-color: var(--lens-green);
      background: var(--lens-green);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-checkbox-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    & svg {
      width: 10px;
      height: 10px;
    }
  }
}
:scope {
  .ui-checkbox-group-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
:scope {
  .ui-checkpoint {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--lens-docs-muted);
    font-family: inherit;
    font-size: 12px;
    line-height: 18px;
    &::before {
      content: "";
      flex: 0 0 12px;
      height: 1px;
      background: var(--lens-code-stroke);
    }
    &::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--lens-code-stroke);
      order: 1;
    }
  }
  .ui-checkpoint-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    & svg {
      width: 14px;
      height: 14px;
    }
  }
  .ui-checkpoint-label {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-weight: 600;
  }
  .ui-checkpoint-trigger {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    height: 24px;
    margin: 0;
    padding: 0 8px;
    border: none;
    border-radius: 6px;
    outline: 3px solid transparent;
    background: var(--lens-blackberry-black-a03);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
    letter-spacing: var(--lens-tracking-12);
    white-space: nowrap;
    cursor: pointer;
    order: 2;
    transition: all var(--duration-short);
    & svg {
      width: 14px;
      height: 14px;
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-white-hover);
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      outline-color: var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-checkpoint-trigger {
      transition: none;
    }
  }
}
:scope {
  .ui-code-block {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-code-bg);
    box-shadow: var(--lens-ring-code);
    color: var(--lens-code-text);
    font-family: inherit;
    font-size: 14px;
  }
  .ui-code-block-header {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 9px 0 16px;
    background: var(--lens-code-header);
    box-shadow: inset 0 -1px 0 0 var(--lens-code-stroke);
  }
  .ui-code-block-title {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    color: var(--lens-code-title);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: var(--lens-tracking-code-tab);
    text-overflow: ellipsis;
    white-space: nowrap;
    &::before {
      content: "";
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      background: currentColor;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round' d='M3 1.6h5.2L11 4.4v7.6a.4.4 0 0 1-.4.4H3a.4.4 0 0 1-.4-.4V2a.4.4 0 0 1 .4-.4zM8 1.6v3h3'/%3E%3C/svg%3E") center / 14px no-repeat;
    }
  }
  .ui-code-block:is([data-language="ts"], [data-language="tsx"], [data-language="js"], [data-language="jsx"])
    .ui-code-block-title::before {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 1px 0.5px 0;
    border-radius: 1.5px;
    mask: none;
    color: var(--lens-code-header);
    font-family: var(--font-regular);
    font-size: 6.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.1px;
    background: var(--lens-code-title);
  }
  .ui-code-block:is([data-language="ts"], [data-language="tsx"]) .ui-code-block-title::before {
    content: "TS";
  }
  .ui-code-block:is([data-language="js"], [data-language="jsx"]) .ui-code-block-title::before {
    content: "JS";
  }
  .ui-code-block-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
  }
  .ui-code-block-copy {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 6px;
    outline: none;
    background: transparent;
    color: var(--lens-code-icon);
    cursor: pointer;
    transition: color var(--duration-copy) var(--ease-swift-out);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-copied] {
      color: var(--lens-callout-success-text);
    }
  }
  .ui-code-block-content {
    box-sizing: border-box;
    max-height: 360px;
    margin: 0;
    padding: 14px 32px 14px 16px;
    overflow: auto;
    color: var(--lens-code-text);
    font-family: var(--font-monospace);
    font-size: 14px;
    line-height: 22px;
    tab-size: 2;
    outline: none;
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
    & code {
      font: inherit;
    }
  }
  .ui-code-block-token {
    &[data-token="keyword"] {
      color: var(--lens-syntax-keyword);
    }
    &:is([data-token="string"], [data-token="number"]) {
      color: var(--lens-syntax-string);
    }
    &:is([data-token="function"], [data-token="type"]) {
      color: var(--lens-syntax-function);
    }
    &[data-token="comment"] {
      color: var(--lens-code-muted);
    }
  }
  .ui-code-block-content[data-wrap] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .ui-code-block-content[data-line-numbers] {
    padding-inline: 0;
    & code {
      display: block;
      counter-reset: line;
    }
  }
  .ui-code-block-line {
    display: block;
    min-height: 22px;
    padding: 0 32px 0 16px;
    counter-increment: line;
    &::before {
      content: counter(line);
      display: inline-block;
      box-sizing: content-box;
      width: 1.125em;
      padding-right: 14px;
      color: var(--lens-code-muted);
      text-align: right;
      user-select: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-code-block-copy {
      transition: none;
    }
  }
}
:scope {
  .ui-collapsible-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    margin: 0;
    padding: 0 8px;
    border: none;
    border-radius: 6px;
    outline: none;
    background: var(--lens-blackberry-black-a03);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background: var(--lens-blackberry-black-a05);
        color: var(--lens-text-primary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-collapsible-caret {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    color: var(--lens-text-tertiary);
    transform: rotate(-90deg);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: none;
    }
  }
  .ui-collapsible-panel {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    overflow: hidden;
    transition: height var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
}
:scope {
  .ui-combobox-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 160px;
    height: 36px;
    margin: 0;
    padding: 11px 36px 11px 12px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white) var(--lens-icon-chevron) no-repeat right 8px center / 16px 16px;
    box-shadow: var(--lens-ring-trigger);
    color: var(--lens-text-menu-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background-color: var(--lens-background-tertiary);
      }
    }
    &[data-popup-open] {
      background-color: var(--lens-background-tertiary);
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-field-focus);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-combobox-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-combobox-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: max(200px, var(--anchor-width));
    max-width: var(--available-width);
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-menu-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-combobox-input {
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-bottom: 1px solid var(--lens-stroke-light);
    border-radius: 8px 8px 0 0;
    outline: none;
    background: transparent;
    color: var(--lens-text-menu-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    transition: all var(--duration-short);
    &::placeholder {
      color: var(--lens-placeholder);
    }
  }
  .ui-combobox-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(290px, calc(var(--available-height) - 36px));
    padding: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 4px;
    outline: none;
    &:empty {
      padding: 0;
    }
  }
  .ui-combobox-item {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    padding: 8px 12px 8px 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    font-weight: 425;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    &:hover,
    &[data-highlighted],
    &[data-selected] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-combobox-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-combobox-indicator {
    display: flex;
    order: 1;
    margin-left: 8px;
    color: var(--lens-text-menu-primary);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-combobox-shortcut {
    margin-left: 16px;
    color: var(--lens-text-menu-tertiary);
    font-size: 13px;
    font-weight: 425;
  }
  .ui-combobox-empty:not(:empty) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
  }
  .ui-combobox-separator {
    flex-shrink: 0;
    height: 1px;
    margin: 2px -4px;
    background: var(--lens-stroke-light);
  }
}
:scope {
  .ui-command-palette-backdrop {
    position: fixed;
    inset: 0;
    background: var(--lens-background-overlay);
    transition: opacity var(--duration-overlay) ease;
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
    }
  }
  .ui-command-palette-viewport {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 16px;
  }
  .ui-command-palette {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 592px;
    max-width: 100%;
    max-height: min(440px, calc(100dvh - 240px));
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-box-shadow-heavy);
    color: var(--lens-text-menu-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: 50% 0;
    transition:
      opacity var(--duration-overlay) ease,
      transform var(--duration-overlay) ease;
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.96);
    }
  }
  .ui-command-palette-input-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--lens-stroke-light);
  }
  .ui-command-palette-search {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-text-tertiary);
  }
  .ui-command-palette-input {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--lens-text-menu-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    &::placeholder {
      color: var(--lens-placeholder);
    }
  }
  .ui-command-palette-list {
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    padding: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 4px;
    outline: none;
  }
  .ui-command-palette-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .ui-command-palette-group + .ui-command-palette-group {
    margin-top: 4px;
  }
  .ui-command-palette-group-label {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 8px 12px 8px 8px;
    box-sizing: border-box;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    font-weight: 425;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-command-palette-item {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 8px 12px 8px 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    font-weight: 425;
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    &[data-highlighted] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-command-palette-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-command-palette-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-command-palette-shortcut {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-text-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: pre;
    &:has(kbd) {
      padding: 0;
      background: none;
    }
    & kbd {
      box-sizing: border-box;
      min-width: 20px;
      height: 20px;
      padding: 0 6px;
      border-radius: 10px;
      background: var(--lens-count-bg);
      font: inherit;
      text-align: center;
    }
  }
  .ui-command-palette-empty:not(:empty) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    margin: 4px;
    padding: 0 12px;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    font-weight: 450;
  }
  .ui-command-palette-footer {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
    color: var(--lens-text-secondary);
    font-size: 12px;
    line-height: 18px;
  }
}
:scope {
  .ui-confirmation {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 14px;
    min-width: 0;
    padding: 16px 16px 14px;
    border: 1px solid var(--lens-callout-warning-stroke);
    border-radius: 8px;
    background: var(--lens-callout-warning-bg);
    color: var(--lens-docs-heading);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
    transition:
      background-color var(--duration-short),
      border-color var(--duration-short);
  }
  .ui-confirmation-icon {
    display: flex;
    height: 22px;
    align-items: center;
    color: var(--lens-callout-warning-icon);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-confirmation-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .ui-confirmation-title {
    margin: 0;
    color: var(--lens-docs-heading);
    font-weight: 500;
  }
  .ui-confirmation-description {
    margin: 0;
    color: var(--lens-docs-heading);
    opacity: 0.8;
  }
  .ui-confirmation-code {
    margin: 8px 0 0;
    padding: 8px 12px;
    overflow-x: auto;
    border-radius: 6px;
    background: var(--lens-white);
    box-shadow: inset 0 0 0 1px var(--lens-callout-warning-stroke);
    color: var(--lens-code-inline);
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 20px;
    white-space: pre-wrap;
  }
  .ui-confirmation-actions {
    display: flex;
    grid-column: 2;
    justify-content: flex-end;
    gap: 8px;
  }
  .ui-confirmation:is([data-state="approved"], [data-state="denied"]) .ui-confirmation-actions {
    display: none;
  }
  .ui-confirmation:not(:has(.ui-confirmation-icon)) {
    grid-template-columns: minmax(0, 1fr);
    & .ui-confirmation-actions {
      grid-column: 1;
    }
  }
  .ui-confirmation[data-state="approved"] {
    border-color: var(--lens-callout-success-stroke);
    background: var(--lens-callout-success-bg);
    & .ui-confirmation-icon,
    & .ui-confirmation-title {
      color: var(--lens-callout-success-text);
    }
    & .ui-confirmation-code {
      box-shadow: inset 0 0 0 1px var(--lens-callout-success-stroke);
    }
  }
  .ui-confirmation[data-state="denied"] {
    border-color: var(--lens-code-stroke);
    background: var(--lens-background-tertiary);
    & .ui-confirmation-icon,
    & .ui-confirmation-title,
    & .ui-confirmation-description {
      color: var(--lens-docs-muted);
    }
    & .ui-confirmation-description {
      opacity: 1;
    }
    & .ui-confirmation-code {
      box-shadow: inset 0 0 0 1px var(--lens-code-stroke);
      color: var(--lens-docs-muted);
      text-decoration: line-through;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-confirmation {
      transition: none;
    }
  }
}
:scope {
  .ui-connector-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    font-family: var(--font-regular);
  }
  .ui-connector {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 16px;
    color: var(--lens-text-primary);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    &:not(:last-child) {
      box-shadow: inset 0 -1px var(--lens-background-quinary);
    }
  }
  .ui-connector-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--lens-background-quaternary);
    box-shadow: inset 0 0 0 1px var(--lens-stroke);
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    & svg,
    & img {
      width: 18px;
      height: 18px;
    }
    [data-connected] > & {
      background: var(--lens-blackberry-black);
      box-shadow: none;
      color: var(--lens-white);
    }
  }
  .ui-connector-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }
  .ui-connector-title {
    overflow: hidden;
    color: var(--lens-text-primary);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-connector-description {
    overflow: hidden;
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-connector-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
  }
  .ui-connector-status {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    &::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
    }
  }
}
:scope {
  .ui-context-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    margin: 0;
    padding: 0 8px 0 6px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-quaternary);
        color: var(--lens-docs-heading);
      }
    }
    &[data-popup-open] {
      background: var(--lens-background-quaternary);
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-context-ring {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .ui-context-ring-track {
    stroke: var(--lens-switch-track);
  }
  .ui-context-ring-value {
    stroke: var(--lens-green);
    stroke-linecap: round;
    transition: stroke-dasharray var(--duration-progress) ease;
  }
  .ui-context-percent {
    color: inherit;
  }
  .ui-context-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-context-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 260px;
    max-width: var(--available-width);
    padding: 14px 16px 0;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-shadow-palette);
    color: var(--lens-docs-body);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-context-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .ui-context-title {
    color: var(--lens-docs-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
  }
  .ui-context-value {
    color: var(--lens-docs-muted);
    font-family: var(--font-monospace);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .ui-context-bar {
    height: 4px;
    margin: 10px 0 12px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--lens-switch-track);
  }
  .ui-context-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--lens-green);
    transition: width var(--duration-progress) ease;
  }
  .ui-context-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 12px;
  }
  .ui-context-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .ui-context-row-label {
    margin: 0;
    color: var(--lens-docs-muted);
  }
  .ui-context-row-value {
    margin: 0;
    color: var(--lens-docs-heading);
    font-family: var(--font-monospace);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .ui-context-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -16px;
    padding: 10px 16px;
    border-top: 1px solid var(--lens-code-stroke);
    border-radius: 0 0 8px 8px;
    background: var(--lens-background-secondary);
    color: var(--lens-docs-muted);
    & > :last-child {
      color: var(--lens-docs-heading);
      font-family: var(--font-monospace);
      font-size: 12px;
      font-weight: 500;
      font-variant-numeric: tabular-nums;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-context-popup {
      transition: opacity var(--duration-popup);
      &[data-starting-style],
      &[data-ending-style] {
        transform: none;
      }
    }
    .ui-context-trigger,
    .ui-context-ring-value,
    .ui-context-bar-fill {
      transition: none;
    }
  }
}
:scope {
  .ui-context-menu-trigger {
    -webkit-touch-callout: none;
    user-select: none;
  }
}
:scope {
  .ui-data-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .ui-data-table-sort {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    outline: none;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--duration-popup) ease-out;
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-sorted] {
      color: var(--lens-blackberry-black);
    }
  }
  .ui-data-table-sort-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--lens-text-secondary);
    opacity: 0;
    transition: all var(--duration-popup) ease-out;
  }
  .ui-data-table-sort:is(:hover, [data-sorted]) .ui-data-table-sort-icon {
    opacity: 1;
  }
  .ui-data-table .ui-table-head[data-align="end"],
  .ui-data-table .ui-table-cell[data-align="end"] {
    font-variant-numeric: tabular-nums;
    text-align: right;
  }
  .ui-data-table .ui-data-table-select {
    width: 16px;
    padding-right: 0;
    & > .ui-checkbox {
      display: flex;
    }
  }
  .ui-data-table[data-selectable] .ui-table-cell:first-child {
    color: inherit;
    font-weight: inherit;
  }
  .ui-data-table[data-selectable] .ui-table-cell:nth-child(2) {
    color: var(--lens-blackberry-black);
    font-weight: 500;
  }
  .ui-data-table .ui-table-body .ui-table-row {
    cursor: pointer;
  }
  .ui-data-table .ui-table-body .ui-table-row[data-selected] {
    background: var(--lens-background-tertiary);
  }
  .ui-data-table .ui-table-body .ui-table-row:has(.ui-data-table-empty) {
    background: transparent;
    cursor: default;
  }
  .ui-data-table .ui-table-cell.ui-data-table-empty {
    height: auto;
    padding: 40px;
    color: var(--lens-text-secondary);
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    text-align: center;
  }
  .ui-data-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 32px;
    padding: 0 4px;
  }
  .ui-data-table-summary {
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    font-variant-numeric: tabular-nums;
  }
}
:scope {
  .ui-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: var(--lens-background-overlay);
    animation: lens-dialog-fade-in var(--duration-overlay) ease both;
    &[data-ending-style] {
      animation: lens-dialog-fade-out var(--duration-overlay) ease both;
    }
  }
  .ui-dialog-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    box-sizing: border-box;
    width: calc(100vw - 32px);
    max-width: 528px;
    overflow: hidden;
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-box-shadow-light);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
    -webkit-font-smoothing: antialiased;
    transform: translate(-50%, -50%);
    transition: all var(--duration-dialog);
    animation: lens-dialog-enter var(--duration-overlay) ease both;
    &[data-ending-style] {
      animation: lens-dialog-exit var(--duration-overlay) ease both;
    }
    & .ui-dialog-description {
      color: var(--lens-text-secondary);
    }
  }
  .ui-dialog-popup[data-size="large"] {
    max-width: 592px;
  }
  .ui-dialog-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: var(--lens-tracking-16);
  }
}
:scope {
  .ui-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: var(--lens-background-overlay);
    opacity: calc(1 - var(--drawer-swipe-progress, 0));
    transition: opacity var(--duration-drawer) var(--ease-drawer);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
    }
    &[data-swiping] {
      transition-duration: 0s;
    }
  }
  .ui-drawer-viewport {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    padding: 8px;
  }
  .ui-drawer-popup {
    box-sizing: border-box;
    width: 420px;
    max-width: 100%;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-box-shadow-heavy);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    transform: translateX(var(--drawer-swipe-movement-x, 0px));
    transition: transform var(--duration-drawer) var(--ease-drawer);
    &[data-starting-style],
    &[data-ending-style] {
      transform: translateX(calc(100% + 8px));
    }
    &[data-swiping] {
      transition-duration: 0s;
      user-select: none;
    }
  }
  .ui-drawer-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 23px;
  }
}
:scope {
  .ui-email-draft {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-email-draft-header {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--lens-stroke);
  }
  .ui-email-draft-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-text-tertiary);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-email-draft-label {
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 500;
  }
  .ui-email-draft-subject {
    margin: 0;
    padding: 16px 16px 8px;
    color: var(--lens-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: var(--lens-tracking-16);
  }
  .ui-email-draft-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0 16px 14px;
  }
  .ui-email-draft-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 24px;
  }
  .ui-email-draft-field-label {
    flex-shrink: 0;
    width: 40px;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-email-draft-field-value {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    margin: 0;
  }
  .ui-email-draft-recipient {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    height: 24px;
    padding: 0 8px 0 3px;
    border-radius: 12px;
    background: var(--lens-count-bg);
    color: var(--lens-text-primary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-email-draft-avatar {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lens-avatar-bg);
    color: var(--lens-text-secondary);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
  }
  .ui-email-draft-address {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-email-draft-body {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--lens-stroke);
    color: var(--lens-docs-body);
    font-size: 14px;
    line-height: 22px;
    white-space: pre-wrap;
  }
  .ui-email-draft-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
}
:scope {
  .ui-empty {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 109px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 8px;
    background: var(--lens-blackberry-black-a02);
    text-align: center;
  }
  .ui-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--lens-text-tertiary);
    & svg {
      width: 24px;
      height: 24px;
    }
  }
  .ui-empty-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-empty-description {
    margin: 0;
    max-width: 360px;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-empty-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
  }
}
:scope {
  .ui-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }
  .ui-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    color: var(--lens-text-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    user-select: none;
    &[data-disabled] {
      color: var(--lens-text-tertiary);
    }
  }
  .ui-field-item .ui-field-label {
    justify-content: flex-start;
    gap: 8px;
    color: var(--lens-text-primary);
  }
  .ui-field-description {
    margin: 0;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-field-error {
    color: var(--lens-text-menu-destructive);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-field-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    & .ui-field-description {
      padding-left: 24px;
    }
  }
}
:scope {
  .ui-fieldset {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
  }
  .ui-fieldset-legend {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lens-stroke);
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    &[data-disabled] {
      color: var(--lens-text-tertiary);
    }
  }
}
:scope {
  .ui-file-tree {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    padding: 8px;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    color: var(--lens-docs-muted);
    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
  }
  .ui-file-tree-folder {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .ui-file-tree-row {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0 8px;
    border: none;
    border-radius: 6px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font: inherit;
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition:
      background-color var(--duration-popup),
      color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-file-tree-file {
    padding-left: 30px;
  }
  .ui-file-tree-folder-trigger {
    color: var(--lens-docs-heading);
  }
  .ui-file-tree-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-file-tree-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-file-tree-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-file-tree-file[data-selected] {
    background: var(--lens-background-tertiary);
    color: var(--lens-docs-heading);
    font-weight: 500;
    & .ui-file-tree-icon {
      color: var(--lens-docs-heading);
    }
  }
  .ui-file-tree-file[data-change="added"] .ui-file-tree-name {
    color: var(--lens-callout-success-text);
  }
  .ui-file-tree-file[data-change="modified"] .ui-file-tree-name::after,
  .ui-file-tree-file[data-change="renamed"] .ui-file-tree-name::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--lens-callout-warning-icon);
    vertical-align: 2px;
  }
  .ui-file-tree-file[data-change="deleted"] .ui-file-tree-name {
    color: var(--lens-docs-muted);
    text-decoration: line-through;
    text-decoration-color: var(--lens-blackberry-black-a2);
  }
  .ui-file-tree-stats {
    display: inline-flex;
    flex-shrink: 0;
    gap: 6px;
    font-family: var(--font-monospace);
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-file-tree-additions {
    color: var(--lens-green-ghost);
  }
  .ui-file-tree-deletions {
    color: var(--lens-red-ghost);
  }
  .ui-file-tree-children {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1px;
    height: var(--collapsible-panel-height);
    padding-left: 16px;
    overflow: hidden;
    transition: height var(--duration-short) var(--ease-snappy);
    &::before {
      content: "";
      position: absolute;
      top: 2px;
      bottom: 2px;
      left: 15.5px;
      width: 1px;
      background: var(--lens-code-stroke);
    }
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-file-tree-children,
    .ui-file-tree-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-files-changed {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-files-changed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 8px 8px 16px;
    box-sizing: border-box;
    background: var(--lens-background-secondary);
    box-shadow: inset 0 -1px var(--lens-background-quinary);
  }
  .ui-files-changed-title {
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-files-changed-additions,
  .ui-files-changed-deletions {
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
  }
  .ui-files-changed-additions {
    color: var(--lens-green-ghost);
  }
  .ui-files-changed-deletions {
    color: var(--lens-red-ghost);
  }
  .ui-files-changed-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
  .ui-files-changed-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ui-files-changed-file {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 16px;
    transition: background-color var(--duration-short) ease-in-out;
    &:not(:last-child) {
      box-shadow: inset 0 -1px var(--lens-background-quinary);
    }
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-secondary);
      }
    }
  }
  .ui-files-changed-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-text-tertiary);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-files-changed-path {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-files-changed-directory {
    color: var(--lens-text-tertiary);
  }
  .ui-files-changed-name {
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-files-changed-file[data-change="added"] .ui-files-changed-name {
    color: var(--lens-green-ghost);
  }
  .ui-files-changed-file[data-change="deleted"] {
    & .ui-files-changed-name,
    & .ui-files-changed-directory {
      color: var(--lens-text-tertiary);
      text-decoration: line-through;
    }
  }
  .ui-files-changed-stats {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    & .ui-files-changed-additions,
    & .ui-files-changed-deletions {
      font-size: 12px;
      line-height: 18px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-files-changed-file {
      transition: none;
    }
  }
}
:scope {
  .ui-flight {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-flight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--lens-stroke);
  }
  .ui-flight-airline {
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-flight-number {
    color: var(--lens-text-tertiary);
    font-size: 13px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
  }
  .ui-flight-status {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin-left: auto;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-text-primary);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    .ui-flight:is([data-status="on-time"], [data-status="landed"]) & {
      background: var(--lens-green-ghost-bg);
      color: var(--lens-green-ghost);
    }
    .ui-flight[data-status="delayed"] & {
      background: var(--lens-orange-a1);
      color: var(--lens-orange);
    }
    .ui-flight[data-status="cancelled"] & {
      background: var(--lens-red-ghost-bg);
      color: var(--lens-red-ghost);
    }
  }
  .ui-flight-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
  }
  .ui-flight-endpoint {
    display: flex;
    flex-direction: column;
    min-width: 0;
    &:last-child {
      align-items: flex-end;
      text-align: right;
    }
  }
  .ui-flight-time {
    color: var(--lens-text-primary);
    font-size: 21px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: var(--lens-tracking-21);
    font-variant-numeric: tabular-nums;
  }
  .ui-flight-code {
    color: var(--lens-text-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
  }
  .ui-flight-city {
    overflow: hidden;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .ui-flight-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 120px;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
  }
  .ui-flight-line {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    color: var(--lens-text-secondary);
    &::before,
    &::after {
      content: "";
      flex: 1;
      height: 0;
      border-top: 1px dashed var(--lens-hairline);
    }
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
  }
  .ui-flight-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
  .ui-flight-detail {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-flight-price {
    color: var(--lens-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    font-variant-numeric: tabular-nums;
  }
}
:scope {
  .ui-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}
:scope {
  .ui-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    font-family: var(--font-regular);
  }
  .ui-image-gallery-item {
    position: relative;
    box-sizing: border-box;
    display: block;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-background-quaternary);
    cursor: pointer;
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      box-shadow: inset 0 0 0 1px var(--lens-stroke);
      pointer-events: none;
    }
    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--duration-medium) var(--ease-smooth);
    }
    @media (hover: hover) {
      &:hover img {
        transform: scale(1.03);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-image-gallery-source {
    position: absolute;
    bottom: 6px;
    left: 6px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 12px);
    height: 20px;
    padding: 0 6px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--lens-white);
    box-shadow: var(--lens-box-shadow-light);
    color: var(--lens-text-primary);
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(2px);
    transition:
      opacity var(--duration-short),
      transform var(--duration-short) var(--ease-snappy);
    .ui-image-gallery-item:is(:hover, :focus-visible) & {
      opacity: 1;
      transform: none;
    }
    @media (hover: none) {
      opacity: 1;
      transform: none;
    }
    .ui-image-gallery-item[data-more] & {
      display: none;
    }
  }
  .ui-image-gallery-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 48%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    font-variant-numeric: tabular-nums;
  }
  .ui-image-gallery-caption {
    margin: 8px 0 0;
    color: var(--lens-text-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-image-gallery-item img,
    .ui-image-gallery-source {
      transition: none;
    }
    .ui-image-gallery-item:hover img {
      transform: none;
    }
  }
}
:scope {
  .ui-inline-citation-text {
    border-radius: 4px;
    transition: background-color var(--duration-short);
    &:has(+ .ui-inline-citation-trigger[data-popup-open]) {
      background: var(--lens-code-highlight);
    }
  }
  .ui-inline-citation-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin: 0 2px;
    padding: 0 7px;
    border-radius: 10px;
    outline: none;
    background: var(--lens-count-bg);
    color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    text-decoration: none;
    vertical-align: 1px;
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-blackberry-black);
        color: var(--lens-white);
      }
    }
    &[data-popup-open] {
      background: var(--lens-blackberry-black);
      color: var(--lens-white);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-inline-citation-trigger-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin: 0 4px 0 -2px;
    & svg,
    & img {
      width: 12px;
      height: 12px;
    }
  }
  .ui-inline-citation-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-inline-citation-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 300px;
    max-width: var(--available-width);
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-shadow-palette);
    color: var(--lens-docs-body);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-inline-citation-source {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .ui-inline-citation-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-docs-muted);
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    transition: color var(--duration-short);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-inline-citation-icon {
    display: flex;
    flex-shrink: 0;
    & svg,
    & img {
      width: 14px;
      height: 14px;
    }
  }
  .ui-inline-citation-host {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-inline-citation-hint {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .ui-inline-citation-title {
    margin: 0;
    color: var(--lens-docs-heading);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-palette);
  }
  .ui-inline-citation-description {
    margin: 0;
    color: var(--lens-docs-body);
  }
  .ui-inline-citation-quote {
    margin: 8px 0 0;
    padding: 0 0 0 10px;
    border-left: 2px solid var(--lens-code-stroke);
    color: var(--lens-docs-body);
    font-style: normal;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-inline-citation-popup {
      transition: opacity var(--duration-popup);
      &[data-starting-style],
      &[data-ending-style] {
        transform: none;
      }
    }
    .ui-inline-citation-text,
    .ui-inline-citation-trigger,
    .ui-inline-citation-link {
      transition: none;
    }
  }
}
:scope {
  .ui-input {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    caret-color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    transition: all var(--duration-popup) ease-out;
    &::placeholder {
      color: var(--lens-text-tertiary);
    }
    @media (hover: hover) {
      &:hover:not([data-disabled], :focus-visible) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-field-focus);
    }
    &:is([data-invalid], [aria-invalid="true"]) {
      box-shadow: var(--lens-ring-field-error);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-input[data-size="small"] {
    height: 32px;
    padding-block: 6px;
  }
  .ui-input:is([data-variant="title"], [data-variant="description"]) {
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    @media (hover: hover) {
      &:hover:not([data-disabled], :focus-visible) {
        box-shadow: none;
      }
    }
    &:focus-visible {
      box-shadow: none;
    }
  }
  .ui-input[data-variant="title"] {
    font-size: 21px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: var(--lens-tracking-21);
  }
  .ui-input[data-variant="description"] {
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
}
:scope {
  .ui-input-group {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 36px;
    overflow: hidden;
    border: none;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover:not(:focus-within) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus-within {
      box-shadow: var(--lens-ring-field-focus);
    }
    &:has(.ui-input-group-input[aria-invalid="true"]) {
      box-shadow: var(--lens-ring-field-error);
    }
    &:has(.ui-input-group-input[data-disabled]) {
      opacity: 0.5;
    }
  }
  .ui-input-group[data-size="small"] {
    height: 32px;
  }
  .ui-input-group-addon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    padding: 0 0 0 12px;
    color: var(--lens-text-tertiary);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    white-space: nowrap;
    &:last-child {
      padding: 0 12px 0 0;
    }
    & svg {
      width: 16px;
      height: 16px;
      color: var(--lens-text-secondary);
    }
  }
  .ui-input-group-input {
    position: relative;
    top: 0.5px;
    box-sizing: border-box;
    flex: 1;
    align-self: stretch;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    outline: none;
    background: transparent;
    color: inherit;
    caret-color: var(--lens-blackberry-black);
    font: inherit;
    font-weight: 450;
    &::placeholder {
      color: var(--lens-text-tertiary);
    }
    .ui-input-group-addon + & {
      padding-left: 8px;
    }
    &:has(+ .ui-input-group-addon) {
      padding-right: 8px;
    }
  }
}
:scope {
  .ui-kbd {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--lens-count-bg);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
  }
  .ui-tooltip-popup .ui-kbd {
    background: var(--lens-white-a1);
    color: var(--lens-white-a5);
  }
  .ui-kbd[data-size="small"] {
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    font-size: 11px;
    line-height: 16px;
  }
}
:scope {
  .ui-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-label-required {
    color: var(--lens-text-menu-destructive);
  }
  .ui-label-optional {
    color: var(--lens-text-tertiary);
  }
}
:scope {
  .ui-link {
    display: inline;
    border-radius: 4px;
    outline: none;
    color: inherit;
    font-weight: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-text-secondary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-link[data-variant="back"] {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
    text-decoration: none;
    transition: transform var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-text-secondary);
        transform: translate(2px);
      }
    }
  }
  .ui-link-external {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 2px;
    vertical-align: -2px;
  }
}
:scope {
  .ui-link-preview {
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    text-decoration: none;
    transition:
      background-color var(--duration-short) ease-in-out,
      border-color var(--duration-short) ease-in-out;
    @media (hover: hover) {
      &:hover {
        border-color: var(--lens-hairline);
        background: var(--lens-background-secondary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-link-preview-media {
    flex-shrink: 0;
    width: 132px;
    border-right: 1px solid var(--lens-stroke);
    background: var(--lens-background-quaternary);
    & img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .ui-link-preview-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 12px 16px;
  }
  .ui-link-preview-site {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
  }
  .ui-link-preview-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--lens-background-quaternary);
    box-shadow: inset 0 0 0 1px var(--lens-stroke);
    color: var(--lens-text-secondary);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    & img,
    & svg {
      width: 100%;
      height: 100%;
    }
  }
  .ui-link-preview-title {
    overflow: hidden;
    color: var(--lens-text-primary);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-link-preview-description {
    display: -webkit-box;
    overflow: hidden;
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-link-preview {
      transition: none;
    }
  }
}
:scope {
  .ui-menu-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-menu-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 200px;
    max-height: min(298px, var(--available-height));
    padding: 4px;
    overflow: auto;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-menu-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-menu-item {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    padding: 8px 12px 8px 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    font-weight: 425;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
      margin-right: 8px;
      flex-shrink: 0;
    }
    &:hover,
    &[data-highlighted],
    &[data-popup-open] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
    &[data-variant="danger"] {
      color: var(--lens-text-menu-destructive);
      &:hover,
      &[data-highlighted] {
        background: var(--lens-red-tint);
        color: var(--lens-text-menu-destructive);
      }
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-menu-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-menu-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 16px;
    color: var(--lens-text-menu-tertiary);
    font-size: 13px;
    font-weight: 425;
  }
  .ui-menu-key {
    font-family: inherit;
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
    color: var(--lens-text-menu-tertiary);
  }
  .ui-menu-separator {
    flex-shrink: 0;
    height: 1px;
    margin: 2px -4px;
    background: var(--lens-stroke-light);
  }
}
:scope {
  .ui-menubar {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .ui-menubar-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        color: var(--lens-text-primary);
      }
    }
    &[data-popup-open] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-primary);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-disabled] {
      opacity: 0.5;
    }
  }
}
:scope {
  .ui-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    font-family: inherit;
  }
  .ui-message[data-from="user"] {
    align-items: flex-end;
  }
  .ui-message-content {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    color: var(--lens-docs-body);
    font-size: 14px;
    line-height: 22px;
    overflow-wrap: anywhere;
    & p {
      margin: 0;
    }
    & p + p {
      margin-top: 12px;
    }
    & .ui-reasoning {
      margin-bottom: 4px;
    }
    & code {
      padding: 2px 5px;
      border-radius: 6px;
      background: var(--lens-code-pill-bg);
      box-shadow: var(--lens-code-pill-ring);
      color: var(--lens-code-inline);
      font-family: var(--font-monospace);
      font-size: 13px;
    }
  }
  .ui-message[data-from="user"] .ui-message-content {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--lens-background-quaternary);
    color: var(--lens-docs-heading);
    font-size: 14px;
    line-height: 21px;
  }
  .ui-message-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: -6px;
  }
  .ui-message-timestamp {
    margin-left: auto;
    padding-left: 8px;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .ui-message-action {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
      color: var(--lens-docs-heading);
    }
    &[data-pressed] {
      background: var(--lens-background-quaternary);
      color: var(--lens-docs-heading);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-message-action {
      transition: none;
    }
  }
}
:scope {
  .ui-meter {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    row-gap: 8px;
    width: 240px;
    max-width: 100%;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-meter-label {
    color: var(--lens-text-secondary);
    font-weight: 400;
  }
  .ui-meter-value {
    color: var(--lens-text-tertiary);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-meter-track {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--lens-switch-track);
  }
  .ui-meter-indicator {
    border-radius: inherit;
    background: var(--lens-green);
    transition: width var(--duration-progress) ease;
  }
}
:scope {
  .ui-model-selector-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    margin: 0;
    padding: 0 6px 0 8px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    white-space: nowrap;
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-quaternary);
        color: var(--lens-docs-heading);
      }
    }
    &[data-popup-open] {
      background: var(--lens-background-quaternary);
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-model-selector-trigger-icon {
    display: flex;
    flex-shrink: 0;
    margin-right: 2px;
    & svg,
    & img {
      width: 16px;
      height: 16px;
    }
  }
  .ui-model-selector-detail {
    color: var(--lens-text-tertiary);
    transition: color var(--duration-short);
    [data-popup-open] > & {
      color: var(--lens-docs-muted);
    }
    @media (hover: hover) {
      :hover > & {
        color: var(--lens-docs-muted);
      }
    }
  }
  .ui-model-selector-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-popup-open] > & {
      transform: rotate(180deg);
    }
  }
  .ui-model-selector-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-model-selector-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 220px;
    max-width: var(--available-width);
    max-height: min(360px, var(--available-height));
    padding: 4px;
    overflow: auto;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-shadow-palette);
    color: var(--lens-docs-heading);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 20px;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-model-selector-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .ui-model-selector-label {
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    color: var(--lens-docs-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    user-select: none;
  }
  .ui-model-selector-item {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 6px;
    outline: none;
    color: var(--lens-docs-heading);
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    cursor: pointer;
    user-select: none;
    transition: background-color var(--duration-popup);
    &[data-highlighted] {
      background: var(--lens-background-quaternary);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-model-selector-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    & svg,
    & img {
      width: 16px;
      height: 16px;
    }
  }
  .ui-model-selector-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }
  .ui-model-selector-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-model-selector-description {
    color: var(--lens-docs-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
  }
  .ui-model-selector-badge {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
  }
  .ui-model-selector-indicator {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    color: var(--lens-docs-heading);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-model-selector-separator {
    height: 1px;
    margin: 4px -4px;
    background: var(--lens-code-stroke);
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-model-selector-popup {
      transition: opacity var(--duration-popup);
      &[data-starting-style],
      &[data-ending-style] {
        transform: none;
      }
    }
    .ui-model-selector-trigger,
    .ui-model-selector-detail,
    .ui-model-selector-chevron,
    .ui-model-selector-item {
      transition: none;
    }
  }
}
:scope {
  .ui-navigation-menu {
    min-width: max-content;
  }
  .ui-navigation-menu-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ui-navigation-menu-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    outline: none;
    background: transparent;
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        color: var(--lens-text-primary);
      }
    }
    &[data-popup-open] {
      background: var(--lens-stroke);
      color: var(--lens-text-primary);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-navigation-menu-positioner {
    z-index: 2147483647;
    box-sizing: border-box;
    width: var(--positioner-width);
    height: var(--positioner-height);
    max-width: var(--available-width);
    outline: 0;
    &::before {
      content: "";
      position: absolute;
    }
    &[data-side="bottom"]::before {
      top: calc(var(--side-offset) * -1);
      right: 0;
      left: 0;
      height: var(--side-offset);
    }
    &[data-side="top"]::before {
      right: 0;
      bottom: calc(var(--side-offset) * -1);
      left: 0;
      height: var(--side-offset);
    }
    &[data-side="left"]::before {
      top: 0;
      right: calc(var(--side-offset) * -1);
      bottom: 0;
      width: var(--side-offset);
    }
    &[data-side="right"]::before {
      top: 0;
      bottom: 0;
      left: calc(var(--side-offset) * -1);
      width: var(--side-offset);
    }
  }
  .ui-navigation-menu-popup {
    position: relative;
    box-sizing: border-box;
    width: var(--popup-width);
    height: var(--popup-height);
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-menu-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-navigation-menu-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .ui-navigation-menu-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: max-content;
    min-width: 200px;
    max-width: 320px;
    padding: 4px;
  }
  .ui-navigation-menu-link {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px 6px 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    font-weight: 425;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-blackberry-black-a03);
        color: var(--lens-text-menu-primary);
      }
    }
    &:focus-visible,
    &[data-active] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
  }
  .ui-navigation-menu-title {
    font-weight: 425;
  }
  .ui-navigation-menu-description {
    margin-top: 2px;
    color: var(--lens-text-menu-tertiary);
    font-size: 13px;
    line-height: 20px;
  }
}
:scope {
  .ui-number-field {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-number-field-scrubArea {
    color: var(--lens-text-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    cursor: ew-resize;
    user-select: none;
    & label {
      cursor: inherit;
    }
  }
  .ui-number-field-group {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 4px;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover:not([data-disabled], :focus-within) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:has(.ui-number-field-input:focus-visible) {
      box-shadow: var(--lens-ring-field-focus);
    }
    &[data-invalid] {
      box-shadow: var(--lens-ring-field-error);
    }
  }
  .ui-number-field-input {
    box-sizing: border-box;
    width: 6ch;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 4px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--lens-text-primary);
    caret-color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    font-variant-numeric: tabular-nums;
    text-align: center;
    &::placeholder {
      color: var(--lens-text-tertiary);
    }
  }
  .ui-number-field-stepper {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    outline: none;
    background: transparent;
    color: var(--lens-text-secondary);
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background: var(--lens-blackberry-black-a03);
        color: var(--lens-text-primary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-disabled] {
      color: var(--lens-text-tertiary);
      cursor: not-allowed;
    }
    & svg {
      width: 16px;
      height: 16px;
    }
  }
}
:scope {
  .ui-otp-field {
    display: flex;
    align-items: center;
    gap: 8px;
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-otp-field-input {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    caret-color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover:not([data-disabled], :focus-visible) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-field-focus);
    }
  }
  .ui-otp-field-separator {
    width: 8px;
    height: 1px;
    border-radius: 1px;
    background: var(--lens-text-tertiary);
  }
}
:scope {
  .ui-pagination {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
  }
  .ui-pagination-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 32px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover:not(:disabled, [aria-current="page"]) {
        background: var(--lens-background-quaternary);
        color: var(--lens-blackberry-black);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-control-focus);
    }
    &[aria-current="page"] {
      background: var(--lens-white);
      box-shadow: var(--lens-ring-control);
      color: var(--lens-text-primary);
    }
    &[data-direction] {
      padding: 0;
    }
    &:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-pagination[data-size="small"] .ui-pagination-button {
    height: 24px;
    min-width: 24px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 18px;
  }
  .ui-pagination-gap {
    min-width: 20px;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    text-align: center;
  }
}
:scope {
  .ui-place {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-place-media {
    position: relative;
    display: block;
    height: 140px;
    border-bottom: 1px solid var(--lens-stroke);
    background: var(--lens-background-quaternary);
    & > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .ui-place-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2c2d30;
    box-shadow:
      0 0 0 3px #fff,
      0 1px 4px rgb(0 0 0 / 24%);
    color: #fff;
    transform: translate(-50%, -50%);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-place-content {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 2px;
    padding: 14px 16px;
  }
  .ui-place-title {
    color: var(--lens-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: var(--lens-tracking-16);
  }
  .ui-place-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--lens-text-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
    & svg {
      width: 12px;
      height: 12px;
      color: var(--lens-orange);
    }
  }
  .ui-place-rating-count {
    color: var(--lens-text-tertiary);
    font-weight: 400;
  }
  .ui-place-meta,
  .ui-place-address,
  .ui-place-hours {
    flex-basis: 100%;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-place-meta {
    color: var(--lens-text-tertiary);
  }
  .ui-place-address {
    color: var(--lens-text-secondary);
  }
  .ui-place-hours {
    color: var(--lens-red-ghost);
    font-weight: 500;
    &[data-open] {
      color: var(--lens-green-ghost);
    }
  }
  .ui-place-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
}
:scope {
  .ui-plan {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
  }
  .ui-plan-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px 12px 16px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--lens-docs-heading);
    font: inherit;
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: background-color var(--duration-short) var(--ease-snappy);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-secondary);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-plan-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-plan-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-plan-progress {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
  .ui-plan-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-plan-content {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    overflow: hidden;
    transition: height var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
  .ui-plan-description {
    margin: 0;
    padding: 0 16px 12px;
    color: var(--lens-docs-body);
  }
  .ui-plan-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--lens-code-stroke);
    list-style: none;
    counter-reset: lens-plan-step;
  }
  .ui-plan-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--lens-docs-body);
    counter-increment: lens-plan-step;
    &:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 24px;
      bottom: -12px;
      left: 10.5px;
      width: 1px;
      background: var(--lens-code-stroke);
    }
  }
  .ui-plan-step-indicator {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--lens-code-stroke);
    border-radius: 50%;
    background: var(--lens-white);
    color: var(--lens-docs-step);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.32px;
    font-variant-numeric: tabular-nums;
    transition: all var(--duration-popup);
    &::before {
      content: counter(lens-plan-step);
    }
    & svg {
      display: none;
      width: 16px;
      height: 16px;
    }
  }
  .ui-plan-step-label {
    min-width: 0;
    padding-top: 0;
  }
  .ui-plan-step[data-status="done"] {
    & .ui-plan-step-indicator {
      border-color: var(--lens-callout-success-stroke);
      background: var(--lens-callout-success-bg);
      color: var(--lens-callout-success-text);
      &::before {
        content: none;
      }
      & svg {
        display: block;
      }
    }
    & .ui-plan-step-label {
      color: var(--lens-docs-muted);
    }
  }
  .ui-plan-step[data-status="running"] {
    & .ui-plan-step-indicator {
      border-color: var(--lens-docs-heading);
      color: var(--lens-docs-heading);
    }
    & .ui-plan-step-label {
      background: linear-gradient(
          90deg,
          var(--lens-docs-heading) 35%,
          var(--lens-docs-muted) 50%,
          var(--lens-docs-heading) 65%
        )
        0 0 / 300% 100%;
      background-clip: text;
      color: transparent;
      font-weight: 500;
      animation: lens-plan-shimmer var(--duration-skeleton) ease-in-out infinite;
    }
  }
  .ui-plan-step[data-status="error"] {
    & .ui-plan-step-indicator {
      border-color: var(--lens-callout-danger-stroke);
      background: var(--lens-callout-danger-bg);
      color: var(--lens-callout-danger-text);
    }
    & .ui-plan-step-label {
      color: var(--lens-callout-danger-text);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-plan-step[data-status="running"] .ui-plan-step-label {
      animation: none;
      background: none;
      color: var(--lens-docs-heading);
    }
    .ui-plan-content,
    .ui-plan-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-popover-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-popover-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    max-width: min(320px, var(--available-width));
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-popover-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-popover-description {
    margin: 0;
    color: var(--lens-text-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
}
:scope {
  .ui-preview-card-trigger {
    border-radius: 4px;
    outline: none;
    color: inherit;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration-short);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-text-secondary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-preview-card-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-preview-card-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 320px;
    max-width: var(--available-width);
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
}
:scope {
  .ui-product-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 12px;
  }
  .ui-product-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    outline: none;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    text-decoration: none;
    transition:
      border-color var(--duration-short) ease-in-out,
      box-shadow var(--duration-short) ease-in-out;
    @media (hover: hover) {
      &:hover {
        border-color: var(--lens-hairline);
        box-shadow: var(--lens-box-shadow-light);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--lens-stroke);
    background: #fff;
    & > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
  .ui-product-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
  }
  .ui-product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px 12px;
  }
  .ui-product-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--lens-text-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .ui-product-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--lens-text-secondary);
    font-size: 12px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    & svg {
      width: 12px;
      height: 12px;
      color: var(--lens-orange);
    }
  }
  .ui-product-card-rating-count {
    color: var(--lens-text-tertiary);
  }
  .ui-product-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    font-variant-numeric: tabular-nums;
  }
  .ui-product-card-original-price {
    color: var(--lens-text-tertiary);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }
  .ui-product-card-seller {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    overflow: hidden;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }
  .ui-product-card-seller-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lens-avatar-bg);
    color: var(--lens-text-secondary);
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-product-card {
      transition: none;
    }
  }
}
:scope {
  .ui-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    row-gap: 8px;
    width: 240px;
    max-width: 100%;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-progress-label {
    color: var(--lens-text-secondary);
    font-weight: 400;
  }
  .ui-progress-value {
    color: var(--lens-text-tertiary);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-progress-track {
    position: relative;
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--lens-switch-track);
  }
  .ui-progress-indicator {
    border-radius: inherit;
    background: var(--lens-green);
    transition: width var(--duration-progress) ease;
    &[data-indeterminate] {
      width: 40%;
      animation: lens-progress-indeterminate 1.2s ease-in-out infinite;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-progress-indicator[data-indeterminate] {
      width: 100%;
      opacity: 0.5;
      animation: none;
    }
  }
}
:scope {
  .ui-prompt-input-frame {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 12px;
    background: var(--lens-white);
    box-shadow:
      var(--lens-ring-field),
      0 2px 8px rgb(0 0 0 / 4%);
    font-family: var(--font-regular);
    transition: box-shadow var(--duration-short);
    &:hover {
      box-shadow:
        var(--lens-ring-field-hover),
        0 2px 8px rgb(0 0 0 / 4%);
    }
    &:focus-within {
      box-shadow:
        var(--lens-ring-field-focus),
        0 2px 8px rgb(0 0 0 / 4%);
    }
  }
  .ui-prompt-input-bar {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 6px 4px 14px;
    &[data-side="top"] {
      display: none;
    }
    &[data-side="bottom"] {
      order: 2;
      border-top: 1px solid var(--lens-stroke);
      border-radius: 0 0 12px 12px;
      background: var(--lens-background-tertiary);
    }
    & .ui-prompt-input-button[data-icon-only] {
      width: 24px;
      height: 24px;
      margin-left: auto;
      border-radius: 6px;
    }
  }
  .ui-prompt-input-bar-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--lens-docs-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-prompt-input {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    background: var(--lens-white);
    box-shadow:
      var(--lens-ring-field),
      0 2px 8px rgb(0 0 0 / 4%);
    font-family: inherit;
    transition: box-shadow var(--duration-short);
    &:hover {
      box-shadow:
        var(--lens-ring-field-hover),
        0 2px 8px rgb(0 0 0 / 4%);
    }
    &:focus-within {
      box-shadow:
        var(--lens-ring-field-focus),
        0 2px 8px rgb(0 0 0 / 4%);
    }
    .ui-prompt-input-frame > & {
      order: 1;
      border-radius: 12px 12px 0 0;
      background: transparent;
      box-shadow: none;
      &:last-child {
        border-radius: 12px;
      }
    }
  }
  .ui-prompt-input-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 12px 0;
  }
  .ui-prompt-input-textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 46px;
    max-height: 200px;
    margin: 0;
    padding: 12px 14px 4px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--lens-docs-heading);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: var(--lens-tracking-palette);
    field-sizing: content;
    resize: none;
    &::placeholder {
      color: var(--lens-docs-muted);
      opacity: 1;
    }
  }
  .ui-prompt-input-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
  }
  .ui-prompt-input-tools {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 4px;
    min-width: 0;
    & .ui-model-selector-trigger {
      display: none;
    }
  }
  .ui-prompt-input-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    & .ui-context-trigger,
    & > .ui-prompt-input-button {
      display: none;
    }
  }
  .ui-prompt-input-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 28px;
    margin: 0;
    padding: 0 8px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
    &[data-icon-only] {
      width: 28px;
      padding: 0;
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-background-quaternary);
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
      color: var(--lens-docs-heading);
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-prompt-input-submit {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 0 0 4px;
    padding: 0;
    border: none;
    border-radius: 8px;
    outline: 3px solid transparent;
    outline-offset: 0;
    background: var(--lens-blackberry-black);
    color: var(--lens-white);
    cursor: pointer;
    transition: all var(--duration-short);
    &:first-child,
    .ui-prompt-input-tools + & {
      margin-left: auto;
    }
    & svg {
      width: 16px;
      height: 16px;
    }
    & .ui-prompt-input-submit-voice {
      display: none;
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-black-hover);
      }
    }
    &:focus-visible {
      outline-color: var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.3;
      background: var(--lens-black-disabled);
      cursor: not-allowed;
    }
    &[data-status="error"] {
      background: var(--lens-red);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-prompt-input-frame,
    .ui-prompt-input,
    .ui-prompt-input-button,
    .ui-prompt-input-submit {
      transition: none;
    }
  }
}
:scope {
  .ui-question {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-question-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 2px;
  }
  .ui-question-title {
    flex: 1;
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
  }
  .ui-question-step {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-text-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .ui-question-description {
    margin: 0;
    padding: 0 16px;
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-question-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px 8px;
  }
  .ui-question-option {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: inset 0 0 0 1px var(--lens-stroke);
    cursor: pointer;
    transition:
      background-color var(--duration-short) ease-in-out,
      box-shadow var(--duration-short) ease-in-out;
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-secondary);
      }
    }
    &:has(.ui-question-radio[data-checked]) {
      background: var(--lens-background-tertiary);
      box-shadow: inset 0 0 0 1px var(--lens-green);
    }
    &:has(.ui-question-radio:focus-visible) {
      box-shadow:
        inset 0 0 0 1px var(--lens-hairline-hover),
        var(--lens-focus-element);
    }
  }
  .ui-question-radio {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--lens-hairline-checkbox);
    border-radius: 50%;
    outline: none;
    background: var(--lens-background-secondary);
    cursor: pointer;
    transition: all var(--duration-popup);
    &[data-checked] {
      border-color: var(--lens-green);
      background: var(--lens-green);
    }
  }
  .ui-question-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    transition: opacity var(--duration-popup);
    &[data-unchecked] {
      opacity: 0;
    }
  }
  .ui-question-option-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }
  .ui-question-option-label {
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-question-option-description {
    color: var(--lens-text-tertiary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-question-shortcut {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--lens-count-bg);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
  }
  .ui-question-other {
    box-sizing: border-box;
    width: calc(100% - 32px);
    height: 36px;
    margin: 0 16px 16px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    transition: box-shadow var(--duration-short);
    &::placeholder {
      color: var(--lens-placeholder);
      opacity: 1;
    }
    @media (hover: hover) {
      &:hover {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus {
      box-shadow: var(--lens-ring-field-focus);
    }
  }
  .ui-question-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
  .ui-question-progress {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .ui-question-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--lens-blackberry-black-a2);
    transition:
      width var(--duration-medium) var(--ease-snappy),
      background-color var(--duration-medium);
    &[data-state="complete"] {
      background: var(--lens-green);
    }
    &[data-state="current"] {
      width: 16px;
      background: var(--lens-blackberry-black);
    }
  }
  .ui-question-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-question-option,
    .ui-question-radio,
    .ui-question-indicator,
    .ui-question-other,
    .ui-question-dot {
      transition: none;
    }
  }
}
:scope {
  .ui-queue {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
  }
  .ui-queue-section + .ui-queue-section {
    border-top: 1px solid var(--lens-code-stroke);
  }
  .ui-queue-section-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 16px 0 12px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--lens-docs-heading);
    font: inherit;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: background-color var(--duration-short) var(--ease-snappy);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-secondary);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-queue-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-queue-section-label {
    flex: 1;
    min-width: 0;
  }
  .ui-queue-section-count {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-blackberry-black);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
  }
  .ui-queue-section-content {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    overflow: hidden;
    transition: height var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
  .ui-queue-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0 8px 8px;
    list-style: none;
  }
  .ui-queue-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 6px;
    transition: background-color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
      }
    }
  }
  .ui-queue-item-indicator {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border-radius: 4px;
    background: var(--lens-white);
    box-shadow: 0 1px 1px #00000008, 0 0 0 1px var(--lens-hairline-checkbox);
    color: transparent;
    transition: all var(--duration-popup);
    & svg {
      width: 14px;
      height: 14px;
    }
  }
  .ui-queue-item-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .ui-queue-item-label {
    color: var(--lens-docs-heading);
  }
  .ui-queue-item-description {
    color: var(--lens-docs-muted);
    font-size: 13px;
    line-height: 20px;
  }
  .ui-queue-item[data-done] {
    & .ui-queue-item-indicator {
      background: var(--lens-green);
      box-shadow: none;
      color: #fff;
    }
    & .ui-queue-item-label {
      color: var(--lens-docs-muted);
      text-decoration: line-through;
      text-decoration-color: var(--lens-blackberry-black-a2);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-queue-section-content,
    .ui-queue-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-radio-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ui-radio-group-item {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--lens-hairline-checkbox);
    border-radius: 50%;
    outline: none;
    background: var(--lens-background-secondary);
    cursor: pointer;
    transition: all var(--duration-popup);
    @media (hover: hover) {
      &:hover:not([data-disabled], [data-checked]) {
        border-color: var(--lens-hairline-hover);
        background: var(--lens-background-tertiary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-checked] {
      border-color: var(--lens-green);
      background: var(--lens-green);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-radio-group-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lens-white);
    transition: opacity var(--duration-popup);
    &[data-unchecked] {
      opacity: 0;
    }
  }
}
:scope {
  .ui-reasoning {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
  }
  .ui-reasoning-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    max-width: 100%;
    height: 30px;
    margin: 0;
    padding: 0 6px 0 0;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font: inherit;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &[data-panel-open] {
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-reasoning-icon {
    display: flex;
    flex-shrink: 0;
    & svg,
    & .ui-spinner {
      width: 16px;
      height: 16px;
    }
  }
  .ui-reasoning-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-reasoning-description {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-reasoning-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-reasoning[data-status="running"] .ui-reasoning-title {
    background: linear-gradient(
        90deg,
        var(--lens-docs-muted) 35%,
        var(--lens-docs-heading) 50%,
        var(--lens-docs-muted) 65%
      )
      0 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    animation: lens-reasoning-shimmer var(--duration-skeleton) ease-in-out infinite;
  }
  .ui-reasoning-content {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    margin: 2px 0 0 7px;
    padding: 2px 0 4px 17px;
    overflow: hidden;
    border-left: 1px solid var(--lens-code-stroke);
    color: var(--lens-docs-body);
    white-space: pre-wrap;
    transition:
      height var(--duration-short) var(--ease-snappy),
      padding-block var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
      padding-block: 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-reasoning[data-status="running"] .ui-reasoning-title {
      animation: none;
      background: none;
      color: var(--lens-docs-muted);
    }
    .ui-reasoning-content,
    .ui-reasoning-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-scroll-area {
    --scroll-area-thumb: rgb(217 217 217);
    --scroll-area-thumb-hover: rgb(190 190 190);
    box-sizing: border-box;
  }
  &[data-theme="dark"] .ui-scroll-area {
    --scroll-area-thumb: rgb(70 71 75);
    --scroll-area-thumb-hover: rgb(96 97 102);
  }
  .ui-scroll-area-viewport {
    box-sizing: border-box;
    height: 100%;
    border-radius: inherit;
    outline: none;
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-scroll-area-scrollbar {
    box-sizing: border-box;
    display: flex;
    padding: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-short);
    &[data-orientation="vertical"] {
      width: 10px;
    }
    &[data-orientation="horizontal"] {
      height: 10px;
    }
    &[data-hovering],
    &[data-scrolling] {
      opacity: 1;
      pointer-events: auto;
    }
  }
  .ui-scroll-area-thumb {
    border-radius: 1rem;
    background: var(--scroll-area-thumb);
    transition: background-color var(--duration-short);
    &[data-orientation="vertical"] {
      width: 100%;
    }
    &[data-orientation="horizontal"] {
      height: 100%;
    }
    &:hover,
    &:active {
      background: var(--scroll-area-thumb-hover);
    }
  }
}
:scope {
  .ui-select-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 160px;
    height: 36px;
    margin: 0;
    padding: 11px 36px 11px 12px;
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white) var(--lens-icon-chevron) no-repeat right 8px center / 16px 16px;
    box-shadow: var(--lens-ring-trigger);
    color: var(--lens-text-menu-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short);
    & > span {
      overflow: hidden;
      text-overflow: ellipsis;
    }
    &[data-placeholder] {
      color: var(--lens-text-menu-secondary);
    }
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background-color: var(--lens-background-tertiary);
      }
    }
    &[data-popup-open] {
      background-color: var(--lens-background-tertiary);
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-field-focus);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-select-trigger[data-variant="profile"] {
    color: var(--lens-text-strong);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    transition:
      background var(--duration-short),
      box-shadow var(--duration-short);
  }
  .ui-select-trigger[data-size="small"] {
    height: 32px;
    padding-block: 6px;
  }
  .ui-select-positioner {
    z-index: 2147483647;
    outline: 0;
  }
  .ui-select-popup {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: max(200px, var(--anchor-width));
    border: 0;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-menu-secondary);
    font-family: var(--font-regular);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    transform-origin: var(--transform-origin);
    transition: all var(--duration-popup);
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: scale(0.98);
    }
  }
  .ui-select-list {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(290px, var(--available-height));
    padding: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 4px;
    outline: none;
  }
  .ui-select-item {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    padding: 8px 12px 8px 8px;
    border-radius: 4px;
    outline: none;
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    font-weight: 425;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    cursor: pointer;
    user-select: none;
    transition: all var(--duration-short);
    &:hover,
    &[data-highlighted],
    &[data-selected] {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-select-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-select-indicator {
    display: flex;
    order: 1;
    margin-left: 8px;
    color: var(--lens-text-menu-primary);
    transition: opacity var(--duration-popup);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-select-shortcut {
    margin-left: 16px;
    color: var(--lens-text-menu-tertiary);
    font-size: 13px;
    font-weight: 425;
  }
  .ui-select-separator {
    flex-shrink: 0;
    height: 1px;
    margin: 2px -4px;
    background: var(--lens-stroke-light);
  }
}
:scope {
  .ui-separator {
    flex-shrink: 0;
    border: 0 solid var(--lens-stroke);
    &[data-orientation="horizontal"] {
      width: 100%;
      height: 0;
      border-bottom-width: 1px;
    }
    &[data-orientation="vertical"] {
      align-self: stretch;
      width: 0;
      border-left-width: 1px;
    }
  }
}
:scope {
  .ui-shimmer {
    display: inline-block;
    background: linear-gradient(
        90deg,
        var(--lens-docs-muted) 35%,
        var(--lens-docs-heading) 50%,
        var(--lens-docs-muted) 65%
      )
      0 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-palette);
    animation: lens-shimmer-sweep var(--duration-skeleton) ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-shimmer {
      animation: none;
      background: none;
      color: var(--lens-docs-muted);
    }
  }
}
:scope {
  .ui-shipment {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 16px;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-shipment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -16px -16px 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lens-stroke);
  }
  .ui-shipment-logo {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--lens-blackberry-black);
    color: var(--lens-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    & img,
    & svg {
      width: 100%;
      height: 100%;
      border-radius: inherit;
    }
  }
  .ui-shipment-merchant {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .ui-shipment-name {
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-shipment-meta {
    overflow: hidden;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-shipment-status {
    color: var(--lens-text-primary);
    font-size: 21px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: var(--lens-tracking-21);
    .ui-shipment[data-status="delivered"] & {
      color: var(--lens-green-ghost);
    }
    .ui-shipment[data-status="delayed"] & {
      color: var(--lens-red-ghost);
    }
  }
  .ui-shipment-arrival {
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-shipment-item {
    color: var(--lens-text-tertiary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-shipment-progress {
    position: relative;
    margin-top: 20px;
    padding: 0 5px;
  }
  .ui-shipment-track {
    position: absolute;
    top: 4px;
    right: 5px;
    left: 5px;
    height: 2px;
    overflow: hidden;
    border-radius: 1px;
    background: var(--lens-blackberry-black-a1);
  }
  .ui-shipment-fill {
    display: block;
    width: calc(var(--progress) * 100%);
    height: 100%;
    border-radius: inherit;
    background: var(--lens-green);
    transition: width var(--duration-progress) var(--ease-smooth);
    .ui-shipment[data-status="delayed"] & {
      background: var(--lens-red);
    }
  }
  .ui-shipment-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ui-shipment-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 0;
    &:first-child {
      align-items: flex-start;
      & > * {
        margin-left: -5px;
      }
    }
    &:last-child {
      align-items: flex-end;
      & > * {
        margin-right: -5px;
      }
    }
  }
  .ui-shipment-node {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lens-white);
    box-shadow: inset 0 0 0 1.5px var(--lens-hairline-checkbox);
    [data-state="complete"] > & {
      background: var(--lens-green);
      box-shadow: none;
    }
    [data-state="current"] > & {
      background: var(--lens-white);
      box-shadow:
        inset 0 0 0 3px var(--lens-green),
        0 0 0 3px var(--lens-green-a1);
    }
    .ui-shipment[data-status="delayed"] [data-state="current"] > & {
      box-shadow:
        inset 0 0 0 3px var(--lens-red),
        0 0 0 3px var(--lens-red-a1);
    }
  }
  .ui-shipment-step-label {
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    [data-state="complete"] > & {
      color: var(--lens-text-secondary);
    }
    [data-state="current"] > & {
      color: var(--lens-text-primary);
      font-weight: 500;
    }
  }
  .ui-shipment-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    & > * {
      flex: 1;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-shipment-fill {
      transition: none;
    }
  }
}
:scope {
  .ui-skeleton {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.25rem;
    background-color: var(--lens-skeleton-base);
    line-height: 1;
    user-select: none;
    &::after {
      content: " ";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(
        90deg,
        var(--lens-skeleton-base) 0%,
        var(--lens-skeleton-highlight) 50%,
        var(--lens-skeleton-base) 100%
      );
      background-repeat: no-repeat;
      transform: translate(-100%);
      animation: lens-skeleton-shimmer var(--duration-skeleton) ease-in-out infinite;
    }
  }
  .ui-skeleton[data-variant="text"] {
    box-sizing: border-box;
    width: 100%;
    height: 1.2em;
    height: 1lh;
    padding-block: 0.25lh;
    background-clip: content-box;
    &::after {
      inset: 0.25lh 0;
    }
  }
  .ui-skeleton[data-variant="circle"] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  .ui-skeleton[data-variant="rect"] {
    width: 100%;
    height: 64px;
    border-radius: 10px;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-skeleton::after {
      display: none;
    }
  }
}
:scope {
  .ui-slider {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    row-gap: 8px;
    width: 240px;
    max-width: 100%;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-slider-label {
    color: var(--lens-text-secondary);
    font-weight: 400;
  }
  .ui-slider-value {
    color: var(--lens-text-tertiary);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-slider-control {
    box-sizing: border-box;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    padding-block: 6px;
    touch-action: none;
    user-select: none;
  }
  .ui-slider-track {
    width: 100%;
    height: 4px;
    border-radius: 1rem;
    background: var(--lens-switch-track);
  }
  .ui-slider-indicator {
    border-radius: inherit;
    background: var(--lens-green);
  }
  .ui-slider-thumb {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lens-white);
    box-shadow:
      var(--lens-box-shadow-thumb),
      0 0 0 1px var(--lens-hairline);
    transition: box-shadow var(--duration-short);
    &:has(:focus-visible) {
      box-shadow: var(--lens-focus-switch);
    }
  }
}
:scope {
  .ui-sources {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
  }
  .ui-sources-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    max-width: 100%;
    height: 30px;
    margin: 0;
    padding: 0 6px 0 0;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font: inherit;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &[data-panel-open] {
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-sources-icon {
    display: flex;
    flex-shrink: 0;
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-sources-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-sources-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-sources-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: var(--collapsible-panel-height);
    margin-top: 6px;
    padding: 4px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    transition:
      height var(--duration-short) var(--ease-snappy),
      padding-block var(--duration-short) var(--ease-snappy),
      margin-top var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
      margin-top: 0;
      padding-block: 0;
    }
  }
  .ui-sources-source {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 6px;
    outline: none;
    color: var(--lens-docs-heading);
    text-decoration: none;
    transition: background-color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-sources-source-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-sources-source-title {
    overflow: hidden;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-sources-source-description {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--lens-docs-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-sources-source-hint {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .ui-sources-source-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-left: auto;
    color: var(--lens-docs-muted);
    transition: color var(--duration-popup);
    .ui-sources-source:hover > & {
      color: var(--lens-docs-heading);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-sources-content,
    .ui-sources-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-spinner {
    --spinner-size: 16px;
    box-sizing: border-box;
    display: inline-block;
    flex-shrink: 0;
    width: var(--spinner-size);
    height: var(--spinner-size);
    border: 2px solid var(--lens-spinner-track);
    border-top-color: var(--lens-spinner);
    border-radius: 50%;
    vertical-align: middle;
    animation: lens-spinner-spin var(--duration-spinner) linear infinite;
  }
  .ui-spinner[data-size="small"] {
    --spinner-size: 12px;
    border-width: 1.5px;
  }
  .ui-spinner[data-size="medium"] {
    --spinner-size: 16px;
  }
  .ui-spinner[data-size="large"] {
    --spinner-size: 24px;
    animation-duration: var(--duration-spinner-large);
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-spinner,
    .ui-spinner[data-size="large"] {
      animation-duration: 2s;
    }
  }
}
:scope {
  .ui-stack-trace {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-code-header);
    box-shadow: var(--lens-ring-code);
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
  }
  .ui-stack-trace-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px 0 16px;
    border: none;
    outline: none;
    background: var(--lens-code-header);
    color: var(--lens-docs-heading);
    font: inherit;
    line-height: 17px;
    letter-spacing: var(--lens-tracking-code-tab);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: box-shadow var(--duration-short) var(--ease-snappy);
    &[data-panel-open] {
      box-shadow: inset 0 -1px 0 0 var(--lens-code-stroke);
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-stack-trace-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-red);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-stack-trace-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-stack-trace-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-code-icon);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-stack-trace-content {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    overflow: hidden;
    background: var(--lens-code-bg);
    transition: height var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
  .ui-stack-trace-error {
    margin: 0;
    padding: 12px 16px;
    background: var(--lens-callout-danger-bg);
    box-shadow: inset 0 -1px 0 0 var(--lens-callout-danger-stroke);
    color: var(--lens-callout-danger-text);
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 20px;
    overflow-wrap: anywhere;
  }
  .ui-stack-trace-error-type {
    font-weight: 600;
  }
  .ui-stack-trace-frames {
    margin: 0;
    padding: 10px 0;
    list-style: none;
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 22px;
  }
  .ui-stack-trace-frame {
    padding: 0 16px 0 32px;
    overflow: hidden;
    color: var(--lens-code-text);
    text-indent: -16px;
    overflow-wrap: anywhere;
  }
  .ui-stack-trace-at {
    color: var(--lens-code-muted);
  }
  .ui-stack-trace-function {
    color: var(--lens-syntax-function);
  }
  .ui-stack-trace-location {
    color: var(--lens-syntax-string);
  }
  .ui-stack-trace-frame[data-internal] {
    & .ui-stack-trace-function,
    & .ui-stack-trace-location {
      color: var(--lens-code-muted);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-stack-trace-content,
    .ui-stack-trace-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-stock {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 16px 16px 0;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-stock-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
  }
  .ui-stock-symbol {
    color: var(--lens-text-primary);
    font-weight: 600;
  }
  .ui-stock-name {
    overflow: hidden;
    color: var(--lens-text-tertiary);
    font-size: 13px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-stock-quote {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
  }
  .ui-stock-price {
    color: var(--lens-text-primary);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    letter-spacing: -0.02em;
  }
  .ui-stock-change {
    color: var(--lens-text-tertiary);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    .ui-stock[data-direction="up"] & {
      color: var(--lens-green-ghost);
    }
    .ui-stock[data-direction="down"] & {
      color: var(--lens-red-ghost);
    }
  }
  .ui-stock-chart {
    display: block;
    width: 100%;
    height: 96px;
    margin: 12px 0 8px;
    overflow: visible;
    color: var(--lens-text-tertiary);
    .ui-stock[data-direction="up"] & {
      color: var(--lens-green);
    }
    .ui-stock[data-direction="down"] & {
      color: var(--lens-red);
    }
  }
  .ui-stock-area {
    fill: currentColor;
    fill-opacity: 0.08;
    stroke: none;
  }
  .ui-stock-baseline {
    stroke: var(--lens-hairline-checkbox);
    stroke-dasharray: 3 3;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }
  .ui-stock-line {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
  }
  .ui-stock-ranges {
    display: flex;
    margin-bottom: 12px;
  }
  .ui-stock-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 -16px;
    padding: 12px 16px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
  }
  .ui-stock-stat {
    display: flex;
    flex-direction: column;
    min-width: 0;
    & dt {
      color: var(--lens-text-tertiary);
      font-size: 12px;
      line-height: 18px;
    }
    & dd {
      margin: 0;
      color: var(--lens-text-primary);
      font-size: 13px;
      font-weight: 500;
      line-height: 20px;
      font-variant-numeric: tabular-nums;
    }
  }
}
:scope {
  .ui-subagent {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-card);
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
  }
  .ui-subagent-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 10px 14px 10px 12px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--lens-docs-heading);
    font: inherit;
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: background-color var(--duration-short) var(--ease-snappy);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-secondary);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-subagent-icon {
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--lens-code-stroke);
    border-radius: 50%;
    background: var(--lens-white);
    color: var(--lens-docs-step);
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .ui-subagent-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-subagent-description {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
  .ui-subagent-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-subagent[data-status="running"] .ui-subagent-title {
    background: linear-gradient(
        90deg,
        var(--lens-docs-heading) 35%,
        var(--lens-docs-muted) 50%,
        var(--lens-docs-heading) 65%
      )
      0 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    animation: lens-subagent-shimmer var(--duration-skeleton) ease-in-out infinite;
  }
  .ui-subagent[data-status="error"] .ui-subagent-icon {
    border-color: var(--lens-callout-danger-stroke);
    background: var(--lens-callout-danger-bg);
    color: var(--lens-callout-danger-text);
  }
  .ui-subagent-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: var(--collapsible-panel-height);
    padding: 0 16px 16px 54px;
    overflow: hidden;
    transition:
      height var(--duration-short) var(--ease-snappy),
      padding-bottom var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
      padding-bottom: 0;
    }
  }
  .ui-subagent-prompt {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--lens-code-bg);
    box-shadow: var(--lens-ring-code);
    color: var(--lens-docs-body);
  }
  .ui-subagent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ui-subagent-steps {
    display: flex;
    flex-direction: column;
  }
  .ui-subagent-step {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: var(--lens-docs-body);
  }
  .ui-subagent-step-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--lens-callout-success-text);
    & svg {
      width: 16px;
      height: 16px;
    }
    & .ui-spinner {
      --spinner-size: 12px;
    }
  }
  .ui-subagent-step-label {
    min-width: 0;
  }
  .ui-subagent-step[data-status="running"] .ui-subagent-step-label {
    color: var(--lens-docs-heading);
  }
  .ui-subagent-step[data-status="error"] {
    color: var(--lens-callout-danger-text);
    & .ui-subagent-step-icon {
      color: var(--lens-red);
    }
  }
  .ui-subagent-result {
    padding-top: 12px;
    border-top: 1px solid var(--lens-code-stroke);
    color: var(--lens-docs-body);
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-subagent[data-status="running"] .ui-subagent-title {
      animation: none;
      background: none;
      color: var(--lens-docs-heading);
    }
    .ui-subagent-content,
    .ui-subagent-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }
  .ui-suggestion {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    height: 32px;
    margin: 0;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    outline: 3px solid transparent;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-control);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      color: var(--lens-docs-muted);
    }
    @media (hover: hover) {
      &:hover:not(:disabled, [data-disabled]) {
        background: var(--lens-white-hover);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-control-focus);
    }
    &:is(:disabled, [data-disabled]) {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-suggestion-icon {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: -2px;
    color: var(--lens-docs-muted);
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-suggestion {
      transition: none;
    }
  }
}
:scope {
  .ui-switch {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    flex-shrink: 0;
    width: 35px;
    height: 20px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    outline: none;
    background: var(--lens-switch-track);
    box-shadow:
      0 0 0 0 var(--lens-white),
      0 0 0 0 var(--lens-blackberry-black-a1),
      0 0 0 0 var(--lens-blackberry-black-a1);
    cursor: pointer;
    transition: all var(--duration-short);
    &:focus-visible {
      box-shadow: var(--lens-focus-switch);
    }
    &[data-checked] {
      background: var(--lens-green);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lens-white);
    box-shadow: var(--lens-box-shadow-thumb);
    transform: translate(0);
    transition: all var(--duration-short);
    &[data-checked] {
      transform: translate(15px);
    }
    &[data-disabled] {
      background: var(--lens-blackberry-black-a1);
    }
  }
  .ui-switch[data-size="small"] {
    width: 27px;
    height: 16px;
    & .ui-switch-thumb {
      width: 12px;
      height: 12px;
      &[data-checked] {
        transform: translate(11px);
      }
    }
  }
}
:scope {
  .ui-table-container {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--lens-background-quinary);
    border-radius: 10px;
    background: var(--lens-white);
    transition: all var(--duration-short) ease-in-out;
    &[data-variant="root"] {
      box-shadow: var(--lens-box-shadow-table);
    }
  }
  .ui-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-table-caption {
    caption-side: bottom;
    padding: 12px 16px;
    color: var(--lens-text-secondary);
    font-size: 13px;
    line-height: 20px;
    text-align: left;
  }
  .ui-table-header .ui-table-row {
    background: var(--lens-white);
  }
  .ui-table[data-variant="root"] .ui-table-header .ui-table-row {
    background: var(--lens-background-secondary);
  }
  .ui-table-head {
    height: 36px;
    padding: 0 16px;
    box-shadow: inset 0 -1px var(--lens-background-quinary);
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
  }
  .ui-table-body .ui-table-row {
    transition: all var(--duration-short) ease-in-out;
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-secondary);
      }
    }
  }
  .ui-table-cell {
    height: 52px;
    padding: 0 16px;
    box-shadow: inset 0 -1px var(--lens-background-quinary);
    vertical-align: middle;
    &:first-child {
      color: var(--lens-blackberry-black);
      font-weight: 500;
    }
  }
  .ui-table[data-variant="root"] .ui-table-cell {
    height: 74px;
  }
  .ui-table-body .ui-table-row:last-child .ui-table-cell {
    box-shadow: none;
  }
}
:scope {
  .ui-tabs-list {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    overflow: auto;
    box-shadow: inset 0 -1px var(--lens-stroke);
    &[data-orientation="vertical"] {
      flex-direction: column;
      align-items: stretch;
      gap: 4px;
      box-shadow: none;
    }
  }
  .ui-tabs-tab {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    height: 48px;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
    font-variation-settings: "wght" 400;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-popup);
    &::before {
      content: "";
      display: block;
      height: 0;
      overflow: hidden;
      visibility: hidden;
      font-weight: 700;
      font-variation-settings: "wght" 500;
      transition: all var(--duration-popup) ease-out;
    }
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      box-sizing: border-box;
      width: 100%;
      height: 2px;
      border-bottom: 2px solid transparent;
    }
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        color: var(--lens-text-primary);
      }
    }
    &:focus-visible {
      color: var(--lens-text-primary);
    }
    &[data-active] {
      color: var(--lens-text-primary);
      font-variation-settings: "wght" 500;
      &::after {
        border-bottom-color: var(--lens-blackberry-black);
      }
    }
    &[data-disabled] {
      color: var(--lens-text-tertiary);
      cursor: not-allowed;
    }
    & svg {
      width: 16px;
      height: 16px;
      margin-right: 6px;
      vertical-align: -3px;
    }
  }
  .ui-tabs-list[data-orientation="vertical"] .ui-tabs-tab {
    height: 32px;
    padding: 0 4px;
    border-radius: 10px;
    text-align: left;
    &::after {
      display: none;
    }
    &[data-active] {
      background: var(--lens-stroke);
    }
  }
  .ui-tabs-panel {
    padding-top: 32px;
    outline: none;
    color: var(--lens-text-secondary);
    font-size: 14px;
    line-height: 20px;
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
}
:scope {
  .ui-tag {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    height: 26px;
    padding: 4px 8px;
    border: 0;
    border-radius: 6px;
    background: var(--lens-blackberry-black-a03);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
    letter-spacing: var(--lens-tracking-12);
    white-space: nowrap;
    user-select: none;
    &[data-removable] {
      padding-right: 4px;
    }
  }
  .ui-tag[data-size="small"] {
    height: 20px;
    padding: 1px 6px;
    border-radius: 4px;
  }
  .ui-tag-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--tag-color);
  }
  .ui-tag-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ui-tag-remove {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    outline: none;
    background: transparent;
    color: var(--lens-text-tertiary);
    cursor: pointer;
    transition: all var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        background: var(--lens-blackberry-black-a05);
        color: var(--lens-text-primary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
}
:scope {
  .ui-tag-input {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 5px 6px;
    border: 0;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    cursor: text;
    transition: all var(--duration-popup) ease-out;
    @media (hover: hover) {
      &:hover:not(:focus-within) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus-within {
      box-shadow: var(--lens-ring-field-focus);
    }
  }
  .ui-tag-input[data-size="small"] {
    min-height: 32px;
    padding: 3px 4px;
  }
  .ui-tag-input-chips {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-width: 0;
  }
  .ui-tag-input-chip {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 4px 4px 4px 8px;
    border-radius: 6px;
    outline: none;
    background: var(--lens-blackberry-black-a03);
    color: var(--lens-text-secondary);
    font-size: 12px;
    font-weight: 450;
    line-height: 18px;
    letter-spacing: var(--lens-tracking-12);
    white-space: nowrap;
    transition: all var(--duration-short);
    &:focus-visible,
    &[data-highlighted] {
      background: var(--lens-blackberry-black-a05);
      color: var(--lens-text-primary);
    }
    .ui-tag-input[data-size="small"] & {
      height: 24px;
      padding-block: 3px;
    }
  }
  .ui-tag-input-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--lens-text-tertiary);
    cursor: pointer;
    transition: all var(--duration-short);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        background: var(--lens-blackberry-black-a05);
        color: var(--lens-text-primary);
      }
    }
  }
  .ui-tag-input-input {
    box-sizing: border-box;
    flex: 1;
    min-width: 60px;
    height: 26px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    outline: none;
    background: transparent;
    color: inherit;
    caret-color: var(--lens-blackberry-black);
    font: inherit;
    font-weight: 450;
    &::placeholder {
      color: var(--lens-text-tertiary);
    }
  }
}
:scope {
  .ui-task {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
  }
  .ui-task-trigger {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    max-width: 100%;
    height: 30px;
    margin: 0;
    padding: 0 6px 0 0;
    border: none;
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: var(--lens-docs-muted);
    font: inherit;
    font-weight: 500;
    letter-spacing: var(--lens-tracking-palette);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &[data-panel-open] {
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-task-icon {
    display: flex;
    flex-shrink: 0;
    & svg {
      width: 16px;
      height: 16px;
    }
    & .ui-spinner {
      --spinner-size: 12px;
      margin: 2px;
    }
  }
  .ui-task-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-task-description {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
  }
  .ui-task-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-task[data-status="running"] .ui-task-title {
    background: linear-gradient(
        90deg,
        var(--lens-docs-muted) 35%,
        var(--lens-docs-heading) 50%,
        var(--lens-docs-muted) 65%
      )
      0 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    animation: lens-task-shimmer var(--duration-skeleton) ease-in-out infinite;
  }
  .ui-task-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: var(--collapsible-panel-height);
    margin: 2px 0 0 7px;
    padding: 2px 0 2px 17px;
    overflow: hidden;
    border-left: 1px solid var(--lens-code-stroke);
    transition:
      height var(--duration-short) var(--ease-snappy),
      padding-block var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
      padding-block: 0;
    }
  }
  .ui-task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    color: var(--lens-docs-body);
  }
  .ui-task-item-icon {
    display: flex;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    & svg {
      width: 16px;
      height: 16px;
    }
    & .ui-spinner {
      --spinner-size: 12px;
      margin: 2px;
    }
  }
  .ui-task-item-label {
    min-width: 0;
  }
  .ui-task-item[data-status="error"] {
    color: var(--lens-callout-danger-text);
    & .ui-task-item-icon {
      color: var(--lens-red);
    }
  }
  .ui-task-file {
    display: inline-block;
    margin-left: 2px;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--lens-code-pill-bg);
    box-shadow: var(--lens-code-pill-ring);
    color: var(--lens-code-inline);
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-task[data-status="running"] .ui-task-title {
      animation: none;
      background: none;
      color: var(--lens-docs-muted);
    }
    .ui-task-content,
    .ui-task-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-terminal {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-code-bg);
    box-shadow: var(--lens-ring-code);
    color: var(--lens-code-text);
    font-family: inherit;
    font-size: 14px;
  }
  .ui-terminal-header {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px 0 16px;
    background: var(--lens-code-header);
    box-shadow: inset 0 -1px 0 0 var(--lens-code-stroke);
  }
  .ui-terminal-title {
    flex-shrink: 0;
    padding-right: 8px;
    box-shadow: inset -1px 0 0 0 var(--lens-code-stroke);
    color: var(--lens-code-title);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: var(--lens-tracking-code-tab);
    white-space: nowrap;
  }
  .ui-terminal-copy {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 6px;
    outline: none;
    background: transparent;
    color: var(--lens-code-icon);
    cursor: pointer;
    transition: color var(--duration-copy) var(--ease-swift-out);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-copied] {
      color: var(--lens-callout-success-text);
    }
  }
  .ui-terminal-command {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--lens-docs-heading);
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-terminal-prompt {
    color: var(--lens-code-muted);
  }
  .ui-terminal-status {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-docs-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    &::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
    }
  }
  .ui-terminal[data-status="running"] .ui-terminal-status::before {
    animation: lens-terminal-pulse var(--duration-pulse) ease-in-out infinite alternate;
  }
  .ui-terminal[data-status="done"] .ui-terminal-status {
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
  }
  .ui-terminal[data-status="error"] .ui-terminal-status {
    background: var(--lens-red-ghost-bg);
    color: var(--lens-red-ghost);
  }
  .ui-terminal-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    & .ui-button[data-variant="ghost"] {
      color: var(--lens-code-icon);
      @media (hover: hover) {
        &:hover:not(:disabled) {
          color: var(--lens-docs-heading);
        }
      }
    }
  }
  .ui-terminal-output {
    box-sizing: border-box;
    max-height: 320px;
    margin: 0;
    padding: 14px 16px;
    overflow: auto;
    color: var(--lens-code-text);
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 22px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    outline: none;
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-terminal[data-status="running"] .ui-terminal-status::before {
      animation: none;
    }
    .ui-terminal-copy {
      transition: none;
    }
  }
}
:scope {
  .ui-test-results {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-code-header);
    box-shadow: var(--lens-ring-code);
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
  }
  .ui-test-results-header {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 16px;
  }
  .ui-test-results-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  .ui-test-results-count {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: var(--lens-count-bg);
    color: var(--lens-blackberry-black);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .ui-test-results-count[data-status="passed"] {
    background: var(--lens-green-ghost-bg);
    color: var(--lens-green-ghost);
  }
  .ui-test-results-count[data-status="failed"] {
    background: var(--lens-red-ghost-bg);
    color: var(--lens-red-ghost);
  }
  .ui-test-results-count[data-status="skipped"] {
    color: var(--lens-docs-muted);
  }
  .ui-test-results-duration {
    flex-shrink: 0;
    color: var(--lens-code-title);
    font-family: var(--font-monospace);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .ui-test-results-progress {
    display: flex;
    gap: 2px;
    height: 4px;
    margin: 0 16px 12px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--lens-switch-track);
  }
  .ui-test-results-segment {
    height: 100%;
    border-radius: 2px;
    transition: width var(--duration-progress) ease;
  }
  .ui-test-results-segment[data-status="passed"] {
    background: var(--lens-green);
  }
  .ui-test-results-segment[data-status="failed"] {
    background: var(--lens-red);
  }
  .ui-test-results-segment[data-status="skipped"] {
    background: var(--lens-blackberry-black-a2);
  }
  .ui-test-results-suites {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--lens-code-stroke);
    background: var(--lens-code-bg);
  }
  .ui-test-results-suite + .ui-test-results-suite {
    border-top: 1px solid var(--lens-code-stroke);
  }
  .ui-test-results-suite-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 16px 0 12px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--lens-docs-heading);
    font: inherit;
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition: background-color var(--duration-popup);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
      }
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-test-results-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-test-results-suite-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-family: var(--font-monospace);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-test-results-suite[data-status="failed"] .ui-test-results-suite-name {
    color: var(--lens-callout-danger-text);
  }
  .ui-test-results-suite-stats {
    flex-shrink: 0;
    color: var(--lens-docs-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }
  .ui-test-results-suite-content {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    padding-bottom: 8px;
    overflow: hidden;
    transition:
      height var(--duration-short) var(--ease-snappy),
      padding-bottom var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
      padding-bottom: 0;
    }
  }
  .ui-test-results-test {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 16px 0 36px;
    color: var(--lens-docs-body);
  }
  .ui-test-results-indicator {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-docs-muted);
  }
  .ui-test-results-test[data-status="passed"] .ui-test-results-indicator {
    color: var(--lens-green-ghost);
  }
  .ui-test-results-test[data-status="failed"] {
    color: var(--lens-docs-heading);
    & .ui-test-results-indicator {
      color: var(--lens-red);
    }
  }
  .ui-test-results-test[data-status="skipped"] {
    color: var(--lens-docs-muted);
  }
  .ui-test-results-test[data-status="running"] .ui-test-results-indicator {
    animation: lens-test-results-spin var(--duration-spinner) linear infinite;
  }
  .ui-test-results-test-name {
    flex: 1;
    min-width: 0;
  }
  .ui-test-results-test-duration {
    flex-shrink: 0;
    color: var(--lens-code-muted);
    font-family: var(--font-monospace);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .ui-test-results-error {
    margin: 2px 16px 6px 36px;
    padding: 10px 12px;
    overflow-x: auto;
    border: 1px solid var(--lens-callout-danger-stroke);
    border-radius: 8px;
    background: var(--lens-callout-danger-bg);
    color: var(--lens-callout-danger-text);
    font-family: var(--font-monospace);
    font-size: 12px;
    line-height: 20px;
    white-space: pre-wrap;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-test-results-test[data-status="running"] .ui-test-results-indicator {
      animation-duration: 2s;
    }
    .ui-test-results-suite-content,
    .ui-test-results-chevron,
    .ui-test-results-segment {
      transition: none;
    }
  }
}
:scope {
  .ui-text {
    margin: 0;
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-text[data-variant="title"] {
    font-size: 21px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: var(--lens-tracking-21);
  }
  .ui-text[data-variant="heading"] {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: var(--lens-tracking-16);
  }
  .ui-text[data-variant="label"] {
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-text[data-variant="small"] {
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-text[data-variant="caption"] {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-text[data-tone="secondary"] {
    color: var(--lens-text-secondary);
  }
  .ui-text[data-tone="tertiary"] {
    color: var(--lens-text-tertiary);
  }
}
:scope {
  .ui-textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-field);
    color: var(--lens-text-primary);
    caret-color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    resize: none;
    transition: all var(--duration-popup) ease-out;
    &::placeholder {
      color: var(--lens-text-tertiary);
    }
    @media (hover: hover) {
      &:hover:not(:disabled, :focus-visible) {
        box-shadow: var(--lens-ring-field-hover);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-ring-field-focus);
    }
    &[aria-invalid="true"] {
      box-shadow: var(--lens-ring-field-error);
    }
    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
  .ui-textarea:is([data-variant="title"], [data-variant="description"], [data-variant="flat"]) {
    min-height: 74px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    @media (hover: hover) {
      &:hover:not(:disabled, :focus-visible) {
        box-shadow: none;
      }
    }
    &:focus-visible {
      box-shadow: none;
    }
  }
}
:scope {
  .ui-toast-viewport {
    position: fixed;
    z-index: 2147483646;
    right: 24px;
    bottom: 24px;
    width: 297px;
    max-width: calc(100vw - 32px);
  }
  .ui-toast {
    --gap: 8px;
    --peek: 8px;
    --scale: calc(max(0, 1 - (var(--toast-index) * 0.075)));
    --shrink: calc(1 - var(--scale));
    --height: var(--toast-frontmost-height, var(--toast-height));
    --offset-y: calc(
      var(--toast-offset-y) * -1 + (var(--toast-index) * var(--gap) * -1) + var(--toast-swipe-movement-y)
    );
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: calc(1000 - var(--toast-index));
    box-sizing: border-box;
    width: 100%;
    height: var(--height);
    min-height: 45px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow:
      var(--lens-box-shadow-toast),
      0 0 0 1px var(--lens-blackberry-black-a05);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    cursor: default;
    user-select: none;
    transform-origin: bottom center;
    transform: translateX(var(--toast-swipe-movement-x))
      translateY(
        calc(var(--toast-swipe-movement-y) - (var(--toast-index) * var(--peek)) - (var(--shrink) * var(--height)))
      )
      scale(var(--scale));
    transition:
      transform var(--duration-toast) var(--ease-smooth),
      opacity var(--duration-toast) var(--ease-smooth),
      height var(--duration-toast) var(--ease-smooth);
    &::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: calc(var(--gap) + 1px);
    }
    &[data-expanded] {
      height: var(--toast-height);
      transform: translateX(var(--toast-swipe-movement-x)) translateY(var(--offset-y));
    }
    &[data-starting-style],
    &[data-ending-style] {
      opacity: 0;
      transform: translateY(150px);
    }
    &[data-limited] {
      opacity: 0;
    }
    &[data-ending-style] {
      &[data-swipe-direction] {
        transition-duration: var(--duration-short);
        transition-timing-function: ease-out;
      }
      &[data-swipe-direction="down"] {
        transform: translateY(calc(var(--toast-swipe-movement-y) + 150px));
      }
      &[data-swipe-direction="right"] {
        transform: translateX(calc(var(--toast-swipe-movement-x) + 100% + 24px)) translateY(var(--offset-y));
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
      outline: none;
    }
  }
  .ui-toast-content {
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    height: 100%;
    overflow: hidden;
    transition: opacity var(--duration-toast) var(--ease-smooth);
    &[data-behind] {
      opacity: 0;
    }
    &[data-expanded] {
      opacity: 1;
    }
  }
  .ui-toast-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 12px 16px;
  }
  .ui-toast-title {
    margin: 0;
    color: var(--lens-text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-toast-description {
    margin: 0;
    color: var(--lens-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-12);
  }
  .ui-toast-action {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 0;
    border-left: 1px solid var(--lens-stroke);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--lens-text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    white-space: nowrap;
    cursor: pointer;
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-tertiary);
        transition: all var(--duration-toast);
      }
    }
    &:focus-visible {
      background: var(--lens-background-tertiary);
    }
  }
  .ui-toast-close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    outline: none;
    background: transparent;
    color: var(--lens-text-tertiary);
    cursor: pointer;
    transition: all var(--duration-toast);
    & svg {
      width: 16px;
      height: 16px;
    }
    @media (hover: hover) {
      &:hover {
        opacity: 0.5;
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
}
:scope {
  .ui-toggle {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    min-width: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-option);
    color: var(--lens-blackberry-black);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background: var(--lens-white-hover);
      }
    }
    &:active:not([data-disabled]) {
      background: var(--lens-background-tertiary);
    }
    &:focus-visible {
      box-shadow:
        0 0 0 1px var(--lens-green),
        0 0 0 3px var(--lens-white),
        0 0 0 7px var(--lens-blackberry-black-a1),
        0 0 0 4px var(--lens-blackberry-black-a2);
    }
    &[data-pressed] {
      border-color: var(--lens-green);
      box-shadow:
        0 0 0 1px var(--lens-green),
        0 1px 1px 0 #00000008,
        0 0 0 1px var(--lens-hairline-checkbox);
    }
    &[data-disabled] {
      background: var(--lens-blackberry-black-a01);
      color: var(--lens-text-tertiary);
      cursor: not-allowed;
    }
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
  }
  .ui-toggle[data-size="small"] {
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-toggle[data-size="large"] {
    height: 44px;
    min-width: 44px;
    padding: 0 16px;
  }
  .ui-toggle[data-icon-only] {
    aspect-ratio: 1;
    padding: 0;
  }
}
:scope {
  .ui-toggle-group-group {
    box-sizing: border-box;
    display: inline-flex;
    align-items: stretch;
    gap: 16px;
    &[data-orientation="vertical"] {
      flex-direction: column;
    }
    &[data-disabled] {
      opacity: 0.5;
    }
    & > .ui-toggle {
      flex: 1 0 0;
    }
  }
  .ui-toggle-group-group[data-size="small"] {
    gap: 8px;
  }
}
:scope {
  .ui-tool {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lens-code-header);
    box-shadow: var(--lens-ring-code);
    color: var(--lens-docs-body);
    font-family: inherit;
    font-size: 14px;
  }
  .ui-tool-trigger {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px 0 16px;
    border: none;
    outline: none;
    background: var(--lens-code-header);
    color: var(--lens-code-title);
    font: inherit;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: var(--lens-tracking-code-tab);
    text-align: start;
    user-select: none;
    cursor: pointer;
    transition:
      color var(--duration-popup),
      box-shadow var(--duration-short) var(--ease-snappy);
    @media (hover: hover) {
      &:hover {
        color: var(--lens-docs-heading);
      }
    }
    &[data-panel-open] {
      box-shadow: inset 0 -1px 0 0 var(--lens-code-stroke);
      color: var(--lens-docs-heading);
    }
    &:focus-visible {
      box-shadow: inset 0 0 0 1px var(--lens-blackberry-black-a2);
    }
  }
  .ui-tool-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--lens-code-title);
    & svg {
      width: 16px;
      height: 16px;
    }
    & .ui-spinner {
      --spinner-size: 12px;
    }
  }
  .ui-tool-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ui-tool-description {
    flex-shrink: 0;
    color: var(--lens-code-title);
    font-family: var(--font-monospace);
    font-size: 12px;
  }
  .ui-tool-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lens-code-icon);
    transition: transform var(--duration-short) var(--ease-snappy);
    [data-panel-open] > & {
      transform: rotate(90deg);
    }
  }
  .ui-tool[data-status="running"] .ui-tool-title {
    background: linear-gradient(
        90deg,
        var(--lens-docs-muted) 35%,
        var(--lens-docs-heading) 50%,
        var(--lens-docs-muted) 65%
      )
      0 0 / 300% 100%;
    background-clip: text;
    color: transparent;
    animation: lens-tool-shimmer var(--duration-skeleton) ease-in-out infinite;
  }
  .ui-tool[data-status="error"] {
    & .ui-tool-icon {
      color: var(--lens-red);
    }
  }
  .ui-tool-content {
    box-sizing: border-box;
    height: var(--collapsible-panel-height);
    overflow: hidden;
    background: var(--lens-code-bg);
    transition: height var(--duration-short) var(--ease-snappy);
    &[data-starting-style],
    &[data-ending-style] {
      height: 0;
    }
  }
  .ui-tool-section {
    padding: 12px 16px;
    & + & {
      box-shadow: inset 0 1px 0 0 var(--lens-code-stroke);
    }
  }
  .ui-tool-label {
    margin: 0 0 4px;
    color: var(--lens-code-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
  }
  .ui-tool-code {
    margin: 0;
    overflow-x: auto;
    color: var(--lens-code-text);
    font-family: var(--font-monospace);
    font-size: 13px;
    line-height: 22px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .ui-tool-section[data-error] {
    background: var(--lens-callout-danger-bg);
    & .ui-tool-label,
    & .ui-tool-code {
      color: var(--lens-callout-danger-text);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-tool[data-status="running"] .ui-tool-title {
      animation: none;
      background: none;
      color: var(--lens-docs-muted);
    }
    .ui-tool-content,
    .ui-tool-chevron {
      transition: none;
    }
  }
}
:scope {
  .ui-toolbar {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 0;
    border-radius: 8px;
    background: var(--lens-white);
    box-shadow: var(--lens-ring-popup);
    color: var(--lens-text-menu-secondary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    &[data-orientation="vertical"] {
      flex-direction: column;
      align-items: stretch;
    }
  }
  .ui-toolbar-group {
    display: flex;
    align-items: center;
    gap: 2px;
    &[data-orientation="vertical"] {
      flex-direction: column;
      align-items: stretch;
    }
  }
  .ui-toolbar-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 30px;
    min-width: 30px;
    margin: 0;
    padding: 0 8px;
    border: none;
    border-radius: 4px;
    outline: none;
    background: transparent;
    color: var(--lens-text-menu-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 425;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: all var(--duration-short);
    @media (hover: hover) {
      &:hover:not([data-disabled]) {
        background: var(--lens-blackberry-black-a03);
        color: var(--lens-text-menu-primary);
      }
    }
    &:is([data-popup-open], [data-pressed]) {
      background: var(--lens-blackberry-black-a03);
      color: var(--lens-text-menu-primary);
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
    &[data-disabled] {
      opacity: 0.5;
      cursor: not-allowed;
    }
    & svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }
  }
  .ui-toolbar-input {
    box-sizing: border-box;
    height: 30px;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    border: none;
    border-radius: 4px;
    outline: none;
    background: transparent;
    color: var(--lens-text-menu-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    transition: all var(--duration-short);
    &::placeholder {
      color: var(--lens-placeholder);
    }
    &:focus {
      background: var(--lens-blackberry-black-a03);
    }
    &[data-disabled] {
      opacity: 0.5;
    }
  }
  .ui-toolbar-separator {
    flex-shrink: 0;
    background: var(--lens-stroke);
    &[data-orientation="vertical"] {
      width: 1px;
      height: 16px;
      margin: 0 4px;
    }
    &[data-orientation="horizontal"] {
      height: 1px;
      margin: 2px -4px;
    }
  }
}
:scope {
  .ui-tooltip-popup {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 360px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: var(--lens-blackberry-black);
    color: var(--lens-white);
    font-family: var(--font-regular);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
    -webkit-font-smoothing: antialiased;
    user-select: none;
    transform-origin: var(--transform-origin);
    animation: lens-tooltip-enter var(--duration-overlay) ease;
    &[data-ending-style] {
      animation: lens-tooltip-exit var(--duration-overlay) ease forwards;
    }
  }
  .ui-tooltip-label {
    font-weight: 400;
  }
  .ui-tooltip-popup > kbd {
    margin-right: -4px;
  }
}
:scope {
  .ui-voice-message {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px 0 6px;
    border: 1px solid var(--lens-stroke);
    border-radius: 22px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
  }
  .ui-voice-message-play {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    outline: 3px solid transparent;
    outline-offset: 0;
    background: var(--lens-blackberry-black);
    color: var(--lens-white);
    cursor: pointer;
    transition: all var(--duration-short);
    & svg {
      width: 14px;
      height: 14px;
    }
    @media (hover: hover) {
      &:hover {
        background: var(--lens-black-hover);
      }
    }
    &:active {
      transform: scale(0.96);
    }
    &:focus-visible {
      outline-color: var(--lens-blackberry-black-a3);
      outline-offset: 2px;
    }
  }
  .ui-voice-message-waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 140px;
    height: 24px;
  }
  .ui-voice-message-bar {
    flex: 1;
    min-width: 2px;
    height: calc(var(--bar-height) * 100%);
    min-height: 3px;
    border-radius: 1px;
    background: var(--lens-blackberry-black-a2);
    transition: background-color var(--duration-short);
    &[data-played] {
      background: var(--lens-blackberry-black);
    }
  }
  .ui-voice-message-speed {
    box-sizing: border-box;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 20px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 10px;
    outline: none;
    background: var(--lens-count-bg);
    color: var(--lens-text-secondary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition:
      background-color var(--duration-short),
      color var(--duration-short);
    @media (hover: hover) {
      &:hover {
        background: var(--lens-background-quinary);
        color: var(--lens-text-primary);
      }
    }
    &:focus-visible {
      box-shadow: var(--lens-focus-element);
    }
  }
  .ui-voice-message-duration {
    min-width: 28px;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
  }
  @media (prefers-reduced-motion: reduce) {
    .ui-voice-message-play,
    .ui-voice-message-bar,
    .ui-voice-message-speed {
      transition: none;
    }
    .ui-voice-message-play:active {
      transform: none;
    }
  }
}
:scope {
  .ui-weather {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 16px 16px 0;
    border: 1px solid var(--lens-stroke);
    border-radius: 10px;
    background: var(--lens-white);
    color: var(--lens-text-primary);
    font-family: var(--font-regular);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: var(--lens-tracking-14);
  }
  .ui-weather-header {
    display: flex;
    flex-direction: column;
  }
  .ui-weather-location {
    color: var(--lens-text-primary);
    font-weight: 500;
  }
  .ui-weather-summary {
    color: var(--lens-text-tertiary);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: var(--lens-tracking-13);
  }
  .ui-weather-current {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 16px;
  }
  .ui-weather-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--lens-text-secondary);
    &:is([data-condition="clear"], [data-condition="partly-cloudy"]) {
      color: var(--lens-orange);
    }
    &:is([data-condition="rain"], [data-condition="snow"]) {
      color: var(--lens-blue);
    }
    &[data-condition="storm"] {
      color: var(--lens-text-primary);
    }
    .ui-weather-current > & {
      width: 40px;
      height: 40px;
    }
  }
  .ui-weather-temperature {
    color: var(--lens-text-primary);
    font-size: 40px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
  }
  .ui-weather-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    text-align: right;
  }
  .ui-weather-detail {
    color: var(--lens-text-secondary);
    font-size: 12px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
  }
  .ui-weather-forecast {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    margin: 0 -16px;
    padding: 12px 8px;
    border-top: 1px solid var(--lens-stroke);
    background: var(--lens-background-tertiary);
    list-style: none;
  }
  .ui-weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-variant-numeric: tabular-nums;
  }
  .ui-weather-day-label {
    color: var(--lens-text-secondary);
    font-size: 12px;
    line-height: 18px;
  }
  .ui-weather-high {
    color: var(--lens-text-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
  }
  .ui-weather-low {
    margin-top: -4px;
    color: var(--lens-text-tertiary);
    font-size: 12px;
    line-height: 18px;
  }
}
}
