/* Shared table navigation, also used by embedded pages without site.css. */
.app-table-scroll-guide {
    display: none;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 6px;
    border: 1px solid #cbd5e1;
    border-bottom-color: #b8c3d2;
    border-radius: 10px 10px 0 0;
    color: #475569;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(15,23,42,.06);
    direction: rtl;
    font-family: 'Heebo', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
}

.app-table-scroll-guide.is-visible { display: flex; }

.app-table-scroll-fallback {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.app-table-scroll-message {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

/* Directional status remains available to screen readers without a caption row. */
.app-table-scroll-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.app-table-scroll-message svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: #283044;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-table-scroll-buttons { display: inline-flex; gap: 5px; }

.app-table-scroll-position {
    position: relative;
    width: 90px;
    height: 4px;
    margin-inline-start: auto;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
}

.app-table-scroll-position i {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: inherit;
    background: #78a1bb;
}

.app-table-scroll-guide .app-table-scroll-buttons button {
    display: inline-grid;
    box-sizing: border-box;
    place-items: center;
    width: 30px;
    min-width: 30px;
    height: 24px;
    padding: 0;
    border: 1px solid #c4d7e0;
    border-radius: 7px;
    color: #42556d;
    background: #fff;
    font: 800 16px/1 Arial, sans-serif;
    cursor: pointer;
    transition: color .12s, background .12s, border-color .12s;
}

.app-table-scroll-guide .app-table-scroll-buttons button:hover:not(:disabled) {
    border-color: #283044;
    color: #fff;
    background: #283044;
}

.app-table-scroll-guide .app-table-scroll-buttons button:focus-visible {
    outline: 2px solid #78a1bb;
    outline-offset: 2px;
}

.app-table-scroll-guide .app-table-scroll-buttons button:disabled {
    border-color: #e2e8f0;
    color: #cbd5e1;
    background: #f8fafc;
    cursor: default;
}

.app-table-scroll-guide + .app-table-scroll-region {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.app-table-scroll-region.has-hidden-left { border-left-color: #78a1bb; }
.app-table-scroll-region.has-hidden-right { border-right-color: #78a1bb; }

@media print {
    .app-table-scroll-guide { display: none !important; }
}
