/* HYK workspace layer for pinned LibreChat v0.8.8. */
html:not([data-high-contrast='true']) {--accent-primary:28 71 131;--accent-primary-hover:20 53 103;--surface-submit:28 71 131;--surface-submit-hover:20 53 103;--ring-primary:28 71 131;--link:28 71 131;--brand-purple:28 71 131;--theme-control-radius:.5rem;--theme-surface-radius:.75rem;}
html.light {--surface-primary:255 255 255;--surface-primary-alt:246 248 251;--surface-secondary:242 246 250;--surface-tertiary:235 241 248;--surface-chat:255 255 255;--text-primary:24 42 63;--border-light:220 228 239;}
html.dark {--surface-primary:15 25 41;--surface-primary-alt:20 34 53;--surface-secondary:17 30 48;--surface-tertiary:30 47 69;--surface-chat:15 25 41;--accent-primary:145 184 241;--link:145 184 241;--border-light:47 65 89;--surface-submit:51 101 174;}
.hyk-header,.hyk-workbench {font-family:Arial,Helvetica,sans-serif;color:rgb(var(--text-primary));background:rgb(var(--surface-primary));}
.hyk-header {height:72px;position:fixed;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 24px;border-bottom:1px solid rgb(var(--border-light));z-index:30;}
.hyk-header img {width:208px;height:46px;object-fit:contain;}
.hyk-brand {display:flex;align-items:center;gap:22px;min-width:0;}
.hyk-brand span {padding-left:22px;border-left:1px solid rgb(var(--border-light));font-size:15px;font-weight:600;white-space:nowrap;}
.hyk-links {display:flex;align-items:center;gap:10px;}
.hyk-header a,.hyk-header button,.hyk-workbench a,.hyk-workbench button {color:inherit;text-decoration:none;}
.hyk-links a,.hyk-links button {border:1px solid rgb(var(--border-light));border-radius:6px;padding:9px 12px;font-size:13px;background:transparent;}
.hyk-header button,.hyk-workbench button {cursor:pointer;}
.hyk-links a:hover,.hyk-links button:hover,.hyk-action:hover {background:rgb(var(--surface-secondary));border-color:rgb(var(--accent-primary));}
body.hyk-chat #root {height:calc(100dvh - 72px);margin-top:72px;width:calc(100% - 292px);}
body.hyk-login #root {padding-top:72px;}
body.hyk-login img[src$='logo.svg'] {width:230px;margin:auto;}
.hyk-workbench {position:fixed;top:72px;right:0;bottom:0;width:292px;padding:26px 20px;overflow:auto;border-left:1px solid rgb(var(--border-light));z-index:25;}
.hyk-workbench h2 {font-size:20px;line-height:1.35;letter-spacing:-.4px;margin:0 0 6px;font-weight:700;}
.hyk-workbench p {font-size:13px;line-height:1.6;color:rgb(var(--text-secondary));margin:0 0 22px;}
.hyk-actions {display:grid;gap:8px;}
.hyk-action {display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;border:1px solid rgb(var(--border-light));border-radius:7px;padding:13px 12px;background:transparent;font-size:14px;}
.hyk-action:first-child {background:#1c4783;color:#fff;border-color:#1c4783;font-weight:600;}
.hyk-action:first-child:hover {background:#153866;}
.hyk-workbench section {margin-top:28px;padding-top:22px;border-top:1px solid rgb(var(--border-light));}
.hyk-workbench h3 {font-size:14px;font-weight:600;margin:0 0 12px;}
.hyk-output-links {display:grid;gap:8px;}
.hyk-output-links a {display:block;border:1px solid rgb(var(--border-light));border-radius:6px;padding:10px 12px;font-size:13px;}
.hyk-workbench .hyk-empty {font-size:13px;line-height:1.6;margin:0;color:rgb(var(--text-secondary));}
.hyk-document-id {font-size:12px;overflow-wrap:anywhere;color:rgb(var(--text-secondary));margin-bottom:12px;}
.hyk-workbench .hyk-tips {padding-left:18px;margin:0;display:grid;gap:10px;font-size:13px;line-height:1.5;color:rgb(var(--text-secondary));}
.hyk-header button:focus-visible,.hyk-header a:focus-visible,.hyk-workbench button:focus-visible,.hyk-workbench a:focus-visible {outline:3px solid rgb(var(--accent-primary));outline-offset:3px;}
[data-testid='text-input'] {font-size:16px!important;line-height:1.6!important;}
.hyk-panel-toggle {display:none;}
[hidden] {display:none!important;}
@media(max-width:1279px) {body.hyk-chat #root {width:100%;}.hyk-workbench {display:none;box-shadow:-12px 0 28px #0002;}body.hyk-panel-open .hyk-workbench {display:block;}.hyk-panel-toggle {display:block;}}
@media(max-width:700px) {.hyk-header {height:60px;padding:0 14px;gap:8px;}.hyk-header img {width:136px;height:34px;}.hyk-brand span,.hyk-external {display:none!important;}.hyk-links {gap:6px;}.hyk-links button {font-size:12px;padding:8px;}.hyk-workbench {top:60px;width:min(292px,100%);}.hyk-header .hyk-theme {max-width:115px;}body.hyk-chat #root {margin-top:60px;height:calc(100dvh - 60px);}body.hyk-login #root {padding-top:60px;}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}
/* Native Root has an inline viewport height; reserve the HYK header for the composer. */
body.hyk-chat #root > div.flex[style*='100dvh'] {height:100%!important;}
body.hyk-login #root .min-h-screen {min-height:calc(100dvh - 72px);}
body.hyk-login #root img[data-hyk-logo] {display:none;}
body.hyk-login input {background:rgb(var(--surface-secondary))!important;border-color:rgb(var(--border-light))!important;}
img[src*='hyk-guide-primary.png'] {background:white;border-radius:6px;padding:3px;object-fit:contain;}
@media(max-width:700px) {body.hyk-login #root .min-h-screen {min-height:calc(100dvh - 60px);}}
