/* VEYTRA product finish: shared chrome and personal/creator workspaces. */
:root {
  --ui-surface:#12161c;
  --ui-raised:#191f27;
  --ui-border:#ffffff0d;
  --ui-border-strong:#ffffff1b;
  --ui-muted:#a0a9b6;
  --ui-faint:#7e8998;
  --ui-hover:#ffffff05;
  --ui-shadow:0 8px 28px #00000014;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
}
:root:not([data-trade-theme="light"]) {--bg:#0b0e12;--panel:var(--ui-surface);--panel-2:var(--ui-raised);--muted:var(--ui-muted)}
[data-trade-theme="light"] {
  --ui-surface:#fff;--ui-raised:#f3f5f8;--ui-border:#e3e7ed;
  --ui-border-strong:#cbd3de;--ui-muted:#5b6b7e;--ui-faint:#69788b;
  --ui-hover:#182c4305;--ui-shadow:0 8px 28px #172c4510;
}
button {transition-duration:.16s}
button:active:not(:disabled) {transform:none}
button:disabled {cursor:not-allowed}
input,textarea {caret-color:var(--trade-accent,var(--accent))}
input::placeholder,textarea::placeholder {opacity:1}
.btn {border-radius:10px;font-weight:560;letter-spacing:-.01em;box-shadow:none;min-height:40px}
.btn.primary {background:#f0f2f5;color:#111820;border-color:#f0f2f5;box-shadow:0 1px 2px #0002}
.btn.primary:hover {background:#fff;border-color:#fff;box-shadow:0 3px 12px #0002}
[data-trade-theme="light"] .btn.primary:hover {background:#25394f;border-color:#25394f;color:#fff}
.btn.subtle {color:var(--ui-muted)}
.icon-btn {border-radius:10px}
:is(.btn,.icon-btn,.wn-link,.wn-circle,.space-choice):focus-visible {outline-offset:2px}
.prototype-bottom {color:var(--ui-faint);font-size:11px;margin-top:32px;letter-spacing:.01em}

/* Fixed dimensions are preserved so chart and chat workspaces never jump. */
.workspace-nav {background:var(--bg);border-right-color:var(--ui-border)}
.workspace-shell .wn-brand {padding-left:17px;padding-right:15px}
.wn-scroll {scrollbar-gutter:stable;overscroll-behavior:contain}
.workspace-nav .wn-current-circle {box-shadow:none;background:var(--ui-surface);border-color:var(--ui-border);border-radius:12px}
.workspace-nav .wn-current-circle:hover {background:var(--ui-raised);border-color:var(--ui-border-strong)}
.wn-current-circle strong {font-weight:600;letter-spacing:.005em}
.wn-current-circle small {color:var(--ui-faint)}
.workspace-nav .wn-search {min-height:36px;background:var(--ui-surface);border-color:var(--ui-border);border-radius:9px;color:var(--ui-muted);font-size:12px;margin-bottom:20px}
.wn-search kbd {border:1px solid var(--ui-border);border-radius:4px;padding:2px 4px;color:var(--ui-faint);font-size:10px;line-height:1.15}
.workspace-nav .wn-search:hover {border-color:var(--ui-border-strong);color:var(--text)}
.wn-scope-heading {font-size:10px;letter-spacing:.09em;color:var(--ui-faint)}
.workspace-nav .wn-link {position:relative;min-height:36px;border-radius:8px;font-size:12px;gap:10px;color:var(--ui-muted)}
.workspace-nav .wn-link:hover {background:var(--ui-hover);color:var(--text)}
.workspace-nav .wn-main .wn-link.active {background:color-mix(in srgb,var(--accent) 9%,var(--ui-surface));color:var(--text)}
.workspace-nav .wn-main .wn-link.active::before {content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;border-radius:2px;background:var(--trade-accent,var(--accent))}
.workspace-nav .wn-main .wn-link.active>svg {color:var(--trade-accent,var(--accent))}
.workspace-nav .wn-personal-nav .wn-link.active {background:var(--ui-raised);color:var(--text)}
.wn-personal-scope {border-top-color:var(--ui-border);margin-top:20px;padding-top:18px}
.wn-room .wn-label {font-size:11px}
.workspace-nav .wn-unread {font-size:10px;min-width:18px;border-radius:5px;background:var(--ui-raised);color:var(--ui-muted);font-variant-numeric:tabular-nums}
.workspace-nav .wn-account {background:var(--ui-surface);border-color:var(--ui-border);border-radius:10px}
.wn-account:hover {border-color:var(--ui-border-strong)}
.wn-account strong {font-size:11px;line-height:1.4}
.wn-account small,.wn-footer-tools {color:var(--ui-faint)}
.workspace-nav .wn-footer {border-top-color:var(--ui-border)}
.workspace-shell .topbar {background:color-mix(in srgb,var(--bg) 94%,transparent);border-color:var(--ui-border);backdrop-filter:blur(12px)}
.workspace-shell .topbar .brand-name {font-weight:600;letter-spacing:.015em}
.workspace-shell .topbar .brand-domain {color:var(--ui-faint)}
.workspace-breadcrumb {color:var(--ui-muted);font-size:12px;gap:12px}
.workspace-breadcrumb>svg {opacity:.45}
.workspace-shell .topbar .top-tools>.icon-btn {width:34px;height:34px;border-radius:8px;color:var(--ui-muted)}
.workspace-shell .topbar .top-tools>.icon-btn:hover {color:var(--text);background:var(--ui-raised)}
.workspace-shell.nav-collapsed .wn-current-circle {background:transparent;border-color:transparent}
.workspace-shell.nav-collapsed .wn-current-circle:hover {background:var(--ui-hover)}
.workspace-shell.nav-collapsed .wn-search kbd {display:none}

/* Dialogs and Circle switching use the same visual language as the workspace. */
.modal-overlay {background:#0306099e;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.modal-box {background:var(--ui-surface);border-color:var(--ui-border-strong);border-radius:20px;box-shadow:0 24px 100px #0006,0 1px 0 #ffffff05 inset;scrollbar-gutter:stable}
.modal-box h2 {font-size:27px;line-height:1.18;letter-spacing:-.045em;font-weight:600}
.modal-box>p,.modal-box .workspace-modal>p {font-size:13px;line-height:1.7;color:var(--ui-muted)}
.modal-box .modal-close {border-radius:9px;background:var(--ui-hover);color:var(--ui-muted);width:32px;height:32px}
.modal-box .modal-close:hover {background:var(--ui-raised);color:var(--text)}
.modal-box :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select) {border-radius:9px}
.modal-fields label {font-size:12px;gap:8px;color:var(--ui-muted)}
.modal-actions {padding-top:20px;border-top:1px solid var(--ui-border);gap:8px}
.space-list {gap:5px;margin-top:22px}
.workspace-modal .space-choice {border:1px solid transparent;border-radius:12px;padding:13px;gap:13px;min-height:74px}
.workspace-modal .space-choice:hover {background:var(--ui-hover);border-color:var(--ui-border)}
.workspace-modal .space-choice.is-current {background:color-mix(in srgb,var(--accent) 6%,var(--ui-surface));border-color:color-mix(in srgb,var(--accent) 24%,var(--ui-border))}
.space-choice-mark {border-radius:50%;overflow:hidden;width:42px;height:42px;flex:0 0 42px}
.space-choice-mark img {width:100%;height:100%;border-radius:50%;object-fit:cover}
.space-choice strong {font-size:13px;font-weight:600}
.space-choice small {font-size:11px;color:var(--ui-muted)}
.workspace-modal .space-create {min-height:42px;margin-top:16px;background:transparent;border-style:dashed;color:var(--ui-muted)}
.workspace-modal .space-create:hover {color:var(--text);border-style:solid}
.wt-result {border-radius:10px}
.wt-result strong,.wt-activity-list strong {font-size:13px}
.wt-result small,.wt-activity-list small,.wt-setting-row small {font-size:11px;color:var(--ui-muted)}
.wt-setting-row strong {font-size:13px}
.wt-command-footer,.wt-settings-bottom {font-size:11px;color:var(--ui-faint)}
.wt-result-icon {border-radius:9px;background:var(--ui-raised);border-color:var(--ui-border)}
.wt-section-head h3 {font-size:13px}
.wt-toggle {height:25px;width:40px;min-width:40px}
.wt-toggle>i {width:17px;height:17px}
.toast {border-radius:12px;background:var(--ui-raised);border-color:var(--ui-border-strong);box-shadow:0 8px 30px #0004;min-height:46px;padding:12px 17px;font-size:12px;color:var(--text)}

/* Personal tools read as one product, with stable numeric columns. */
:is(.vp-page,.ac-page,.rf-page,.vc-page) {max-width:1360px}
:is(.vp-header,.ac-page-head,.rf-header,.vc-page-head) h1 {font-size:34px;font-weight:580;line-height:1.16;letter-spacing:-1.2px}
:is(.vp-header,.ac-page-head,.rf-header,.vc-page-head) p {font-size:13px;line-height:1.65;color:var(--ui-muted)}
:is(.vp-eyebrow,.ac-kicker,.rf-header .eyebrow,.vc-page-head .eyebrow) {font-size:10px;letter-spacing:.1em;color:var(--ui-faint)}
:is(.vp-value-card,.vp-side-card,.vp-details,.ac-summary,.ac-account-card,.ac-provider-card,.rf-panel,.vc-card,.vc-panel) {background:var(--ui-surface);border-color:var(--ui-border);border-radius:16px;box-shadow:none}
.ac-provider-card {display:flex;flex-direction:column}
.ac-provider-description {flex:1;font-size:13px;color:var(--ui-muted)}
.ac-provider-card:hover {background:var(--ui-surface);border-color:var(--ui-border-strong)}
.ac-provider-mark {border-radius:11px}
.ac-card-top h3 {font-size:15px;letter-spacing:-.02em}
.ac-card-top p,.ac-provider-meta,.ac-card-bottom>span {font-size:11px;color:var(--ui-muted);line-height:1.5}
.ac-provider-meta {flex-wrap:wrap;row-gap:8px}
.ac-account-balance>strong,.ac-summary>div>strong {font-variant-numeric:tabular-nums;letter-spacing:-.035em;font-weight:550}
.ac-account-balance>span,.ac-summary>div>span,.ac-account-tags {font-size:11px;color:var(--ui-muted)}
.ac-summary {gap:32px;padding:24px}
.ac-empty-hero {background:var(--ui-surface);border-radius:20px;border-color:var(--ui-border)}
.ac-orbit-art {opacity:.75}
.ac-hero-note,.ac-footnote {font-size:11px;color:var(--ui-faint)}
.ac-text-button {font-size:11px;min-height:30px}
.vp-net-worth {font-size:46px;font-weight:520;letter-spacing:-1.7px}
.vp-capital {border-color:var(--ui-border)}
.vp-capital-heading,.vp-balance-description,.vp-personal-metrics span,.vp-side-note,.vp-source-summary small {color:var(--ui-muted);font-size:11px;line-height:1.6}
.vp-side-heading h2 {font-size:14px}
.vp-context,.vp-table-note {font-size:11px;line-height:1.6}
.vp-source-card {background:var(--ui-surface);border-color:var(--ui-border);border-radius:12px}
.vp-source-top strong {font-size:13px}
.vp-source-top small,.vp-source-value span {font-size:11px;color:var(--ui-muted)}
.vp-source-value strong {font-size:26px;letter-spacing:-.04em}
.vp-source-bottom {font-size:11px;color:var(--ui-muted)}
.vp-source-bottom button {min-height:30px;font-size:11px}
.vp-view-switch {background:var(--bg);border-color:var(--ui-border);padding:3px}
.vp-view-switch button {min-height:32px;font-size:11px}
.vp-view-switch button.active {background:var(--ui-raised);box-shadow:0 1px 2px #0002}
.vp-details-head {padding-inline:22px}
.vp-details-head nav button {min-height:54px;font-size:12px}
.vp-table th {font-size:11px;color:var(--ui-muted);background:var(--ui-hover);padding-block:15px}
.vp-table td {padding-block:17px;font-size:12px;border-color:var(--ui-border)}
.vp-table tbody tr:hover {background:var(--ui-hover)}
.vp-table td small,.vp-table-note {color:var(--ui-muted);font-size:11px}
.vp-asset strong {font-size:13px}
.vp-empty p,.vp-sync-state p {font-size:13px;color:var(--ui-muted)}
.vp-tag {font-size:10px}
.vp-source-grid {gap:14px}
.vp-add-card {border-color:var(--ui-border-strong);border-radius:12px}
.vp-add-card span {font-size:11px;color:var(--ui-muted)}
.vp-footer,.rf-footer {font-size:11px;color:var(--ui-faint);line-height:1.7}
.rf-reward-card {background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 5%,var(--ui-surface)),var(--ui-surface));border-color:var(--ui-border-strong)}
.rf-reward-number {font-size:48px;font-weight:520;letter-spacing:-1.7px}
.rf-reward-card>p,.rf-reward-stats>div>span,.rf-link-card header p,.rf-link-note,.rf-how>p,.rf-how-note {font-size:12px;color:var(--ui-muted);line-height:1.7}
.rf-reward-stats strong>small {font-size:10px;color:var(--ui-faint)}
.rf-link-card>label,.rf-scope>span {font-size:12px}
.rf-link-input input {font-size:12px;background:var(--bg)}
.rf-demo-strip,.rf-table-note,.rf-calculator-result p {font-size:11px;color:var(--ui-muted)}
.rf-code-row,.rf-code-row button,.rf-code-row strong {font-size:11px;line-height:1.6}
.rf-code-row button {min-height:32px}
.rf-flow>div {font-size:12px}
.rf-page th {font-size:11px;color:var(--ui-muted)}
.rf-page td {font-size:12px;font-variant-numeric:tabular-nums}
.rf-pill {font-size:10px}
.rf-section-kicker {font-size:10px;letter-spacing:.09em;color:var(--ui-faint)}
.vc-card {border-radius:var(--circle-card-radius,16px)}
.vc-card:hover {border-color:var(--ui-border-strong)}
.vc-community-copy p,.vc-card>p,.vc-demo-note {color:var(--ui-muted);font-size:12px;line-height:1.7}
.vc-community-grid,.vc-private-grid {gap:16px}
.vc-community-art {filter:saturate(.82)}
.vc-directory-label {font-size:11px;color:var(--ui-faint);letter-spacing:.08em}

/* Creator tools: operational hierarchy instead of oversized dashboard chrome. */
.cr-workspace .cr-studio-head {border-color:var(--ui-border)}
.cr-workspace .cr-section-title h2 {font-size:34px;line-height:1.15;letter-spacing:-1.25px;font-weight:580}
.cr-launch-title>div>p {font-size:13px;color:var(--ui-muted);max-width:600px}
.cr-workspace :is(.cr-panel,.cr-metric,.cr-overview-stat,.cr-launch,.cr-connection-card,.cr-venue-card) {border-color:var(--ui-border);box-shadow:none;background:var(--ui-surface);border-radius:16px}
.cr-workspace .cr-overview-stat>strong {font-size:30px;font-weight:540;margin:18px 0 10px}
.cr-workspace .cr-overview-stat>small,.cr-launch-step small,.cr-launch-intro>small {font-size:11px;line-height:1.6;color:var(--ui-muted)}
.cr-launch-step strong {font-size:13px}
.cr-launch-step {min-height:79px}
.cr-launch-intro {background:color-mix(in srgb,var(--accent) 3%,var(--ui-surface));border-color:var(--ui-border)}
.cr-launch-step:hover {background:var(--ui-hover)}
.cr-step-link {font-size:11px}
.cr-launch-kicker,.cr-operations-grid .cr-panel-head .eyebrow {font-size:10px;letter-spacing:.09em}
.cr-workspace .cr-operations-grid .cr-panel-head h3 {font-size:20px;font-weight:550}
.cr-workspace .cr-session-actions .btn {font-size:12px}
.cr-workspace .cr-panel-head p {font-size:13px;line-height:1.7;color:var(--ui-muted)}
.cr-workspace :is(.cr-session-status>span:last-child,.cr-review-people>span:last-child,.cr-plan-note,.cr-note) {font-size:11px;line-height:1.6;color:var(--ui-muted)}
.cr-workspace th {color:var(--ui-muted);font-size:11px}
.cr-workspace td {font-variant-numeric:tabular-nums}
.cr-workspace .cr-table-scroll tbody tr:hover {background:var(--ui-hover)}
.cr-launch-steps {padding-inline:24px}

@media(min-width:1001px) {
  .workspace-shell .topbar .search-button {display:flex;width:auto;min-height:33px;border:1px solid var(--ui-border);border-radius:8px;padding:6px 10px;gap:8px;background:var(--ui-surface)}
  .workspace-shell .topbar .search-button span,.workspace-shell .topbar .search-button kbd {display:inline;font-size:11px}
  .workspace-shell .topbar .search-button kbd {border:1px solid var(--ui-border);border-radius:4px;padding:2px 4px;font-size:10px;margin-left:22px;color:var(--ui-faint)}
}
@media(max-width:1000px) {
  .ac-summary {gap:22px;flex-wrap:wrap}
  .ac-provider-grid {gap:12px}
  .vp-source-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px) {
  .workspace-shell .topbar {padding-inline:16px}
  .workspace-nav .wn-link {min-height:40px;font-size:13px}
  .workspace-nav .wn-search {min-height:42px}
  .workspace-shell .mobile-tabbar {background:color-mix(in srgb,var(--bg) 96%,transparent);backdrop-filter:blur(14px);border-color:var(--ui-border)}
  .workspace-shell .mobile-tabbar>button {font-size:10px;font-weight:550;gap:5px;min-height:56px;padding:6px 0;color:var(--ui-faint)}
  .workspace-shell .mobile-tabbar>button.active {color:var(--trade-accent,var(--accent))}
  .workspace-shell .mobile-tabbar>button.active::before {background:var(--accent-soft);width:39px;height:30px;top:3px;border-radius:10px}
  .workspace-shell .mobile-tabbar svg {width:21px;height:21px;stroke-width:1.7}
  .modal-overlay {padding:0;align-items:flex-end}
  .modal-box {border-radius:20px 20px 0 0;padding:34px 22px calc(25px + env(safe-area-inset-bottom));max-height:91dvh}
  .modal-box h2 {font-size:25px}
  .modal-box :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select) {font-size:16px}
  .modal-box .modal-close {min-width:40px;min-height:40px;top:11px;right:11px}
  .modal-box .btn {min-height:44px}
  .space-list {margin-top:18px}
  .workspace-modal .space-choice {padding:12px 10px;min-height:74px}
  .wt-section-head {gap:10px}
  :is(.vp-header,.ac-page-head,.rf-header,.vc-page-head) h1,.cr-workspace .cr-section-title h2 {font-size:29px;letter-spacing:-1px}
  .vp-header {flex-wrap:wrap;gap:18px}
  .vp-header-actions {flex-wrap:wrap}
  .vp-net-worth {font-size:38px;letter-spacing:-1.2px}
  .vp-details-head {padding-inline:16px}
  .vp-source-grid {grid-template-columns:1fr;padding:14px}
  .vp-value-card,.vp-side-card {padding:21px 18px}
  .vp-view-switch {overflow-x:auto;max-width:100%}
  .vp-view-switch button {white-space:nowrap}
  .ac-summary {padding:20px;gap:20px}
  .ac-account-tags {gap:12px;flex-wrap:wrap}
  .ac-provider-card,.ac-account-card {padding:20px}
  .ac-provider-grid {grid-template-columns:1fr}
  .ac-summary-note {margin-left:0}
  .rf-reward-number {font-size:42px}
  .rf-reward-stats strong>small {font-size:10px;line-height:1.6}
  .rf-scope select {min-height:44px}
  .rf-code-row {flex-wrap:wrap;row-gap:6px}
  .rf-calculator-fields label {font-size:12px}
  .rf-calculator-fields input {font-size:16px}
  .cr-workspace .cr-section-title {flex-wrap:wrap;gap:18px}
  .cr-launch-steps {padding-inline:20px}
  .cr-step-link {font-size:0}
  .cr-overview-stats {gap:12px}
  .cr-workspace .cr-overview-stat {padding:18px 15px}
  .cr-workspace .cr-overview-stat>strong {font-size:27px}
}
@media(max-width:400px) {
  .vp-net-worth {font-size:32px;gap:7px}
  .vp-net-worth small {font-size:11px}
  .vp-header-actions {width:100%}
  .vp-header-actions .btn {flex:1;padding-inline:11px}
  .ac-heading-row {flex-wrap:wrap;gap:16px}
  .rf-reward-stats {column-gap:10px}
  .rf-reward-stats>div:last-child {flex-wrap:wrap}
  .cr-workspace .cr-overview-stat>span {font-size:10px;gap:6px}
  .cr-session-actions {gap:12px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce) {
  .modal-overlay,.modal-box,.toast,.workspace-shell .view-content.page-enter {animation:none}
}
