body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}

header {
    background: #222;
    color: #fff;
    padding: 18px 28px;
}

header h1 {
    margin: 0 0 10px;
}

nav a {
    color: #fff;
    margin-right: 18px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
}

main {
    max-width: 1050px;
    margin: 24px auto;
    padding: 0 18px;
}

.card {
    background: #fff;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.notice {
    background: #e8f5e9;
    border: 1px solid #b8dfba;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 6px;
}

.person-banner {
    border-left: 6px solid #222;
}

form {
    display: grid;
    gap: 10px;
}

input, select, button {
    padding: 9px;
    font-size: 1rem;
}

button {
    cursor: pointer;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.landing-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.large-button {
    display: block;
    text-align: center;
    background: #222;
    color: #fff;
    padding: 28px;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 6px;
}

.progress-row {
    margin-bottom: 18px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    font-weight: bold;
}

.progress-track {
    width: 100%;
    height: 30px;
    background: #e2e2e2;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    min-width: 0;
    border-radius: 15px;
    transition: width .3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: #111;
    font-weight: bold;
    font-size: .85rem;
}

.progress-fill span {
    padding: 0 10px;
    text-shadow: 0 1px 1px rgba(255,255,255,.45);
}

.progress-none {
    background: linear-gradient(90deg, #cccccc, #eeeeee);
}

.progress-gray {
    background: linear-gradient(90deg, #666666, #bdbdbd);
    color: #fff;
}

.progress-yellow {
    background: linear-gradient(90deg, #bdbdbd, #f2d53c);
}

.progress-green {
    background: linear-gradient(90deg, #f2d53c, #34c759);
}

.progress-orange {
    background: linear-gradient(90deg, #34c759, #ff9500);
}

.progress-red {
    background: linear-gradient(90deg, #ff9500, #ff3b30);
    color: #fff;
}

.progress-red span,
.progress-gray span {
    text-shadow: 0 1px 1px rgba(0,0,0,.35);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

@media (max-width: 750px) {
    .grid,
    .landing-buttons {
        grid-template-columns: 1fr;
    }

    table {
        font-size: .9rem;
    }

    .progress-label {
        display: block;
    }
}
