:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: #0f141d;
  --ink: #f6f8fc;
  --muted: #a7b0c0;
  --soft-ink: #111827;
  --blue: #1f67c9;
  --blue-bright: #2d82ff;
  --blue-soft: #75a9ff;
  --green: #49b987;
  --panel: #111722;
  --panel-2: #171f2d;
  --panel-3: #202a3a;
  --field: #273142;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(14, 24, 42, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(31, 103, 201, 0.12), transparent 340px),
    var(--page);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: inherit;
}

.auth-page,
.create-account-page,
.onboarding-page {
  min-height: 100vh;
  padding: clamp(22px, 4vw, 56px);
  background:
    radial-gradient(circle at 30% 0%, rgba(45, 130, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(31, 103, 201, 0.16), transparent 44%),
    #0e1117;
  color: var(--ink);
}

.auth-page {
  display: grid;
  place-items: center;
}

.auth-shell {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(330px, 430px) minmax(320px, 420px);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
}

.create-account-page {
  display: grid;
  place-items: center;
}

.auth-card,
.onboarding-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(23, 27, 34, 0.94);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.auth-card {
  width: min(100%, 430px);
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
}

.auth-proof-panel {
  display: grid;
  gap: 16px;
}

.beta-shot,
.store-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.beta-shot {
  overflow: hidden;
  background: #fff;
}

.beta-review-image {
  display: block;
  width: 100%;
  height: auto;
}

.beta-comment {
  padding: 18px 20px 20px;
  border-bottom: 1px solid #d7dbe3;
}

.beta-comment:last-child {
  border-bottom: 0;
}

.privacy-strip {
  display: inline-grid;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.beta-comment p {
  margin: 14px 0 0;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.22;
  letter-spacing: 0;
}

.store-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(23, 27, 34, 0.94);
}

.store-card h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: 0;
}

.app-store-link {
  display: inline-grid;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(117, 169, 255, 0.42);
  border-radius: var(--radius);
  background: #050607;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.qr-link {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
}

.qr-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.auth-logo {
  width: 118px;
  height: 118px;
  justify-self: center;
  border: 1px solid rgba(117, 169, 255, 0.34);
  border-radius: 28px;
  object-fit: cover;
  background: #050607;
  filter: brightness(1.18) saturate(1.24) contrast(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 16px 40px rgba(31, 103, 201, 0.34),
    0 0 38px rgba(47, 125, 255, 0.34);
}

.auth-brand-lockup {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.auth-app-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.screen-kicker {
  margin: 0 0 8px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-copy h1,
.onboarding-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.42;
}

.onboarding-header p,
.onboarding-guide p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.42;
}

.auth-value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.auth-value-strip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px 7px;
  border: 1px solid rgba(45, 130, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(31, 103, 201, 0.18);
  color: #dce8ff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.auth-panel {
  display: grid;
  gap: 12px;
}

.auth-panel label {
  display: grid;
  gap: 7px;
}

.auth-panel label span {
  color: #d8dcec;
  font-size: 13px;
  font-weight: 900;
}

.auth-panel input {
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  color: #fff;
  padding: 0 14px;
  outline: none;
}

.auth-panel input:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(45, 130, 255, 0.22);
}

.auth-panel input::placeholder {
  color: #8d95a3;
}

.trial-promise-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 12px 14px 12px 28px;
  border: 1px solid rgba(117, 169, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(31, 103, 201, 0.12);
  color: #d8dcec;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.auth-actions,
.onboarding-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-dark-button {
  min-height: 42px;
  border: 1px solid rgba(45, 130, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(31, 103, 201, 0.18);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.auth-link-button {
  justify-self: center;
  min-height: 34px;
  color: var(--blue-bright);
  font-weight: 950;
}

#authStatus,
#createAccountStatus {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.onboarding-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.onboarding-header {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
}

.onboarding-header img {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(31, 103, 201, 0.32);
}

.onboarding-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 16px;
  align-items: stretch;
}

.onboarding-video-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #050607;
}

.onboarding-video-header {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(32, 38, 50, 0.82);
}

.onboarding-video-header strong {
  color: #fff;
  font-size: 20px;
}

.onboarding-video-card video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #050607;
}

.onboarding-positioning {
  display: grid;
  gap: 12px;
}

.onboarding-positioning article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(32, 38, 50, 0.84);
}

