.sccr-wrap {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: #F7F8FA;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    position: relative
}

.sccr-wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.sccr-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: #fff;
    border-bottom: 1px solid #E8ECF1
}

.sccr-logo {
    font-size: 19px;
    font-weight: 700;
    color: #1A365D
}

.sccr-logo span {
    color: #2A4A7F;
    font-weight: 400
}

.sccr-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px
}

.sccr-upload-state {
    text-align: center
}

.sccr-upload-state h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 8px
}

.sccr-upload-state>p {
    color: #555;
    font-size: 15px;
    margin-bottom: 30px
}

.sccr-upload-area {
    border: 2px dashed #E8ECF1;
    border-radius: 12px;
    padding: 50px;
    cursor: pointer;
    transition: all .3s;
    background: #fff
}

.sccr-upload-area:hover,
.sccr-upload-area.dragover {
    border-color: #CE6E61;
    background: rgba(206, 110, 97, .03)
}

.sccr-icon {
    font-size: 48px;
    margin-bottom: 12px
}

.sccr-upload-area h3 {
    font-size: 18px;
    color: #1A365D;
    margin-bottom: 4px
}

.sccr-upload-area p {
    color: #888;
    font-size: 13px
}

.sccr-divider {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin: 24px 0;
    position: relative
}

.sccr-divider::before,
.sccr-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #E8ECF1
}

.sccr-divider::before {
    left: 0
}

.sccr-divider::after {
    right: 0
}

.sccr-textarea-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E8ECF1;
    overflow: hidden;
    margin-bottom: 20px
}

.sccr-textarea-box textarea {
    width: 100%;
    min-height: 160px;
    padding: 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    color: #333
}

.sccr-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap
}

.sccr-options select {
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #E8ECF1;
    font-family: inherit;
    font-size: 13px;
    color: #555;
    outline: none;
    background: #fff;
    cursor: pointer
}

.sccr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all .3s
}

.sccr-btn-coral {
    background: #CE6E61;
    color: #fff
}

.sccr-btn-coral:hover {
    background: #B85A4D
}

.sccr-btn-blue {
    background: #1A365D;
    color: #fff
}

.sccr-btn-blue:hover {
    background: #2A4A7F
}

.sccr-btn-o {
    background: transparent;
    color: #1A365D;
    border: 1px solid #E8ECF1
}

.sccr-btn-o:hover {
    border-color: #1A365D
}

.sccr-loading {
    display: none;
    text-align: center;
    padding: 80px
}

.sccr-loading.on {
    display: block
}

.sccr-loading h3 {
    color: #1A365D
}

.sccr-loading p {
    color: #888;
    margin-top: 6px
}

.sccr-spin {
    width: 40px;
    height: 40px;
    border: 3px solid #E8ECF1;
    border-top-color: #CE6E61;
    border-radius: 50%;
    animation: sccr-sp 1s linear infinite;
    margin: 0 auto 18px
}

@keyframes sccr-sp {
    to {
        transform: rotate(360deg)
    }
}

.sccr-load-step {
    padding: 8px 0;
    font-size: 14px;
    color: #CE6E61;
    animation: sccr-fadeIn .5s
}

@keyframes sccr-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.sccr-result {
    display: none
}

.sccr-result.on {
    display: block
}

.sccr-score-card {
    text-align: center;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E8ECF1;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08)
}

.sccr-score-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    background: conic-gradient(currentColor var(--pct), #E8ECF1 var(--pct))
}

.sccr-score-ring.danger {
    color: #E53E3E
}

.sccr-score-ring.warn {
    color: #D69E2E
}

.sccr-score-ring.ok {
    color: #48BB78
}

.sccr-score-label {
    font-size: 18px;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 4px
}

.sccr-score-desc {
    color: #888;
    font-size: 13px
}

.sccr-summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px
}

.sccr-summary-card {
    background: #fff;
    border: 1px solid #E8ECF1;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08)
}

.sccr-summary-card .num {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 2px
}

.sccr-summary-card .lbl {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px
}

.sccr-summary-card.danger .num {
    color: #E53E3E
}

.sccr-summary-card.warn .num {
    color: #D69E2E
}

.sccr-summary-card.ok .num {
    color: #48BB78
}

.sccr-result .findings {
    margin-bottom: 28px
}

.sccr-result .finding {
    background: #fff;
    border: 1px solid #E8ECF1;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 10px;
    border-left: 4px solid;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08)
}

.sccr-result .finding.danger {
    border-left-color: #E53E3E
}

.sccr-result .finding.warn {
    border-left-color: #ECC94B
}

.sccr-result .finding.ok {
    border-left-color: #48BB78
}

.sccr-result .finding-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

.sccr-result .finding-badge {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase
}

.sccr-result .finding.danger .finding-badge {
    background: rgba(229, 62, 62, .1);
    color: #E53E3E
}

.sccr-result .finding.warn .finding-badge {
    background: rgba(236, 201, 75, .12);
    color: #B7791F
}

.sccr-result .finding.ok .finding-badge {
    background: rgba(72, 187, 120, .1);
    color: #48BB78
}

.sccr-result .finding h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1A365D
}

.sccr-result .finding p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px
}

.sccr-result .finding .quote {
    font-size: 12px;
    color: #888;
    border-left: 2px solid #E8ECF1;
    padding-left: 12px;
    margin: 10px 0;
    font-style: italic
}

.sccr-result .finding .suggestion {
    background: rgba(26, 54, 93, .04);
    border: 1px solid rgba(26, 54, 93, .1);
    border-radius: 6px;
    padding: 12px;
    font-size: 12px;
    color: #2A4A7F;
    margin-top: 8px
}

.sccr-result .finding .suggestion b {
    color: #1A365D
}

.sccr-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px
}

.sccr-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #48BB78;
    color: #fff;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all .4s;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08)
}

.sccr-toast.show {
    transform: translateY(0);
    opacity: 1
}

@media(max-width:800px) {
    .sccr-summary-row {
        grid-template-columns: 1fr
    }

    .sccr-options {
        flex-direction: column;
        align-items: stretch
    }
}