.bridge-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 16px;background:#edf6ff;color:#174a78;border-bottom:1px solid #c3ddf1;font:13px/1.55 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif}
.bridge-banner a{color:#174a78;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bridge-banner.bridge-problem{background:#fff4e3;color:#753a05;border-color:#e9c38b}
.bridge-banner.bridge-problem a{color:#753a05}
.bridge-banner [hidden]{display:none!important}
.bridge-detail{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-height:34px;margin:6px 0 0;padding:5px 10px;border:1px solid #abc7df;border-radius:6px;background:#fff;color:#164e7a;font:600 13px/1.5 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;cursor:pointer;white-space:normal;text-align:left}
.bridge-store-link{display:inline;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:inherit;white-space:inherit}
.bridge-store-link:hover{background:transparent!important;text-decoration:underline;text-underline-offset:3px}
.bridge-cell-details{margin:0 0 12px}
.bridge-detail:hover{background:#eaf4ff;border-color:#4b83b0}
.bridge-detail:focus-visible,.bridge-confirm:focus-visible,.bridge-person:focus-visible,.bridge-close:focus-visible{outline:3px solid #417cb7;outline-offset:2px}
.bridge-person{display:block;width:100%;max-width:200px;min-height:34px;margin-bottom:5px;padding:4px 7px;border:1px solid #b7c7d6;border-radius:6px;background:#fff;color:#19354c;font:14px/1.4 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif}
.bridge-confirm{min-height:34px;padding:5px 10px;border:1px solid #2d6b9e;border-radius:6px;background:#216296;color:#fff;font:600 13px/1.4 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;cursor:pointer}
.bridge-confirm.bridge-done{background:#e9f5eb;color:#1e6530;border-color:#86b48d}
.bridge-confirm:disabled{background:#eef1f5;color:#5e6d7c;border-color:#cdd5df;cursor:default}
.bridge-confirm-state{margin-top:5px;color:#43576a;font-size:12px;line-height:1.5;white-space:normal}
.bridge-muted{color:#52677b;font-size:13px;line-height:1.6}
.bridge-published-note{margin-top:6px;padding:5px 7px;border:1px solid #e1c88f;border-radius:5px;background:#fff9e9;color:#614516;font:12px/1.55 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;white-space:normal;text-align:left}
.bridge-published-note>span{display:block;overflow-wrap:anywhere}
.bridge-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #c9d5e1;border-radius:14px;background:#fff;color:#17354d;box-shadow:0 16px 70px #0c213f55;overflow:auto;font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif}
.bridge-dialog::backdrop{background:#13243e80}
.bridge-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#f6f9fd;border-bottom:1px solid #d9e3ed}
.bridge-dialog-head h2{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.bridge-close{flex:none;min-height:36px;padding:5px 12px;border:1px solid #aebfd0;border-radius:7px;background:#fff;color:#17466e;font:600 14px/1.4 inherit;cursor:pointer}
.bridge-dialog-body{padding:4px 20px 20px;overflow-x:auto}
.bridge-timeline-intro{font-size:14px;line-height:1.7;color:#244d70}
.bridge-timeline-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}
.bridge-timeline-table th,.bridge-timeline-table td{padding:11px 12px;text-align:left;border-bottom:1px solid #dce5ef;vertical-align:top;background:#fff;color:#17354d}
.bridge-timeline-table th{background:#edf4fc;font-weight:700}
.bridge-timeline-table th:first-child,.bridge-timeline-table td:first-child{white-space:nowrap}
.bridge-timeline-table th:last-child,.bridge-timeline-table td:last-child{white-space:nowrap}
.bridge-timeline-table td.bridge-gap,.bridge-gap{color:#8b410a;font-weight:600}
@media(max-width:600px){.bridge-banner{padding:8px 10px;font-size:12px}.bridge-dialog-head{padding:13px 12px}.bridge-dialog-body{padding:2px 12px 14px}.bridge-timeline-table{font-size:13px}.bridge-timeline-table th,.bridge-timeline-table td{padding:9px 7px}.bridge-dialog{max-height:calc(100dvh - 20px)}.bridge-confirm{font-size:12px}}

/* Keep long timeline headings visible while only the timeline body scrolls. */
body:has(.bridge-dialog[open]){overflow:hidden}
.bridge-dialog[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.bridge-dialog-head{flex:0 0 auto;position:static;min-width:0}
.bridge-dialog-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
