#tg-a11y-open{position:fixed;z-index:900;left:max(18px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 16px;border:1px solid #ffffff80;border-radius:999px;background:#0d1116;color:#fff;font:600 14px/1.2 Aeonik,Arial,sans-serif;box-shadow:0 3px 16px #0003;cursor:pointer}
#tg-a11y-open[hidden]{display:none}
#tg-a11y-open svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
.light-mode #tg-a11y-open{background:#fff;color:#0d1116;border-color:#0d111680}
.menu-open #tg-a11y-open{visibility:hidden}
#tg-a11y-panel{--a11y-bg:#111820;--a11y-text:#fff;--a11y-muted:#c3cbd5;box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:26px;margin:auto;border:1px solid #8c99ab;border-radius:22px;background:var(--a11y-bg);color:var(--a11y-text);font:400 16px/1.45 Aeonik,Arial,sans-serif;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #0006}
#tg-a11y-panel:not([open]){display:none}
#tg-a11y-panel::backdrop{background:rgb(0 0 0 / .64)}
.light-mode #tg-a11y-panel{--a11y-bg:#fff;--a11y-text:#0d1116;--a11y-muted:#44505f}
#tg-a11y-panel *{box-sizing:border-box}
#tg-a11y-panel .tg-a11y-top{display:flex;gap:14px;justify-content:space-between;align-items:flex-start}
#tg-a11y-panel h2{font:700 26px/1.1 Aeonik,Arial,sans-serif;letter-spacing:-.02em;margin:0}
#tg-a11y-panel [data-a11y-close]{flex:none;min-width:44px;min-height:44px;border:1px solid var(--a11y-muted);border-radius:50%;background:transparent;color:inherit;font:400 28px/1 Arial,sans-serif;cursor:pointer;margin:-8px -8px 0 0}
#tg-a11y-panel p{font-size:15px;line-height:1.45;letter-spacing:normal;margin:16px 0;color:var(--a11y-muted)}
#tg-a11y-panel .tg-a11y-options{margin:20px 0 0;padding:0;border:0;min-width:0}
#tg-a11y-panel .tg-a11y-option{display:grid;grid-template-columns:1fr 24px;gap:8px 16px;padding:18px 0;border-top:1px solid #8190a366;cursor:pointer}
#tg-a11y-panel .tg-a11y-option strong{display:block;font-size:17px;line-height:1.35}
#tg-a11y-panel .tg-a11y-option small{display:block;font-size:14px;line-height:1.45;color:var(--a11y-muted);margin-top:5px}
#tg-a11y-panel input[type=checkbox]{appearance:auto;accent-color:#286ad6;width:23px;height:23px;margin:3px 0 0;min-width:23px;cursor:pointer}
#tg-a11y-panel [data-a11y-system]{font-size:14px;color:var(--a11y-text);padding:12px;border:1px solid #8190a366;border-radius:8px}
#tg-a11y-panel [hidden]{display:none!important}
#tg-a11y-panel [data-a11y-reset]{display:block;width:100%;min-height:44px;padding:10px 16px;margin-top:14px;border:1px solid var(--a11y-muted);border-radius:999px;background:transparent;color:inherit;font:600 15px/1.3 Aeonik,Arial,sans-serif;cursor:pointer}
#tg-a11y-panel [data-a11y-status]{margin:12px 0 0;min-height:1.4em;font-size:14px}
#tg-a11y-panel :focus-visible,#tg-a11y-open:focus-visible{outline:3px solid #85b8ff!important;outline-offset:4px!important}
.light-mode #tg-a11y-panel :focus-visible,.light-mode #tg-a11y-open:focus-visible{outline-color:#1758b2!important}
html.tg-a11y-panel-open{overflow:hidden}
html.tg-a11y-motion{scroll-behavior:auto!important}
html.tg-a11y-motion body *,html.tg-a11y-motion body *::before,html.tg-a11y-motion body *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
html.tg-a11y-motion .tg-client-track{transform:none!important;width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:0 var(--tg-pad)}
html.tg-a11y-motion .tg-client{width:clamp(120px,18vw,220px);height:auto;margin:0}
html.tg-a11y-motion .tg-client[aria-hidden=true]{display:none}
html.tg-a11y-motion .tg-client img{height:auto}
html.tg-a11y-motion .tg-client-window{overflow:visible}
html.tg-a11y-cursor #tg-direction-cursor,html.tg-a11y-motion #tg-direction-cursor{display:none!important}
html.tg-a11y-cursor.tg-direction-active body,html.tg-a11y-cursor.tg-direction-active body *,html.tg-a11y-motion.tg-direction-active body,html.tg-a11y-motion.tg-direction-active body *{cursor:auto!important}
html.tg-a11y-links body a:not(.tg-logo):not(.tg-idea-home){text-decoration-line:underline!important;text-decoration-thickness:.1em!important;text-underline-offset:.18em!important;text-decoration-skip-ink:auto}
html.tg-a11y-links :is(.tg-work-card,.tg-project-card) :is(h2,h3){text-decoration:underline;text-underline-offset:.18em}
@media(max-width:480px){#tg-a11y-open{left:12px;bottom:12px;padding:10px 12px}#tg-a11y-panel{padding:22px}#tg-a11y-panel h2{font-size:24px}}
@media(forced-colors:active){#tg-a11y-panel,#tg-a11y-open{border:2px solid ButtonText}#tg-a11y-panel :focus-visible,#tg-a11y-open:focus-visible{outline-color:Highlight!important}}
@media print{#tg-a11y-open,#tg-a11y-panel{display:none!important}}

/* Tredigraph reading controls: local styles, no third-party widget or fonts. */
#tg-a11y-panel{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:12px 12px 12px auto;padding:24px;border-radius:22px;--a11y-accent:#91bdff}
.light-mode #tg-a11y-panel{--a11y-accent:#174f9e}
#tg-a11y-panel::backdrop{background:rgb(0 0 0 / .3)}
#tg-a11y-panel .tg-a11y-top{position:sticky;top:-24px;z-index:2;background:var(--a11y-bg);padding:10px 0 14px;align-items:center;border-bottom:1px solid #8190a366}
#tg-a11y-panel .tg-a11y-top h2{font-size:24px}
#tg-a11y-panel [data-a11y-close]{margin:0}
#tg-a11y-panel .tg-a11y-options{margin:20px 0 0}
#tg-a11y-panel legend:not(.screen-reader-text){font-weight:700;font-size:17px;margin-bottom:12px;color:var(--a11y-text);padding:0}
#tg-a11y-panel .tg-a11y-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#tg-a11y-panel .tg-a11y-option{display:grid;grid-template-columns:1fr 23px;align-items:start;gap:8px;padding:14px;border:1px solid #8190a388;border-radius:12px;background:transparent;min-width:0;margin:0}
#tg-a11y-panel .tg-a11y-option:has(input:checked){border-color:var(--a11y-accent);box-shadow:inset 0 0 0 1px var(--a11y-accent);background:color-mix(in srgb,var(--a11y-accent) 12%,var(--a11y-bg))}
#tg-a11y-panel .tg-a11y-option strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
#tg-a11y-panel .tg-a11y-option small{font-size:13px;line-height:1.4;grid-column:1/-1;margin:0}
#tg-a11y-panel input[type=checkbox]{margin:0;width:22px;height:22px;min-width:22px}
#tg-a11y-panel .tg-a11y-size{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
#tg-a11y-panel .tg-a11y-size label{font-size:15px;font-weight:600}
#tg-a11y-panel select{min-height:44px;max-width:100%;padding:8px 30px 8px 12px;background:var(--a11y-bg);color:var(--a11y-text);border:1px solid var(--a11y-muted);border-radius:9px;font:600 16px/1.3 Aeonik,Arial,sans-serif;cursor:pointer}
#tg-a11y-panel .tg-a11y-scope{font-size:13px;margin:8px 0 12px}
#tg-a11y-panel .tg-a11y-sample{font-size:calc(16px * var(--tg-a11y-scale,1));line-height:1.5;border-left:3px solid var(--a11y-accent);padding:10px 12px;margin:16px 0 4px;color:var(--a11y-text);overflow-wrap:anywhere}
html.tg-a11y-font #tg-a11y-panel .tg-a11y-sample{font-family:Arial,sans-serif}
html.tg-a11y-spacing #tg-a11y-panel .tg-a11y-sample{line-height:1.6;letter-spacing:.08em;word-spacing:.12em}
html.tg-a11y-contrast #tg-a11y-panel .tg-a11y-sample{background:#080b10;color:#fff}
#tg-a11y-panel .tg-a11y-help{margin:22px 0 0;border-top:1px solid #8190a366;border-bottom:1px solid #8190a366}
#tg-a11y-panel .tg-a11y-help summary{min-height:48px;padding:14px 0;cursor:pointer;font-size:16px;font-weight:600;line-height:1.4}
#tg-a11y-panel .tg-a11y-help ul{margin:0 0 14px;padding-left:20px;font-size:14px;line-height:1.5;color:var(--a11y-muted)}
#tg-a11y-panel .tg-a11y-help li{margin:9px 0}
#tg-a11y-panel kbd{font:600 12px/1.5 Arial,sans-serif;display:inline-block;background:transparent;color:var(--a11y-text);border:1px solid #8190a388;padding:1px 4px;border-radius:4px}
html[data-tg-a11y-size] .tg-a11y-text{font-size:calc(var(--tg-a11y-base-size) * var(--tg-a11y-scale,1))!important;overflow-wrap:anywhere}
html.tg-a11y-font .tg-a11y-text,html.tg-a11y-font .tg-a11y-text :is(a,span,strong,em,b){font-family:Arial,sans-serif!important}
html.tg-a11y-spacing .tg-a11y-text{line-height:1.6!important;letter-spacing:.08em!important;word-spacing:.12em!important}
html.tg-a11y-contrast .tg-a11y-text{color:#fff!important;background-color:#080b10!important;text-shadow:none!important;opacity:1!important}
html.tg-a11y-contrast .tg-a11y-text :is(a,span,strong,em,b){color:inherit!important;opacity:1!important}
html.tg-a11y-contrast .tg-a11y-text a{color:#ffe270!important;text-decoration:underline!important}
html.tg-a11y-contrast .tg-a11y-text::placeholder{color:#fff!important;opacity:1!important}
html.tg-a11y-contrast :is(input,textarea,select).tg-a11y-text{border:1px solid #fff!important}
#tg-reading-guide{position:fixed;top:0;left:0;width:100%;height:3px;background:#ffe270;border-bottom:1px solid #080b10;box-shadow:0 -1px 0 #080b10;z-index:850;pointer-events:none!important}
#tg-reading-guide[hidden],html.tg-a11y-panel-open #tg-reading-guide,html:has(#iubenda-iframe.iubenda-iframe-visible) #tg-reading-guide{display:none!important}
@media(max-width:360px){#tg-a11y-panel{padding:18px}#tg-a11y-panel .tg-a11y-top{top:-18px}#tg-a11y-panel .tg-a11y-grid{grid-template-columns:1fr}}
@media(hover:none),(pointer:coarse){#tg-reading-guide{display:none!important}}
@media(forced-colors:active){#tg-a11y-panel .tg-a11y-option:has(input:checked){outline:2px solid Highlight}#tg-reading-guide{background:Highlight}}
@media print{#tg-reading-guide{display:none!important}}