.onboarding-positioning span {
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.onboarding-positioning strong {
  color: #fff;
  font-size: 19px;
  line-height: 1.24;
}

.onboarding-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.onboarding-guide article {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(32, 38, 50, 0.84);
}

.onboarding-guide span {
  color: var(--blue-soft);
  font-weight: 950;
}

.onboarding-guide strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
}

.desktop-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 28px;
  padding: 24px;
  background: #0e1117;
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: #fff;
  background: var(--panel-2);
  border-color: var(--line);
}

.plan-chip {
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(117, 169, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(31, 103, 201, 0.12);
}

.plan-chip span,
.plan-chip small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.plan-chip strong {
  font-size: 26px;
}

.sidebar-footer {
  display: grid;
  gap: 8px;
}

.sidebar-change-password-button,
.sidebar-logout-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 900;
}

.sidebar-change-password-button {
  border-color: rgba(45, 130, 255, 0.58);
  background: rgba(31, 103, 201, 0.18);
}

.sidebar-change-password-button:hover,
.sidebar-logout-button:hover {
  border-color: rgba(117, 169, 255, 0.42);
  background: rgba(31, 103, 201, 0.16);
}

.sidebar-legal-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.sidebar-footer a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-copyright {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.change-password-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(10px);
}

.change-password-modal {
  width: min(100%, 460px);
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.change-password-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.change-password-head h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.06;
}

