[hidden] { display: none !important; }
.table-shell { position: relative; }
.toast { max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
.unlock-screen { min-height: 100dvh; display: grid; place-items: center; padding: 36px 20px; background: #f7f9fb; }
.unlock-content { width: min(100%, 400px); }
.unlock-mark { width: 62px; height: 62px; border-radius: 8px; background: #e4f6f3; color: #07857f; padding: 14px; }
.unlock-mark svg { width: 100%; height: 100%; }
.unlock-content h1 { font-size: 30px; margin: 24px 0 10px; letter-spacing: 0; }
.unlock-content p { color: #6c7a89; line-height: 1.7; }
.unlock-content label { display: block; font-size: 14px; margin: 18px 0 8px; }
.unlock-content input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c8d4dc; background: white; color: #162235; border-radius: 6px; }
.unlock-content button { width: 100%; min-height: 46px; }
.unlock-note { font-size: 13px; }
.restore-entry { margin-top: 12px; }
.form-error { min-height: 22px; color: #b32424 !important; font-size: 14px; overflow-wrap: anywhere; }
.vault-actions { display: flex; align-items: center; gap: 8px; padding: 8px 24px; border-bottom: 1px solid #dce4ea; background: white; }
.vault-status { flex: 1; font-size: 13px; color: #07857f; }
.vault-dialog { border: 1px solid #dce4ea; border-radius: 8px; padding: 24px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; color: #162235; background: white; }
.vault-dialog::backdrop { background: rgba(20, 34, 42, .4); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-heading h2 { font-size: 20px; margin: 0; overflow-wrap: anywhere; }
.vault-dialog p { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.vault-dialog input { max-width: 100%; }
.generate-button { width: 100%; margin-bottom: 20px; }
.record-heading h2, .record-heading p, .site-title, .site-url { overflow-wrap: anywhere; }
.tag-list { min-width: 0; }
.mobile-tag-action { display: none; }
.tag-button .nav-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.local-card p { line-height: 1.5; }
.credential-table tbody tr:focus-visible { outline: 2px solid #07857f; outline-offset: -2px; }
.credential-table .more-cell { width: 44px; }
.vault-dialog input[type=file] { height: auto; min-height: 44px; font-size: 12px; }
button:disabled { opacity: .55; cursor: wait; }
body.has-vault-dialog { overflow: hidden; }
.detail-inner { overflow-y: auto; }
@media(max-width:940px) {
  .mobile-tag-action { display: flex; }
  .toolbar { position: static; }
  .vault-actions { padding: 8px 14px; }
  .detail-inner { min-height: 0 !important; }
  .detail { scroll-margin-top: 16px; }
}
@media(max-width:680px) {
  .toolbar { grid-template-columns: minmax(0, 1fr) 44px !important; padding: 14px; }
  .toolbar .search { grid-column: 1 / -1; }
  .toolbar .select-control { width: 100%; }
  .toolbar .add-button { grid-column: 1 / -1; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .summary-card { min-height: 90px; padding: 14px; }
  .summary-card strong { font-size: 26px; }
  .summary-card span { font-size: 12px; }
  .summary-icon { width: 32px; height: 32px; }
  .vault-dialog { padding: 18px; }
}
