/* Navigation drawer: ivory surfaces, native modal focus and logical RTL spacing. */
.workspace-drawer-trigger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 16px;border:1px solid #d5dcd9;border-radius:10px;background:#fffdf7;color:#213d4a;font:inherit;font-weight:600;cursor:pointer;margin-inline-start:auto}
.workspace-drawer-trigger[hidden]{display:none}
.workspace-drawer-trigger:hover{background:#edece3;border-color:#83999f}
.workspace-drawer{box-sizing:border-box;position:fixed;inset-block:0;inset-inline-start:0;inset-inline-end:auto;margin:0;width:min(390px,92vw);max-width:92vw;height:100%;height:100dvh;max-height:100%;padding:0;border:0;border-inline-start:1px solid #d5dcd9;background:#faf7ee;color:#213d4a;box-shadow:12px 0 48px #142f3e24;overflow-y:auto;overscroll-behavior:contain;text-align:start;font:inherit}
html[dir=rtl] .workspace-drawer{box-shadow:-12px 0 48px #142f3e24}
.workspace-drawer::backdrop{background:#112d3b80}
.workspace-drawer[open]{animation:drawer-enter .2s ease-out}
.workspace-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 20px 20px;border-bottom:1px solid #d5dcd9;background:#fffdf7}
.workspace-drawer-eyebrow{font-size:13px;color:#4f6169}
.workspace-drawer-head h2{margin:4px 0 0;font-size:19px;line-height:1.6;font-weight:700}
.workspace-drawer-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #d5dcd9;border-radius:10px;background:#faf7ee;color:#213d4a;font:inherit;font-size:28px;cursor:pointer}
.workspace-drawer-links{display:block;padding:8px 16px 24px}
.workspace-drawer-group{margin:0;padding:18px 0;border-bottom:1px solid #d5dcd9}
.workspace-drawer-group:last-child{border-bottom:0}
.workspace-drawer-group h3{margin:0 12px 10px;font-size:13px;font-weight:700;color:#4f6169;line-height:1.8}
.workspace-drawer .drawer-link,.workspace-drawer-fallback .drawer-link{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;margin:4px 0;border:1px solid transparent;border-radius:10px;text-decoration:none;color:#213d4a;font-size:15px;font-weight:500;line-height:1.65;box-sizing:border-box}
.drawer-link>span:nth-child(2){flex:1;min-width:0}
.drawer-link>svg{flex-shrink:0;color:#4f6169}
html[dir=rtl] .drawer-link>svg{transform:rotate(180deg)}
.drawer-link-mark{display:block;flex:0 0 8px;height:8px;border-radius:50%;background:#6b818c}
.drawer-link--regular .drawer-link-mark{background:#0369a1}
.drawer-link--sensitive .drawer-link-mark{background:#a42638}
.drawer-link--magic .drawer-link-mark{background:#70409a}
.drawer-link--confidence .drawer-link-mark{background:#23735c}
.drawer-link--urgent .drawer-link-mark{background:#966215}
.workspace-drawer .drawer-link--sensitive{color:#a42638;font-weight:700}
.workspace-drawer .drawer-link--magic{color:#70409a;font-weight:700}
.workspace-drawer .drawer-link:hover{background:#fffdf7;border-color:#d5dcd9}
.workspace-drawer .drawer-link[aria-current=page]{background:#e4eef2;border-color:#b4ccd7;font-weight:700}
.workspace-drawer :focus-visible,.workspace-drawer-trigger:focus-visible{outline:3px solid #0369a1;outline-offset:3px}
.workspace-drawer-open{overflow:hidden;scrollbar-gutter:stable}
.workspace-drawer-fallback{margin:16px auto;padding:16px;max-width:1100px;background:#fffdf7}
.workspace-drawer.drawer-inline{position:static;max-width:100%;width:100%;height:auto;max-height:none;box-shadow:none}
@keyframes drawer-enter{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:translateX(0)}}
html[dir=rtl] .workspace-drawer[open]{animation-name:drawer-enter-rtl}
@keyframes drawer-enter-rtl{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.workspace-drawer[open]{animation:none!important}}
@media(max-width:480px){.workspace-drawer-head{padding:18px 16px}.workspace-drawer-links{padding-inline:12px}.workspace-drawer-trigger{margin-inline-start:0}.workspace-drawer-head h2{font-size:18px}}
