.panel-layout { min-height: 100vh; background: var(--bg); }
.sidebar { position: fixed; z-index: 25; inset: 0 auto 0 0; width: 252px; overflow-y: auto; padding: 17px 12px; background: #fff; border-right: 1px solid var(--border); }
.sidebar .brand { padding: 4px 11px 18px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.sidebar .brand img { width: 145px; }
.side-title { padding: 9px 11px 4px; color: #94a3b8; font-size: .63rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.side-link { display: block; padding: 8px 10px; border-radius: 7px; color: #475569; font-size: .76rem; font-weight: 600; }
.side-link:hover, .side-link.active { color: var(--blue); background: var(--blue-pale); }
.panel-main { min-height: 100vh; margin-left: 252px; }
.panel-header { position: sticky; top: 0; z-index: 20; min-height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 10px 28px; border-bottom: 1px solid var(--border); background: rgba(250,251,255,.94); backdrop-filter: blur(13px); }
.panel-header h1 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.panel-header-actions { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: .75rem; }
.panel-content { padding: 22px 28px 44px; }
.panel-content > .page-title { margin-bottom: 17px; padding: 10px 13px; border: 1px solid #dbeafe; border-left: 3px solid var(--blue); border-radius: 10px; background: linear-gradient(105deg, #eff6ff, #fff); }
.page-title h2 { margin: 0; font-size: 1rem; }
.page-title p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.panel-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0; }
.mobile-header { display: none; }
.mobile-drawer, .quick-sheet { position: fixed; z-index: 80; inset: 0; visibility: hidden; pointer-events: none; }
.mobile-drawer.open, .quick-sheet.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(11,37,69,.25); opacity: 0; transition: opacity .15s; }
.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(87vw, 340px); overflow-y: auto; padding: 18px 15px; background: #fff; transform: translateX(-102%); transition: transform .2s; }
.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.drawer-head img { width: 130px; }
.drawer-close { border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; }
.drawer-section { border-bottom: 1px solid #f1f5f9; padding: 8px 0; }
.drawer-section summary { padding: 9px 5px; color: #94a3b8; cursor: pointer; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.drawer-link { display: block; padding: 8px 10px; border-radius: 7px; font-size: .78rem; color: #475569; }
.drawer-link:hover { color: var(--blue); background: var(--blue-pale); }
.taskbar { display: none; }
.quick-sheet .sheet-panel { position: absolute; inset: auto 0 0; padding: 19px; border-radius: 20px 20px 0 0; background: #fff; transform: translateY(102%); transition: transform .2s; }
.quick-sheet.open .sheet-panel { transform: translateY(0); }
.sheet-panel h3 { text-align: center; }
.sheet-actions { display: grid; gap: 9px; }
.module-metrics { margin-bottom: 16px; }
.module-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.code-block { margin: 12px 0 0; padding: 12px; overflow: auto; border-radius: 8px; color: #dbeafe; background: #0b2545; font: .72rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }