.drp-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 177, 66, 0.18), transparent 34%),
        linear-gradient(145deg, #fffdf7 0%, #f4fbf8 100%);
    border: 1px solid rgba(13, 148, 136, 0.14);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.drp-card::after {
    content: '';
    position: absolute;
    inset: auto -30px -45px auto;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.08);
    pointer-events: none;
}

.drp-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.drp-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f766e;
}

.drp-heading {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.drp-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(15, 118, 110, 0.09);
    color: #0f766e;
}

.drp-status[data-status="in_progress"] {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.drp-status[data-status="completed"] {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.drp-goal {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.6;
}

.drp-goal strong {
    color: #0f172a;
    font-weight: 700;
}

.drp-step-shell {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.drp-step-label {
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.drp-step-title {
    margin: 0 0 14px;
    font-size: 1.18rem;
    line-height: 1.2;
    color: #0f172a;
}

.drp-step-action,
.drp-step-reflection,
.drp-context-copy,
.drp-progress-copy {
    margin: 0;
    color: #334155;
    line-height: 1.65;
}

.drp-step-action {
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.drp-step-reflection {
    font-size: 0.95rem;
    color: #0f766e;
}

.drp-meta-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 12px;
}

.drp-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
}

.drp-meta-chip[data-tone="high"] {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.drp-meta-chip[data-tone="moderate"] {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.drp-meta-chip[data-tone="low"] {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.drp-context-copy {
    position: relative;
    z-index: 1;
    margin-top: 0;
    font-size: 0.93rem;
}

.drp-progress-wrap {
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.drp-progress-bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.drp-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6 0%, #f59e0b 100%);
    transition: width 0.3s ease;
}

.drp-progress-copy {
    margin-top: 10px;
    font-size: 0.9rem;
}

.drp-warning {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.55;
}

.drp-warning strong {
    color: #78350f;
}

.drp-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.drp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.drp-btn:hover {
    transform: translateY(-1px);
}

.drp-btn:disabled {
    cursor: default;
    opacity: 0.75;
    transform: none;
}

.drp-btn--primary {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.2);
}

.drp-btn--ghost {
    background: rgba(255, 255, 255, 0.75);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.drp-card--loading {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.drp-loading-line {
    height: 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.9) 25%, rgba(241, 245, 249, 1) 50%, rgba(226, 232, 240, 0.9) 75%);
    background-size: 200% 100%;
    animation: drpShimmer 1.15s linear infinite;
}

.drp-loading-line--short {
    width: 32%;
}

.drp-loading-line--long {
    width: 88%;
    margin-bottom: 0;
}

@keyframes drpShimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (max-width: 767px) {
    .drp-card {
        padding: 20px;
        border-radius: 24px;
    }

    .drp-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .drp-actions {
        flex-direction: column;
    }

    .drp-btn {
        width: 100%;
    }
}

.drp-setup-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
}

.drp-setup-dialog {
    width: min(100%, 560px);
    border-radius: 30px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 34%),
        linear-gradient(145deg, #fffef9 0%, #ffffff 100%);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.24);
}

.drp-setup-kicker,
.drp-setup-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.drp-setup-kicker {
    color: #0f766e;
    margin-bottom: 10px;
}

.drp-setup-title {
    margin: 0 0 10px;
    font-size: 1.7rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.drp-setup-copy {
    margin: 0 0 22px;
    color: #475569;
    line-height: 1.65;
}

.drp-setup-block + .drp-setup-block {
    margin-top: 20px;
}

.drp-setup-label {
    display: block;
    margin-bottom: 10px;
    color: #64748b;
}

.drp-setup-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.drp-setup-chip {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.95);
    color: #334155;
    font-weight: 700;
    cursor: pointer;
}

.drp-setup-chip.is-selected {
    border-color: rgba(15, 118, 110, 0.22);
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}

.drp-setup-input {
    width: 100%;
    margin-top: 12px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.drp-setup-input:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.32);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.drp-setup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .drp-setup-dialog {
        padding: 22px;
        border-radius: 24px;
    }

    .drp-setup-actions {
        flex-direction: column;
    }

    .drp-setup-actions .drp-btn {
        width: 100%;
    }
}
