* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    overflow: hidden;
    font-family: Arial;
    background: #f0f8ff;
}
/* TOPBAR */
.topbar {
    height: 8vh;
    background: white;
    display: flex;
    align-items: center;
    position: relative;
}
.topbar img {
    height: 8vh;
    width: auto;
    object-fit: contain;
}
.topbar .left {
    position: absolute;
    left: 20px;
}
.topbar .center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8vw;
    font-weight: bold;
    color: #1565C0;
    text-align: center;
    white-space: nowrap;
}
.topbar .right {
    position: absolute;
    right: 20px;
}
/* TICKER */
.ticker-wrap {
    background: #1565C0;
    color: white;
    height: 3vh;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border-bottom: 1px solid white;
}
.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    position: absolute;
    will-change: transform;
}
.ticker-item {
    font-size: 1vw;
    padding: 0 2vw;
    border-right: 1px solid rgba(255,255,255,0.3);
}
.ticker-label {
    font-size: 0.9vw;
    font-weight: bold;
    padding: 0 1vw 0 1vw;
    opacity: 0.8;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* ZEGAR */
#clock-canvas {
    display: block;
    height: 7vh;
    width: 7vh;
}
/* GŁÓWNY WRAPPER */
.main-wrapper {
    display: flex;
    height: calc(100vh - 8vh - 3vh);
    width: 100%;
}
.panel {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.day-title {
    background: #1565C0;
    color: white;
    text-align: center;
    padding: 0.5vh 0;
    font-weight: bold;
    font-size: 1.6vw;
    flex-shrink: 0;
}
.table-header {
    background: #2196F3;
    color: white;
    flex-shrink: 0;
}
.table-header table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.table-header th {
    padding: 0.5vh 0.3vw;
    border: 1px solid #ddd;
    font-size: 1vw;
}
.scroll-area {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.scroll-content {
    position: absolute;
    width: 100%;
    will-change: transform;
    transform: translateZ(0);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.data-table td {
    padding: 0.5vh 0.3vw;
    height: 5vh; /*wysokosc wiersza*/
    border: 1px solid #ddd;
    font-size: 1.1vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.data-table tr:nth-child(even) {
    background: #f9f9f9;
}
.col-numer      { width: 3%;  text-align: center; }
.col-godzina    { width: 9%; text-align: center; }
.col-nauczyciel { width: 15%; }
.col-oddzial    { width: 9%;  text-align: center;}
.col-przedmiot  { width: 25%; }
.col-sala       { width: 7%;  text-align: center; }
.col-zastepca   { width: 14%; }
.col-uwagi      { width: 18%; }