/* doodoodone.com: the app's Sunny theme (doodoodone-app lib/core/theme/app_theme_spec.dart). System fonts only:
   nothing is loaded from anywhere else. */
:root {
  --cream: #fff8ec;
  --surface: #ffffff;
  --coral: #d85a30;
  --coral-dark: #a8401d;
  --sun: #fac775;
  --ink: #4a1b0c;
  --ink-muted: #8a5a47;
  --tint: #faece7;
  --line: #f1dccb;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
:lang(ar) body, body:lang(ar) { font-family: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, system-ui, sans-serif; }
:lang(ur) body, body:lang(ur) {
  font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  line-height: 2.1;
}
:lang(hi) body, body:lang(hi) { font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", system-ui, sans-serif; }
/* An English body inside an Urdu or Arabic page keeps the Latin font. */
.content:lang(en) { font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }

.top, main, footer { max-width: 44rem; margin: 0 auto; padding-inline: 1rem; }

.top { padding-block: 0.75rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); font-weight: 800; font-size: 1.2rem; text-decoration: none;
}
.brand img { display: block; }

main { padding-bottom: 2rem; }

h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 0.25rem; }
:lang(ur) h1, :lang(ur) h2, :lang(ur) h3 { line-height: 1.9; }

a { color: var(--coral-dark); text-underline-offset: 0.15em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

p, ul, ol { margin: 0 0 0.9rem; }
ul, ol { padding-inline-start: 1.4rem; }
li { margin-bottom: 0.35rem; }

.notice {
  background: var(--tint); border-inline-start: 4px solid var(--coral);
  border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.95rem;
}
.notice-draft { background: #fff1c9; border-color: var(--sun); font-weight: 700; }
.updated { color: var(--ink-muted); font-size: 0.95rem; }
mark.todo { background: #ffe08a; color: var(--ink); padding: 0 0.25rem; border-radius: 4px; font-weight: 700; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.1rem; margin: 1rem 0;
}

/* Help page: one tappable question per row. */
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin: 0.6rem 0; padding: 0 1rem;
}
summary {
  cursor: pointer; font-weight: 700; padding: 0.85rem 0; list-style: none;
  display: flex; justify-content: space-between; gap: 0.75rem; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details > :last-child { padding-bottom: 0.9rem; margin-bottom: 0; }

.hero { text-align: center; margin: 0.5rem 0 0; }
.hero img { max-width: 50%; height: auto; }
.page-home .content h1 { text-align: center; margin-top: 0; }
.lead { font-size: 1.15rem; text-align: center; }
.buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 1.5rem 0; padding: 0; }
.buttons a {
  display: inline-block; background: var(--coral); color: #fff; font-weight: 800; text-decoration: none;
  padding: 0.7rem 1.2rem; border-radius: 999px; min-height: 44px;
}

table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 0.5rem 0 1rem; }
th, td { text-align: start; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--line); }
th { background: var(--tint); }
.table-wrap { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding-block: 1.25rem 2rem; font-size: 0.95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0.6rem 0; }
footer nav a { display: inline-block; padding-block: 0.3rem; }
footer a[aria-current] { color: var(--ink); font-weight: 800; text-decoration: none; }
.small { color: var(--ink-muted); font-size: 0.9rem; }

@media (min-width: 40rem) {
  h1 { font-size: 2.1rem; }
  .hero img { max-width: 160px; }
}
