/* Color tokens: light = the original colors, dark = derived per role
 * (bg surfaces, fg text, bd borders). Hand-tuned overrides live in theme.css. */
:root {
  --fh-bd-198754: #198754;
  --fh-bd-1b6d2f: #1b6d2f;
  --fh-bd-1e1e1e: #1e1e1e;
  --fh-bd-1e7e34: #1e7e34;
  --fh-bd-212529: #212529;
  --fh-bd-2c3e50: #2c3e50;
  --fh-bd-34495e: #34495e;
  --fh-bd-3a4a5c: #3a4a5c;
  --fh-bd-3e3e3e: #3e3e3e;
  --fh-bd-444444: #444444;
  --fh-bd-555555: #555555;
  --fh-bd-6c757d: #6c757d;
  --fh-bd-856404: #856404;
  --fh-bd-86b7fe: #86b7fe;
  --fh-bd-945000: #945000;
  --fh-bd-984c0c: #984c0c;
  --fh-bd-adb5bd: #adb5bd;
  --fh-bd-b6ccff: #b6ccff;
  --fh-bd-b6d4fe: #b6d4fe;
  --fh-bd-b7e4c7: #b7e4c7;
  --fh-bd-b8e6da: #b8e6da;
  --fh-bd-bfdbfe: #bfdbfe;
  --fh-bd-c3d4f5: #c3d4f5;
  --fh-bd-c3e6cb: #c3e6cb;
  --fh-bd-c5d9ec: #c5d9ec;
  --fh-bd-c6c9cc: #c6c9cc;
  --fh-bd-c6dafc: #c6dafc;
  --fh-bd-cbd5e1: #cbd5e1;
  --fh-bd-cccccc: #cccccc;
  --fh-bd-ced4da: #ced4da;
  --fh-bd-cfe2ff: #cfe2ff;
  --fh-bd-d1e7dd: #d1e7dd;
  --fh-bd-dadce0: #dadce0;
  --fh-bd-ddc9f2: #ddc9f2;
  --fh-bd-dee2e6: #dee2e6;
  --fh-bd-e0e0e0: #e0e0e0;
  --fh-bd-e2e8f0: #e2e8f0;
  --fh-bd-e3e6ea: #e3e6ea;
  --fh-bd-e3e9f2: #e3e9f2;
  --fh-bd-e7e9ef: #e7e9ef;
  --fh-bd-e9ecef: #e9ecef;
  --fh-bd-eeeeee: #eeeeee;
  --fh-bd-eef0f2: #eef0f2;
  --fh-bd-eef2f7: #eef2f7;
  --fh-bd-f0f0f0: #f0f0f0;
  --fh-bd-f1f3f5: #f1f3f5;
  --fh-bd-f4f7fc: #f4f7fc;
  --fh-bd-f5c28a: #f5c28a;
  --fh-bd-f5c2c7: #f5c2c7;
  --fh-bd-f7c9c4: #f7c9c4;
  --fh-bd-fde68a: #fde68a;
  --fh-bd-ffcaa8: #ffcaa8;
  --fh-bd-ffd8a8: #ffd8a8;
  --fh-bd-ffdca8: #ffdca8;
  --fh-bd-ffe0b2: #ffe0b2;
  --fh-bd-ffe69c: #ffe69c;
  --fh-bd-ffeeba: #ffeeba;
  --fh-bd-ffffff: #ffffff;
  --fh-bg-6c757d: #6c757d;
  --fh-bg-a1a1a1: #a1a1a1;
  --fh-bg-adb5bd: #adb5bd;
  --fh-bg-b8e0c4: #b8e0c4;
  --fh-bg-bbf7d0: #bbf7d0;
  --fh-bg-c1c1c1: #c1c1c1;
  --fh-bg-c3e6cb: #c3e6cb;
  --fh-bg-c8e6c9: #c8e6c9;
  --fh-bg-ced4da: #ced4da;
  --fh-bg-cfe2ff: #cfe2ff;
  --fh-bg-d1e7dd: #d1e7dd;
  --fh-bg-d1f0e8: #d1f0e8;
  --fh-bg-d4edda: #d4edda;
  --fh-bg-dbe7f3: #dbe7f3;
  --fh-bg-dbeafe: #dbeafe;
  --fh-bg-dcfce7: #dcfce7;
  --fh-bg-dee2e6: #dee2e6;
  --fh-bg-dfe6eb: #dfe6eb;
  --fh-bg-e2e8f0: #e2e8f0;
  --fh-bg-e3f2fd: #e3f2fd;
  --fh-bg-e3f7fb: #e3f7fb;
  --fh-bg-e5e7eb: #e5e7eb;
  --fh-bg-e6e8eb: #e6e8eb;
  --fh-bg-e6f7ee: #e6f7ee;
  --fh-bg-e7f1ff: #e7f1ff;
  --fh-bg-e7f6ec: #e7f6ec;
  --fh-bg-e8f0fe: #e8f0fe;
  --fh-bg-e8f4fd: #e8f4fd;
  --fh-bg-e8f5e9: #e8f5e9;
  --fh-bg-e9ecef: #e9ecef;
  --fh-bg-ede0f9: #ede0f9;
  --fh-bg-edf3fb: #edf3fb;
  --fh-bg-eef1f5: #eef1f5;
  --fh-bg-eef4ff: #eef4ff;
  --fh-bg-eef6ff: #eef6ff;
  --fh-bg-f0f0f0: #f0f0f0;
  --fh-bg-f0f1f3: #f0f1f3;
  --fh-bg-f0f6ff: #f0f6ff;
  --fh-bg-f0faf4: #f0faf4;
  --fh-bg-f0fdf4: #f0fdf4;
  --fh-bg-f1f1f1: #f1f1f1;
  --fh-bg-f1f3f5: #f1f3f5;
  --fh-bg-f1f5f9: #f1f5f9;
  --fh-bg-f1f9f3: #f1f9f3;
  --fh-bg-f5f5f5: #f5f5f5;
  --fh-bg-f7faff: #f7faff;
  --fh-bg-f8c9c3: #f8c9c3;
  --fh-bg-f8d7da: #f8d7da;
  --fh-bg-f8f5ff: #f8f5ff;
  --fh-bg-f8f9fa: #f8f9fa;
  --fh-bg-f8f9fb: #f8f9fb;
  --fh-bg-f8f9fc: #f8f9fc;
  --fh-bg-f8fafc: #f8fafc;
  --fh-bg-fafafa: #fafafa;
  --fh-bg-fafcff: #fafcff;
  --fh-bg-fbdcd8: #fbdcd8;
  --fh-bg-fbfcfd: #fbfcfd;
  --fh-bg-fde2c8: #fde2c8;
  --fh-bg-fdeaea: #fdeaea;
  --fh-bg-fdecea: #fdecea;
  --fh-bg-fdecec: #fdecec;
  --fh-bg-fef3c7: #fef3c7;
  --fh-bg-ffe0cc: #ffe0cc;
  --fh-bg-ffe69c: #ffe69c;
  --fh-bg-fff3cd: #fff3cd;
  --fh-bg-fff3e0: #fff3e0;
  --fh-bg-fff4de: #fff4de;
  --fh-bg-fff4e5: #fff4e5;
  --fh-bg-fff5f5: #fff5f5;
  --fh-bg-fff7e6: #fff7e6;
  --fh-bg-fff8e1: #fff8e1;
  --fh-bg-fff8f0: #fff8f0;
  --fh-bg-fff8f8: #fff8f8;
  --fh-bg-fff9f0: #fff9f0;
  --fh-bg-fffaf0: #fffaf0;
  --fh-bg-fffbeb: #fffbeb;
  --fh-bg-fffde7: #fffde7;
  --fh-bg-fffdf7: #fffdf7;
  --fh-bg-ffffff: #ffffff;
  --fh-bg-w0: rgba(255, 255, 255, 0);
  --fh-bg-w10: rgba(255, 255, 255, 0.1);
  --fh-bg-w20: rgba(255,255,255,0.2);
  --fh-bg-w4: rgba(255, 255, 255, 0.04);
  --fh-bg-w72: rgba(255, 255, 255, 0.72);
  --fh-bg-w8: rgba(255, 255, 255, 0.08);
  --fh-bg-w84: rgba(255, 255, 255, 0.84);
  --fh-bg-w85: rgba(255, 255, 255, 0.85);
  --fh-bg-w92: rgba(255,255,255,.92);
  --fh-fg-0a58ca: #0a58ca;
  --fh-fg-0c5460: #0c5460;
  --fh-fg-0d6efd: #0d6efd;
  --fh-fg-0f172a: #0f172a;
  --fh-fg-0f5132: #0f5132;
  --fh-fg-0f766e: #0f766e;
  --fh-fg-155724: #155724;
  --fh-fg-15803d: #15803d;
  --fh-fg-16a34a: #16a34a;
  --fh-fg-198754: #198754;
  --fh-fg-1a56db: #1a56db;
  --fh-fg-1e293b: #1e293b;
  --fh-fg-1b6d2f: #1b6d2f;
  --fh-fg-1e40af: #1e40af;
  --fh-fg-1e7b34: #1e7b34;
  --fh-fg-1f4e79: #1f4e79;
  --fh-fg-202124: #202124;
  --fh-fg-212529: #212529;
  --fh-fg-222222: #222222;
  --fh-fg-2563eb: #2563eb;
  --fh-fg-2e7d32: #2e7d32;
  --fh-fg-333333: #333333;
  --fh-fg-334155: #334155;
  --fh-fg-343a40: #343a40;
  --fh-fg-3c4043: #3c4043;
  --fh-fg-3ddc84: #3ddc84;
  --fh-fg-475569: #475569;
  --fh-fg-495057: #495057;
  --fh-fg-555555: #555555;
  --fh-fg-569cd6: #569cd6;
  --fh-fg-64748b: #64748b;
  --fh-fg-664d03: #664d03;
  --fh-fg-666666: #666666;
  --fh-fg-6a9955: #6a9955;
  --fh-fg-6b2fb3: #6b2fb3;
  --fh-fg-6b3a00: #6b3a00;
  --fh-fg-6c757d: #6c757d;
  --fh-fg-6f42c1: #6f42c1;
  --fh-fg-842029: #842029;
  --fh-fg-856404: #856404;
  --fh-fg-858585: #858585;
  --fh-fg-868e96: #868e96;
  --fh-fg-888888: #888888;
  --fh-fg-8a3b00: #8a3b00;
  --fh-fg-8a6d3b: #8a6d3b;
  --fh-fg-8b8f96: #8b8f96;
  --fh-fg-8c8c8c: #8c8c8c;
  --fh-fg-8e1b1b: #8e1b1b;
  --fh-fg-92400e: #92400e;
  --fh-fg-94a3b8: #94a3b8;
  --fh-fg-984c0c: #984c0c;
  --fh-fg-999999: #999999;
  --fh-fg-9a5b00: #9a5b00;
  --fh-fg-9aa2ab: #9aa2ab;
  --fh-fg-adb5bd: #adb5bd;
  --fh-fg-b02a37: #b02a37;
  --fh-fg-b42318: #b42318;
  --fh-fg-b45309: #b45309;
  --fh-fg-b57c00: #b57c00;
  --fh-fg-b5cea8: #b5cea8;
  --fh-fg-bbbbbb: #bbbbbb;
  --fh-fg-bdbdbd: #bdbdbd;
  --fh-fg-c2c7cf: #c2c7cf;
  --fh-fg-cbd5e1: #cbd5e1;
  --fh-fg-cccccc: #cccccc;
  --fh-fg-ced4da: #ced4da;
  --fh-fg-d4d4d4: #d4d4d4;
  --fh-fg-d97706: #d97706;
  --fh-fg-dc3545: #dc3545;
  --fh-fg-e25822: #e25822;
  --fh-fg-e65100: #e65100;
  --fh-fg-e83e8c: #e83e8c;
  --fh-fg-f08c00: #f08c00;
  --fh-fg-f57c00: #f57c00;
  --fh-fg-ffc107: #ffc107;
  --fh-bg-f0f4f8: #f0f4f8;
  --fh-bg-fff3f3: #fff3f3;
  --fh-bg-fff8e6: #fff8e6;
}

