body {
    margin: 0;
    background: #f4f7fb;
    color: #1d2633;
    font-family: Arial, sans-serif;
}

.shell {
    max-width: 980px;
    margin: 30px auto;
    padding: 0 16px 40px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #dfe7f4;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.topbar h1 {
    margin: 0;
    font-size: 30px;
}

.user-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf4ff;
    color: #0a4aa2;
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 700;
}

.forget-form {
    display: inline-flex;
    justify-content: flex-end;
}

.forget-link {
    background: none;
    border: none;
    color: #2b6cb0;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    line-height: 1.2;
}

.login-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.login-form input {
    border: 1px solid #dfe7f4;
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 220px;
    font: inherit;
}

.btn {
    display: inline-block;
    background: #1957d4;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.notice,
.error {
    margin: 18px 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
}

.notice {
    border: 1px solid #bfe3c5;
    background: #ebfff0;
    color: #116c39;
}

.error {
    border: 1px solid #f1c1c1;
    background: #fff0f0;
    color: #8e1d1d;
}

.section-block {
    margin-top: 24px;
}

.section-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1d2633;
}

.list {
    display: grid;
    gap: 16px;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2eaf7;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.03);
}

.item-row.my-done {
    background: #eafaf0;
    border-color: #bfe3c5;
}

.item-row.done-by-others {
    background: #eaecf0;
    border-color: #d8dde6;
}

.item-row.done .item-title,
.item-row.done .item-description,
.item-row.my-done .item-title,
.item-row.my-done .item-description,
.item-row.done-by-others .item-title,
.item-row.done-by-others .item-description {
    text-decoration: line-through;
}

.item-row.unsaved-change {
    border: 2px solid #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.08);
}

.item-row.pending-unchecked .item-title,
.item-row.pending-unchecked .item-description {
    text-decoration: none !important;
    color: #1d2633 !important;
}

.item-row.done .item-title,
.item-row.done .item-description {
    color: #666;
}

.item-row.my-done .item-title,
.item-row.my-done .item-description {
    color: #17613c;
}

.item-row.done-by-others .item-title,
.item-row.done-by-others .item-description {
    color: #4b5262;
}

.status-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.status-block input {
    width: 18px;
    height: 18px;
    accent-color: #1957d4;
}

.thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dfe7f4;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 700;
}

.item-description {
    display: block;
    color: #4c596d;
    line-height: 1.5;
}

.item-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.item-links a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1d4ed8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.submit-cell {
    display: none;
    margin-left: auto;
}

.item-row.has-change .submit-cell {
    display: block;
}

@media (max-width: 700px) {
    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .user-badge-wrap {
        align-items: stretch;
    }

    .item-row {
        flex-wrap: wrap;
    }

    .submit-cell {
        width: 100%;
        margin-left: 0;
    }

    .submit-cell .btn {
        width: 100%;
        text-align: center;
    }
}

