/* Base — reset, body, app shell layout. Mobile-first. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Bold ka niyam (Roohit): aam taur par bold NAHI — b/strong aur headings
   medium (500) rahenge; asli bold (700) sirf notice wali cheezon par
   (badge count, blocked banner, AI tick, verify wala number). */
b, strong { font-weight:500; }
h1, h2, h3, h4, h5, h6 { font-weight:500; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight:500; font-size: 13px;
}
.logo-text { font-weight:500; font-size: 15px; color: var(--ink); }
.logo-sub { font-size: 13px; color: var(--ink3); letter-spacing: .4px; }
.topbar .spacer { flex: 1; }

main { flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 16px 14px 32px; }

.app-footer {
  text-align: center; color: var(--ink3); font-size: 13px;
  padding: 18px 12px 28px;
}

/* Desktop: same shell, more air — no separate design. */
@media (min-width: 760px) {
  main { padding: 24px 20px 40px; }
  .topbar { padding: 12px 20px; }
}

b, strong { font-weight:500; }

.main-nav a { display: inline-flex; align-items: center; gap: 6px; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; }
[data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background: var(--white); color: var(--ink); }
[data-theme="dark"] .sheet, [data-theme="dark"] .modal-card { background: var(--white); color: var(--ink); }
