/* Server-rendered notices and the payment return page (internal/web/notice.go).
   No scripts: the CSP forbids inline code. Theme: data-theme from the cabinet,
   otherwise the system preference. */
:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5d6270;
  --line: #e3e4e8;
  --accent: #1f6feb;
  --accent-text: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1014;
    --card: #161920;
    --text: #eceef3;
    --muted: #9aa1b2;
    --line: #262a33;
    --accent: #4c8dff;
    --accent-text: #0b0d12;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1014;
  --card: #161920;
  --text: #eceef3;
  --muted: #9aa1b2;
  --line: #262a33;
  --accent: #4c8dff;
  --accent-text: #0b0d12;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.notice {
  width: 100%;
  max-width: 460px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.notice-brand {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.notice h1 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  text-wrap: balance;
}
.notice p { margin: 0 0 16px; color: var(--muted); }
.notice p:last-child { margin-bottom: 0; }
.notice-button {
  display: inline-block;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}
.notice-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
