body {
    background: #f5f3ff;
    color: #1f2937;
    font-family: "Segoe UI", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

#main-content {
    min-height: 100vh;
    padding: 36px 20px 120px;
}

.package1-overview-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.package1-overview-page-header {
    margin-top: 28px;
    margin-bottom: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e9ddff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(91, 33, 182, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.package1-overview-page-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4c1d95;
    margin: 0 0 6px;
}

.package1-overview-page-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.94rem;
    line-height: 1.5;
}

.package1-overview-header-badge {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ede9fe;
    color: #5b21b6;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Stats */
.package1-overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.package1-overview-stat-card {
    background: #ffffff;
    border: 1px solid #e9ddff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(91, 33, 182, 0.07);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package1-overview-stat-card span {
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.35;
}

.package1-overview-stat-card strong {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.package1-overview-stat-total strong {
    color: #4c1d95;
}

.package1-overview-stat-completed strong {
    color: #15803d;
}

.package1-overview-stat-progress strong {
    color: #a16207;
}

.package1-overview-stat-action strong {
    color: #b91c1c;
}

.package1-overview-stat-empty strong {
    color: #4b5563;
}

/* Main cards */
.package1-overview-main-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.package1-overview-card {
    background: #ffffff;
    border: 1px solid #e9ddff;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(91, 33, 182, 0.08);
}

.package1-overview-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.package1-overview-card-header h2 {
    margin: 0;
    color: #4c1d95;
    font-size: 1.05rem;
    font-weight: 700;
}

.package1-overview-card-header span {
    color: #6b7280;
    font-size: 0.84rem;
    white-space: nowrap;
}

/* Completion */
.package1-overview-completion-card {
    min-height: 190px;
}

.package1-overview-progress-wrap {
    display: grid;
    gap: 12px;
}

.package1-overview-progress-bar {
    width: 100%;
    height: 18px;
    border-radius: 999px;
    background: #f3e8ff;
    overflow: hidden;
}

.package1-overview-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
}

.package1-overview-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Needs Attention */
.package1-overview-attention-list {
    display: grid;
    gap: 10px;
}

.package1-overview-attention-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid #fee2e2;
    border-radius: 16px;
    background: #fff7f7;
}

.package1-overview-attention-item div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.package1-overview-attention-item strong {
    font-size: 0.92rem;
    font-weight: 600;
    color: #111827;
}

.package1-overview-attention-item span {
    font-size: 0.82rem;
    color: #6b7280;
}

.package1-overview-attention-item p {
    margin: 2px 0 0;
    color: #4b5563;
    font-size: 0.82rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.package1-overview-attention-item em {
    font-style: normal;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.package1-overview-attention-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

.package1-overview-view-more-btn {
    width: 100%;
    min-height: 40px;
    border: 1px solid #f5c2c7;
    border-radius: 14px;
    background: #fff1f2;
    color: #be123c;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.package1-overview-view-more-btn:hover {
    background: #ffe4e6;
}

/* Zone progress */
.package1-overview-zone-card {
    margin-bottom: 20px;
}

.package1-overview-zone-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.package1-overview-zone-item {
    border: 1px solid #eee7ff;
    border-radius: 18px;
    padding: 16px;
    background: #fcfbff;
}

.package1-overview-zone-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.package1-overview-zone-top strong {
    color: #2e1065;
    font-size: 0.94rem;
    font-weight: 600;
}

.package1-overview-zone-top span {
    color: #6d28d9;
    font-size: 0.86rem;
    font-weight: 600;
}

.package1-overview-zone-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #ede9fe;
    overflow: hidden;
    margin-bottom: 12px;
}

.package1-overview-zone-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #8b5cf6;
}

.package1-overview-zone-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #6b7280;
    font-size: 0.78rem;
}

/* Empty states */
.package1-overview-empty-state {
    padding: 18px;
    border: 1px dashed #c4b5fd;
    border-radius: 16px;
    background: #faf7ff;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Attention modal */
.package1-overview-attention-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.package1-overview-attention-modal[hidden] {
    display: none;
}

.package1-overview-attention-modal-box {
    width: 100%;
    max-width: 620px;
    max-height: 88vh;
    background: #ffffff;
    border: 1px solid #ece3ff;
    border-radius: 24px;
    box-shadow: 0 20px 46px rgba(91, 33, 182, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.package1-overview-attention-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f1ebff;
    background: #ffffff;
}

.package1-overview-attention-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #2e1065;
}

.package1-overview-attention-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.package1-overview-attention-close:hover {
    background: #ede9fe;
}

.package1-overview-attention-modal-body {
    padding: 18px;
    overflow-y: auto;
}

.package1-overview-attention-modal-list {
    display: grid;
    gap: 12px;
}

.package1-overview-attention-modal-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid #fee2e2;
    border-radius: 18px;
    background: #fff7f7;
}

.package1-overview-attention-modal-info {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.package1-overview-attention-modal-info strong {
    color: #111827;
    font-size: 0.94rem;
    font-weight: 600;
}

.package1-overview-attention-modal-info span {
    color: #6b7280;
    font-size: 0.82rem;
}

.package1-overview-attention-modal-info p {
    margin: 4px 0 0;
    color: #374151;
    font-size: 0.86rem;
    line-height: 1.5;
    word-break: break-word;
}

.package1-overview-attention-modal-item a,
.package1-overview-attention-modal-item em {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    font-style: normal;
}