/* Scoped to calendar menus; no changes to the card colors or other dropdowns. */
.transport-card-menu-panel[data-agenda-floating] {
 position:fixed!important;inset:auto!important;margin:0!important;
 width:220px;min-width:0;max-width:calc(100vw - 16px);padding:4px;
 overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
 z-index:10050;border:1px solid #475569!important;border-radius:8px;
 background:#0f172a!important;color:#f1f5f9!important;
 box-shadow:0 8px 24px #0004!important;
}
/* Coordinates are assigned by JS; use custom properties so inset cannot override them. */
.transport-card-menu-panel[data-agenda-floating] {left:var(--agenda-menu-left,8px)!important;top:var(--agenda-menu-top,8px)!important;}
.transport-card-menu-panel[data-agenda-floating] button {
 display:block!important;width:100%!important;min-height:40px;margin:0!important;
 padding:9px 12px!important;border:0!important;border-radius:5px;
 background:transparent!important;color:#f1f5f9!important;
 font-size:14px!important;line-height:1.35!important;font-weight:600!important;
 text-align:left!important;white-space:normal!important;opacity:1!important;
 box-shadow:none!important;text-shadow:none!important;
}
.transport-card-menu-panel[data-agenda-floating] button:hover,
.transport-card-menu-panel[data-agenda-floating] button:focus-visible {background:#334155!important;outline:2px solid #7dd3fc;outline-offset:-2px;}
.transport-card-menu-panel[data-agenda-floating] button.danger {color:#fda4af!important;}
html[data-ds-interface="light"] body .transport-card-menu-panel[data-agenda-floating] {background:#fff!important;color:#172b4d!important;border-color:#aebed0!important;}
html[data-ds-interface="light"] body .transport-card-menu-panel[data-agenda-floating] button {color:#172b4d!important;}
html[data-ds-interface="light"] body .transport-card-menu-panel[data-agenda-floating] button:hover,
html[data-ds-interface="light"] body .transport-card-menu-panel[data-agenda-floating] button:focus-visible {background:#e8f1ff!important;outline-color:#1764c0;}
html[data-ds-interface="light"] body .transport-card-menu-panel[data-agenda-floating] button.danger {color:#b42318!important;}
