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

.pzc-hero h1{
    margin:8px 0;
    font-size:clamp(28px,4vw,42px);
    letter-spacing:-1px;
}

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

.pzc-eyebrow{
    color:#6d28d9;
    font-size:10px;
    font-weight:750;
    letter-spacing:1.2px;
}

.pzc-container{
    max-width:1100px;
    margin:auto;
}

.pzc-layout{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
    gap:16px;
    align-items:start;
}

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

.pzc-panel h2{
    margin:0 0 15px;
    font-size:17px;
}

.pzc-upload{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:9px;
    min-height:190px;
    padding:24px 14px;
    text-align:center;
    border:2px dashed #c4b5fd;
    border-radius:12px;
    background:linear-gradient(135deg,#fcfdff,#faf5ff);
    transition:background .2s,border-color .2s;
}

.pzc-upload:hover,.pzc-upload.drag{
    background:#f5f3ff;
    border-color:#7c3aed;
}

.pzc-icon{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    color:#7c3aed;
    background:#ede9fe;
    border-radius:12px;
}

.pzc-icon svg{
    width:29px;
    height:29px;
}

.pzc-upload h3{
    margin:0;
    font-size:16px;
}

.pzc-upload p{
    margin:0;
    color:#64748b;
    font-size:12px;
}

.pzc-file{
    padding:12px;
    margin:13px 0;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:8px;
    overflow-wrap:anywhere;
    font-size:13px;
}

.pzc-mode{
    display:flex;
    align-items:flex-start;
    gap:11px;
    padding:13px;
    margin-bottom:9px;
    border:1px solid #e2e8f0;
    border-radius:9px;
    background:#fff;
    cursor:pointer;
}

.pzc-mode:has(input:checked){
    border-color:#a78bfa;
    background:#f5f3ff;
}

.pzc-mode input{
    accent-color:#7c3aed;
    margin-top:4px;
    flex-shrink:0;
}

.pzc-mode strong{
    display:block;
    color:#17203a;
    font-size:13px;
}

.pzc-mode small{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:11px;
    line-height:1.6;
}

.pzc-warning{
    margin:12px 0;
    padding:12px;
    background:#fffbeb;
    color:#92400e;
    border:1px solid #fde68a;
    border-radius:8px;
    font-size:12px;
}

.pzc-field{
    display:block;
    margin:15px 0;
    color:#475569;
    font-size:12px;
    font-weight:650;
}

.pzc-field input,.pzc-field select{
    width:100%;
    min-height:42px;
    padding:9px 11px;
    margin-top:6px;
    border:1px solid #dce2ec;
    border-radius:8px;
    background:#fff;
    color:#17203a;
}

.pzc-stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin:15px 0;
}

.pzc-stat{
    min-width:0;
    padding:14px 10px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:9px;
}

.pzc-stat span{
    display:block;
    font-size:11px;
    color:#64748b;
}

.pzc-stat strong{
    display:block;
    margin-top:5px;
    font-size:20px;
    color:#17203a;
    overflow-wrap:anywhere;
}

.pzc-saving{
    background:var(--gradient);
    border-radius:11px;
    padding:18px;
    text-align:center;
    color:#fff;
}

.pzc-saving span{
    display:block;
    font-size:12px;
    color:#ede9fe;
}

.pzc-saving strong{
    display:block;
    font-size:32px;
    margin-top:7px;
    overflow-wrap:anywhere;
}

.pzc-actions{
    display:grid;
    gap:9px;
    margin:17px 0;
}

.pzc-actions .btn{
    width:100%;
    min-height:42px;
}

.pzc-actions .btn:disabled{
    opacity:.5;
    cursor:not-allowed;
}

#pzc-progress{
    width:100%;
    height:8px;
    accent-color:#7c3aed;
}

#pzc-status,#pzc-target-result{
    font-size:12px;
    color:#475569;
    overflow-wrap:anywhere;
    line-height:1.7;
}

#pzc-status[data-error="true"]{
    color:#b91c1c;
}

.pzc-note{
    font-size:11px;
    color:#64748b;
    line-height:1.7;
}

.pzc-consent{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:12px;
    color:#475569;
    margin:14px 0;
}

.pzc-consent input{
    accent-color:#7c3aed;
    flex-shrink:0;
}

.pzc-content{
    margin:25px 0;
}

.pzc-content p,.pzc-content li{
    line-height:1.85;
}

.pzc-content h2{
    font-size:23px;
    margin-top:27px;
}

.pzc-content h2:first-child{
    margin-top:0;
}

.pzc-table-wrap{
    overflow-x:auto;
}

.pzc-table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
}

.pzc-table th,.pzc-table td{
    padding:11px;
    border:1px solid #e2e8f0;
    text-align:left;
}

.pzc-table th{
    background:#f5f3ff;
    color:#6d28d9;
}

.pzc-container [hidden]{
    display:none!important;
}

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

@media(max-width:620px){
    .pzc-panel{
        padding:14px;
    }

    .pzc-field input,.pzc-field select{
        font-size:16px;
        min-height:44px;
    }

    .pzc-actions .btn,.pzc-upload .btn{
        min-height:44px;
    }
}

@media(prefers-reduced-motion:reduce){
    .pzc-upload{
        transition:none;
    }
}
