body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f5f5f7;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #111827;
    color: #f9fafb;
    padding: 16px 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

header p {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.notice {
    background-color: #ffffff;
    padding: 12px 24px 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.6;
}

.notice h2 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.notice ul {
    margin: 0;
    padding-left: 18px;
}

.excel-container {
    flex: 1;
    min-height: 0;
    background-color: #e5e7eb;
    padding: 8px 0 0 0;
}

.excel-wrapper {
    width: 100%;
    height: calc(100vh - 200px);
    box-sizing: border-box;
}

.excel-frame {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #ffffff;
}

footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 8px 24px;
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 600px) {
    header {
        padding: 12px 16px;
    }

    .notice {
        padding: 10px 16px 14px 16px;
    }

    .excel-wrapper {
        height: calc(100vh - 220px);
    }
}
