.wc-hero{
    margin:14px 0 20px;
    padding:24px 18px;
    text-align:center;
    background:linear-gradient(
        120deg,#eff6ff,#ffffff,#f3e8ff
    );
    border:1px solid #e4e8f3;
    border-radius:13px;
    box-shadow:var(--shadow);
}

.wc-hero h1{
    margin:0 0 8px;
    font-size:clamp(27px,4vw,39px);
    letter-spacing:-1.2px;
}

.wc-hero p{
    margin:0;
    font-size:13px;
    color:#64748b;
}

.wc-workspace{
    display:grid;
    grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);
    gap:16px;
    align-items:start;
}

.wc-panel{
    min-width:0;
    padding:18px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:12px;
    box-shadow:var(--shadow);
}

.wc-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:14px;
}

.wc-heading h2{
    margin:0;
    font-size:16px;
    letter-spacing:-.3px;
}

.wc-soft{
    background:#f5f3ff;
    border-color:#ede9fe;
    color:#6d28d9;
}

.wc-soft:hover{
    background:#ede9fe;
    transform:translateY(-1px);
}

.wc-label{
    display:block;
    color:#64748b;
    font-size:12px;
    margin-bottom:8px;
}

#wc-input{
    display:block;
    width:100%;
    min-height:320px;
    padding:15px;
    background:#fcfdff;
    border:1px solid #dce2ec;
    border-radius:9px;
    color:#17203a;
    line-height:1.8;
    font-size:15px;
    resize:vertical;

    transition:border-color .2s,box-shadow .2s;
}

#wc-input:focus{
    outline:none;
    border-color:#a78bfa;
    box-shadow:0 0 0 4px #7c3aed12;
}

#wc-input::placeholder{
    color:#94a3b8;
}

.wc-toolbar{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin-top:13px;
}

.wc-toolbar .btn{
    min-height:34px;
    font-size:12px;
    padding:6px 12px;
}

.wc-toolbar svg{
    width:14px;
    height:14px;
}

.wc-private{
    display:flex;
    align-items:center;
    gap:6px;
    color:#047857;
    font-size:12px;
    margin:9px 0 0;
}

#wc-status{
    min-height:18px;
    margin:7px 0 0;
    font-size:12px;
    color:#475569;
}

.wc-live{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#047857;
    font-size:11px;
    font-weight:650;
}

.wc-live-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#10b981;
    animation:wcPulse 1.6s ease 3;
}

.wc-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px 14px;
    border-radius:9px;
    background:var(--gradient);
    color:#fff;
    box-shadow:0 4px 12px #7c3aed25;
}

.wc-total span{
    font-size:13px;
    font-weight:550;
}

.wc-total strong{
    font-size:28px;
    line-height:1.2;
    font-variant-numeric:tabular-nums;
    overflow-wrap:anywhere;
}

.wc-stat{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
    padding:10px 2px;
    border-bottom:1px solid #edf0f5;
    font-size:13px;
}

.wc-stat span{
    color:#64748b;
}

.wc-stat strong{
    color:#17203a;
    text-align:right;
    font-variant-numeric:tabular-nums;
    overflow-wrap:anywhere;
}

.wc-goal{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:15px;
    font-size:13px;
    font-weight:600;
}

#wc-goal{
    width:88px;
    min-height:34px;
    border:1px solid #dce2ec;
    border-radius:6px;
    padding:5px 8px;
    color:#17203a;
}

#wc-progress{
    display:block;
    width:100%;
    height:7px;
    margin:13px 0 9px;
    border:0;
    border-radius:10px;
    overflow:hidden;
    background:#ede9fe;
    accent-color:#7c3aed;
}

#wc-progress::-webkit-progress-bar{
    background:#ede9fe;
}

#wc-progress::-webkit-progress-value{
    background:var(--gradient);
    border-radius:10px;
    transition:width .2s ease;
}

#wc-progress::-moz-progress-bar{
    background:var(--gradient);
    border-radius:10px;
}

.wc-goal-status{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:7px;
    font-size:11px;
    color:#64748b;
}

#wc-percent{
    color:#7c3aed;
}

.wc-content{
    max-width:1000px;
    margin:26px auto 0;
}

.wc-content h2{
    font-size:23px;
}

.wc-content h3{
    margin-top:23px;
}

.wc-content ol{
    padding-left:20px;
}

.wc-content li{
    margin-bottom:6px;
}

@keyframes wcPulse{
    0%,100%{
        box-shadow:0 0 0 0 #10b98100;
    }
    50%{
        box-shadow:0 0 0 5px #10b98120;
    }
}

@media(max-width:850px){
    .wc-workspace{
        grid-template-columns:minmax(0,1fr);
    }
}

@media(max-width:620px){
    .wc-hero{
        padding:20px 13px;
        margin-bottom:14px;
    }

    .wc-panel{
        padding:14px;
    }

    #wc-input{
        min-height:240px;
        font-size:16px;
    }

    .wc-toolbar .btn,
    .wc-heading .btn,
    #wc-goal{
        min-height:44px;
    }

    #wc-goal{
        font-size:16px;
    }

    .wc-content{
        margin-top:18px;
    }
}

@media(pointer:coarse){
    .wc-toolbar .btn,
    .wc-heading .btn{
        min-height:44px;
    }
}

@media(prefers-reduced-motion:reduce){
    .wc-live-dot{
        animation:none;
    }

    #wc-progress::-webkit-progress-value{
        transition:none;
    }
}
