@use '@angular/material' as mat; .app-shell { height: 100svh; overflow: hidden; background: var(--sg-background); } .container, .drawer-container { width: 100%; height: 100%; background: var(--sg-background); } .container { overflow: hidden; } .content-shell { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--sg-background); } mat-toolbar.main { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: minmax(190px, 1fr) minmax(320px, 560px) minmax( 130px, 1fr ); gap: 24px; height: 76px; padding: 0 32px; background: var(--sg-surface-soft); border-bottom: 1px solid var(--sg-border); color: var(--sg-text); box-shadow: none; } .topbar-left, .topbar-actions { display: flex; align-items: center; gap: 10px; } .topbar-actions { justify-content: flex-end; } .topbar-actions button { color: var(--sg-text); } .impersonation-banner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 6px 20px; background: #fff7ed; border-bottom: 1px solid #fed7aa; color: #9a3412; font-size: 13px; font-weight: 700; } .impersonation-banner mat-icon { width: 20px; height: 20px; font-size: 20px; } .back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; border: 0; background: transparent; color: var(--sg-text-muted); font-size: 13px; cursor: pointer; } .back-link mat-icon { font-size: 20px; width: 20px; height: 20px; } .drawer { width: var(--sg-sidebar-width); background: var(--sg-surface); border-right: 1px solid var(--sg-border); border-radius: 0; box-shadow: none; } .drawer--collapsed { width: 64px; } .content { display: flex; flex-direction: column; flex: 1; overflow-y: auto; background: var(--sg-background); } .main-content-body { flex: 1; } .footer-container { flex-shrink: 0; padding: 12px 32px; background: var(--sg-surface-soft); border-top: 1px solid var(--sg-border); } .footer { font-size: 12px; color: var(--sg-text-muted); text-align: center; } @media (max-width: 900px) { mat-toolbar.main { grid-template-columns: auto 1fr auto; height: auto; min-height: 72px; padding: 12px 16px; gap: 12px; } .back-link span { display: none; } .search-box { height: 44px; } } @media (max-width: 600px) { mat-toolbar.main { grid-template-columns: 1fr auto; } .search-box { grid-column: 1 / -1; order: 3; } .content { min-height: 0; } } .search-wrapper { position: relative; width: 100%; } .search-results { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid var(--sg-border); border-radius: var(--sg-radius-sm); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); z-index: 1000; max-height: 300px; overflow-y: auto; } .search-result-item { padding: 10px 16px; cursor: pointer; display: flex; flex-direction: column; border-bottom: 1px solid var(--sg-border); &:hover { background: var(--sg-surface-muted); } .result-name { font-weight: 500; font-size: 14px; color: var(--sg-text); } .result-affiliation { font-size: 12px; color: var(--sg-text-muted); } }