/* Seedline workspaces. Presentation only: original forms, state and actions stay intact. */
.site-shell:not(.mb-bloom-theme),
.site-shell:not(.mb-bloom-theme) .app-page {
  --ink:#f7f7ff; --panel:#fff; --line:#27187e20; --line-strong:#27187e40;
  --text:#27187e; --muted-text:#746891; --blue:#27187e; --cyan:#7561ac;
  --violet:#8b76ba; --pink:#6950a4; --sm-accent:#6950a4;
  --green:#23795c; --red:#ac4157; --sm-mono:var(--sl-mono,'IBM Plex Mono',monospace);
  --sm-app-ink:#f7f7ff; --sm-app-panel:#fff; --sm-app-raised:#f0ecfa;
  --sm-app-line:#27187e20; --sm-app-line-bright:#27187e40;
  --sm-app-white:#27187e; --sm-app-muted:#746891; --sm-app-rose:#6950a4;
  --sm-app-mono:var(--sl-mono,'IBM Plex Mono',monospace);
  color:#27187e; color-scheme:light; font-family:var(--sl-font,'Space Grotesk',Arial,sans-serif);
}
.site-shell:not(.mb-bloom-theme) { background:#f7f7ff; }
.site-shell:not(.mb-bloom-theme) ::selection { background:#ded4f7; color:#27187e; }
.site-shell:not(.mb-bloom-theme) .noise { opacity:0; }
.site-shell:not(.mb-bloom-theme) :is(button,input,textarea,select) { font-family:inherit; }
.site-shell:not(.mb-bloom-theme) :is(button,a,input,textarea,select):focus-visible { outline:2px solid #7660b0; outline-offset:4px; }
.site-shell:not(.mb-bloom-theme) .eyebrow { color:#78688f!important; font:400 10px/1.6 var(--sm-mono)!important; letter-spacing:.08em!important; }
.site-shell:not(.mb-bloom-theme) .eyebrow:before,
.site-shell:not(.mb-bloom-theme) .eyebrow:after { content:none; }

/* A shared, quiet navigation frame across the workspace. */
.site-shell:not(.mb-bloom-theme) > .topbar { width:min(1280px,calc(100% - 80px)); min-height:88px; padding:20px 0; gap:28px; border:0; border-bottom:1px solid #27187e20; background:#f7f7ffef; box-shadow:none; backdrop-filter:blur(16px); }
.site-shell:not(.mb-bloom-theme) .topbar .brand { gap:10px; color:#27187e; font:600 28px/1.2 var(--sl-font,'Space Grotesk',Arial,sans-serif); letter-spacing:-1.3px; }
.site-shell:not(.mb-bloom-theme) .brand-mark { width:28px; height:28px; background:#27187e; border:0; border-radius:0; box-shadow:none; }
.site-shell:not(.mb-bloom-theme) .brand-mark i { opacity:0; }
.site-shell:not(.mb-bloom-theme) .topbar nav { gap:32px; }
.site-shell:not(.mb-bloom-theme) .topbar nav button { color:#7e7099; min-height:40px; padding:10px 0; font:400 11px/1.5 var(--sm-mono); text-transform:uppercase; letter-spacing:.035em; }
.site-shell:not(.mb-bloom-theme) .topbar nav button:hover,
.site-shell:not(.mb-bloom-theme) .topbar nav button.active { color:#27187e; background:transparent; }
.site-shell:not(.mb-bloom-theme) .topbar nav button.active:after { background:#27187e; width:4px; height:4px; left:50%; bottom:0; border-radius:50%; transform:translateX(-50%); }
.site-shell:not(.mb-bloom-theme) > footer { width:min(1280px,calc(100% - 80px)); border-top:1px solid #27187e20; color:#7d6c94; padding:26px 0 34px; font:400 10px/1.6 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) > footer .footer-brand { color:#27187e; font:500 15px/1.3 var(--sl-font); letter-spacing:-.04em; }
.site-shell:not(.mb-bloom-theme) > footer :is(button,.footer-policy) { color:#77688d; font-family:var(--sl-font); font-size:12px; }
.site-shell:not(.mb-bloom-theme) > footer :is(button,.footer-policy):hover { color:#27187e; text-decoration-color:#7e68ae; }

/* Clear typographic hierarchy; original section order is preserved. */
.site-shell:not(.mb-bloom-theme) .app-page { width:min(1280px,calc(100% - 80px)); padding-top:146px; padding-bottom:80px; }
.site-shell:not(.mb-bloom-theme) .app-page .page-title { max-width:900px; margin-bottom:38px; }
.site-shell:not(.mb-bloom-theme) .app-page .page-title .eyebrow { margin-bottom:18px; }
.site-shell:not(.mb-bloom-theme) .app-page .page-title h1 { color:#27187e; font:500 clamp(42px,5.1vw,68px)/1.05 var(--sl-font); letter-spacing:-.065em; }
.site-shell:not(.mb-bloom-theme) .app-page .page-title > p:last-child:not(.eyebrow) { max-width:590px; color:#746891; font-size:15px; line-height:1.75; margin-top:18px; }
.site-shell:not(.mb-bloom-theme) .app-page .terminal-grid { gap:20px; grid-template-columns:minmax(0,1.6fr) minmax(310px,.72fr); }
.site-shell:not(.mb-bloom-theme) .app-page :is(.terminal-panel,.balance-box,.empty-state,.coming-soon-card) { background:#fff; border:1px solid #27187e1e; border-radius:10px; box-shadow:0 4px 22px #27187e03; }
.site-shell:not(.mb-bloom-theme) .app-page :is(.form-panel,.logo-panel,.extras-panel,.authority-panel,.summary-panel,.pool-builder,.swap-panel,.token-data-panel,.market-simulation) { padding:28px; }
.site-shell:not(.mb-bloom-theme) .app-page .panel-head { margin-bottom:26px; padding-bottom:20px; gap:13px; border-color:#27187e18; }
.site-shell:not(.mb-bloom-theme) .app-page .panel-head > span:first-child { background:#f0ebfb; border:1px solid #27187e15; border-radius:5px; color:#7461a2; width:34px; height:34px; font:400 11px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .panel-head h2 { color:#27187e; font:500 14px/1.5 var(--sl-font); letter-spacing:-.015em; }
.site-shell:not(.mb-bloom-theme) .app-page .panel-head p { color:#76618a; font:400 12px/1.6 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .panel-head > i { color:#76618a; font:400 9px/1.5 var(--sm-mono); letter-spacing:.04em; }

/* Native inputs, focus rings, and state colors. */
.site-shell:not(.mb-bloom-theme) .app-page label { color:#74658b; font:500 10px/1.6 var(--sm-mono); letter-spacing:.035em; }
.site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea,select) { color:#302253; background:#fbfaff; border:1px solid #dcd5eb; border-radius:5px; font:400 14px/1.5 var(--sl-font); letter-spacing:0; box-shadow:none; color-scheme:light; }
.site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea)::placeholder { color:#76618a; opacity:1; }
.site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea,select):hover { border-color:#afa0c9; }
.site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea,select):focus { background:#fff; border-color:#8d77b9; outline:2px solid #d8caed; outline-offset:2px; box-shadow:none; }
.site-shell:not(.mb-bloom-theme) .app-page input[type=number] { font-family:var(--sm-mono); font-size:13px; font-variant-numeric:tabular-nums; }
.site-shell:not(.mb-bloom-theme) .app-page textarea { min-height:116px; line-height:1.7; }
.site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea,select):disabled { color:#76618a; background:#f0edf6; cursor:not-allowed; }
.site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea,select)[aria-invalid=true] { border-color:#ac4157; }
.site-shell:not(.mb-bloom-theme) .app-page .field-row { gap:18px; margin-bottom:22px; }
.site-shell:not(.mb-bloom-theme) .app-page .form-panel > label { margin-bottom:22px; }
.site-shell:not(.mb-bloom-theme) .app-page :is(.notice,.secure-note,.profile-note) { color:#7d6d92; font:400 12px/1.7 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .primary { background:#27187e; color:#f7f7ff; border:1px solid #27187e; border-radius:5px; min-height:48px; font:500 13px/1.5 var(--sl-font); letter-spacing:-.01em; box-shadow:none; }
.site-shell:not(.mb-bloom-theme) .app-page .primary:hover { background:#432f96; border-color:#432f96; box-shadow:0 5px 14px #27187e10; }
.site-shell:not(.mb-bloom-theme) .app-page .primary:disabled,
.site-shell:not(.mb-bloom-theme) .app-page .primary:disabled:hover { background:#e1daed; border-color:#e1daed; color:#76618a; box-shadow:none; }
.site-shell:not(.mb-bloom-theme) .app-page .ghost { background:#f9f7fe; color:#685487; border:1px solid #d5cbe6; border-radius:5px; min-height:46px; font:500 12px/1.5 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .ghost:hover { background:#eee8f8; border-color:#a894c7; }
.site-shell:not(.mb-bloom-theme) .app-page .ghost:disabled:hover { background:#f9f7fe; border-color:#d5cbe6; }
.site-shell:not(.mb-bloom-theme) .app-page button:disabled { cursor:not-allowed; }

/* Identity preview and optional modules. */
.site-shell:not(.mb-bloom-theme) .app-page .logo-drop { background-color:#f6f2fc; background-image:radial-gradient(#a48bbc30 .65px,transparent .65px); background-size:10px 10px; border:1px dashed #c3b1dc; border-radius:7px; min-height:240px; gap:22px; }
.site-shell:not(.mb-bloom-theme) .app-page .logo-drop:hover { background-color:#f1ebfa; border-color:#8b70b3; }
.site-shell:not(.mb-bloom-theme) .app-page .logo-drop strong { width:98px; height:98px; color:#60418f; background:#e8ddf6; border:1px solid #c8b2e1; border-radius:50%; font:500 26px var(--sm-mono); box-shadow:0 0 0 7px #f6f2fc,0 0 0 8px #e3d6ef; }
.site-shell:not(.mb-bloom-theme) .app-page .logo-drop img { width:98px; height:98px; border-color:#c3b1dc; box-shadow:0 0 0 7px #f6f2fc; }
.site-shell:not(.mb-bloom-theme) .app-page .logo-drop span { color:#76618a; font:400 10px/1.6 var(--sm-mono); letter-spacing:.035em; }
.site-shell:not(.mb-bloom-theme) .app-page .generate-button { background:#fff; border:1px solid #d9cde8; border-radius:5px; color:#65507f; font:500 11px/1.5 var(--sl-font); min-height:46px; }
.site-shell:not(.mb-bloom-theme) .app-page .generate-button:hover,
.site-shell:not(.mb-bloom-theme) .app-page .generate-button[aria-pressed=true] { background:#eee7f8; border-color:#a48bc5; }
.site-shell:not(.mb-bloom-theme) .app-page .generate-button span { color:#76618a; font-family:var(--sm-mono); font-size:10px; }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option { border-color:#e6def0; padding:22px 0; }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option.enabled { background:#f6f2fc; border:1px solid #cdb9e6; border-radius:7px; padding:22px 18px; }
.site-shell:not(.mb-bloom-theme) .app-page .option-switch { width:42px; height:24px; padding:3px; border-radius:99px; background:#e5ddec; border:1px solid #cabbdc; }
.site-shell:not(.mb-bloom-theme) .app-page .option-switch i { width:16px; height:16px; background:#aa98ba; border-radius:50%; }
.site-shell:not(.mb-bloom-theme) .app-page .enabled .option-switch { background:#69509a; border-color:#69509a; }
.site-shell:not(.mb-bloom-theme) .app-page .enabled .option-switch i { background:#fff; transform:translateX(17px); }
.site-shell:not(.mb-bloom-theme) .app-page .option-title { color:#38215c; font-size:14px; font-weight:500; }
.site-shell:not(.mb-bloom-theme) .app-page .option-title em { color:#7b5d9e; background:#eee4f6; border-color:#d8c5e8; border-radius:3px; padding:3px 5px; font:400 9px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option-head > b { color:#76618a; font:400 11px/1.4 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option > p,
.site-shell:not(.mb-bloom-theme) .app-page .liquidity-option small { color:#76618a; font-size:12px; line-height:1.7; }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.integrated-bot-fields),
.site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.reference-bot-fields) { background:#f6f2fc!important; border:1px solid #cdb9e6!important; border-radius:7px!important; padding:22px 18px!important; }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.integrated-bot-fields) .option-switch,
.site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.reference-bot-fields) .option-switch { background:#69509a!important; border-color:#69509a; border-radius:99px; }
.site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.integrated-bot-fields) .option-switch i,
.site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.reference-bot-fields) .option-switch i { background:#fff!important; border-radius:50%; }
.site-shell:not(.mb-bloom-theme) .app-page .simulation-fields.integrated-bot-fields input,
.site-shell:not(.mb-bloom-theme) .app-page .reference-bot-fields input { color:#392451!important; background:#fff!important; border:1px solid #d7c8e4!important; border-radius:5px!important; font:400 14px/1.5 var(--sl-font)!important; }
.site-shell:not(.mb-bloom-theme) .app-page .simulation-fields.integrated-bot-fields input:focus,
.site-shell:not(.mb-bloom-theme) .app-page .reference-bot-fields input:focus { border-color:#9376b6!important; outline:2px solid #ddcfeb; }
.site-shell:not(.mb-bloom-theme) .app-page .simulation-fields.integrated-bot-fields :is(p,small),
.site-shell:not(.mb-bloom-theme) .app-page .reference-bot-fields :is(p,small),
.site-shell:not(.mb-bloom-theme) .app-page .integrated-bot-fields label > span { color:#76618a; }
.site-shell:not(.mb-bloom-theme) .app-page .simulation-fields.integrated-bot-fields h4 { color:#67477f; border-color:#dfd0e9; font:500 12px/1.6 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .bot-preset-note { color:#76618a; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-row { gap:10px; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-row label > span { color:#76618a; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-remove { color:#76618a; background:#f2ebf8; border-color:#d8c9e6; border-radius:5px; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-remove:hover { color:#9b3656; border-color:#c88ba2; background:#fff0f3; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-add { color:#74508e; background:#f4eef9; border-color:#bca0ce; border-radius:5px; font:500 12px/1.5 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-add:hover { background:#e9ddf3; border-color:#9970b6; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-empty { color:#76618a; }
.site-shell:not(.mb-bloom-theme) .app-page .mb-link-error { color:#a5385c; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards { gap:10px; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards button { color:#76618a; background:#fcfaff; border:1px solid #e0d5e9; border-radius:6px; padding:18px 15px; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards button:hover { background:#f4edf9; border-color:#b797cc; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards button.selected { color:#6b4d7e; background:#f0e6f8; border-color:#ae88c6; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards button > span i { color:#fff; background:#fff; border-color:#cbb4da; border-radius:3px; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards button.selected > span i { background:#725096; border-color:#725096; }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards b { color:#694a80; font:500 10px/1.6 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards p { min-height:64px; font:400 12px/1.65 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .authority-cards em { color:#76618a; font:400 10px/1.5 var(--sm-mono); }

/* An indigo receipt anchors the builder, mirroring the landing's lower section. */
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel { top:112px; background:#27187e; border-color:#27187e; border-radius:10px; color:#f7f7ff; padding:27px; box-shadow:0 8px 26px #27187e0a; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel > .eyebrow { color:#b8a9da!important; }
.site-shell:not(.mb-bloom-theme) .app-page .token-preview { background:#ffffff0b; border:1px solid #ffffff20; border-radius:6px; padding:17px 14px; }
.site-shell:not(.mb-bloom-theme) .app-page .token-preview > div { color:#e8dcfc; background:#ffffff12; border-color:#ffffff2c; font:500 14px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .token-preview b { color:#f7f7ff; font:500 19px/1.3 var(--sl-font); letter-spacing:-.035em; }
.site-shell:not(.mb-bloom-theme) .app-page .token-preview small { color:#bcacd8; font:400 12px/1.5 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page dt { color:#76618a; font:400 10px/1.6 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page dd { color:#48315f; font:500 11px/1.6 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel dl > div { border-color:#ffffff1c; padding:15px 0; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel dt { color:#b4a3d1; font-size:9px; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel dd { color:#ece4fa; font-weight:400; font-size:10px; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .total { margin:14px 0 24px; padding:16px 0 22px; border-color:#ffffff2c; color:#f7f7ff; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .total span { color:#c3b3df; font:400 10px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .total b { color:#fff; font:500 31px/1.1 var(--sl-font); letter-spacing:-.055em; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .primary { color:#27187e; background:#f4efff; border-color:#f4efff; font-weight:600; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .primary:hover { background:#fff; border-color:#fff; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .primary:disabled { background:#675395; border-color:#675395; color:#c0b0d6; }
.site-shell:not(.mb-bloom-theme) .app-page .summary-panel .secure-note { color:#b09ccb; font-size:10px; }

/* Token profile, its parameters and the original ledger. Chart palette is supplied separately. */
.site-shell:not(.mb-bloom-theme) .app-page.token-profile-page { padding-top:124px; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-hero { background:#eee7f9; border:1px solid #d8cae9; border-radius:10px; padding:30px; gap:26px; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-hero:before { border-color:#ffffff70; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-token-mark { color:#654486; background:#e1d1f0; border:1px solid #bea4d5; box-shadow:0 0 0 5px #eee7f9,0 0 0 6px #d4bee5; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .profile-identity h1 { color:#382057; font-family:var(--sl-font); font-weight:500; letter-spacing:-.055em; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-identity h1 span { color:#76618a; font-family:var(--sm-mono); font-size:.4em; letter-spacing:-.025em; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-identity > p:not(.eyebrow) { color:#836b98; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-identity code { color:#76618a; font:400 11px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .profile-identity i { color:#6d4c86; border-color:#c7aed9; background:#e5d8f1; border-radius:4px; font:400 9px var(--sm-mono); padding:5px 7px; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-actions > small { color:#76618a; font:400 9px var(--sm-mono); letter-spacing:.05em; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-hero:has(.sm-profile-art) .profile-actions { border-color:#d2bedf; }
.site-shell:not(.mb-bloom-theme) .sm-profile-art { border-color:#d5c3e4; }
.site-shell:not(.mb-bloom-theme) .sm-profile-art canvas { filter:brightness(.45) sepia(1) saturate(2) hue-rotate(195deg); opacity:.65; }
.site-shell:not(.mb-bloom-theme) .sm-profile-caption { color:#76618a; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page :is(.profile-lower-grid,.trading-terminal-layout) { gap:20px; }
.site-shell:not(.mb-bloom-theme) .app-page .token-data-panel dl > div { border-color:#e7ddf0; }
.site-shell:not(.mb-bloom-theme) .app-page .token-data-panel dd.positive { color:#23795c; }
.site-shell:not(.mb-bloom-theme) .app-page .profile-demo-notice { color:#836a98; background:#f2ebf9; border-color:#d6c3e6; }
.site-shell:not(.mb-bloom-theme) .app-page .trade-ledger-panel { background:#fff; padding:24px!important; }
.site-shell:not(.mb-bloom-theme) .app-page .sim-stats { border-color:#e0d3eb; background:#e0d3eb; border-radius:6px; }
.site-shell:not(.mb-bloom-theme) .app-page .sim-stats > div { background:#f8f4fc; padding:18px 14px; }
.site-shell:not(.mb-bloom-theme) .app-page .sim-stats span { color:#76618a; font:400 9px/1.5 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .sim-stats b { color:#4a2c68; font:500 17px/1.45 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .sim-stats small { color:#76618a; font:400 10px/1.5 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .closed-stat b { color:#ac4157; }
.site-shell:not(.mb-bloom-theme) .app-page .trading-terminal-layout .profile-market > .panel-head button { color:#78558e; background:#f4ecf9; border:1px solid #ccb5dd; border-radius:4px; font:400 10px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .trading-terminal-layout .profile-market > .panel-head button:hover { background:#e9dbf2; border-color:#a17bb9; }
.site-shell:not(.mb-bloom-theme) .app-page .sim-tape { color:#76618a; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .trade-ledger-card { background:#fbf8fe; border:1px solid #e6d9ef; border-radius:6px; }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-head > b { color:#23795c; background:#eaf5ef; border-color:#bedccb; border-radius:3px; font:500 10px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .trade-ledger-card.sell .ledger-card-head > b { color:#ac4157; background:#fff0f3; border-color:#e9c2cc; }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-head time,
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-footer { color:#76618a; font:400 10px/1.5 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-amounts { border-color:#e9deef; }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-amounts small { color:#76618a; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-amounts strong { color:#6d4585; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-footer button { color:#76618a; text-decoration-color:#b691c9; }
.site-shell:not(.mb-bloom-theme) .app-page .ledger-card-footer button:hover { color:#4c206e; }
.site-shell:not(.mb-bloom-theme) .app-page .market-empty { color:#76618a; }

/* Pool states remain honest about their original availability. */
.site-shell:not(.mb-bloom-theme) .app-page .empty-state { min-height:420px; padding:48px 30px; background:#f0ebf9; background-image:radial-gradient(ellipse at 50% 25%,#e5dbf3,transparent 65%); border-color:#ded2eb; }
.site-shell:not(.mb-bloom-theme) .app-page .empty-state h2 { color:#4d2f6b; font:500 clamp(32px,4vw,50px)/1.1 var(--sl-font); letter-spacing:-.055em; margin-bottom:18px; }
.site-shell:not(.mb-bloom-theme) .app-page .empty-state p { color:#76618a; font-size:14px; line-height:1.7; }
.site-shell:not(.mb-bloom-theme) .app-page .empty-state .rings { opacity:.7; }
.site-shell:not(.mb-bloom-theme) .app-page .empty-state .rings span { border-color:#bca3d0; box-shadow:none; }
.site-shell:not(.mb-bloom-theme) .app-page .balance-box :is(span,small) { color:#76618a; font:400 10px/1.5 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .balance-box b { color:#5e3e7b; font-family:var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .pair-inputs label b,
.site-shell:not(.mb-bloom-theme) .app-page .pair-inputs > button { color:#75528f; background:#ede2f5; border-color:#d1bce2; }
.site-shell:not(.mb-bloom-theme) .app-page .market-metrics > div { color:#68467e; background:#f8f2fc; border-color:#e1d0ec; border-radius:6px; }
.site-shell:not(.mb-bloom-theme) .app-page .market-metrics span { color:#76618a; font:400 10px/1.5 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .market-metrics b { font-family:var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .swap-box { background:#f9f4fc; border-color:#d4bce2; border-radius:6px; }
.site-shell:not(.mb-bloom-theme) .app-page .swap-box > span { color:#76618a; }
.site-shell:not(.mb-bloom-theme) .app-page .swap-box button,
.site-shell:not(.mb-bloom-theme) .app-page .swap-box.received em { color:#79508d; background:#ebdcf4; border-color:#c9acdb; }
.site-shell:not(.mb-bloom-theme) .app-page .swap-box input { background:transparent; border:0; }
.site-shell:not(.mb-bloom-theme) .app-page .route-line { color:#76618a; font-family:var(--sm-mono); }

/* Help: an editorial list and a soft, legible conversation panel. */
.site-shell:not(.mb-bloom-theme) .app-page .support-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:24px; }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list { display:grid; gap:10px; }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list article { background:#fff; border:1px solid #dfd2e9; border-radius:7px; }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list article.open { background:#f2eaf9; border-color:#c0a3d6; }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list button { padding:22px 18px; gap:12px; grid-template-columns:26px minmax(0,1fr) 20px; }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list button b { color:#614078; font:500 14px/1.6 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list button :is(span,i) { color:#76618a; font:400 11px/1.5 var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list article > p { margin:0 46px 24px 56px; color:#76618a; font:400 13px/1.75 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .faq-list article:focus-within { border-color:#a17bb9; }
.site-shell:not(.mb-bloom-theme) .app-page .chat-panel { top:112px; padding:25px; }
.site-shell:not(.mb-bloom-theme) .app-page .chat-panel .panel-head > span.live-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:#a48abc; box-shadow:0 0 0 5px #f1e8f8; margin:10px; }
.site-shell:not(.mb-bloom-theme) .app-page .chat-panel .messages { background:#f9f5fc; border-color:#e8dbef; border-radius:6px; padding:14px; }
.site-shell:not(.mb-bloom-theme) .app-page .messages span { color:#8b60a1; background:#ede0f4; border:1px solid #dbc2e8; border-radius:4px; font:500 9px var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .app-page .messages .user span { color:#f7efff; background:#7c5794; border-color:#7c5794; }
.site-shell:not(.mb-bloom-theme) .app-page .messages p { color:#76618a; background:#fff; border:1px solid #e6d5ef; border-radius:6px; padding:12px; font:400 12px/1.75 var(--sl-font); }
.site-shell:not(.mb-bloom-theme) .app-page .messages .user p { color:#79518c; background:#f0e1f7; border-color:#d7b9e5; }
.site-shell:not(.mb-bloom-theme) .app-page .chat-panel form button { color:#fff; background:#694584; border-color:#694584; border-radius:5px; }
.site-shell:not(.mb-bloom-theme) .app-page .chat-panel form button:hover { background:#4b2b67; border-color:#4b2b67; }
.site-shell:not(.mb-bloom-theme) .mb-preview-banner { color:#76618a; background:#eee5f7; border-color:#d5bee5; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .mb-preview-banner > span,
.site-shell:not(.mb-bloom-theme) .mb-preview-tag { color:#7c4f97; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .mb-preview-options { border-color:#d8c1e6; }
.site-shell:not(.mb-bloom-theme) .mb-preview-options label { color:#76618a; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .mb-preview-options input { color:#69457d; background:#fff; border-color:#c5a9d9; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .mb-preview-presets button { color:#76618a; border-color:#dac5e6; border-radius:4px; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .mb-preview-presets button[aria-pressed=true] { color:#6e4088; border-color:#a77cbd; background:#ead8f3; }
.site-shell:not(.mb-bloom-theme) .mb-preview-options p { color:#76618a; font-family:var(--sm-mono); }
.site-shell:not(.mb-bloom-theme) .mb-preview-options .mb-preview-error { color:#a5385c; }

@media(min-width:1600px) {
  .site-shell:not(.mb-bloom-theme) .app-page { padding-top:158px; }
}
@media(max-width:1100px) {
  .site-shell:not(.mb-bloom-theme) > .topbar,
  .site-shell:not(.mb-bloom-theme) > footer,
  .site-shell:not(.mb-bloom-theme) .app-page { width:calc(100% - 48px); }
  .site-shell:not(.mb-bloom-theme) .app-page .terminal-grid { grid-template-columns:minmax(0,1.25fr) minmax(280px,.7fr); gap:16px; }
  .site-shell:not(.mb-bloom-theme) .app-page :is(.form-panel,.logo-panel,.extras-panel,.authority-panel,.summary-panel,.pool-builder,.swap-panel,.token-data-panel,.market-simulation) { padding:23px; }
  .site-shell:not(.mb-bloom-theme) .app-page .authority-cards { grid-template-columns:1fr; }
  .site-shell:not(.mb-bloom-theme) .app-page .authority-cards p { min-height:0; margin:10px 0; }
  .site-shell:not(.mb-bloom-theme) .app-page .support-grid { gap:18px; }
}
@media(max-width:1000px) {
  .site-shell:not(.mb-bloom-theme) .app-page .terminal-grid { grid-template-columns:minmax(0,1fr); }
  .site-shell:not(.mb-bloom-theme) .app-page :is(.form-panel,.logo-panel,.extras-panel,.authority-panel,.summary-panel) { grid-area:auto / 1; position:static; }
  .site-shell:not(.mb-bloom-theme) .app-page .summary-panel { width:100%; }
  .site-shell:not(.mb-bloom-theme) .app-page .authority-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:820px) {
  .site-shell:not(.mb-bloom-theme) > .topbar,
  .site-shell:not(.mb-bloom-theme) > footer,
  .site-shell:not(.mb-bloom-theme) .app-page { width:calc(100% - 40px); }
  .site-shell:not(.mb-bloom-theme) > .topbar { min-height:78px; padding:18px 0; gap:18px; }
  .site-shell:not(.mb-bloom-theme) .topbar nav { gap:20px; }
  .site-shell:not(.mb-bloom-theme) .topbar nav button { font-size:10px; }
  .site-shell:not(.mb-bloom-theme) .app-page { padding-top:126px; }
  .site-shell:not(.mb-bloom-theme) .app-page.token-profile-page { padding-top:110px; }
  .site-shell:not(.mb-bloom-theme) .app-page .support-grid { grid-template-columns:minmax(0,1fr); }
  .site-shell:not(.mb-bloom-theme) .app-page .chat-panel { position:static; }
}
@media(max-width:620px) {
  .site-shell:not(.mb-bloom-theme) > .topbar,
  .site-shell:not(.mb-bloom-theme) > footer,
  .site-shell:not(.mb-bloom-theme) .app-page { width:calc(100% - 36px); }
  .site-shell:not(.mb-bloom-theme) > .topbar { display:flex; flex-wrap:wrap; padding:15px 0 10px; min-height:112px; gap:8px; }
  .site-shell:not(.mb-bloom-theme) .topbar .brand { font-size:25px; min-height:32px; }
  .site-shell:not(.mb-bloom-theme) .topbar nav { width:100%; gap:12px; justify-content:space-between; }
  .site-shell:not(.mb-bloom-theme) .topbar nav button { min-width:44px; min-height:40px; padding:9px 0; font-size:10px; }
  .site-shell:not(.mb-bloom-theme) .app-page,
  .site-shell:not(.mb-bloom-theme) .app-page.token-profile-page { padding-top:150px; padding-bottom:52px; }
  .site-shell:not(.mb-bloom-theme) .app-page .page-title { margin-bottom:28px; }
  .site-shell:not(.mb-bloom-theme) .app-page .page-title h1 { font-size:clamp(36px,9.5vw,54px); }
  .site-shell:not(.mb-bloom-theme) .app-page .page-title > p:last-child:not(.eyebrow) { font-size:14px; margin-top:16px; }
  .site-shell:not(.mb-bloom-theme) .app-page .terminal-grid { gap:14px; }
  .site-shell:not(.mb-bloom-theme) .app-page :is(.form-panel,.logo-panel,.extras-panel,.authority-panel,.summary-panel,.pool-builder,.swap-panel,.token-data-panel,.market-simulation,.chat-panel) { padding:21px 17px; }
  .site-shell:not(.mb-bloom-theme) .app-page .panel-head { gap:10px; margin-bottom:22px; padding-bottom:18px; }
  .site-shell:not(.mb-bloom-theme) .app-page .panel-head h2 { font-size:13px; }
  .site-shell:not(.mb-bloom-theme) .app-page .panel-head > i { max-width:76px; font-size:8px; }
  .site-shell:not(.mb-bloom-theme) .app-page :is(input,textarea,select) { font-size:16px; }
  .site-shell:not(.mb-bloom-theme) .app-page .simulation-fields.integrated-bot-fields input,
  .site-shell:not(.mb-bloom-theme) .app-page .reference-bot-fields input { font-size:16px!important; }
  .site-shell:not(.mb-bloom-theme) .app-page .field-row,
  .site-shell:not(.mb-bloom-theme) .app-page .authority-cards { grid-template-columns:minmax(0,1fr); }
  .site-shell:not(.mb-bloom-theme) .app-page .paid-option.enabled { padding:18px 14px; }
  .site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.integrated-bot-fields),
  .site-shell:not(.mb-bloom-theme) .app-page .paid-option:has(.reference-bot-fields) { padding:18px 14px!important; }
  .site-shell:not(.mb-bloom-theme) .app-page .paid-option-head > b { font-size:10px; }
  .site-shell:not(.mb-bloom-theme) .app-page .logo-drop { min-height:224px; }
  .site-shell:not(.mb-bloom-theme) .app-page .authority-cards p { min-height:0; }
  .site-shell:not(.mb-bloom-theme) .app-page .profile-hero,
  .site-shell:not(.mb-bloom-theme) .app-page .profile-hero:has(.sm-profile-art) { padding:24px 18px; }
  .site-shell:not(.mb-bloom-theme) .app-page .profile-identity h1 { font-size:30px; }
  .site-shell:not(.mb-bloom-theme) .app-page .profile-identity h1 span { font-size:15px; }
  .site-shell:not(.mb-bloom-theme) .app-page .profile-actions > button { font-size:11px; }
  .site-shell:not(.mb-bloom-theme) .app-page .trade-ledger-panel { padding:21px 17px!important; }
  .site-shell:not(.mb-bloom-theme) .app-page .empty-state { min-height:390px; padding:36px 20px; }
  .site-shell:not(.mb-bloom-theme) .app-page .empty-state h2 { font-size:36px; }
  .site-shell:not(.mb-bloom-theme) .app-page .faq-list button { padding:20px 14px; grid-template-columns:23px minmax(0,1fr) 18px; gap:10px; }
  .site-shell:not(.mb-bloom-theme) .app-page .faq-list button b { font-size:13px; }
  .site-shell:not(.mb-bloom-theme) .app-page .faq-list article > p { margin-left:47px; margin-right:22px; }
  .site-shell:not(.mb-bloom-theme) .app-page .chat-panel .messages { padding:10px; }
}
