/* HuangLab visual contract v1. Source: spatial-infra/design. Bundle locally in each service. */
:root{
 --hl-bg:#f7f6f2;--hl-surface:#fffefb;--hl-surface-raised:#ffffff;--hl-surface-soft:#eeeee6;
 --hl-ink:#30342d;--hl-muted:#686c61;--hl-line:#dedfd5;--hl-line-strong:#c7cbbf;
 --hl-brand:#a74f3c;--hl-accent:#94664f;--hl-accent-hover:#80543f;--hl-accent-soft:#f0e7de;--hl-accent-faint:#f4eee7;--hl-on-accent:#fffefb;
 --hl-field:#faf9f5;--hl-selection:#94664f26;--hl-good:#44785d;--hl-warning:#876b32;--hl-danger:#a54e47;
 --hl-radius-control:7px;--hl-radius-panel:10px;--hl-radius-mark:5px;
 --hl-page-max:1200px;--hl-workbench-max:1280px;--hl-reading-max:860px;--hl-gutter:40px;
 --hl-space-1:4px;--hl-space-2:8px;--hl-space-3:12px;--hl-space-4:16px;--hl-space-5:24px;--hl-space-6:32px;--hl-space-7:48px;
 --hl-body-font:Hanken,'PingFang SC','Noto Sans CJK SC',sans-serif;--hl-display-font:Fraunces,'Songti SC','Noto Serif CJK SC',serif;
}
:root[data-theme=dark],:root[data-theme=gitea-dark]{
 --hl-bg:#1c1b1a;--hl-surface:#242322;--hl-surface-raised:#2e2c29;--hl-surface-soft:#292725;
 --hl-ink:#eeeae4;--hl-muted:#b9b3ab;--hl-line:#403c37;--hl-line-strong:#5c554e;
 --hl-accent:#ddb49a;--hl-accent-hover:#edc9b0;--hl-accent-soft:#3b3029;--hl-accent-faint:#302823;--hl-on-accent:#211c18;
 --hl-field:#211f1d;--hl-selection:#ddb49a33;--hl-good:#9dc6ad;--hl-warning:#d7c18d;--hl-danger:#e5a59b;
}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=gitea-light]):not([data-theme=dark]):not([data-theme=gitea-dark]){
 --hl-bg:#1c1b1a;--hl-surface:#242322;--hl-surface-raised:#2e2c29;--hl-surface-soft:#292725;
 --hl-ink:#eeeae4;--hl-muted:#b9b3ab;--hl-line:#403c37;--hl-line-strong:#5c554e;
 --hl-accent:#ddb49a;--hl-accent-hover:#edc9b0;--hl-accent-soft:#3b3029;--hl-accent-faint:#302823;--hl-on-accent:#211c18;
 --hl-field:#211f1d;--hl-selection:#ddb49a33;--hl-good:#9dc6ad;--hl-warning:#d7c18d;--hl-danger:#e5a59b;
}}
@media(max-width:900px){:root{--hl-gutter:24px}}@media(max-width:650px){:root{--hl-gutter:18px}}
