html[data-theme="light"] body {
  background: #f5f7fb;
  color: #172033;
}

html[data-theme="light"] .bg-\[\#0A0A0A\] {
  background-color: #f5f7fb !important;
}

html[data-theme="light"] .bg-\[\#141414\],
html[data-theme="light"] .bg-\[\#1B1B1B\] {
  background-color: #ffffff !important;
}

html[data-theme="light"] .bg-white\/5,
html[data-theme="light"] .hover\:bg-white\/10:hover,
html[data-theme="light"] .focus\:bg-white\/10:focus {
  background-color: rgba(23, 32, 51, 0.06) !important;
}

html[data-theme="light"] .bg-white\/10 {
  background-color: rgba(23, 32, 51, 0.09) !important;
}

html[data-theme="light"] .border-white\/5,
html[data-theme="light"] .border-white\/10,
html[data-theme="light"] .border-white\/30 {
  border-color: rgba(23, 32, 51, 0.12) !important;
}

html[data-theme="light"] .text-white,
html[data-theme="light"] .text-white\/90,
html[data-theme="light"] .hover\:text-white:hover {
  color: #172033 !important;
}

html[data-theme="light"] .text-white\/80,
html[data-theme="light"] .text-white\/70 {
  color: rgba(23, 32, 51, 0.78) !important;
}

html[data-theme="light"] .text-white\/60,
html[data-theme="light"] .text-white\/50,
html[data-theme="light"] .text-white\/40,
html[data-theme="light"] .text-white\/30 {
  color: rgba(23, 32, 51, 0.52) !important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  color: #172033 !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: rgba(23, 32, 51, 0.38) !important;
}

html[data-theme="light"] #bg-canvas {
  opacity: 0.08 !important;
}

html[data-theme="light"] [data-sonner-toast] {
  background: #ffffff !important;
  color: #172033 !important;
  border-color: rgba(23, 32, 51, 0.12) !important;
}

body.vault-compact [code-path="src/App.tsx:350:15"] {
  display: none !important;
}

.free2fa-brand-logo {
  background: #ffffff !important;
  padding: 0.25rem !important;
  overflow: hidden !important;
}

.free2fa-brand-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: inherit !important;
}