[data-bs-theme="dark"] {
  --fh-bd-198754: #5be1a3;
  --fh-bd-1b6d2f: #64d980;
  --fh-bd-1e1e1e: #acb2b8;
  --fh-bd-1e7e34: #62da7e;
  --fh-bd-212529: #a9afb6;
  --fh-bd-2c3e50: #9da5ac;
  --fh-bd-34495e: #829eba;
  --fh-bd-3a4a5c: #979fa6;
  --fh-bd-3e3e3e: #9da5ac;
  --fh-bd-444444: #9aa2a9;
  --fh-bd-555555: #929ba2;
  --fh-bd-6c757d: #838d96;
  --fh-bd-856404: #ecc451;
  --fh-bd-86b7fe: #2d4b76;
  --fh-bd-945000: #eca451;
  --fh-bd-984c0c: #ec9751;
  --fh-bd-adb5bd: #6a737c;
  --fh-bd-b6ccff: #2d4376;
  --fh-bd-b6d4fe: #2d4b76;
  --fh-bd-b7e4c7: #2d7647;
  --fh-bd-b8e6da: #2d7663;
  --fh-bd-bfdbfe: #2d4e76;
  --fh-bd-c3d4f5: #2d4676;
  --fh-bd-c3e6cb: #545b62;
  --fh-bd-c5d9ec: #50575e;
  --fh-bd-c6c9cc: #5c646c;
  --fh-bd-c6dafc: #2d4876;
  --fh-bd-cbd5e1: #525a61;
  --fh-bd-cccccc: #5a6269;
  --fh-bd-ced4da: #545c63;
  --fh-bd-cfe2ff: #2d4a76;
  --fh-bd-d1e7dd: #386b54;
  --fh-bd-dadce0: #4c5359;
  --fh-bd-ddc9f2: #512d76;
  --fh-bd-dee2e6: #474e54;
  --fh-bd-e0e0e0: #495056;
  --fh-bd-e2e8f0: #384e6c;
  --fh-bd-e3e6ea: #444b50;
  --fh-bd-e3e9f2: #344c6f;
  --fh-bd-e7e9ef: #42484d;
  --fh-bd-e9ecef: #41474d;
  --fh-bd-eeeeee: #40464b;
  --fh-bd-eef0f2: #3f454a;
  --fh-bd-eef2f7: #3c4146;
  --fh-bd-f0f0f0: #3f454a;
  --fh-bd-f1f3f5: #3b4146;
  --fh-bd-f4f7fc: #161a1e;
  --fh-bd-f5c28a: #76532d;
  --fh-bd-f5c2c7: #762d34;
  --fh-bd-f7c9c4: #76342d;
  --fh-bd-fde68a: #76682d;
  --fh-bd-ffcaa8: #764a2d;
  --fh-bd-ffd8a8: #76552d;
  --fh-bd-ffdca8: #76592d;
  --fh-bd-ffe0b2: #76592d;
  --fh-bd-ffe69c: #76642d;
  --fh-bd-ffeeba: #76642d;
  --fh-bd-ffffff: #212427;
  --fh-bg-6c757d: #677179;
  --fh-bg-a1a1a1: #5b636b;
  --fh-bg-adb5bd: #545c63;
  --fh-bg-b8e0c4: #4a5157;
  --fh-bg-bbf7d0: #17512c;
  --fh-bg-c1c1c1: #4f565d;
  --fh-bg-c3e6cb: #464c52;
  --fh-bg-c8e6c9: #444b50;
  --fh-bg-ced4da: #464d52;
  --fh-bg-cfe2ff: #142846;
  --fh-bg-d1e7dd: #234334;
  --fh-bg-d1f0e8: #18493c;
  --fh-bg-d4edda: #1d4426;
  --fh-bg-dbe7f3: #172d44;
  --fh-bg-dbeafe: #132742;
  --fh-bg-dcfce7: #134223;
  --fh-bg-dee2e6: #3e4348;
  --fh-bg-dfe6eb: #3c4146;
  --fh-bg-e2e8f0: #1e2a3a;
  --fh-bg-e3f2fd: #122c3f;
  --fh-bg-e3f7fb: #133840;
  --fh-bg-e5e7eb: #3a3f44;
  --fh-bg-e6e8eb: #393f43;
  --fh-bg-e6f7ee: #143f28;
  --fh-bg-e7f1ff: #12243d;
  --fh-bg-e7f6ec: #173c23;
  --fh-bg-e8f0fe: #12213d;
  --fh-bg-e8f4fd: #122a3d;
  --fh-bg-e8f5e9: #193a1c;
  --fh-bg-e9ecef: #373c41;
  --fh-bg-ede0f9: #2b1342;
  --fh-bg-edf3fb: #11243c;
  --fh-bg-eef1f5: #33373c;
  --fh-bg-eef4ff: #111f3a;
  --fh-bg-eef6ff: #11243a;
  --fh-bg-f0f0f0: #34393e;
  --fh-bg-f0f1f3: #33373c;
  --fh-bg-f0f6ff: #112139;
  --fh-bg-f0faf4: #2f3337;
  --fh-bg-f0fdf4: #113a1d;
  --fh-bg-f1f1f1: #33383c;
  --fh-bg-f1f3f5: #31363a;
  --fh-bg-f1f5f9: #2f3337;
  --fh-bg-f1f9f3: #2f3337;
  --fh-bg-f5f5f5: #2f3337;
  --fh-bg-f7faff: #272b2e;
  --fh-bg-f8c9c3: #4d1d16;
  --fh-bg-f8d7da: #461419;
  --fh-bg-f8f5ff: #292c30;
  --fh-bg-f8f9fa: #2a2e31;
  --fh-bg-f8f9fb: #292d30;
  --fh-bg-f8f9fc: #292c30;
  --fh-bg-f8fafc: #292c30;
  --fh-bg-fafafa: #292c30;
  --fh-bg-fafcff: #25282b;
  --fh-bg-fbdcd8: #441914;
  --fh-bg-fbfcfd: #25292c;
  --fh-bg-fde2c8: #492f15;
  --fh-bg-fdeaea: #3c1212;
  --fh-bg-fdecea: #3c1612;
  --fh-bg-fdecec: #3c1111;
  --fh-bg-fef3c7: #493f15;
  --fh-bg-ffe0cc: #472815;
  --fh-bg-ffe69c: #5a4a1a;
  --fh-bg-fff3cd: #473b15;
  --fh-bg-fff3e0: #3f2e12;
  --fh-bg-fff4de: #403113;
  --fh-bg-fff4e5: #3d2b12;
  --fh-bg-fff5f5: #292c30;
  --fh-bg-fff7e6: #3d2f12;
  --fh-bg-fff8e1: #3f3512;
  --fh-bg-fff8f0: #392611;
  --fh-bg-fff8f8: #262a2d;
  --fh-bg-fff9f0: #392911;
  --fh-bg-fffaf0: #392c11;
  --fh-bg-fffbeb: #3b3311;
  --fh-bg-fffde7: #3d3912;
  --fh-bg-fffdf7: #272b2e;
  --fh-bg-ffffff: #212427;
  --fh-bg-w0: rgba(33, 37, 41, 0);
  --fh-bg-w10: rgba(33, 37, 41, 0.1);
  --fh-bg-w20: rgba(33, 37, 41, 0.2);
  --fh-bg-w4: rgba(33, 37, 41, 0.04);
  --fh-bg-w72: rgba(33, 37, 41, 0.72);
  --fh-bg-w8: rgba(33, 37, 41, 0.08);
  --fh-bg-w84: rgba(33, 37, 41, 0.84);
  --fh-bg-w85: rgba(33, 37, 41, 0.85);
  --fh-bg-w92: rgba(33, 37, 41, .92);
  --fh-fg-0a58ca: #68a0f3;
  --fh-fg-0c5460: #6edbed;
  --fh-fg-0d6efd: #68a0f3;
  --fh-fg-0f172a: #dfe2e4;
  --fh-fg-0f5132: #75e5b1;
  --fh-fg-0f766e: #6eede3;
  --fh-fg-155724: #7cdf92;
  --fh-fg-15803d: #73e89f;
  --fh-fg-16a34a: #6fec9d;
  --fh-fg-198754: #75e6b1;
  --fh-fg-1a56db: #6d95ee;
  --fh-fg-1e293b: #dee2e6;
  --fh-fg-1b6d2f: #7cdf94;
  --fh-fg-1e40af: #7893e8;
  --fh-fg-1e7b34: #7cdf93;
  --fh-fg-1f4e79: #7db0de;
  --fh-fg-202124: #dee1e3;
  --fh-fg-212529: #dde0e2;
  --fh-fg-222222: #dee1e3;
  --fh-fg-2563eb: #6a94f1;
  --fh-fg-2e7d32: #88d38c;
  --fh-fg-333333: #d6d9dc;
  --fh-fg-334155: #cdd0d4;
  --fh-fg-343a40: #d2d5d9;
  --fh-fg-3c4043: #cfd3d6;
  --fh-fg-3ddc84: #75e6a7;
  --fh-fg-475569: #c0c5c9;
  --fh-fg-495057: #c6cace;
  --fh-fg-555555: #c2c7cb;
  --fh-fg-569cd6: #7cb2df;
  --fh-fg-64748b: #aab1b7;
  --fh-fg-664d03: #f3d068;
  --fh-fg-666666: #b7bcc1;
  --fh-fg-6a9955: #a4c596;
  --fh-fg-6b2fb3: #ad84df;
  --fh-fg-6b3a00: #f3b368;
  --fh-fg-6c757d: #adb3b9;
  --fh-fg-6f42c1: #a58ad9;
  --fh-fg-842029: #df7c85;
  --fh-fg-856404: #f3cf68;
  --fh-fg-858585: #9fa6ad;
  --fh-fg-868e96: #979fa6;
  --fh-fg-888888: #9ca4ab;
  --fh-fg-8a3b00: #f3a368;
  --fh-fg-8a6d3b: #ceb68d;
  --fh-fg-8b8f96: #9ba3ab;
  --fh-fg-8c8c8c: #99a1a8;
  --fh-fg-8e1b1b: #e57676;
  --fh-fg-92400e: #f19d6a;
  --fh-fg-94a3b8: #9099a1;
  --fh-fg-984c0c: #f3a768;
  --fh-fg-999999: #9199a0;
  --fh-fg-9a5b00: #f3ba68;
  --fh-fg-9aa2ab: #8f989f;
  --fh-fg-adb5bd: #8f98a0;
  --fh-fg-b02a37: #e07b85;
  --fh-fg-b42318: #ec786f;
  --fh-fg-b45309: #f3a468;
  --fh-fg-b57c00: #f3c768;
  --fh-fg-b5cea8: #8f98a0;
  --fh-fg-bbbbbb: #8f98a0;
  --fh-fg-bdbdbd: #8f97a0;
  --fh-fg-c2c7cf: #9098a0;
  --fh-fg-cbd5e1: #9198a0;
  --fh-fg-cccccc: #8f98a0;
  --fh-fg-ced4da: #8f98a0;
  --fh-fg-d4d4d4: #8f98a0;
  --fh-fg-d97706: #f3b268;
  --fh-fg-dc3545: #e7747f;
  --fh-fg-e25822: #ec926f;
  --fh-fg-e65100: #f39968;
  --fh-fg-e83e8c: #f082b4;
  --fh-fg-f08c00: #f3b968;
  --fh-fg-f57c00: #f3ae68;
  --fh-fg-ffc107: #f3d068;
  --fh-bg-f0f4f8: #303539;
  --fh-bg-fff3f3: #381010;
  --fh-bg-fff8e6: #3d3112;
}
