/* ===== 快捷待办 ===== */
.qt-hero {
    background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #d1fae5;
    border-radius: 22px;
    padding: 30px;
    margin-bottom: 26px;
    box-shadow: 0 12px 36px rgba(16, 185, 129, .08);
}

.qt-inner {
    max-width: 640px;
    margin: 0 auto;
}

.qt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.qt-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qt-logo {
    font-size: 28px;
    background: #d1fae5;
    border-radius: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qt-title {
    font-size: 20px;
    font-weight: 800;
    color: #065f46;
}

.qt-sub {
    font-size: 13px;
    color: #6ee7b7;
}

.qt-stats {
    display: flex;
    gap: 8px;
}

.qt-stat {
    background: #fff;
    border: 1px solid #d1fae5;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 14px;
}

.qt-stat.done {
    color: #0d9488;
}

.qt-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.qt-input-row input {
    flex: 1;
    border: 2px solid #d1fae5;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    background: #fff;
    color: #134e4a;
    transition: border-color .2s;
}

.qt-input-row input:focus {
    border-color: #34d399;
}

.qt-add {
    border: 0;
    border-radius: 12px;
    background: #10b981;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 0 22px;
    cursor: pointer;
    transition: background .2s;
}

.qt-add:hover {
    background: #059669;
}

.qt-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all .2s;
    animation: qt-in .25s ease;
}

@keyframes qt-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.qt-item:hover {
    border-color: #a7f3d0;
    box-shadow: 0 4px 14px rgba(16, 185, 129, .08);
}

.qt-check {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.qt-item.done .qt-check {
    background: #10b981;
    border-color: #10b981;
}

.qt-text {
    flex: 1;
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
    word-break: break-all;
}

.qt-item.done .qt-text {
    color: #94a3b8;
    text-decoration: line-through;
}

.qt-del {
    flex: none;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transition: all .2s;
}

.qt-item:hover .qt-del {
    opacity: 1;
}

.qt-del:hover {
    background: #fee2e2;
    color: #ef4444;
}

.qt-empty {
    text-align: center;
    padding: 34px 0;
    color: #94a3b8;
}

.qt-empty-emoji {
    font-size: 44px;
    margin-bottom: 10px;
}

.qt-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.qt-btn-ghost {
    border: 1px solid #d1fae5;
    background: #fff;
    color: #059669;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}

.qt-btn-ghost:hover {
    background: #ecfdf5;
}

.qt-tip {
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .qt-hero { padding: 20px 14px; }
    .qt-stats { flex-direction: column; gap: 4px; }
    .qt-stat { font-size: 12px; padding: 4px 10px; }
}

/* ===== 深色模式 ===== */
[data-theme="dark"] .qt-hero {
    background: linear-gradient(160deg, #022c22 0%, #064e3b 100%);
    border-color: rgba(110, 231, 183, 0.16);
}
[data-theme="dark"] .qt-title { color: #ecfdf5; }
[data-theme="dark"] .qt-sub,
[data-theme="dark"] .qt-tip { color: #6ee7b7; }
[data-theme="dark"] .qt-stat,
[data-theme="dark"] .qt-item,
[data-theme="dark"] .qt-check {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(110, 231, 183, 0.16);
}
[data-theme="dark"] .qt-stat { color: #34d399; }
[data-theme="dark"] .qt-text { color: #d1fae5; }
[data-theme="dark"] .qt-empty { color: #6ee7b7; }
[data-theme="dark"] .qt-input-row input {
    background: rgba(255, 255, 255, 0.06);
    color: #d1fae5;
    border-color: rgba(110, 231, 183, 0.20);
}
[data-theme="dark"] .qt-input-row input::placeholder { color: rgba(209, 250, 229, 0.4); }
[data-theme="dark"] .qt-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.25);
}
[data-theme="dark"] .qt-btn-ghost:hover { background: rgba(52, 211, 153, 0.15); }
[data-theme="dark"] .qt-add { background: #10b981; color: #fff; }
[data-theme="dark"] .qt-logo { background: rgba(16, 185, 129, 0.18); }
