.ba-public-v12 {
    --bg: #f8f7fb;
    --surface: #fff;
    --accent: #5435c9;
    --ink: #11162a;
    --muted: #505a73;
    --border: #e1e0eb;
    color-scheme: light;
}
.ba-public-v12 [hidden] { display: none !important; }
.ba-public-v12 .ba-header, .ba-public-v12 .ba-footer { background: #0b1020; color: #f7f6ff; border-color: #282844; }
.ba-public-v12 .ba-header nav, .ba-public-v12 .ba-footer :is(p, a) { color: #c5c9df; }
.ba-public-v12 .ba-nav nav a[aria-current], .ba-public-v12 .ba-header nav a:hover { color: #cabaff; }
.ba-public-v12 .ba-header .ba-quiet, .ba-public-home .ba-hero .ba-quiet { color: #f7f5ff; border-color: #77709c; background: transparent; }
.ba-public-v12 .ba-header .ba-quiet:hover, .ba-public-home .ba-hero .ba-quiet:hover { background: #27223e; }
.ba-public-v12 .ba-footer-bottom { color: #b6bbd2; border-color: #292a43; }
.ba-public-v12 .ba-section-head h1, .ba-public-v12 .ba-article h1 { letter-spacing: -.052em; }
.ba-public-v12 .ba-section-head {
    padding: clamp(18px,3.6vw,44px);
    border: 1px solid #ddddec;
    border-radius: 20px;
    background: radial-gradient(ellipse at 90% 10%,#ebe3ff,transparent 60%), #fff;
    box-shadow: 0 12px 30px #2921520d, inset 0 1px #fff;
}
.ba-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 0 0; margin: 0; list-style: none; font-size: .84rem; color: #535d78; }
.ba-breadcrumb li + li::before { content: "/"; margin-right: 7px; color: #707890; }
.ba-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.ba-public-v12 .ba-breadcrumb + .ba-section { padding-top: clamp(24px, 4vw, 54px); }
.ba-public-home .ba-home-surface {
    color: #f7f6ff;
    background: radial-gradient(ellipse at 74% 32%, #25204a 0, transparent 52%), #0b1020;
    border-color: #252743;
}
.ba-public-home .ba-hero-v3 { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(24px,4vw,60px); }
.ba-public-home .ba-hero h1 { color: #faf8ff; max-width: none; font-size: clamp(2.6rem,4.45vw,4.25rem); letter-spacing: -.06em; }
.ba-public-home .ba-hero h1 em { display: block; color: #b197ff; }
.ba-public-home .ba-hero-chip { color: #d2c1ff; border-color: #4d4279; background: #221d3d; }
.ba-public-home .ba-hero .ba-intro { color: #d3d7ec; }
.ba-public-home .ba-hero-points { color: #d7d9ef; }
.ba-public-home .ba-hero-points li { background: #171a31; border-color: #414463; }
.ba-dispatch {
    min-width: 0;
    border: 1px solid #4e457d;
    border-radius: 22px;
    padding: clamp(13px,2vw,24px);
    background: linear-gradient(145deg,#1c1b37,#101428);
    box-shadow: 0 24px 52px #0006, inset 0 1px #b9a4ff39;
    perspective: 850px;
}
.ba-dispatch-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; color: #e1dafa; font-size: .84rem; font-weight: 700; }
.ba-scenarios { display: flex; flex-wrap: wrap; gap: 4px; }
.ba-scenarios button { border: 1px solid transparent; color: #d9d5ef; border-radius: 9px; padding: 5px 8px; background: transparent; font-size: .78rem; }
.ba-scenarios button[aria-pressed="true"] { border-color: #8270c5; background: #3c3067; color: white; }
.ba-dispatch-steps { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px; margin: 24px 0; transform-style: preserve-3d; }
.ba-dispatch-compose, .ba-dispatch-notification { min-width: 0; padding: 12px; border-radius: 13px; display: grid; gap: 7px; transition: transform .35s, box-shadow .35s, opacity .35s; }
.ba-dispatch-compose { border: 1px solid #62568b; background: #242342; transform: rotateY(10deg) rotateX(4deg); }
.ba-dispatch-compose > div { border: 1px solid #494667; border-radius: 8px; padding: 5px 7px; }
.ba-dispatch-compose small { display: block; color: #d0c9e7; font-size: .7rem; }
.ba-dispatch-compose span, .ba-dispatch-notification p { font-size: .8rem; }
.ba-dispatch-notification { background: #f8f7ff; color: #17192e; border: 1px solid #fff; transform: rotateY(-10deg) rotateX(4deg); box-shadow: 0 14px 28px #08061960; }
.ba-dispatch-notification div { display: flex; align-items: center; gap: 6px; font-size: .77rem; }
.ba-dispatch-notification small { color: #4e5670; }
.ba-dispatch-queue { display: grid; justify-items: center; gap: 2px; font-size: .72rem; color: #d9ccff; }
.ba-dispatch-queue span { color: #ad8bff; font-size: 1.65rem; line-height: 1; }
.ba-dispatch[data-stage="compose"] .ba-dispatch-compose, .ba-dispatch[data-stage="received"] .ba-dispatch-notification { transform: translateZ(28px); box-shadow: 0 0 28px #9673fb65; }
.ba-dispatch[data-stage="queue"] .ba-dispatch-queue { color: #c5ffe8; filter: drop-shadow(0 0 8px #a182f9); }
.ba-dispatch .ba-dispatch-status { color: #c9baff; font-size: .8rem; min-height: 1.6em; }
.ba-public-v12 .ba-notification-option, .ba-public-v12 .ba-plan, .ba-public-v12 .ba-feature-grid > a, .ba-public-v12 .ba-flow > article {
    background-color: #fff;
    box-shadow: 0 10px 25px #2921520b, 0 3px 0 #e6e2f2;
    transition: transform .24s, box-shadow .24s;
}
.ba-public-v12 .ba-notification-demo { perspective: 650px; background: linear-gradient(135deg,#eee8ff,#e5e6fa); }
.ba-public-v12 .ba-notification-popup { transform: rotateY(-7deg) rotateX(5deg); box-shadow: 0 14px 22px #30246525; }
.ba-public-v12 .ba-3d-scene { background: radial-gradient(ellipse at 55% 55%,#342257,#101529 65%); }
.ba-public-v12 .ba-plan-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ba-public-v12 .ba-article { padding-inline: clamp(14px,4vw,54px); }
.ba-public-v12 .ba-answer { max-width: 850px; }
.ba-public-v12 .ba-answer p { margin: .5rem 0 1.2rem; color: #46516b; }
.ba-public-v12 .ba-answer a { color: #4d34b5; text-decoration: underline; text-underline-offset: 3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .ba-public-v12 :is(.ba-notification-option, .ba-plan, .ba-feature-grid > a):hover {
        transform: perspective(850px) translateY(-5px) rotateX(2deg);
        box-shadow: 0 20px 38px #2921521b, 0 4px 0 #dcd6ec;
    }
}
@media (max-width: 950px) {
    .ba-public-home .ba-hero-v3 { grid-template-columns: minmax(0,1fr); }
    .ba-public-v12 .ba-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .ba-dispatch-steps, .ba-public-v12 .ba-plan-grid { grid-template-columns: minmax(0,1fr); }
    .ba-dispatch-steps { margin-block: 12px; }
    .ba-dispatch-queue { grid-auto-flow: column; justify-content: center; align-items: center; }
    .ba-dispatch-queue span { transform: rotate(90deg); }
    .ba-dispatch-compose, .ba-dispatch-notification { transform: none; }
    .ba-public-v12 .ba-notification-popup { transform: none; }
}
@media (prefers-reduced-motion:reduce) {
    .ba-public-v12 *, .ba-public-v12 *::before, .ba-public-v12 *::after { animation: none !important; transition: none !important; }
}
