.tbp-footer { color: var(--ink,#192536); }
.tbp-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 12px 0; }
.tbp-links a, .tbp-links button, .tbp-choice > a {
    font: inherit;
    font-size: .875rem;
    color: #315281;
    text-decoration: underline;
    text-underline-offset: .15em;
}
.tbp-links button { padding: 0; border: 0; cursor: pointer; background: none; }
.tbp-footer [hidden] { display: none !important; }
.tbp-choice {
    position: fixed;
    z-index: 10000;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(380px, calc(100% - 24px));
    max-height: 80vh;
    overflow: auto;
    box-sizing: border-box;
    padding: 16px;
    background: #fff;
    border: 1px solid #b8c9e5;
    border-radius: 14px;
    box-shadow: 0 5px 24px rgb(19 43 82 / .12);
    text-align: left;
    line-height: 1.45;
}
.tbp-choice strong { font-size: 1rem; }
.tbp-choice label { display: flex; gap: 8px; align-items: baseline; margin: 6px 0 2px; font-size: .9rem; }
.tbp-choice input { flex: 0 0 auto; accent-color: #315dea; }
.tbp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.tbp-actions button { flex: 1 1 auto; min-height: 36px; padding: 5px 10px; color: #254878; background: #f4f7fb; border: 1px solid #b7c8de; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.tbp-choice [role="status"] { margin: 8px 0 0; font-size: .85rem; }
.tbp-choice [role="status"]:empty { display: none; }
.tbp-choice [data-tbp-close] { margin-top: 8px; padding: 5px 12px; border: 1px solid #b7c8de; border-radius: 8px; background: #f4f7fb; color: #254878; font: inherit; cursor: pointer; }
.tbp-footer :focus-visible { outline: 2px solid #315dea; outline-offset: 2px; }
