/* Wide-viewport (>=1024px) rules — loaded via a media attribute in index.html, so they apply
   on desktop widths only: fixed sidebar, no topbar, roomier content, two-column forms. */

.sidebar {
    transform: none;
    box-shadow: none;
    transition: none;
}

.sidebar-overlay,
.topbar {
    display: none;
}

#pageContent {
    margin-left: var(--sidebar-width);
    padding: 40px 48px 80px;
}

/* No topbar here: the composer's action bar sticks to the very top. */
.topbar ~ #pageContent .composer-bar {
    top: 0;
}

.form-split {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
}

.form-split > .form-actions {
    grid-column: 1 / -1;
}

.form-aside {
    position: sticky;
    top: 24px;
}

/* Asset sheet: preview and facts on the left, the form down the right */
.asset-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    grid-template-areas: "media form" "info form";
    grid-template-rows: auto 1fr;
}
.asset-media { grid-area: media; }
.asset-form { grid-area: form; }
.asset-info { grid-area: info; }
.asset-info { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.login-screen {
    flex-direction: row;
}

.login-brand {
    flex: 0 0 42%;
    justify-content: center;
    padding: 64px 72px;
    gap: 18px;
}

.login-brand .brand-large {
    font-size: 40px;
}

.login-claim {
    font-size: 19px;
}

.login-foot {
    display: block;
    margin-top: 32px;
}

.login-panel {
    align-items: center;
    padding: 64px;
}
