:root {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color-scheme: light;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page {
    display: flex;
    min-height: 100vh;
}

main {
    flex: 1;
}

.sidebar {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 1rem;
    padding-right: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.content {
    padding-top: 1rem;
}

.pi-container {
    position: relative;
}

.pi-details {
    display: none;
}

.pi-details.show {
    display: block;
}

@media (max-width: 768px) {
    .page {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    .top-row {
        justify-content: space-between;
    }
}
