.desktop-toolbox-panel,.desktop-toolbox-chevron { display:none; }
.desktop-toolbox-panel[hidden] { display:none!important; }
@media(min-width:768px) and (hover:hover) and (pointer:fine) {
    .desktop-toolbox-nav { position:relative; }
    .desktop-toolbox-chevron { display:inline-block; font-size:10px; margin-left:2px; opacity:.7; transition:transform 160ms ease; }
    #desktopToolboxTrigger[aria-expanded="true"] .desktop-toolbox-chevron { transform:rotate(180deg); }
    .desktop-toolbox-panel { display:block; position:absolute; top:100%; right:0; width:min(650px,calc(100vw - 32px)); padding-top:10px; z-index:1040; box-sizing:border-box; animation:desktop-toolbox-enter 140ms ease-out; }
    .desktop-toolbox-surface { padding:20px 20px 0; border:1px solid #eadfce; border-radius:14px; background:#fffdf9; box-shadow:0 16px 48px #39251526; color:#3c3025; max-height:calc(100dvh - 92px); overflow-y:auto; overscroll-behavior:contain; }
    .desktop-toolbox-group + .desktop-toolbox-group { margin-top:18px; }
    .desktop-toolbox-group h2 { margin:0 0 8px 8px; font-size:12px; line-height:1.5; letter-spacing:.03em; font-weight:600; color:#98785d; }
    .desktop-toolbox-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
    .desktop-toolbox-links a { display:flex; align-items:center; gap:10px; padding:11px 8px; min-height:58px; border-radius:8px; text-decoration:none; color:#40352c; box-sizing:border-box; transition:background 120ms ease; }
    .desktop-toolbox-links a > i { width:24px; flex:none; text-align:center; font-size:18px; color:#b96a26; }
    .desktop-toolbox-links a > span { min-width:0; }
    .desktop-toolbox-links strong { display:block; font-size:13px; font-weight:600; line-height:1.5; }
    .desktop-toolbox-links small { display:block; margin-top:3px; color:#998c7d; font-size:11px; line-height:1.5; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
    .desktop-toolbox-links a:hover { background:#fff0dc; color:#a6500b; }
    .desktop-toolbox-surface a:focus-visible { outline:2px solid #b96a26; outline-offset:-2px; background:#fff0dc; }
    .desktop-toolbox-all { display:flex; justify-content:space-between; align-items:center; margin-top:16px; padding:14px 8px; border-top:1px solid #eee4d6; color:#98602f; text-decoration:none; font-size:12px; }
    .desktop-toolbox-all:hover { color:#a6500b; }
    [data-theme="dark"] .desktop-toolbox-surface { background:#352d27; border-color:#675243; color:#f5e8dc; box-shadow:0 16px 48px #0005; }
    [data-theme="dark"] .desktop-toolbox-group h2 { color:#bba28b; }
    [data-theme="dark"] .desktop-toolbox-links a { color:#f1e5da; }
    [data-theme="dark"] .desktop-toolbox-links a > i { color:#e6b367; }
    [data-theme="dark"] .desktop-toolbox-links small { color:#baaa9a; }
    [data-theme="dark"] .desktop-toolbox-links a:hover,[data-theme="dark"] .desktop-toolbox-surface a:focus-visible { background:#4c3d31; }
    [data-theme="dark"] .desktop-toolbox-all { border-color:#675243; color:#e6b367; }
}
@keyframes desktop-toolbox-enter { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .desktop-toolbox-panel { animation:none; } .desktop-toolbox-chevron,.desktop-toolbox-links a { transition:none; } }
@media print { .desktop-toolbox-panel { display:none!important; } }