.change-password-note {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.change-password-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.change-password-rules {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.change-password-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.workspace {
  min-width: 0;
  padding: 28px clamp(24px, 4vw, 52px) 56px;
  background: #0f141d;
  color: var(--ink);
}

.topline,
.section-head,
.vault-toolbar,
.capture-actions,
.vault-tools,
.field-heading,
.file-actions,
.compact-estimate-row {
  display: flex;
  align-items: center;
}

.topline {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.topline h1,
.section-head h2,
.vault-toolbar h2,
.account-card h2 {
  margin: 0;
  color: #fff;
  line-height: 1.02;
  letter-spacing: 0;
}

.topline h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.section-head h2,
.vault-toolbar h2,
.account-card h2 {
  max-width: 820px;
  font-size: clamp(26px, 3vw, 42px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-button,
.ghost-button,
.text-button {
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 900;
}

.primary-button {
  border: 1px solid var(--blue);
  padding: 0 16px;
  background: var(--blue);
  color: #fff;
}

.primary-button:disabled,
.ghost-button:disabled,
.text-button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.ghost-button {
  border: 1px solid rgba(117, 169, 255, 0.35);
  padding: 0 14px;
  background: rgba(23, 31, 45, 0.88);
  color: #fff;
}

.text-button {
  border: 0;
  padding: 0 6px;
  background: transparent;
  color: var(--blue);
}

.danger-button {
  min-height: 42px;
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: var(--radius);
  padding: 0 16px;
  background: rgba(180, 35, 35, 0.92);
  color: #fff;
  font-weight: 950;
}

.danger-button:hover,
.danger-outline-button:hover {
  border-color: rgba(248, 113, 113, 0.75);
  background: rgba(185, 28, 28, 0.28);
}

.trash-head-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 14px;
}

.trash-head-actions .section-note {
  max-width: 520px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.capture-layout {
  display: block;
}

.capture-panel,
.detail-panel,
.price-card,
.account-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.capture-panel {
  padding: clamp(18px, 3vw, 30px);
}

.section-head {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.capture-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 6px;
  padding: 6px;
  width: min(100%, 310px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(32, 42, 58, 0.82);
}

.capture-chip {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 950;
}

.capture-chip.is-active {
  background: var(--blue);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.span-2 {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
}

.type-field {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.compact-estimate-field {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  width: min(100%, 310px);
  margin-top: -4px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(32, 42, 58, 0.72);
}

.field span,
.type-field > span,
.compact-estimate-field > span,
.field-heading label {
  color: #eef4ff;
  font-size: 14px;
  font-weight: 950;
}

.compact-estimate-field > span {
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}

.compact-estimate-row {
  gap: 6px;
  min-width: 0;
}

.field input,
.field select,
.field textarea,
.compact-estimate-field input,
.vault-tools input,
.detail-panel input,
.detail-panel select,
.detail-panel textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  color: #f8fbff;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder,
.vault-tools input::placeholder,
.detail-panel input::placeholder,
.detail-panel textarea::placeholder {
  color: rgba(216, 224, 238, 0.58);
}

.field input,
.field select,
.compact-estimate-field input,
.vault-tools input,
.detail-panel input,
.detail-panel select {
  min-height: 46px;
  padding: 0 12px;
}

.field textarea,
.detail-panel textarea {
  resize: vertical;
  min-height: 118px;
  padding: 12px;
  line-height: 1.45;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.compact-estimate-field input:focus,
.vault-tools input:focus,
.vault-tools select:focus,
.detail-panel input:focus,
.detail-panel textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(45, 130, 255, 0.16);
}

.compact-estimate-field input {
  width: 74px;
  min-height: 34px;
  padding: 0 9px;
  font-size: 13px;
}

.compact-guess-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.field-heading {
  justify-content: space-between;
  gap: 12px;
}

.file-actions,
.compact-estimate-row,
.capture-actions,
.vault-tools {
  gap: 10px;
}

.file-button {
  display: inline-flex;
  align-items: center;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.field-status,
#saveStatus {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

#saveStatus {
  display: grid;
  gap: 7px;
}

.save-progress-message,
.save-progress-meta {
  display: block;
  overflow-wrap: anywhere;
}

.save-progress-track {
  display: block;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(117, 169, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 13, 21, 0.72);
}

.save-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 180ms ease;
}

.save-progress-meta {
  color: #d8e7ff;
  font-size: 12px;
  font-weight: 900;
}

.media-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, 0.84);
}

.media-fields input[type="file"] {
  width: 100%;
  min-height: 92px;
  padding: 18px;
  color: transparent;
  cursor: pointer;
}

.media-fields input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 10px;
  padding: 0 12px;
  border: 1px solid rgba(117, 169, 255, 0.35);
  border-radius: 7px;
  background: rgba(31, 103, 201, 0.82);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.media-fields input[type="file"]::-webkit-file-upload-button {
  min-height: 36px;
  margin-right: 10px;
  padding: 0 12px;
  border: 1px solid rgba(117, 169, 255, 0.35);
  border-radius: 7px;
  background: rgba(31, 103, 201, 0.82);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.media-selection-status {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.media-selection-summary {
  margin-bottom: 8px;
}

.media-selection-list {
  display: grid;
  gap: 6px;
}

.media-selection-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid rgba(117, 169, 255, 0.18);
  border-radius: 7px;
  background: rgba(9, 14, 22, 0.45);
}

.media-selection-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-remove-button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.media-remove-button:hover {
  border-color: rgba(117, 169, 255, 0.48);
  color: #fff;
}

.capture-actions {
  margin-top: 18px;
}

.price-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.vault-toolbar {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.vault-search-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.vault-search-shell {
  position: relative;
  display: block;
}

.vault-search-shell input {
  width: 100%;
  min-height: 68px;
  padding: 0 22px 0 70px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(17, 23, 34, 0.8);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.vault-search-shell input::placeholder {
  color: rgba(210, 217, 231, 0.52);
}

.vault-search-shell input:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(45, 130, 255, 0.18);
}

.vault-search-icon {
  position: absolute;
  left: 26px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 4px solid var(--blue-soft);
  border-radius: 999px;
  transform: translateY(-58%);
  pointer-events: none;
}

.vault-search-icon::after {
  position: absolute;
  right: -11px;
  bottom: -8px;
  width: 13px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-soft);
  content: "";
  transform: rotate(45deg);
}

.vault-search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
}

.vault-clear-button {
  border: 0;
  background: transparent;
  color: var(--blue-soft);
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
}

.vault-filter-board {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.vault-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vault-filter-chip {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 23, 34, 0.72);
  color: var(--muted);
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
}

.vault-filter-chip.is-active {
  border-color: rgba(117, 169, 255, 0.62);
  background: var(--blue);
  color: #fff;
}

.vault-sort-field {
  display: grid;
  max-width: 280px;
  gap: 8px;
}

.vault-sort-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.vault-sort-field select {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(17, 23, 34, 0.82);
  color: #fff;
  font-weight: 900;
}

.vault-sort-field select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(45, 130, 255, 0.18);
}

.hook-filter-chip {
  color: var(--blue-soft);
}

.vault-layout {
  display: grid;
  grid-template-columns: minmax(320px, 450px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.vault-results-layout {
  grid-template-columns: minmax(0, 1fr);
}

.vault-list {
  display: grid;
  gap: 12px;
}

.vault-results-layout .vault-list {
  grid-template-columns: minmax(0, 1fr);
}

.vault-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  box-shadow: none;
}

.vault-results-layout .vault-card {
  min-height: 0;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(17, 23, 34, 0.36);
}

.vault-results-layout .vault-card:hover,
.vault-results-layout .vault-card:focus-visible {
  border-color: rgba(117, 169, 255, 0.42);
  background: rgba(31, 103, 201, 0.08);
}

.vault-card.is-active {
  border-color: rgba(117, 169, 255, 0.28);
}

.vault-load-more-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.52);
  color: #fff;
  text-align: center;
}

.vault-load-more-panel strong {
  font-size: 22px;
  font-weight: 900;
}

.vault-card small {
  color: #d9deea;
  font-size: 18px;
  font-weight: 850;
}

.vault-card strong {
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.vault-meta-line,
.vault-card-preview {
  margin: 0;
}

.vault-meta-line {
  color: var(--blue-soft);
  font-size: 16px;
  font-weight: 950;
}

.vault-card-preview {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.trash-list {
  display: grid;
  gap: 12px;
}

.trash-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.trash-card small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.trash-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.trash-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.trash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.danger-outline-button {
  border-color: rgba(239, 68, 68, 0.42);
  color: #fecaca;
}

.detail-panel {
  min-height: 520px;
  padding: 22px;
}

.vault-detail-view {
  max-width: min(100%, 1080px);
}

.vault-back-button {
  min-height: 42px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.72);
  color: var(--blue-soft);
  font-weight: 950;
}

.vault-detail-shell {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.74);
}

.vault-detail-shell .detail-panel {
  min-height: auto;
}

.detail-form {
  display: grid;
  gap: 14px;
}

.detail-edit-add-panel,
.detail-edit-media-manager {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(95, 156, 255, 0.24);
  border-radius: 8px;
  background: rgba(7, 12, 20, 0.34);
}

.detail-edit-add-panel span,
.detail-edit-media-head span {
  color: var(--blue-soft);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-edit-add-panel p,
.detail-edit-media-head strong {
  margin: 4px 0 0;
  color: var(--muted);
}

.detail-edit-add-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-add-button {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(95, 156, 255, 0.34);
  border-radius: 8px;
  background: rgba(31, 103, 201, 0.16);
  color: var(--blue-soft);
  cursor: pointer;
  font-weight: 950;
  text-align: center;
}

.detail-add-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.detail-add-button:hover,
.detail-add-button:focus-within {
  border-color: rgba(117, 169, 255, 0.58);
  background: rgba(31, 103, 201, 0.24);
}

.detail-edit-media-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.detail-read-panel {
  display: grid;
  gap: 16px;
}

.detail-type-row {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.detail-type-tile {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(95, 156, 255, 0.48);
  border-radius: 8px;
  background: rgba(31, 103, 201, 0.24);
  color: var(--blue-soft);
  font-size: 18px;
  font-weight: 950;
}

.detail-read-header {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(95, 156, 255, 0.24);
  border-radius: 8px;
  background: rgba(31, 103, 201, 0.08);
}

.detail-read-header h3,
.detail-read-block p,
.detail-read-meta,
.detail-read-meta dd {
  margin: 0;
}

.detail-read-header h3 {
  color: var(--blue-soft);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.detail-read-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-read-meta div {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(95, 156, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 12, 20, 0.38);
}

.detail-read-meta dt {
  color: var(--blue-soft);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-read-meta dd {
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.detail-read-block {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(95, 156, 255, 0.22);
  border-radius: 8px;
  background: rgba(9, 14, 22, 0.38);
}

.detail-read-meta-block {
  background: rgba(7, 12, 20, 0.26);
}

.detail-read-block-hook {
  border-color: rgba(95, 156, 255, 0.42);
  background: rgba(31, 103, 201, 0.1);
}

.detail-read-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(95, 156, 255, 0.42);
  border-radius: 8px;
  background: rgba(31, 103, 201, 0.2);
  color: var(--blue-soft);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.detail-read-block p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.52;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-media-grid {
  display: grid;
  gap: 12px;
}

.detail-media-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 11, 19, 0.42);
}

.detail-media-edit-card {
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  margin-top: 12px;
}

.detail-media-edit-main {
  display: grid;
  gap: 12px;
}

.detail-media-edit-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.detail-media-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-media-note-edit {
  margin-top: 2px;
}

.detail-media-note-edit textarea {
  min-height: 96px;
}

.detail-media-remove-status {
  min-height: 18px;
  margin: 0;
  color: #fecaca;
  font-size: 13px;
  font-weight: 850;
}

.detail-media-preview {
  display: grid;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(9, 14, 24, 0.72);
  place-items: center;
}

.detail-media-preview img,
.detail-media-preview video {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.detail-media-card strong,
.detail-media-card small,
.detail-media-card p {
  display: block;
  overflow-wrap: anywhere;
}

.detail-media-card small,
.detail-media-card p {
  margin-top: 6px;
  color: var(--muted);
}

.detail-media-card.is-preview-error .detail-media-preview::before {
  content: "Preview unavailable";
  padding: 12px;
  color: var(--muted);
  text-align: center;
}

.pricing-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card,
.account-card {
  padding: 22px;
}

.price-card.is-featured {
  border-color: rgba(45, 130, 255, 0.42);
  box-shadow:
    var(--shadow),
    0 0 0 3px rgba(45, 130, 255, 0.1);
}

.price-card h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 30px;
}

.plan-metrics {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(117, 169, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(32, 42, 58, 0.78);
}

.plan-metrics strong {
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
}

.plan-metrics small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.price-card ul,
.account-card ul {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.price-card p,
.account-card li,
.account-card dd,
.empty-state {
  color: var(--muted);
  line-height: 1.48;
}

.trust-policy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 22px;
  margin: 18px 0 0;
  padding: 22px;
  border: 1px solid rgba(20, 151, 108, 0.28);
  border-radius: var(--radius);
  background: rgba(15, 35, 31, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.trust-policy-panel h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.08;
}

.trust-policy-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.storage-addon-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 18px;
  margin: 18px 0 0;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.storage-addon-panel h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
}

.storage-addon-panel p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.storage-addon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.storage-addon-button {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(45, 130, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(45, 130, 255, 0.12);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.storage-addon-button:hover {
  border-color: rgba(45, 130, 255, 0.45);
  background: rgba(45, 130, 255, 0.14);
}

.storage-addon-button strong {
  font-size: 20px;
  line-height: 1.05;
}

.storage-addon-button span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.storage-addon-button small {
  color: #bff4d6;
  font-size: 12px;
  font-weight: 850;
}

.metric-storage,
.metric-bandwidth {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 6px;
  font-weight: 950;
}

.metric-storage {
  border: 1px solid rgba(117, 169, 255, 0.22);
  background: rgba(45, 130, 255, 0.12);
  color: #d9e8ff;
}

.metric-bandwidth {
  border: 1px solid rgba(73, 185, 135, 0.38);
  background: rgba(73, 185, 135, 0.16);
  color: #c8fadd !important;
}

.custom-pricing-callout {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.custom-plan-note {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.custom-pricing-link {
  min-width: 180px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  text-align: center;
  text-decoration: none;
}

.checkout-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-card dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.account-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line-strong);
}

.account-card dt {
  color: #fff;
  font-weight: 950;
}

.account-card dd {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.account-card .bandwidth-account-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(220px, 1fr);
  align-items: stretch;
  margin: 6px 0;
  padding: 0;
  border: 1px solid rgba(73, 185, 135, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 151, 108, 0.26), rgba(31, 103, 201, 0.18)),
    rgba(32, 42, 58, 0.9);
  box-shadow:
    0 18px 46px rgba(20, 151, 108, 0.14),
    0 0 0 1px rgba(191, 244, 214, 0.06) inset;
}

.bandwidth-account-row dt {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid rgba(191, 244, 214, 0.2);
  color: #d9ffe9;
}

.bandwidth-account-row dt span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bandwidth-account-row dt strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.12;
}

.bandwidth-status-value {
  display: grid;
  align-content: center;
  max-width: none;
  padding: 14px;
  color: #c8fadd !important;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.28;
  text-align: left;
}

.account-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.logout-button {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.settings-layout {
  max-width: 980px;
}

.settings-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.settings-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.settings-brand-row img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #050607;
}

.settings-brand-row h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.02;
}

.settings-hub {
  display: grid;
  gap: 12px;
}

.settings-tile {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, 0.82);
  color: #fff;
  text-align: left;
}

.settings-tile:hover {
  border-color: rgba(117, 169, 255, 0.46);
  background: rgba(31, 103, 201, 0.14);
}

.settings-tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(117, 169, 255, 0.38);
  border-radius: 8px;
  background: rgba(31, 103, 201, 0.16);
  color: var(--blue-soft);
  font-weight: 950;
}

.settings-tile > span:not(.settings-tile-icon) {
  font-size: 18px;
  font-weight: 950;
}

.settings-tile strong {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.settings-subpage {
  display: grid;
  gap: 14px;
}

.settings-back-button {
  justify-self: start;
}

.settings-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.settings-list div,
.settings-action-panel,
.subscription-disclosure,
.storage-notice {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 23, 34, 0.72);
}

.settings-list dt,
.settings-action-panel h3,
.subscription-disclosure h3 {
  margin: 0 0 7px;
  color: #fff;
  font-weight: 950;
}

.settings-list dd,
.settings-action-panel p,
.subscription-disclosure dd,
.subscription-disclosure p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.settings-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.settings-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.settings-status.is-error {
  color: #fca5a5;
}

.danger-settings-card {
  border-color: rgba(239, 68, 68, 0.38);
  background: rgba(72, 20, 20, 0.42);
}

.settings-link {
  color: #b8d1ff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.storage-notice {
  display: grid;
  gap: 8px;
  border-color: rgba(73, 185, 135, 0.42);
  background:
    linear-gradient(135deg, rgba(20, 151, 108, 0.18), rgba(31, 103, 201, 0.1)),
    rgba(17, 23, 34, 0.72);
}

.storage-notice span {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(73, 185, 135, 0.42);
  border-radius: 6px;
  background: rgba(73, 185, 135, 0.16);
  color: #c8fadd;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.storage-notice p {
  margin: 0;
  color: #dce7f4;
  line-height: 1.45;
}

.subscription-disclosure dl {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1420px) {
  .desktop-shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .workspace {
    padding-inline: clamp(20px, 3vw, 36px);
  }

  .account-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }

  .account-card h2 {
    font-size: clamp(28px, 3.2vw, 40px);
  }

  .account-card dl div {
    display: grid;
    grid-template-columns: minmax(145px, 0.42fr) minmax(0, 1fr);
    align-items: start;
  }

  .account-card dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .account-card .bandwidth-account-row {
    grid-template-columns: minmax(145px, 0.42fr) minmax(0, 1fr);
  }
}

@media (max-width: 1120px) {
  .auth-shell {
    grid-template-columns: minmax(320px, 430px);
    justify-content: center;
  }

  .auth-proof-panel {
    width: min(100%, 430px);
  }

  .onboarding-layout {
    grid-template-columns: 1fr;
  }

  .desktop-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .vault-layout,
  .pricing-grid,
  .trust-policy-panel,
  .storage-addon-panel,
  .account-grid,
  .trash-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .auth-page,
  .create-account-page,
  .onboarding-page {
    padding: 16px;
  }

  .auth-actions,
  .onboarding-actions,
  .onboarding-guide,
  .onboarding-header {
    grid-template-columns: 1fr;
  }

  .auth-shell,
  .store-card {
    grid-template-columns: 1fr;
  }

  .qr-link {
    width: 104px;
    height: 104px;
    justify-self: start;
  }

  .auth-value-strip {
    grid-template-columns: 1fr;
  }

  .desktop-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    height: auto;
    grid-template-rows: auto auto auto;
  }

  .plan-chip {
    display: none;
  }

  .workspace {
    padding: 22px 16px 44px;
  }

  .topline,
  .section-head,
  .vault-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .vault-search-shell input {
    min-height: 60px;
    padding-left: 58px;
    font-size: 18px;
  }

  .vault-search-icon {
    left: 22px;
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  .vault-search-meta {
    padding: 0 8px;
  }

  .vault-filter-chip {
    min-height: 44px;
    padding: 0 16px;
    font-size: 18px;
  }

  .vault-sort-field {
    max-width: none;
  }

  .vault-card strong {
    font-size: 22px;
  }

  .vault-tools,
  .media-fields,
  .storage-addon-grid,
  .custom-pricing-callout,
  .settings-tile {
    display: grid;
    grid-template-columns: 1fr;
  }

  .custom-pricing-link {
    width: 100%;
  }

  .trash-actions {
    justify-content: start;
  }

  .account-card .bandwidth-account-row {
    grid-template-columns: 1fr;
  }

  .bandwidth-account-row dt {
    border-right: 0;
    border-bottom: 1px solid rgba(191, 244, 214, 0.2);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .detail-media-card {
    grid-template-columns: 1fr;
  }

  .detail-edit-add-grid {
    grid-template-columns: 1fr;
  }

  .detail-read-meta div {
    width: 100%;
  }

  .span-2 {
    grid-column: auto;
  }
}
