/* Website-only additions to the app: Tensile mark and the sign-in sheet (adapter/firebase-adapter.js). */
.tl-mark { width: 26px; height: 20px; color: var(--ink); display: block; }
.tw-scrim { position: fixed; inset: 0; z-index: 9999; background: rgba(17, 17, 16, .42); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .tw-scrim { align-items: center; } }
.tw-sheet { width: 100%; max-width: 440px; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); font-family: var(--font-body); }
@media (min-width: 640px) { .tw-sheet { border-radius: var(--r-sheet); } }
.tw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tw-title { font: 700 22px/28px var(--font-display); letter-spacing: -.01em; margin: 0; }
.tw-x { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer; padding: 0 4px; min-height: 44px; min-width: 44px; }
.tw-p { font-size: 15px; line-height: 22px; color: var(--ink-2); margin: 0 0 16px; }
.tw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r-sm); font: 600 15px/1 var(--font-body); cursor: pointer; border: 1px solid var(--ink); }
.tw-block { width: 100%; }
.tw-primary { background: var(--ink); color: var(--on-primary); }
.tw-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.tw-danger { background: var(--error); border-color: var(--error); color: #fff; }
.tw-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.tw-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 16px 0; }
.tw-or::before, .tw-or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.tw-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.tw-input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 400 16px var(--font-body); margin-bottom: 10px; box-sizing: border-box; }
.tw-input:focus, .tw-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tw-status { min-height: 20px; font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.tw-status.tw-error { color: var(--error); }
.tw-fine { font-size: 12px; line-height: 18px; color: var(--ink-3); margin: 12px 0 0; }
.tw-fine a { color: inherit; }