body.vault-compact [code-path="src/App.tsx:310:7"] {
  max-width: 90rem !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

body.vault-compact [code-path="src/App.tsx:311:9"] {
  margin-bottom: 1.25rem !important;
}

body.vault-compact [code-path="src/App.tsx:393:11"] {
  row-gap: 1.25rem !important;
}

body.vault-compact [code-path="src/App.tsx:400:19"] {
  margin-bottom: 0.625rem !important;
}

body.vault-compact [code-path="src/App.tsx:414:19"] {
  gap: 0.75rem !important;
}

@media (min-width: 768px) {
  body.vault-compact [code-path="src/App.tsx:414:19"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1120px) {
  body.vault-compact [code-path="src/App.tsx:414:19"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1440px) {
  body.vault-compact [code-path="src/App.tsx:414:19"] {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

body.vault-compact [code-path="src/components/AccountCard.tsx:114:5"] {
  border-radius: 0.875rem !important;
  padding: 0.875rem !important;
  overflow: hidden !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:130:7"] {
  margin-bottom: 0.75rem !important;
  min-width: 0 !important;
  gap: 0.5rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:131:9"],
body.vault-compact [code-path="src/components/AccountCard.tsx:193:9"] {
  gap: 0.625rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:131:9"] {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:152:9"] {
  flex: 0 0 auto !important;
  margin-left: 0.25rem !important;
  position: relative !important;
  z-index: 2 !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:132:11"] {
  width: 2.35rem !important;
  height: 2.35rem !important;
  border-radius: 0.75rem !important;
  font-size: 1rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:139:13"] {
  font-size: 0.92rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:138:11"],
body.vault-compact .vault-card-text {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:139:13"],
body.vault-compact [code-path="src/components/AccountCard.tsx:140:32"] {
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:195:13"] {
  width: 3rem !important;
  height: 3rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:221:15"] {
  font-size: 0.68rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:225:11"] {
  font-size: 1.55rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:230:9"] {
  width: 2.35rem !important;
  height: 2.35rem !important;
  border-radius: 0.75rem !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:124:9"],
body.vault-compact .vault-pin-badge {
  top: 0.45rem !important;
  right: 2.95rem !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

body.vault-compact [code-path="src/components/AccountCard.tsx:124:9"]::before,
body.vault-compact .vault-pin-badge::before {
  content: "" !important;
}

body.vault-compact .vault-card-avatar {
  overflow: hidden !important;
  flex: 0 0 auto !important;
}

body.vault-compact .vault-card-avatar[data-has-logo="true"] {
  background: #ffffff !important;
  padding: 0.2rem !important;
}

body.vault-compact .vault-card-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0.55rem !important;
}

.vault-share-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.25rem;
  padding: 0.375rem 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: left;
  cursor: pointer;
}

.vault-share-glyph {
  width: 1rem;
  text-align: center;
}

.vault-category-row {
  flex-wrap: wrap !important;
}

.vault-category-swatch {
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
  background-size: cover !important;
  background-position: center !important;
}

.vault-category-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

.vault-category-logo-actions {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  align-items: center;
}

.vault-logo-input {
  display: none;
}

.vault-logo-btn {
  height: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  padding: 0 0.45rem;
  font-size: 0.7rem;
  cursor: pointer;
  white-space: nowrap;
}

.vault-logo-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.vault-logo-remove {
  color: #f87171;
}

html[data-theme="light"] .vault-logo-btn {
  border-color: rgba(23, 32, 51, 0.12);
  background: rgba(23, 32, 51, 0.05);
  color: rgba(23, 32, 51, 0.68);
}

html[data-theme="light"] .vault-logo-btn:hover {
  color: #172033;
  background: rgba(23, 32, 51, 0.09);
}

html[data-theme="light"] .vault-share-item {
  color: rgba(23, 32, 51, 0.78);
}

.vault-share-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

html[data-theme="light"] .vault-share-item:hover {
  background: rgba(23, 32, 51, 0.07);
  color: #172033;
}

.vault-theme-toggle {
  height: 2rem;
  min-width: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  padding: 0 0.65rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
}

html[data-theme="light"] .vault-theme-toggle {
  border-color: rgba(23, 32, 51, 0.16);
  background: #fff;
  color: #172033;
}

.vault-share-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.vault-share-panel {
  width: min(92vw, 390px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141414;
  color: #fff;
  padding: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

html[data-theme="light"] .vault-share-panel {
  border-color: rgba(23, 32, 51, 0.12);
  background: #fff;
  color: #172033;
}

.vault-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vault-share-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
}

.vault-share-subtitle {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

html[data-theme="light"] .vault-share-subtitle {
  color: rgba(23, 32, 51, 0.52);
}

.vault-share-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

html[data-theme="light"] .vault-share-close {
  background: rgba(23, 32, 51, 0.07);
}

.vault-share-qr {
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

.vault-share-qr img {
  width: 240px;
  height: 240px;
}

.vault-share-link {
  margin-top: 0.875rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  word-break: break-all;
}

html[data-theme="light"] .vault-share-link {
  background: rgba(23, 32, 51, 0.06);
  color: rgba(23, 32, 51, 0.62);
}

.vault-share-actions {
  display: flex;
  gap: 0.625rem;
  margin-top: 1rem;
}

.vault-share-actions button {
  flex: 1;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}

.vault-share-actions button.primary {
  border-color: #ff6b6b;
  background: #ff6b6b;
  color: #fff;
}

html[data-theme="light"] .vault-share-actions button:not(.primary) {
  border-color: rgba(23, 32, 51, 0.12);
  background: #fff;
}

.vault-qr-upload-tab {
  white-space: nowrap;
}

.vault-scan-panel {
  display: grid;
  gap: 0.875rem;
}

.vault-camera-box {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .vault-camera-box {
  border-color: rgba(23, 32, 51, 0.12);
  background: rgba(23, 32, 51, 0.04);
}

.vault-camera-video {
  width: 100%;
  height: min(52vh, 320px);
  display: block;
  object-fit: cover;
  background: #050505;
}

.vault-camera-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  line-height: 1.6;
  pointer-events: none;
}

html[data-theme="light"] .vault-camera-empty {
  color: rgba(23, 32, 51, 0.62);
}

.vault-camera-empty[hidden] {
  display: none;
}

.vault-camera-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.vault-camera-actions .vault-logo-btn {
  min-height: 2.5rem;
}

.vault-qr-status {
  min-height: 1.25rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.875rem;
  line-height: 1.45;
}

html[data-theme="light"] .vault-qr-status {
  color: rgba(23, 32, 51, 0.66);
}

.vault-qr-file {
  display: none;
}

.vault-qr-upload-panel .vault-qr-file {
  display: block;
  width: 100%;
  margin: 0.75rem 0;
  padding: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
}

html[data-theme="light"] .vault-qr-upload-panel .vault-qr-file {
  border-color: rgba(23, 32, 51, 0.18);
  background: rgba(23, 32, 51, 0.04);
}
