.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;width:var(--sidebar-width);overflow-y:auto;background:linear-gradient(180deg,#111827 0%,#0b1220 58%,#07111f 100%);color:#fff;box-shadow:12px 0 34px rgba(15,32,55,.16)}
.sidebar:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(15,99,255,.24),transparent 34%),radial-gradient(circle at bottom right,rgba(22,163,111,.18),transparent 32%);pointer-events:none}
.sidebar-brand,.sidebar-nav{position:relative;z-index:1}.sidebar-brand{display:flex;gap:10px;align-items:center;min-height:64px;padding:11px 14px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.10);backdrop-filter:blur(10px)}
.sidebar-brand strong,.sidebar-brand small{display:block;line-height:1.1}.sidebar-brand strong{max-width:164px;overflow:hidden;color:#fff;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em}.sidebar-brand small{margin-top:4px;color:#a9c7ef;font-size:11px}
.brand-mark{display:grid;grid-template-columns:repeat(2,8px);gap:2px;flex:0 0 auto;transform:rotate(45deg)}.brand-mark i{display:block;width:8px;height:8px;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:3px}
.sidebar-logo{width:34px;height:34px;flex:0 0 auto;object-fit:contain;background:#fff;border-radius:10px;padding:3px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.sidebar-nav{padding:10px 8px}.sidebar-link{display:flex;gap:10px;align-items:center;min-height:38px;margin:2px 0;padding:9px 11px;color:rgba(255,255,255,.86);text-decoration:none;border:1px solid transparent;border-radius:12px;transition:background .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}
.sidebar-link svg{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-link:hover{color:#fff;text-decoration:none;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.08)}
.sidebar-link.active{color:#fff;background:linear-gradient(135deg,rgba(15,99,255,.98),rgba(22,163,111,.82));border-color:rgba(255,255,255,.18);box-shadow:0 12px 26px rgba(15,99,255,.24)}
.topbar{position:fixed;z-index:20;top:0;right:0;left:var(--sidebar-width);display:flex;align-items:center;justify-content:space-between;height:var(--topbar-height);padding:0 18px;background:rgba(255,255,255,.72);border-bottom:1px solid rgba(216,224,234,.86);box-shadow:0 10px 30px rgba(15,32,55,.07);backdrop-filter:blur(18px)}
.topbar-title strong,.topbar-title span,.user-summary strong,.user-summary small{display:block}.topbar-kicker{margin-bottom:2px;color:var(--accent-dark);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.10em}.topbar-title strong{color:#142033;font-size:18px;font-weight:700;letter-spacing:-.02em}.topbar-actions,.user-summary{display:flex;align-items:center}.topbar-actions{gap:14px}.user-summary{gap:8px}.user-menu{display:flex;align-items:center;gap:3px}
.user-password-toggle{display:grid;width:18px;height:24px;padding:0;place-items:center;color:#68788a;background:transparent;border:0;box-shadow:none}.user-password-toggle:hover,.user-password-toggle:focus{color:var(--primary-dark);background:transparent;border:0;box-shadow:none;outline:0}.user-password-toggle:focus-visible{outline:0}.user-summary strong{color:#25374f;font-size:13px;font-weight:700}.user-summary small{color:var(--muted);font-size:11px}.user-summary-text strong{white-space:nowrap}.user-avatar{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--primary-soft),#e8faf4);color:var(--primary-dark);font-size:12px;font-weight:800;border:1px solid rgba(15,99,255,.12)}
.user-caret{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:#68788a;transition:transform .15s ease}.user-password-toggle[aria-expanded=true] .user-caret{transform:rotate(180deg)}.user-dropdown{min-width:170px;font-size:13px;border-color:var(--border);border-radius:14px;box-shadow:0 18px 42px rgba(13,39,71,.16);padding:6px}.user-dropdown .dropdown-item{border-radius:10px;font-size:13px}.logout-link{padding-left:14px;color:#d64555;font-size:13px;font-weight:700;text-decoration:none;border-left:1px solid var(--border)}.logout-link:hover{color:#b91c3c;text-decoration:none}
.notification-link{position:relative;display:grid;width:34px;height:34px;place-items:center;color:var(--primary-dark);border:1px solid rgba(216,224,234,.95);border-radius:12px;background:rgba(255,255,255,.78);box-shadow:0 8px 20px rgba(15,32,55,.06)}.notification-link:hover{background:#fff;text-decoration:none}.notification-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-link span{position:absolute;top:-6px;right:-6px;display:grid;min-width:18px;height:18px;padding:0 4px;place-items:center;border-radius:9px;background:var(--danger);color:#fff;font-size:10px;font-weight:800}
.modal-content{border:1px solid rgba(216,224,234,.92);border-radius:18px;box-shadow:0 26px 80px rgba(15,32,55,.18)}.modal-header,.modal-footer{border-color:#e7edf4}.modal-title{font-weight:700;letter-spacing:-.02em}
@media(max-width:760px){
  .sidebar{top:auto;right:0;width:auto;height:62px;overflow-x:auto;overflow-y:hidden;box-shadow:0 -10px 30px rgba(15,32,55,.16)}
  .sidebar-brand{display:none}.sidebar-nav{display:flex;min-width:max-content;padding:6px}.sidebar-link{display:grid;min-width:76px;height:50px;place-items:center;align-content:center;gap:3px;padding:6px;font-size:11px}.sidebar-link.active{border-color:rgba(255,255,255,.18)}.sidebar-link svg{width:16px;height:16px}
  .topbar{left:0;padding:0 12px}.topbar-kicker,.user-summary-text{display:none}.user-menu{gap:2px}.user-password-toggle{width:16px}.user-caret{width:14px;height:14px}.topbar-title strong{font-size:17px}
}
