.sidebar-nav { display: flex; flex-direction: column; gap: 7px; margin-bottom: 32px; }
.sidebar-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid #344b55; }
.sidebar .account { display: flex; align-items: center; justify-content: flex-start; gap: 11px; width: 100%; margin: 0; padding: 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #e3eff2; text-align: left; }
.sidebar .account:hover, .sidebar .account[aria-expanded=true] { background: #263e48; border-color: #3a555f; }
.avatar { width: 35px; height: 35px; flex-shrink: 0; background: #a5d6c4; color: #234a42; border: 3px solid #ffffff12; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.account-name { min-width: 0; font-weight: 600; font-size: 12px; }
.account-name small { display: block; font-weight: 400; color: #a5bec7; font-size: 10px; margin-top: 2px; }
.account-more { margin-left: auto; color: #adc6cf; }
#account-menu { position: fixed; inset: auto; margin: 0; padding: 8px; width: 258px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 12px 40px #102a3833; }
.account-menu-heading { padding: 10px 12px 9px; font-size: 9px; font-weight: 650; letter-spacing: 1.4px; color: var(--muted); }
#account-menu .account-menu-item { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; height: auto; min-height: 43px; padding: 11px 12px; border: 0; border-radius: 7px; background: transparent; color: inherit; text-align: left; font-size: 12px; font-weight: 500; }
#account-menu .account-menu-item:hover, #account-menu .account-menu-item:focus-visible { background: var(--teal-soft); }
#account-menu svg { width: 18px; height: 18px; flex-shrink: 0; }
.account-menu-divider { height: 1px; margin: 6px 8px; background: var(--border); }
#process-dock { position: fixed; right: 24px; bottom: 24px; z-index: 6; width: 350px; max-width: calc(100vw - 32px); max-height: 45dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px; }
.process-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex-shrink: 0; width: 100%; padding: 17px; text-align: left; background: var(--surface-raised); border: 1px solid var(--border-strong); box-shadow: 0 5px 25px #102a3826; border-radius: 12px; }
.process-card:hover { background: var(--surface-soft); border-color: var(--teal); }
.process-card-top { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--teal); }
.process-percent { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; }
.process-file { overflow-wrap: anywhere; font-size: 12px; font-weight: 600; }
.process-message { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.5; }
.process-link { font-size: 11px; color: var(--teal); }
.process-card progress { width: 100%; height: 5px; margin: 3px 0; }
.process-spinner { width: 14px; height: 14px; flex-shrink: 0; display: grid; place-items: center; }
.is-processing .process-spinner { border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: working-spin 1.2s linear infinite; }
@media (max-width: 800px) {
  .sidebar-nav { flex-direction: row; width: 100%; gap: 8px; margin: 14px 0 0; }
  .sidebar-nav .nav-item { flex: 1; font-size: 12px; padding: 10px 12px; }
  .nav-item .nav-chevron { display: none; }
  .sidebar-bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 7; margin: 0; padding: 7px 14px calc(7px + env(safe-area-inset-bottom)); background: #152b34; box-shadow: 0 -4px 16px #13293212; }
  .sidebar .account { width: 210px; max-width: 100%; padding: 5px 9px; }
  [data-theme=dark] .sidebar-bottom { background: #101e26; }
  #toast { bottom: 95px; }
  #process-dock { right: 12px; bottom: calc(90px + env(safe-area-inset-bottom)); max-height: 35dvh; }
}
@media (max-width: 360px) { .sidebar-nav .nav-item { font-size: 11px; gap: 8px; padding: 10px; } .sidebar-nav .nav-item .icon { width: 17px; height: 17px; } }
@media (prefers-reduced-motion: reduce) { .is-processing .process-spinner { animation: none; } }
