/* Общи стилове за правните страници. Токените са същите като на началната страница. */
:root {
  --bg: #F3F7F4; --surface: #FFFFFF; --tint: #D9E8DF; --ink: #0F1B16; --muted: #4B5C54; --rule: #CBDBD1;
  --btn: #2A3A93; --btn-ink: #FFFFFF; --mark: #FFF1B8; --mark-ink: #4A3B00;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0E1512; --surface: #151E19; --tint: #1B2A22; --ink: #E6EEE9; --muted: #9DB0A5; --rule: #26352C; --btn: #98A5FF; --btn-ink: #0E1512; --mark: #4A3F10; --mark-ink: #FFE9A0; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0E1512; --surface: #151E19; --tint: #1B2A22; --ink: #E6EEE9; --muted: #9DB0A5; --rule: #26352C; --btn: #98A5FF; --btn-ink: #0E1512; --mark: #4A3F10; --mark-ink: #FFE9A0; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--btn); }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 46rem; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.draft { background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; }
.draft .wrap { padding-block: 0.5rem; max-width: 68rem; }
.bar { border-bottom: 1px solid var(--rule); }
.bar .wrap { max-width: 68rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.8rem; }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: 0.7rem; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; line-height: 1.2; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: 72px; height: 72px; flex: none; }
.brand > span { display: block; }
.brand .nm { display: block; }
.brand .tl { text-wrap: balance; }
footer .brand { flex-basis: 100%; margin-bottom: 0.6rem; text-transform: none; letter-spacing: 0.04em; }
.back { font-size: 0.92rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.back:hover { text-decoration: underline; }
@media (max-width: 30rem) { .bar .wrap { flex-wrap: wrap; gap: 0.5rem 1rem; } .bar .brand { flex-basis: 100%; } }
main { padding-block: clamp(2rem, 6vw, 4rem); }
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.6rem; }
h2 { font-size: 1.35rem; margin-top: 2.4rem; margin-bottom: 0.6rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
.meta { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 2rem; }
mark.ph { background: var(--mark); color: var(--mark-ink); padding: 0.05em 0.3em; border-radius: 3px; }
.tbl { overflow-x: auto; margin-bottom: 1rem; border: 1px solid var(--rule); border-radius: 4px; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--surface); font-size: 0.95rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); }
th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
tr:last-child td { border-bottom: 0; }
footer { border-top: 1px solid var(--rule); padding-block: 1.6rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
footer .wrap { max-width: 68rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
footer a { color: inherit; }
