/* neutral theme + the small set of component classes the app styles */
:root {
  --ds-page: #100b0c; --ds-ink: #f3eee6; --ds-ink-2: #b8ab9e; --ds-ink-3: #968a80; --ds-ink-4: #6b5b52;
  --ds-hairline: #38242a; --ds-teal: #c9a227; --ds-red: #ff6b6b; --ds-raised: #171013;
  --ds-radius: 12px; --ds-radius-compact: 8px; --ds-control: 44px; --ds-control-compact: 32px;
  --ds-font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", "Helvetica Neue", Arial, sans-serif;
  --ds-font-display: Georgia, "Noto Naskh Arabic", "Times New Roman", serif;
}
*, ::before, ::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ds-page); color: var(--ds-ink); }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--ds-font-text); font-size: 14px; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; color: inherit; }
button { cursor: pointer; }
.file-card { display: block; max-width: 820px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) 12px calc(28px + env(safe-area-inset-bottom)); color: var(--ds-ink); }
.file-head { padding: 10px 4px 4px; }
.file-title { font-family: var(--ds-font-display); font-size: 30px; line-height: 1.2; font-weight: 400; }
.file-intro { color: var(--ds-ink-2); margin-top: 6px; font-size: 14px; }
.file-group { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--ds-hairline); }
.file-group:first-of-type { border-top: 0; }
.file-group-heading { font-size: 15px; font-weight: 700; color: var(--ds-ink); margin: 2px 0 2px; }
.file-button { min-height: var(--ds-control); padding: 0 16px; border: 1px solid var(--ds-hairline); border-radius: var(--ds-radius-compact); background: transparent; color: var(--ds-ink); font-size: 14px; }
.file-button:not([data-variant]), .file-button[data-variant="primary"] { background: var(--ds-teal); border-color: var(--ds-teal); color: #1a1206; font-weight: 700; }
.file-button[data-variant="secondary"] { background: transparent; border-color: var(--ds-hairline); color: var(--ds-ink); font-weight: 400; }
.file-button[data-variant="ghost"] { background: transparent; border-color: transparent; color: var(--ds-ink-2); font-weight: 400; }
.file-button-compact { min-height: var(--ds-control-compact); padding: 0 10px; font-size: 13px; }
.file-button:disabled, .file-button[aria-disabled="true"] { opacity: .45; }
.file-callout { border: 1px solid var(--ds-hairline); border-radius: var(--ds-radius); padding: 10px 12px; background: #1a1013; display: flex; flex-direction: column; gap: 6px; }
.file-callout[data-tone="warning"] { border-color: #5a3a2a; background: #241316; }
.file-strong { font-weight: 700; color: #e3c565; }
.file-closing { background: rgba(10, 7, 8, .55); border-radius: 14px; padding: 8px 10px; color: var(--ds-ink-2); font-size: 12px; margin-top: 14px; }
