.personal-todo-view {
    min-height: 100%;
    width: 72%;
    min-width: 760px;
    max-width: 1400px;
    padding: 28px 34px 46px;
    color: #e5edf7;
}

.pt-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.pt-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: #f5f7fb;
    font-size: 1.48rem;
    line-height: 1.2;
    font-weight: 760;
}

.pt-preview-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    color: #d6dbe5;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    font-weight: 720;
}

.pt-page-subtitle {
    margin: 0;
    color: #99a5b7;
    font-size: 0.88rem;
}

.pt-card {
    margin-bottom: 20px;
    padding: 24px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(18, 32, 53, 0.92), rgba(16, 29, 49, 0.88));
    border: 1px solid rgba(159, 174, 195, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.pt-card-header h3 {
    margin: 0;
    color: #4fd1ff;
    text-shadow: 0 0 6px rgba(79, 209, 255, 0.55);
    font-size: 1rem;
    font-weight: 760;
}

.pt-card-header p {
    margin: 6px 0 0;
    color: #7f8da1;
    font-size: 0.78rem;
}

.pt-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pt-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #98a5b6;
    font-size: 0.78rem;
    white-space: nowrap;
}

.pt-summary span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pt-summary span:nth-child(1) {
    color: #39ff14;
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.55);
}

.pt-summary span:nth-child(2) {
    color: #00e5ff;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.55);
}

.pt-summary b {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #dbe5f2;
    background: rgba(255, 255, 255, 0.10);
    font-size: 0.68rem;
    font-weight: 700;
}

.pt-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    color: #f6f8fb;
    background: linear-gradient(180deg, rgba(69, 83, 111, 0.82), rgba(36, 47, 67, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.16s ease, filter 0.16s ease;
}

.pt-add-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.personaltodo-bg .pt-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.personaltodo-bg .pt-row {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: rgba(31, 47, 72, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.personaltodo-bg .pt-row:hover {
    background: rgba(38, 56, 82, 0.78);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.personaltodo-bg .pt-check {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(170, 183, 203, 0.62);
    background: rgba(255, 255, 255, 0.02);
    color: transparent;
    box-shadow: none;
}

.personaltodo-bg .pt-check:hover {
    border-color: rgba(121, 230, 167, 0.72);
    background: rgba(121, 230, 167, 0.045);
}

.personaltodo-bg .pt-check.checked {
    border-color: rgba(121, 230, 167, 0.56);
    background: rgba(121, 230, 167, 0.14);
    color: #79e6a7;
    text-shadow: 0 0 10px rgba(121, 230, 167, 0.34);
}

.pt-row-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.personaltodo-bg .pt-task-text {
    min-width: 0;
    color: #dbe4f0;
    font-size: 0.88rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.personaltodo-bg .pt-row.completed .pt-task-text {
    color: rgba(196, 204, 216, 0.58);
    text-decoration: line-through;
    opacity: 1;
}

.pt-company-badge {
    flex-shrink: 0;
    max-width: 128px;
    padding: 3px 8px;
    border-radius: 999px;
    color: rgba(218, 226, 237, 0.76);
    background: rgba(196, 204, 216, 0.06);
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-row-meta {
    color: #8c9aab;
    font-size: 0.76rem;
    white-space: nowrap;
}

.pt-row-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pt-icon-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    color: #8fa0b5;
    background: transparent;
    cursor: pointer;
    font-size: 0.78rem;
    transition: background 0.16s ease, color 0.16s ease;
}

.pt-icon-btn:hover {
    color: var(--accent-blue);
    background: transparent;
}

.pt-icon-btn.danger {
    color: #8fa0b5;
}

.pt-icon-btn.danger:hover {
    color: #ef4444;
    background: transparent;
}

.btn-text.sm.todo-del-btn,
.btn-text.sm.todo-edit-btn {
    color: #6b7280;
    transition: color 0.16s ease;
    text-decoration: none;
    font-size: 0.9rem;
}
.btn-text.sm.todo-del-btn:hover {
    color: #ef4444;
}
.btn-text.sm.todo-edit-btn:hover {
    color: var(--accent-blue);
}

.pt-empty {
    padding: 30px 18px;
    color: #8795a9;
    text-align: center;
    font-size: 0.86rem;
    list-style: none;
}

@media (max-width: 1024px) {
    .personal-todo-view {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .personal-todo-view {
        padding: 20px 16px 30px;
    }
    .pt-card {
        padding: 16px;
    }
    .pt-card-header,
    .pt-card-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .personaltodo-bg .pt-row {
        grid-template-columns: 24px minmax(0, 1fr) auto;
    }
    .pt-row-meta {
        display: none;
    }
}

/* 원천신고관리 뷰 — 헤더 숨김 + 배경 통일 */
.top-nav.withholding-header {
    display: none;
}
.content-panel.withholding-bg {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(10, 22, 38, 0.86) 50%, rgba(10, 22, 38, 0.14) 70%, transparent 82%),
        url("../assets/chul005.webp?v=1") no-repeat right center / cover;
}

