/* Core customer UI, adapted from the supplied 2026-10-05 designer HTML.
   Scoped so the internal Platform Lab keeps its existing presentation. */
.customer-login-header, .customer-login-footer, .customer-features,
.customer-aurora, .customer-skip, .customer-auth-switch { display: none; }
body.customer-ui {
  --base: #e6ecef;
  --aur-1: #a9cbdb; --aur-2: #d7e6ec; --aur-3: #b8c4de; --aur-4: #c3dfe2;
  --glass: rgba(255,255,255,.58); --glass-strong: rgba(255,255,255,.78);
  --glass-line: rgba(255,255,255,.85); --glass-edge: rgba(62,74,104,.12);
  --ink: #232b45; --ink-2: #3e4a68; --customer-muted: #67759c; --muted: var(--customer-muted); --faint: #7b89a5;
  --accent: #6293b8; --cta: linear-gradient(135deg,#a8d0e0,#88b5c9 50%,#6e9fc0);
  --customer-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -22px rgba(45,58,90,.28), 0 2px 6px -2px rgba(45,58,90,.06);
  color: var(--ink); background: var(--base); font-size: 15px; line-height: 1.5;
}
html:has(body.customer-ui) { background: #e6ecef; scroll-padding-top: 110px; }
.customer-ui .ambient { display: none; }
.customer-ui a { color: inherit; text-decoration: none; }
.customer-ui :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.customer-ui .customer-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.customer-ui .customer-brand { display: block; width: 184px; height: auto; }
.customer-ui .customer-skip { display: block; position: fixed; left: 20px; top: -80px; z-index: 100; padding: 10px 16px; color: #fff; background: #3e4a68; border-radius: 12px; }
.customer-ui .customer-skip:focus { top: 12px; }
.customer-ui .customer-aurora { display: block; position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.customer-aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .9; }
.customer-aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -18vw; background: radial-gradient(circle,var(--aur-1),transparent 70%); }
.customer-aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -10vw; top: -8vw; background: radial-gradient(circle,var(--aur-3),transparent 70%); }
.customer-aurora i:nth-child(3) { width: 50vw; height: 50vw; right: 10vw; bottom: -26vw; background: radial-gradient(circle,var(--aur-4),transparent 70%); }
.customer-aurora i:nth-child(4) { width: 40vw; height: 40vw; left: 22vw; top: 30vh; background: radial-gradient(circle,var(--aur-2),transparent 70%); }
.customer-ui .customer-login-header, .customer-ui .platform-auth-card,
.customer-ui #platform-view .sidebar, .customer-ui #platform-view .topbar,
.customer-ui #platform-view .central-card, .customer-ui .customer-account-overview,
.customer-ui #platform-view .activity-table, .customer-ui #platform-view .create-organization-panel,
.customer-ui #platform-view .central-empty {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px;
  box-shadow: var(--customer-shadow); backdrop-filter: blur(24px) saturate(160%);
}
.customer-ui .login-view { grid-template-columns: minmax(0,1fr) 460px; grid-template-rows: auto 1fr auto; column-gap: 72px; align-items: center; max-width: 1180px; min-height: 100dvh; margin: 0 auto; padding: 20px 8px; }
.customer-ui .customer-login-header { display: flex; align-items: center; justify-content: space-between; grid-column: 1/-1; padding: 16px 20px; margin: 0 0 38px; }
.customer-ui .customer-help { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--ink-2); border: 0; border-radius: 12px; background: transparent; font-size: 14px; font-weight: 600; }
.customer-ui .customer-help:hover { background: rgba(98,147,184,.14); }
.customer-ui .login-brand { padding: 0; min-height: 0; overflow: visible; color: var(--ink); background: none; }
.customer-ui .login-brand > .brand-logo, .customer-ui #login-brand-eyebrow,
.customer-ui #login-brand-footer, .customer-ui .platform-auth-card > .eyebrow,
.customer-ui .auth-tabs { display: none; }
.customer-social-auth { margin: 20px 0 16px; }
.customer-ui #platform-google-sign-in { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink); background: var(--glass-strong); border-color: var(--glass-edge); }
.customer-ui #platform-google-sign-in:hover:not(:disabled) { background: var(--glass); }
.customer-auth-divider { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.customer-auth-divider::before, .customer-auth-divider::after { content: ""; height: 1px; background: var(--glass-line); flex: 1; }
.customer-ui .login-brand h1 { font-size: clamp(34px,3.6vw,46px); line-height: 1.1; letter-spacing: -.035em; }
.customer-ui .login-copy { display: block; margin: 12px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.customer-ui .customer-features { display: block; margin-top: 32px; }
.customer-features > div:not(.customer-product-strip) { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.customer-feature-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 16px; color: var(--ink-2); background: linear-gradient(145deg,rgba(98,147,184,.32),rgba(98,147,184,.10)); }
.customer-ui .customer-feature-icon .customer-icon { width: 26px; height: 26px; }
.customer-features p { margin: 0; }
.customer-features p strong, .customer-features p span { display: block; }
.customer-features p strong { font-size: 17px; }
.customer-features p span { color: var(--muted); font-size: 15px; }
.customer-product-strip { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--glass-edge); }
.customer-product-strip figure { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.customer-product-strip figcaption { font-size: 13px; color: var(--ink-2); }
.customer-tile { display: grid; place-items: center; flex: none; width: 60px; height: 60px; background: linear-gradient(150deg,rgba(255,255,255,.95),rgba(226,236,240,.85)); border: 1px solid rgba(62,74,104,.1); border-radius: 16px; box-shadow: 0 10px 20px -12px rgba(45,58,90,.35); }
.customer-tile.dark { background: linear-gradient(150deg,#3a3a3a,#262626); }
.customer-tile img { max-width: 40px; max-height: 36px; width: auto; height: auto; }
.customer-product-strip .customer-tile { width: 54px; height: 54px; }
.customer-ui .login-panel { min-height: 0; padding: 0; background: none; display: block; }
.customer-ui .platform-auth-card { width: 100%; padding: 36px 36px 28px; border-radius: 24px; }
.customer-ui .login-card h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.03em; }
.customer-ui .platform-auth-card > p:not(.eyebrow):not(.form-message) { margin: 12px 0 30px; color: var(--muted); font-size: 15.5px; }
.customer-ui .login-card label { margin: 18px 0 6px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.customer-ui input, .customer-ui select, .customer-ui textarea { color: var(--ink); background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 12px; font-size: 15px; }
.customer-ui input, .customer-ui select { height: 48px; }
.customer-ui input::placeholder { color: var(--faint); }
.customer-ui input:focus, .customer-ui select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(98,147,184,.16); }
.customer-ui .login-card input { margin-bottom: 0; }
.customer-ui .auth-field-grid { grid-template-columns: 1fr; gap: 0; }
.customer-ui .auth-link { margin: 8px 0 20px auto; font-size: 14px; color: #3f6f96; text-decoration: none; }
.customer-ui .auth-link:hover { text-decoration: underline; }
.customer-ui .field-note { display: block; margin: 8px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.customer-password { position: relative; }
.customer-password input { padding-right: 50px; }
.customer-password button { display: grid; place-items: center; position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; color: var(--faint); border: 0; border-radius: 10px; background: transparent; }
.customer-password button .customer-icon { fill: none; stroke: currentColor; stroke-width: 1.5; }
.customer-ui .button { min-height: 44px; height: auto; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.customer-ui .button-primary { color: #232b45; background: var(--cta); border: 0; box-shadow: 0 12px 26px -12px rgba(62,74,104,.6); }
.customer-ui .button-primary:hover:not(:disabled) { color: #232b45; filter: brightness(1.04); background: var(--cta); }
.customer-ui .platform-auth-card form .button-primary { margin-top: 8px; min-height: 52px; font-size: 15px; }
.customer-ui .customer-auth-switch { display: block; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--glass-edge); text-align: center; color: var(--muted); font-size: 15px; }
.customer-auth-switch button { padding: 0; color: #3f6f96; background: none; border: 0; font-weight: 600; }
.customer-ui .form-message { font-size: 14px; line-height: 1.5; color: #a02c43; }
.customer-ui .form-message:empty { margin: 0; }
.customer-ui .customer-login-footer { display: block; grid-column: 1/-1; text-align: center; margin-top: 40px; padding: 20px 0 8px; color: var(--muted); font-size: 13px; }
.customer-ui .registration-confirmation, .customer-ui .registration-confirmation strong { color: var(--ink); background: var(--glass-strong); border-color: var(--glass-line); font-size: 15px; }
.customer-ui .registration-confirmation p, .customer-ui .registration-confirmation li, .customer-ui .registration-confirmation small { color: var(--muted); font-size: 14px; }
.customer-ui #platform-view {
  --white: var(--ink); --text: var(--ink); --muted: var(--customer-muted); --panel: var(--glass); --panel-raised: var(--glass-strong);
  --panel-soft: var(--glass-strong); --line: var(--glass-line); --line-soft: var(--glass-edge);
  --violet: var(--accent); --violet-soft: rgba(98,147,184,.16); --green: #1e9e68;
  position: relative; z-index: 1; display: grid; grid-template-columns: 268px minmax(0,1fr); gap: 20px;
  max-width: 1560px; min-height: 100dvh; margin: 0 auto; padding: 20px; color: var(--ink); background: transparent; color-scheme: light;
}
.customer-ui #platform-view .sidebar { position: sticky; top: 20px; left: auto; width: auto; height: calc(100dvh - 40px); padding: 28px 14px 14px; color: var(--ink); border-radius: 24px; }
.customer-ui #platform-view .sidebar-brand { display: block; padding: 4px 14px 24px; margin: 0; border: 0; }
.customer-ui #platform-view .main-nav { gap: 4px; }
.customer-ui .customer-nav-label { display: block; padding: 12px 14px 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.customer-ui .customer-nav-label:not(:first-child) { margin-top: 18px; border-top: 1px solid var(--glass-edge); padding-top: 20px; }
.customer-ui #platform-view .main-nav a { display: flex; align-items: center; min-height: 44px; height: auto; gap: 14px; padding: 10px 14px; border: 0; border-radius: 14px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.customer-ui #platform-view .main-nav a.active { color: #fff; background: linear-gradient(135deg,#4a5678,#3e4a68); box-shadow: 0 10px 22px -12px rgba(30,38,60,.7); font-weight: 600; }
.customer-ui #platform-view .main-nav a:hover:not(.active) { color: var(--ink); background: rgba(98,147,184,.14); }
.customer-ui #platform-view .main-nav a.active .customer-icon { color: #a8d0e0; }
.customer-ui .main-nav a b { margin-left: auto; padding: 1px 8px; background: rgba(255,255,255,.18); border-radius: 100px; font-size: 12px; }
.customer-ui #platform-view .sidebar-foot { border-top: 1px solid var(--glass-edge); padding-top: 14px; }
.customer-ui #platform-view .environment-chip, .customer-ui #platform-view .text-button { color: var(--muted); font-size: 12px; }
.customer-ui #platform-view .workspace { min-width: 0; width: auto; margin: 0; background: none; }
.customer-ui #platform-view .topbar { position: sticky; top: 20px; z-index: 20; min-height: 66px; gap: 12px; padding: 10px; border-radius: 20px; }
.customer-ui #platform-view .organization-switcher { flex: 0 1 270px; min-width: 160px; margin: 0; }
.customer-ui #platform-view .organization-switcher > span { display: none; }
.customer-ui #platform-view .organization-switcher select { height: 44px; width: 100%; min-width: 0; max-width: 270px; padding: 0 30px 0 14px; color: var(--ink); background: var(--glass-strong); border-color: var(--glass-line); box-shadow: none; font-size: 14px; font-weight: 600; }
.customer-ui #platform-view .organization-switcher option { color: var(--ink); background: var(--base); }
.customer-ui .customer-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 140px; height: 44px; padding: 0 12px; border: 1px solid var(--glass-line); border-radius: 12px; background: var(--glass-strong); color: var(--muted); }
.customer-ui #platform-view .customer-search input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; }
.customer-ui .customer-search input:focus { box-shadow: none; }
.customer-ui .customer-search:focus-within { outline: 2px solid var(--accent); }
.customer-ui .customer-search kbd { flex: none; font-size: 11px; white-space: nowrap; }
.customer-ui #platform-view .topbar-refresh { flex: none; color: var(--ink-2); background: transparent; border-color: var(--glass-edge); font-size: 12px; text-transform: none; letter-spacing: 0; padding: 10px; }
.customer-ui #platform-view .user-chip { flex: none; max-width: 150px; }
.customer-ui #platform-view .user-chip > div { min-width: 0; }
.customer-ui #platform-view .user-chip strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; }
.customer-ui #platform-view .user-chip small { display: none; }
.customer-ui #platform-view .user-avatar { flex: none; width: 36px; height: 36px; color: #232b45; background: var(--cta); font-size: 14px; }
.customer-ui #platform-view .content { width: 100%; padding: 30px 0 20px; }
.customer-ui #platform-view .central-hero { display: block; padding: 0 6px 28px; }
.customer-ui #platform-view .central-hero h1 { font-size: clamp(34px,3.6vw,46px); line-height: 1.1; letter-spacing: -.035em; color: var(--ink); }
.customer-ui #platform-view .central-hero > div > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 16.5px; }
.customer-ui .customer-tools-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
.customer-ui #platform-view .section { margin: 0; padding: 0; }
.customer-ui #platform-view .section-heading { padding: 0 6px; margin-bottom: 20px; }
.customer-ui #platform-view .section-heading h2 { margin: 0; color: var(--ink); font-size: 18px; letter-spacing: -.01em; }
.customer-ui #platform-view .eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.customer-ui #platform-view .central-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.customer-ui #platform-view .central-card { min-height: 0; padding: 22px; display: flex; flex-direction: column; }
.customer-ui #platform-view .central-card-head { align-items: center; gap: 14px; flex-wrap: wrap; }
.customer-ui #platform-view .central-card h3 { flex: 1; margin: 0; color: var(--ink); font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.customer-ui #platform-view .central-card p { margin: 18px 0 6px; color: var(--ink-2); font-size: 15px; }
.customer-ui #platform-view .central-card small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.customer-ui #platform-view .status-pill { min-height: 28px; color: var(--ink-2); background: var(--glass-strong); border: 1px solid var(--glass-line); padding: 5px 10px; font-size: 12px; font-style: normal; }
.customer-ui #platform-view .status-pill.active { color: #14764d; background: rgba(30,158,104,.10); border-color: rgba(30,158,104,.16); }
.customer-ui .customer-account-overview { padding: 20px; margin-top: 47px; }
.customer-account-overview h2 { margin: 0 0 12px; font-size: 18px; }
.customer-summary-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.customer-summary-row + .customer-summary-row { border-top: 1px solid var(--glass-edge); }
.customer-ui .customer-summary-row .customer-feature-icon { width: 40px; height: 40px; border-radius: 12px; }
.customer-ui .customer-summary-row .customer-icon { width: 20px; height: 20px; }
.customer-summary-row > div { flex: 1; }
.customer-summary-row small, .customer-summary-role small { display: block; color: var(--muted); font-size: 13px; }
.customer-summary-row strong { display: block; font-size: 25px; line-height: 1.2; }
.customer-summary-row a { font-size: 12px; font-weight: 600; }
.customer-summary-role { border-top: 1px solid var(--glass-edge); padding-top: 14px; font-size: 14px; }
.customer-ui #platform-view .product-connections { margin-top: 18px; padding-top: 16px; border-color: var(--glass-edge); }
.customer-ui #platform-view .product-connection-heading strong, .customer-ui #platform-view .product-connection-state > span { color: var(--ink-2); font-size: 13px; letter-spacing: 0; text-transform: none; }
.customer-ui #platform-view .product-connection { padding: 14px; background: var(--glass-strong); border-color: var(--glass-line); border-radius: 14px; }
.customer-ui #platform-view .product-connection > small, .customer-ui #platform-view .product-connection-note { color: var(--muted); font-size: 13px; background: none; }
.customer-ui #platform-view .product-connection-controls { gap: 8px; }
.customer-ui #platform-view .product-connection-controls .button { padding: 9px 12px; font-size: 13px; }
.customer-ui #platform-view .button-secondary { color: var(--ink-2); background: var(--glass-strong); border-color: var(--glass-line); }
.customer-ui #platform-view .button-secondary:hover:not(:disabled) { color: var(--ink); background: var(--glass); }
.customer-ui .customer-tool-actions { display: flex; margin-top: auto; padding-top: 20px; }
.customer-ui .customer-tool-actions a { flex: 1; text-align: center; }
.customer-ui #platform-view .activity-empty { color: var(--muted); font-size: 14px; padding: 24px; }
.customer-ui #platform-view .create-organization-panel { padding: 28px; gap: 28px; }
.customer-ui #platform-view .create-organization-panel h2 { font-size: 28px; }
.customer-ui #platform-view .create-organization-panel p, .customer-ui #platform-view .central-empty p { color: var(--muted); font-size: 15px; }
.customer-ui #platform-view .create-organization-panel label { font-size: 13px; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.customer-ui #platform-view .central-empty strong { color: var(--ink); }
.customer-ui #platform-view .member-workflow-note { color: var(--ink-2); background: rgba(98,147,184,.14); border-color: var(--glass-edge); }
.customer-ui #platform-view .member-workflow-note strong, .customer-ui #platform-view .member-workflow-note small { color: var(--ink-2); font-size: 14px; }
.customer-ui #platform-view .member-management-head { gap: 16px; padding: 22px; }
.customer-ui #platform-view .member-avatar { color: #232b45; background: var(--cta); border-color: var(--glass-line); }
.customer-ui #platform-view .member-identity strong { font-size: 15px; color: var(--ink); }
.customer-ui #platform-view .member-identity small, .customer-ui #platform-view .member-role-label { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.customer-ui #platform-view .member-management-body { padding: 22px; color: var(--ink); background: rgba(255,255,255,.22); border-color: var(--glass-edge); }
.customer-ui #platform-view .member-control-heading strong, .customer-ui #platform-view .member-control-heading small { color: var(--ink-2); font-size: 13px; }
.customer-ui #platform-view .member-product-toggle { background: var(--glass); border-color: var(--glass-line); padding: 14px; }
.customer-ui #platform-view .member-product-toggle strong, .customer-ui #platform-view .member-product-toggle small { font-size: 13px; color: var(--ink-2); }
.customer-ui #platform-view .member-product-toggle { grid-template-columns: 24px minmax(0,1fr); }
.customer-ui #platform-view .member-product-toggle input { width: 24px; height: 24px; border-radius: 6px; border-color: var(--faint); }
.customer-ui #platform-view .member-product-toggle input:checked { background: var(--accent); border-color: var(--accent); }
.customer-ui #platform-view .member-role-control > span, .customer-ui #platform-view .member-product-empty { color: var(--muted); font-size: 13px; }
.customer-ui #platform-view .member-role-control select, .customer-ui #platform-view .member-remove-button { font-size: 13px; }
.customer-ui #platform-view .central-row { padding: 22px; gap: 16px; }
.customer-ui #platform-view .central-row strong { font-size: 15px; }
.customer-ui #platform-view .central-row small, .customer-ui #platform-view .central-row > span:last-child { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.customer-ui #platform-view .workspace-footer { padding-top: 32px; color: var(--muted); font-size: 12px; }
.customer-ui .toast { max-width: min(480px,calc(100vw - 32px)); color: var(--ink); background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--customer-shadow); backdrop-filter: blur(24px); font-size: 14px; }
.customer-ui .customer-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(30,38,60,.3); border: 0; }
@media (prefers-color-scheme: dark) {
  body.customer-ui {
    --base: #141a28; --aur-1: #2e4a63; --aur-2: #1e2a40; --aur-3: #2b3556; --aur-4: #1f4047;
    --glass: rgba(28,35,52,.58); --glass-strong: rgba(34,43,62,.85); --glass-line: rgba(255,255,255,.12); --glass-edge: rgba(168,208,224,.14);
    --ink: #eef2f7; --ink-2: #cdd6e4; --customer-muted: #b0bdd4; --faint: #9baac5; --accent: #88b5c9;
    --customer-shadow: 0 1px 0 rgba(255,255,255,.06) inset,0 20px 44px -24px rgba(0,0,0,.7);
  }
  html:has(body.customer-ui) { background: #141a28; }
  .customer-ui #platform-view { color-scheme: dark; --green: #4fd39a; }
  .customer-ui .customer-brand { filter: brightness(0) invert(1); }
  .customer-ui .auth-link, .customer-ui .customer-auth-switch button { color: #a8d0e0; }
  .customer-ui .form-message { color: #ff9eae; }
  .customer-ui #platform-view .status-pill.active { color: #70e7b1; background: rgba(79,211,154,.1); }
  .customer-ui #platform-view .member-management-body { background: rgba(0,0,0,.08); }
}
@media (max-width: 1320px) {
  .customer-ui .customer-tools-layout { grid-template-columns: minmax(0,1fr); }
  .customer-ui .customer-account-overview { margin-top: 0; }
  .customer-ui #platform-view .user-chip > div, .customer-ui .customer-search kbd { display: none; }
}
@media (max-width: 1020px) {
  .customer-ui .login-view { grid-template-columns: 1fr; max-width: 560px; padding: 12px; row-gap: 28px; }
  .customer-ui .customer-login-header { margin: 0; }
  .customer-ui .login-brand { padding: 0 8px; }
  .customer-ui .customer-features { display: none; }
  .customer-ui .customer-login-footer { margin: 0; }
  .customer-ui #platform-view { display: block; padding: 12px; }
  .customer-ui #platform-view .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px,86vw); height: 100dvh; z-index: 40; border-radius: 0 24px 24px 0; transform: translateX(-105%); background: var(--glass-strong); }
  .customer-ui #platform-view .sidebar.open { transform: none; }
  .customer-ui #platform-view .mobile-menu { display: block; padding: 4px 8px; color: var(--ink); }
  .customer-ui #platform-view .topbar { top: 12px; }
}
@media (max-width: 760px) {
  .customer-ui #platform-view .topbar { flex-wrap: wrap; gap: 8px; }
  .customer-ui #platform-view .organization-switcher { flex: 1; min-width: 120px; }
  .customer-ui .customer-search { order: 5; flex-basis: 100%; }
  .customer-ui #platform-view .user-chip { display: none; }
  .customer-ui #platform-create-button { margin-left: auto; }
  .customer-ui #platform-view .central-card-grid { grid-template-columns: 1fr; }
  .customer-ui #platform-view .central-row { grid-template-columns: 32px minmax(0,1fr); }
  .customer-ui #platform-view .central-row > span:nth-last-child(-n+2) { grid-column: 2; }
  .customer-ui #platform-view .member-management-head { flex-wrap: wrap; }
  .customer-ui #platform-view .member-identity { min-width: 0; }
  .customer-ui #platform-view .member-identity strong { overflow-wrap: anywhere; }
  .customer-ui #platform-view .member-management-body { grid-template-columns: 1fr; }
  .customer-ui #platform-view .workspace-footer { gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .customer-ui .platform-auth-card { padding: 24px 18px; }
  .customer-ui .login-brand h1 { font-size: 30px; }
  .customer-ui .login-copy { font-size: 16px; }
  .customer-ui .customer-login-header { padding: 14px; }
  .customer-ui .customer-login-header .customer-brand { width: 150px; }
  .customer-ui #platform-view #platform-refresh-button { width: 40px; padding: 8px; font-size: 0; }
  .customer-ui #platform-view #platform-refresh-button span { font-size: 18px; }
  .customer-ui #platform-view #platform-create-button { width: 40px; padding: 8px; }
  .customer-ui #platform-create-button .customer-create-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-ui *, .customer-ui *::before, .customer-ui *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
