/* Account modal - Clerk-style popup, matches app theme. Mobile: full-sheet. */
.acct-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}.acct-backdrop.open { opacity: 1; pointer-events: auto; }.acct-modal {
  position: fixed;
  z-index: 201;
  inset: 0;
  margin: auto;
  width: min(1120px, calc(100vw - 32px));
  height: min(860px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  background: #101511;
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: 5px;
  display: none;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}html[data-theme="light"] .acct-modal { background: #fff; }.acct-modal.open { display: flex; }.acct-side {
  width: 300px;
  flex-shrink: 0;
  background: #171f19;
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}html[data-theme="light"] .acct-side { background: #f0f4ee; }.acct-side h2 { margin: 0; font-size: 34px; letter-spacing: -.01em; }.acct-side .acct-sub { margin: 4px 0 22px; color: var(--text-2); font-size: 15px; }.acct-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
}.acct-tab svg { width: 20px; height: 20px; flex-shrink: 0; }.acct-tab:hover { background: var(--surface-2); color: var(--text-1); }.acct-tab.active { background: rgba(255,255,255,.06); color: var(--accent); font-weight: 600; }html[data-theme="light"] .acct-tab.active { background: rgba(0,0,0,.06); }.acct-main {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
  overflow-y: auto;
  position: relative;
}.acct-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 5px;
}.acct-close:hover { color: var(--text-1); background: var(--surface-2); }.acct-panel { display: none; }.acct-panel.active { display: block; animation: acctFade .15s ease; }@keyframes acctFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }.acct-panel h3 { margin: 0 0 4px; font-size: 22px; }.acct-panel .acct-desc { margin: 0 0 18px; color: var(--text-2); font-size: 15px; }.acct-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}.acct-row:first-of-type { border-top: 1px solid var(--border); margin-top: 14px; }.acct-label { font-size: 16px; }.acct-profile { display: flex; align-items: center; gap: 14px; min-width: 0; }.acct-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border);
}.acct-avatar svg { width: 44px; height: 44px; color: #fff; }html[data-theme="light"] .acct-avatar svg { color: #33413a; }.acct-avatar img { width: 100%; height: 100%; object-fit: cover; }.acct-name { font-size: 16px; }.acct-link {
  background: none; border: none; cursor: pointer;
  color: var(--accent); font-size: 16px; font-weight: 500;
  padding: 8px 4px; white-space: nowrap; text-decoration: none;
}.acct-link:hover { text-decoration: underline; }.acct-pill {
  font-size: 13px; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 5px;
  padding: 2px 10px; margin-left: 8px; white-space: nowrap;
}.acct-email { font-size: 16px; word-break: break-all; }.acct-kebab { background: none; border: none; color: var(--text-2); font-size: 20px; letter-spacing: 2px; cursor: pointer; padding: 8px 10px; border-radius: 5px; }.acct-kebab:hover { background: var(--surface-2); color: var(--text-1); }.acct-inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }.acct-inline-form input[type="text"],
.acct-inline-form input[type="email"],
.acct-inline-form input[type="password"],
.acct-inline-form select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-1);
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 15px;
  min-width: 0;
}.acct-inline-form input { width: min(280px, 100%); }.acct-hint { color: var(--text-2); font-size: 14px; margin: 8px 0 0; }.acct-dots { letter-spacing: 2px; font-size: 18px; }.acct-device { display: flex; gap: 14px; align-items: flex-start; }.acct-device .dev-name { font-weight: 600; font-size: 16px; }.acct-device .dev-meta { color: var(--text-2); font-size: 15px; margin-top: 2px; }/* Trip logs */
.acct-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }.acct-stack { flex-direction: column; align-items: stretch; max-width: 360px; }/* Settings */
.acct-setting {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}.acct-setting:first-of-type { border-top: 1px solid var(--border); margin-top: 14px; }.acct-setting-text label, .acct-setting-text span { font-weight: 700; font-size: 16px; }.acct-setting-text .acct-hint { margin-top: 4px; }.acct-setting-form { display: flex; gap: 8px; align-items: center; }.select-input {
  appearance: none; -webkit-appearance: none;
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ab89a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-1);
  padding: 12px 38px 12px 14px;
  font-size: 15px;
  min-height: 44px;
  max-width: 100%;
  cursor: pointer;
}.select-input:hover { border-color: var(--text-3); }.select-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }.acct-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; }.acct-check-single { margin: 0; }.acct-check {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 5px;
  padding: 12px 16px; font-size: 15px; cursor: pointer;
  background: transparent; color: var(--text-1);
}.acct-check input { width: 22px; height: 22px; accent-color: var(--accent); flex-shrink: 0; }/* Sidebar trigger */
button.user-card {
  border: none; width: 100%; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}button.user-card:hover { filter: brightness(1.1); }button.user-card .avatar {
  display: inline-flex; align-items: center; justify-content: center;
  color: #08130b; font-weight: 800; font-size: 13px;
  overflow: hidden;
}button.user-card .avatar img { width: 100%; height: 100%; object-fit: cover; }/* ---------- Mobile ---------- */
.acct-tabs-mobile { display: none; }@media (max-width: 900px) {.acct-modal {
    width: 100vw; height: 100vh; max-height: 100vh;
    inset: 0; margin: 0; border-radius: 0; border: none;
    flex-direction: column;
  }.acct-modal.open { display: flex; }.acct-side {
    width: 100%; border-right: none; border-bottom: 1px solid var(--border);
    padding: 16px 16px 10px; gap: 0; overflow: visible; flex-shrink: 0;
  }.acct-side h2 { font-size: 24px; }.acct-side .acct-sub { margin: 2px 0 10px; font-size: 13px; }.acct-tabs-desktop { display: none; }.acct-tabs-mobile {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }.acct-tabs-mobile::-webkit-scrollbar { display: none; }.acct-tabs-mobile .acct-tab { width: auto; white-space: nowrap; font-size: 14px; padding: 8px 14px; flex-shrink: 0; }.acct-main { padding: 20px 16px 48px; }.acct-row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; align-items: start; }.acct-label { font-size: 14px; color: var(--text-2); }.acct-setting { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }.acct-setting-form { flex-wrap: wrap; }.acct-setting-form .select-input { flex: 1 1 500px; min-width: 0; }.acct-setting-form .btn { flex: 1 1 auto; }.acct-check-grid { grid-template-columns: 1fr; }.acct-inline-form input,.acct-inline-form select { width: 100%; }.acct-inline-form .btn { width: 100%; }.acct-close { top: 10px; right: 10px; padding: 10px 14px; }}@media (prefers-reduced-motion: reduce) {.acct-backdrop, .acct-modal, .acct-panel.active { transition: none; animation: none; }}