.container {
    padding: 12px 10px 40px;
    min-height: calc(100vh - 50px);
}

.year-card {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year-label {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.year-select {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    background: #fff;
    outline: none;
}

.options-area {
    width: 100%;
    margin-bottom: 14px;
}

.option-card {
    width: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px;
    margin-bottom: 10px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.option-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.icon-box.green { background: #d1fae5; }
.icon-box.blue { background: #dbeafe; }
.icon-box.purple { background: #ede9fe; }
.icon-box.amber { background: #fef3c7; }
.icon-box.indigo { background: #e0e7ff; }

.option-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.toggle-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.2s;
}

.toggle-arrow.collapsed {
    transform: rotate(-90deg);
}

.sub-options {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.sub-options.collapsed {
    display: none;
}

.sub-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    cursor: pointer;
}

.sub-label {
    font-size: 13px;
    color: #555;
    flex: 1;
}

.sub-item input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.gen-btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, #10b981, #059669);
    color: #fff;
    text-align: center;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.gen-btn:hover { opacity: 0.9; }
.gen-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.result-area {
    width: 100%;
}

.result-card {
    width: 100%;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 14px;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.header-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

.header-icon.blue { background: #3b82f6; }

.header-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.content-text {
    font-size: 13px;
    color: #444;
    line-height: 1.7;
    white-space: pre-line;
}

.answer-btn {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    margin-top: 12px;
}

.result-card.answer {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    margin-top: 0;
}