
:root{--bb-surface-panel:40px;--bb-surface-keyboard:0px;--bb-surface-gap:12px;--bb-surface-ease:cubic-bezier(.22,1,.36,1)}
.bb-surface-modal-open{overflow:hidden;touch-action:none}
#service-notice-card{--bb-notice:#2563eb;position:relative;overflow:hidden;cursor:pointer;isolation:isolate;border-color:color-mix(in srgb,var(--bb-notice) 30%,#e2e8f0);background:rgba(255,255,255,.98);transition:transform .2s var(--bb-surface-ease),box-shadow .2s ease,border-color .2s ease}
#service-notice-card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--bb-notice)}
#service-notice-card[data-severity="warning"]{--bb-notice:#d97706}#service-notice-card[data-severity="critical"]{--bb-notice:#dc2626}
#service-notice-card:hover{transform:translateY(-1px);box-shadow:0 12px 32px rgba(15,23,42,.13)}
#service-notice-card .app-status-icon{color:var(--bb-notice);background:color-mix(in srgb,var(--bb-notice) 10%,white)}
.bb-service-notice-meta{display:flex;align-items:center;gap:7px;margin-top:3px;color:#64748b;font-size:10px;font-weight:750}.bb-service-notice-dot{width:3px;height:3px;border-radius:50%;background:#cbd5e1}
.bb-notice-chevron{width:18px;height:18px;color:#94a3b8;flex:0 0 auto}.bb-notice-chevron svg{width:100%;height:100%;stroke-width:2.1}
.bb-surface-overlay{position:fixed;inset:0;z-index:2400;display:grid;align-items:end;justify-items:center;padding:18px 14px max(14px,env(safe-area-inset-bottom));background:rgba(15,23,42,.28);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .2s ease}
.bb-surface-overlay[data-open="true"]{opacity:1;pointer-events:auto}.bb-surface-backdrop{position:absolute;inset:0;border:0;background:transparent}
.bb-surface-sheet{position:relative;width:min(560px,100%);max-height:min(76dvh,680px);overflow:auto;background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:24px;box-shadow:0 28px 90px rgba(15,23,42,.25);transform:translateY(18px) scale(.985);opacity:.92;transition:transform .3s var(--bb-surface-ease),opacity .2s ease;padding:9px 18px 18px}
.bb-surface-overlay[data-open="true"] .bb-surface-sheet{transform:translateY(0) scale(1);opacity:1}.bb-surface-handle{width:42px;height:5px;border-radius:99px;background:#d7dde6;margin:0 auto 13px}
.bb-surface-head{display:flex;align-items:flex-start;gap:12px}.bb-surface-head-icon{width:38px;height:38px;border-radius:12px;background:#f1f5f9;color:#334155;display:inline-flex;align-items:center;justify-content:center;line-height:0;flex:0 0 38px}.bb-surface-head-icon svg{display:block;width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bb-surface-head-copy{min-width:0;flex:1}.bb-surface-head-copy h2{font-size:18px;line-height:1.2;font-weight:900;letter-spacing:-.02em;color:#111827;margin:1px 0 4px}.bb-surface-head-copy p{font-size:11px;line-height:1.45;font-weight:600;color:#64748b;margin:0}
.bb-surface-close{width:34px;height:34px;border:0;border-radius:11px;background:#f1f5f9;color:#64748b;display:grid;place-items:center;flex:0 0 auto;transition:background .15s ease,transform .15s ease}.bb-surface-close:hover{background:#e7ecf2}.bb-surface-close:active{transform:scale(.96)}.bb-surface-close svg{width:16px;height:16px;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.bb-notice-list{display:grid;gap:10px;margin-top:16px}.bb-notice-detail{--bb-notice:#2563eb;border:1px solid #e5eaf1;border-radius:16px;padding:14px;background:#fff;position:relative;overflow:hidden}.bb-notice-detail::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--bb-notice)}.bb-notice-detail[data-severity="warning"]{--bb-notice:#d97706}.bb-notice-detail[data-severity="critical"]{--bb-notice:#dc2626}
.bb-notice-detail-top{display:flex;align-items:center;gap:8px}.bb-notice-severity{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:var(--bb-notice)}.bb-notice-window{font-size:9px;font-weight:700;color:#94a3b8}.bb-notice-detail h3{font-size:15px;font-weight:900;color:#111827;line-height:1.25;margin:6px 0 5px}.bb-notice-detail p{font-size:12px;font-weight:560;line-height:1.55;color:#475569;white-space:pre-wrap;margin:0}.bb-notice-lines{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.bb-notice-line{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:#f8fafc;border:1px solid #e5eaf1;font-size:9px;font-weight:850;color:#334155}.bb-notice-line i{width:7px;height:7px;border-radius:50%;background:var(--line-color,#64748b)}
.bb-change-hero{margin-top:14px;border-radius:18px;padding:16px;background:linear-gradient(145deg,#111827,#202938);color:#fff;overflow:hidden;position:relative}.bb-change-hero::after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:rgba(227,27,35,.18);right:-44px;top:-52px}.bb-change-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#cbd5e1}.bb-change-hero strong{display:block;font-size:19px;line-height:1.22;letter-spacing:-.02em;margin-top:5px;max-width:370px;position:relative;z-index:1}.bb-change-list{display:grid;gap:9px;margin:14px 0 4px}.bb-change-item{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:11px;border:1px solid #e8edf3;border-radius:14px;background:#fbfcfe}.bb-change-item-icon{width:30px;height:30px;border-radius:9px;background:#eef2ff;color:#334155;display:inline-flex;align-items:center;justify-content:center;line-height:0;flex:0 0 30px}.bb-change-item-icon svg{display:block;width:17px;height:17px;flex:0 0 17px;margin:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 50%}.bb-change-item-icon[data-icon="notice"] svg{transform:translateY(-.35px)}.bb-change-item-icon[data-icon="bell"] svg{transform:translateY(-.45px)}.bb-change-item-icon[data-icon="map"] svg{transform:translateY(0)}.bb-change-item strong{display:block;color:#111827;font-size:12px;font-weight:900}.bb-change-item span{display:block;color:#64748b;font-size:10px;font-weight:600;line-height:1.45;margin-top:2px}
.arrival-alert-sheet-icon{font-size:0!important}.arrival-alert-sheet-icon svg{width:25px!important;height:25px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}.arrival-alert-close{font-size:0!important;display:grid!important;place-items:center!important}.arrival-alert-close svg{width:16px!important;height:16px!important;stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round!important}.arrival-alert-list-bell{font-size:0!important;width:22px;height:22px;display:grid!important;place-items:center!important}.arrival-alert-list-bell svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
/* V22u31-r3: dedicated left map lane for status cards and arrival snackbars. */
.app-status-stack,.arrival-alert-snackbar{
  left:max(12px,env(safe-area-inset-left))!important;
  right:max(78px,calc(env(safe-area-inset-right) + 78px))!important;
  width:auto!important;
  transform:none!important;
  will-change:bottom;
}
.app-status-stack{
  max-width:440px!important;
  bottom:max(calc(var(--bb-surface-panel,40px) + 10px),var(--bb-map-attribution-bottom-clearance,0px))!important;
  transition:bottom .10s linear!important;
}
.arrival-alert-snackbar{
  max-width:430px!important;
  bottom:max(calc(max(var(--bb-surface-panel,40px),var(--bb-surface-keyboard,0px)) + 10px),var(--bb-map-attribution-bottom-clearance,0px))!important;
  transition:bottom .10s linear,opacity .18s ease,box-shadow .18s ease!important;
}
@media(max-width:360px){.app-status-stack,.arrival-alert-snackbar{right:max(72px,calc(env(safe-area-inset-right) + 72px))!important}}

.arrival-alert-overlay{padding-bottom:max(12px,env(safe-area-inset-bottom))!important}.arrival-alert-sheet{max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(24px,env(safe-area-inset-bottom)))!important;overflow:auto!important}
.app-status-close{font-size:0!important;display:grid!important;place-items:center!important}.app-status-close svg{width:15px;height:15px;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
@media(min-width:720px){.bb-surface-overlay{align-items:center;padding:24px}.bb-surface-sheet{border-radius:22px;max-height:min(78vh,720px)}.bb-surface-handle{display:none}}
@media(prefers-reduced-motion:reduce){#service-notice-card,.bb-surface-overlay,.bb-surface-sheet,.bb-surface-close,.app-status-stack,.arrival-alert-snackbar{transition:none!important;animation:none!important}}
