/* Main Screen */
pos-main {
    display: block;
    padding: 1rem;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

pos-main .layout {
    display: grid;
    grid-template-columns: 480px 1fr 380px;
    gap: 1rem;
    height: 100%;
}

pos-main .pos-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    min-height: 0;
    overflow: hidden;
}

/* pos-articles stays in DOM (its loadArticles() populates the cache the numpad
   search reads from) but is visually hidden — the search-via-numpad flow is
   the only browse path, category taps were just accidental hits. */
pos-main .pos-side > pos-articles {
    display: none;
}

pos-main .pos-side > pos-numpad {
    flex-shrink: 0;
    position: relative;
}
