/* The privacy page: app.css's colours, type and drop-down, laid out as one scrolling document. It comes in
   as the dashboard's dialogs do (the card rises in on a soft spring, the header fades in). */
html:has(body.doc-page), body.doc-page { height: auto; min-height: 100%; }
body.doc-page { display: block; overflow: visible; font-size: 14px; line-height: 1.65; }

.doc-wrap { max-width: 720px; margin: 0 auto; padding: 40px 16px 72px; }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; animation: fade-in .3s ease-out; }
.doc-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 600; }
.doc-brand .logo { width: 28px; height: 28px; }
.doc-head select {
  width: auto; min-width: 180px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 7px;
  background-color: var(--panel-2); font-size: 13px; line-height: 1.45;
}

.doc-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  padding: 30px 36px 26px; animation: rise-in .36s var(--spring-soft);
}
.doc-card h1 { font-size: 22px; line-height: 1.3; margin: 0 0 4px; }
.doc-card h2 { font-size: 15px; margin: 26px 0 6px; }
.doc-card p, .doc-card ul { margin: 0 0 10px; }
.doc-card ul { padding-left: 20px; }
.doc-card li { margin-bottom: 4px; }
.doc-card li::marker { color: var(--muted); }
.doc-card a { color: var(--accent); text-underline-offset: 2px; }
.doc-date { color: var(--muted); font-size: 12.5px; margin-bottom: 20px !important; }
/* the summary: a tinted box in the accent colour above the numbered sections */
.doc-summary { margin: 0 0 8px; padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); }
.doc-summary strong { display: block; margin-bottom: 4px; color: var(--accent); font-size: 12.5px; }
.doc-summary p { margin: 0; }
.doc-n { color: var(--muted); font-weight: 400; margin-right: 2px; }

.doc-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: 12px; animation: fade-in .3s ease-out; }
.doc-foot a { color: inherit; }

@media (max-width: 560px) {
  .doc-wrap { padding-top: 20px; }
  .doc-card { padding: 22px 20px 18px; }
  .doc-head select { min-width: 0; }
}
