/* Web-only additions on top of desktop/styles.css. */
.account { display: inline-flex; align-items: center; gap: 10px; }
.account-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.account-logout { padding: 5px 10px; font-size: 12px; }

.login-page { min-width: 0; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 36px #2a141308; padding: 28px 26px 26px; }
.login-brand { color: var(--deep); margin-bottom: 26px; }
.login-brand .brand-mark { background: var(--paper); }
.login-brand .brand-light { color: #b26b69; }
.login-card h2 { font-size: 28px; }
.login-intro { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-input { display: block; height: 46px; margin-bottom: 16px; border: 1px solid #e3b6b4; border-radius: 8px; font-size: 15px; letter-spacing: normal; }
.login-input:focus-visible { border-color: var(--accent); outline: 3px solid #dc2b2d33; outline-offset: 0; }
.login-card .error-message { margin: 0 0 16px; }
.login-submit { width: 100%; justify-content: center; }

/* The desktop window is at least 860 px wide; on the web, also fit tablets and phones. */
@media (max-width: 860px) {
  body { min-width: 0; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
  .sidebar::after, .sidebar-middle { display: none; }
  .sidebar-bottom { border-top: 0; padding-top: 0; }
  .workspace { padding: 20px 16px 24px; }
  .topbar { flex-wrap: wrap; gap: 10px; padding-bottom: 16px; }
  .topbar-note { display: none; }
  .heading { margin: 20px 0 16px; }
  h2 { font-size: 26px; }
  .mode-switch { grid-template-columns: 1fr; }
  .input-card, .status-card { padding: 18px 16px; }
  .action-row { flex-wrap: wrap; }
  .import-row { flex-wrap: wrap; }
  .batch-totals { gap: 24px; }
  .file-picker strong { max-width: 60vw; }
}
