html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: #ffffff;
    color: #1a1a1a;
    font-family: system-ui, "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
}

#app {
    display: grid;
    grid-template-columns: 300px 1fr 460px;
    height: 100vh;
}

.column {
    overflow-y: auto;
    padding: 18px 20px 40px;
    border-right: 1px solid #cccccc;
}

.column:last-child {
    border-right: none;
}

h1 {
    font-size: 24px;
    margin: 0 0 14px;
}

h2 {
    font-size: 15px;
    margin: 24px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #dddddd;
}

.column > h2:first-child {
    margin-top: 0;
}

h3 {
    font-size: 13px;
    margin: 18px 0 6px;
    color: #444444;
}

p {
    margin: 4px 0;
}

ul {
    margin: 0;
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
}

.big {
    font-size: 20px;
    font-weight: bold;
    margin: 12px 0 6px;
}

.notice {
    padding: 8px 10px;
    border: 1px solid #cccccc;
    background: #f6f6f6;
}

.hint {
    color: #666666;
    font-size: 12px;
}

.info {
    display: block;
    color: #555555;
    font-size: 12px;
    margin: 2px 0 0 4px;
}

.info[hidden] {
    display: none;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: 88%;
    max-height: 80vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #333333;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    padding: 18px 22px 14px;
}

#popup h2 {
    margin-top: 0;
}

.timeline {
    padding-left: 0;
    list-style: none;
}

.timeline li {
    margin-bottom: 5px;
}

.timeline li.current {
    font-weight: bold;
}

.timeline li.locked {
    color: #777777;
}

@media (max-width: 900px) {
    #app {
        grid-template-columns: 1fr;
        height: auto;
    }

    .column {
        overflow-y: visible;
        border-right: none;
        border-bottom: 1px solid #cccccc;
    }
}
