/* Magem Mind legal pages, in the app's own look: Ivory and Jade (light) and Night Lacquer (dark), the same tokens as
   web/src/ui/design-system/tokens.css. Fraunces for headings and Inter for text, at weights 400 and 500 only, sizes and line heights from the app's scale. */
@font-face{font-family:"Fraunces";src:url(/fonts/fraunces-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Inter";src:url(/fonts/inter-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{color-scheme:light;--bg:#F7F3EA;--surface:#FFFDF8;--surface-sunk:#FBF8F1;--line:#E8E1D3;--line-strong:#DDD3C0;--ink:#1F2421;--muted:#5E635D;--accent:#2F6B5A;--accent-press:#24574A;--on-accent:#F7F3EA}
@media (prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#12161C;--surface:#1A2028;--surface-sunk:#151A21;--line:#2A313B;--line-strong:#39414D;--ink:#EDE6D6;--muted:#A8A396;--accent:#7FC3AA;--accent-press:#A3D6C3;--on-accent:#0E1A16}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.5rem "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
main{max-width:720px;margin:0 auto;padding:20px 20px 56px}
header{display:flex;align-items:center;min-height:56px}
header a{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 14px 0 10px;margin-left:-10px;border-radius:12px;color:var(--ink);font-weight:400;text-decoration:none}
header a:hover,header a:focus-visible{background:var(--surface-sunk)}
h1{font:400 1.75rem/2.125rem "Fraunces",Georgia,serif;color:var(--ink);letter-spacing:-.01em;margin:14px 0 6px}
h2{font:400 1.375rem/1.75rem "Fraunces",Georgia,serif;color:var(--ink);margin:30px 0 8px}
h2:first-child{margin-top:18px}
b,strong,th{font-weight:500}
.meta{color:var(--muted);font-size:.9375rem;line-height:1.25rem;margin:0}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:6px 24px 22px;margin-top:20px}
p,li{color:var(--ink)}ul{padding-left:1.25em}li{margin:6px 0}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--accent-press)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
table{width:100%;border-collapse:collapse;margin:.6em 0 1em;font-size:.9375rem;line-height:1.25rem}th,td{border:1px solid var(--line)!important;padding:.5em .6em;text-align:left;vertical-align:top}thead th{background:var(--surface-sunk)}
footer{margin-top:32px;color:var(--muted);font-size:.9375rem;line-height:1.25rem;text-align:center}
footer a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 10px;color:var(--muted)}
footer p{margin:8px 0 0}
button{min-height:48px;padding:0 22px;border-radius:12px;border:0;background:var(--accent);color:var(--on-accent);font:500 1rem/1.5rem "Inter",system-ui,sans-serif;cursor:pointer}
button:hover{background:var(--accent-press)}
input{font:400 1rem/1.5rem "Inter",system-ui,sans-serif;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;min-height:44px;padding:8px 10px}
input[type=checkbox]{min-height:0;width:22px;height:22px;accent-color:var(--accent)}
@media(min-width:720px){h1{font-size:2.5rem;line-height:2.75rem}}
@media(max-width:560px){body{font-size:1rem}main{padding:12px 16px 44px}.card{padding:4px 16px 18px}}
/* The privacy policy: the table of purposes and legal bases (moved from the page so it needs no inline style). */
table.basis{width:100%;border-collapse:collapse;margin:.6em 0 1em;font-size:.9375rem;line-height:1.25rem}table.basis th,table.basis td{border:1px solid rgba(127,127,127,.35);padding:.45em .55em;text-align:left;vertical-align:top}table.basis th{font-weight:500}@media(max-width:560px){table.basis thead{display:none}table.basis tr{display:block;margin-bottom:.7em}table.basis td{display:block;border-top:none}table.basis td:first-child{border-top:1px solid rgba(127,127,127,.35);font-weight:500}}
/* The account deletion page: its two forms (moved from the page so it needs no inline style). */
.f label{display:block;font-weight:500;margin:12px 0 6px}.f input{width:100%;box-sizing:border-box;min-height:44px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--ink)}.f button{margin-top:16px}.f input[type=checkbox]{width:22px;height:22px;min-height:0;flex:none;margin:0}.f .ck{display:flex;gap:10px;align-items:center;min-height:44px;font-weight:400}#msg,#gmsg{min-height:1.5em;margin-top:10px}#gba{margin-top:8px;background:#000;color:#fff}
