/* VexAPI console shell (from api.arioron.com) */

        body { overflow: hidden; background: var(--bg-frame); }
        .sh { display: flex; height: 100vh; height: 100dvh; background: var(--bg-frame); }
        /* Height of the content panel below the top bar (full-screen tools use it). */
        :root { --sh-content-h: calc(100dvh - 1rem - 2px - 3.25rem); }
        @media (max-width: 1023px) { :root { --sh-content-h: calc(100dvh - 3.25rem); } }

        /* ── sidebar (sits on the soft frame) ── */
        .sh-side { width: 264px; flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg-frame); position: relative; z-index: 40; }
        .sh-brand { display: flex; align-items: center; gap: .7rem; padding: 1.15rem 1.25rem .9rem; text-decoration: none; color: var(--text); }
        .sh-brand img { height: 19px; width: auto; display: block; }
        .sh-brand .mark-light { display: block; } .sh-brand .mark-dark { display: none; }
        html.dark .sh-brand .mark-light { display: none; } html.dark .sh-brand .mark-dark { display: block; }
        .sh-product { font-size: .75rem; font-weight: 600; letter-spacing: 0; color: var(--text-muted); padding: .18rem .5rem;
            border-radius: var(--r-full); background: var(--accent-soft); line-height: 1.2; }

        .sh-search { margin: .1rem .75rem .9rem; display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: var(--r-sm);
            border: 1px solid var(--line-soft); background: var(--bg); color: var(--text-faint); font-size: .8125rem; cursor: pointer;
            width: calc(100% - 1.5rem); text-align: left; box-shadow: var(--shadow-xs); transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
        .sh-search:hover { border-color: var(--line); color: var(--text-muted); }
        .sh-search kbd { margin-left: auto; font-size: .625rem; padding: .05rem .35rem; }

        .sh-nav { flex: 1; overflow-y: auto; padding: 0 .75rem 1.25rem; scrollbar-width: thin; }
        .sh-group { margin-top: 1rem; }
        .sh-group:first-child { margin-top: .15rem; }
        .sh-label { font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-faint); padding: 0 .7rem; margin: 0 0 .3rem; }
        .sh-link { display: flex; align-items: center; gap: .65rem; padding: .4rem .7rem; border-radius: var(--r-sm); font-size: .875rem;
            color: var(--text-muted); text-decoration: none; border: 1px solid transparent;
            transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
        .sh-link:hover { color: var(--text); background: var(--bg-hover); }
        .sh-link.is-active { color: var(--text); background: var(--bg); font-weight: 500; border-color: var(--line-soft); box-shadow: var(--shadow-sm); }
        .sh-link i { font-size: .95rem; opacity: .7; width: 1.1rem; text-align: center; }
        .sh-link.is-active i { opacity: 1; }
        .sh-link .ext { margin-left: auto; font-size: .7rem; opacity: .5; }
        .sh-back { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 500; color: var(--text-faint);
            text-decoration: none; padding: .35rem .7rem; margin-bottom: .5rem; border-radius: var(--r-sm); }
        .sh-back:hover { color: var(--text); background: var(--bg-hover); }

        .sh-foot { padding: .75rem .75rem 1rem; display: grid; gap: .6rem; }
        .sh-appearance { display: flex; align-items: center; justify-content: space-between; padding: 0 .35rem; }
        .sh-icon-btn { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid transparent;
            background: transparent; color: var(--text-muted); cursor: pointer; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
        .sh-icon-btn:hover { color: var(--text); background: var(--bg-hover); }
        .sh-account { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .55rem .6rem; border-radius: var(--r-md);
            background: var(--bg); border: 1px solid var(--line-soft); box-shadow: var(--shadow-xs); }
        .sh-avatar { width: 2rem; height: 2rem; border-radius: var(--r-full); display: grid; place-items: center; flex-shrink: 0;
            background: linear-gradient(135deg, color-mix(in srgb, var(--text) 82%, transparent), var(--text)); color: var(--bg); font-size: .8125rem; font-weight: 600; }
        .sh-account-meta { min-width: 0; flex: 1; }
        .sh-account-meta p { margin: 0; font-size: .8125rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .sh-account-meta p + p { font-size: .75rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-faint); margin-top: .05rem; }
        .sh-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
        .sh-cta .ar-btn { padding: .55rem .5rem; font-size: .8125rem; }

        /* ── main: a raised, rounded content panel ── */
        .sh-main { flex: 1; min-width: 0; display: flex; flex-direction: column; margin: .5rem .5rem .5rem 0; background: var(--bg);
            border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
        .sh-top { height: 3.25rem; flex-shrink: 0; display: flex; align-items: center; gap: .75rem; padding: 0 1.25rem 0 1.5rem;
            border-bottom: 1px solid var(--line-soft); background: var(--bg-veil); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
        .sh-crumb { font-size: .875rem; letter-spacing: 0; text-transform: none; color: var(--text-faint); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
        .sh-crumb strong { color: var(--text); font-weight: 600; }
        .sh-top-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
        .sh-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 500; padding: .32rem .75rem;
            border-radius: var(--r-full); background: var(--bg-sunken); color: var(--text-muted); border: 1px solid var(--line-soft); }
        .sh-menu-btn { display: none; }
        .sh-scroll { flex: 1; overflow: auto; }
        .sh-pad { padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 4rem; }

        .sh-flash { display: grid; gap: .5rem; max-width: 1400px; margin: 0 auto 1.25rem; }
        .sh-flash div { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--r-md);
            border: 1px solid var(--line-soft); background: var(--bg-sunken); font-size: .875rem; }

        #notification-container { position: fixed; top: 4.25rem; right: 1.25rem; z-index: 60; display: grid; gap: .6rem; width: 20rem; pointer-events: none; }
        .sh-toast { pointer-events: auto; display: flex; gap: .65rem; align-items: flex-start; padding: .85rem 1rem; font-size: .875rem;
            border-radius: var(--r-md); border: 1px solid var(--line-soft); background: var(--bg-raised); box-shadow: var(--shadow-lg);
            transform: translateY(-6px); opacity: 0; transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-mid) var(--ease-out); }
        .sh-toast.is-in { transform: none; opacity: 1; }
        .sh-toast button { margin-left: auto; background: none; border: 0; color: var(--text-faint); cursor: pointer; }

        /* ── command palette ── */
        .sh-cmd { position: fixed; inset: 0; z-index: 70; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh;
            background: rgba(10, 10, 14, .32); backdrop-filter: blur(4px); }
        .sh-cmd.is-open { display: flex; }
        .sh-cmd-box { width: min(36rem, calc(100vw - 2rem)); border-radius: var(--r-xl); background: var(--bg-raised); border: 1px solid var(--line-soft);
            box-shadow: var(--shadow-lg); overflow: hidden; }
        .sh-cmd-box input { width: 100%; border: 0 !important; border-bottom: 1px solid var(--line-soft) !important; padding: 1.1rem 1.25rem; font-size: 1rem;
            background: transparent; color: var(--text); outline: none; border-radius: 0; box-shadow: none !important; }
        .sh-cmd-list { max-height: 50vh; overflow-y: auto; padding: .5rem; list-style: none; margin: 0; }
        .sh-cmd-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .85rem; border-radius: var(--r-sm); font-size: .9rem;
            color: var(--text-muted); text-decoration: none; }
        .sh-cmd-list a span:last-child { font-size: .75rem; color: var(--text-faint); }
        .sh-cmd-list a.is-active, .sh-cmd-list a:hover { background: var(--bg-hover); color: var(--text); }
        .sh-cmd-empty { padding: 1rem 1.25rem; font-size: .875rem; color: var(--text-faint); }

        @media (max-width: 1023px) {
            .sh-side { position: fixed; inset: 0 auto 0 0; width: min(19rem, 88vw); transform: translateX(-100%);
                visibility: hidden; transition: transform var(--dur-mid) var(--ease-out), visibility 0s linear var(--dur-mid); }
            .sh-side.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); transition: transform var(--dur-mid) var(--ease-out); }
            .sh-menu-btn { display: grid; }
            .sh-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(10, 10, 14, .32); display: none; }
            .sh-scrim.is-open { display: block; }
            .sh-main { margin: 0; border-radius: 0; border: 0; box-shadow: none; }
            .sh-top { padding: 0 1rem; }
        }
    