a { text-decoration: none; }
a:hover { font-weight: bold; }
.fusion-body .fusion-builder-column-8{width:83.333333333333% !important;margin-top:0;margin-bottom:0}
.collapse.show { display: block;}
.va_topics_block { display: inline-block; }
.va_topic { display: inline-block; color: blue; padding-right: 1em; }
.tooltip-inner { padding:2em; max-width:400px; }
/* Limit width */
.container { max-width: 980px; margin: 0 auto; }
ul {list-style: none; margin:0; padding:0;}

input[type=text].yellow {
		width: 60px;
		height: 2em;
		line-height: 2em;
		text-align: center;
		background-color: yellow;
		border: solid 1px gray;
	}

	.result {
		text-align: center;
		font-weight: bold;
	}

	.red,
	#offset,
	#multiplier {
		color: red;
	}
	.row.articles .article-wrapper {
		margin-bottom: 10px;
		background-color: #FFFFFF;
		box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	}
	.image-wrapper {
		width: 100%;
	}
	.article-wrapper.defect .article-description-wrapper {
		position: relative;
	}

	.row.articles .article-description-wrapper {
		color: #707070;
		position: relative;
		font-size: 14px;
    	line-height: 1.42857143;
	}
	.row.articles .description, .row.related .article-description-wrapper, .row.articles .attachments {
		padding: 15px;
	}
	.description figure { border: 1px #9C9C9C solid; max-width: 500px;}
	.defect-icon svg {
		width: 20px;
		height: 20px;
		margin-right: 5px;
	}

	svg:not(:root) {
		overflow: hidden;
	}
	.st2 {
		fill: #9c9c9c;
	}
	.article-description-wrapper h2 {
		color: #9C9C9C;
		font-size: 16px;
		font-weight: bold;
		text-align: left;
		margin: 0 0 10px;
	}
	.article-description-wrapper p {
		margin: 0 0 10px;
	}
    .user_picture { border-radius: 10%; width: 300px; height:300px; }


    #settingsBox, #eraseBox, #importBox {
        display: block;
        background-color: white;
        border-radius: 16px;
        padding: 2em;
    }
    #editBox {
        display: block;
        background-color: white;
        border-radius: 16px;
        padding: 2em;
        min-width: 550px;
    }
    #importBox { min-width: 400px; max-width: 90vw; }
    #importBox .file-list { margin-top: 1em; max-height: 200px; overflow-y: auto; }
    #importBox .file-item { padding: 4px 0; font-size: 14px; }
    #importBox .file-item.error { color: #dc3545; }
    #importBox .file-item.ok { color: #28a745; }
    #importBox input[type=file] { margin-top: 0.5em; }
    #importBox .import-actions { margin-top: 1em; text-align: center; }
    #importBox .import-actions button { padding: 10px 20px; margin: 0 5px; border: none; border-radius: 5px; cursor: pointer; }
    #importBox .import-actions .btn-upload { background: #0073aa; color: #fff; }
    #importBox .import-actions .btn-cancel { background: #ccc; color: #333; }
    #importBox #importStatus { margin-top: 0.5em; font-weight: bold; min-height: 1.2em; }
    #importBox .progress-container { width: 100%; height: 20px; background: #e9ecef; border-radius: 10px; margin-top: 0.5em; overflow: hidden; display: none; }
    #importBox .progress-bar { height: 100%; width: 0%; background: #0073aa; border-radius: 10px; transition: width 0.2s ease; }
    #importBox .progress-text { text-align: center; font-size: 12px; color: #666; margin-top: 4px; display: none; }
    .article-wrapper.processing { opacity: 0.55; background-color: #f0f0f0; }
    .article-wrapper.processing .processing-badge {
        display: inline-block; background: #ffc107; color: #333;
        padding: 4px 14px; border-radius: 12px; font-size: 12px; font-weight: bold; margin-top: 8px;
    }
    .article-wrapper.revised { opacity: 0.7; background-color: #fff8e1; border: 1px solid #ff9800; }
    .article-wrapper.revised .revised-badge {
        display: inline-block; background: #ff9800; color: #fff;
        padding: 4px 14px; border-radius: 12px; font-size: 12px; font-weight: bold; margin-top: 8px;
    }
    .revised-placeholder {
        width: 1660px; max-width: 100%;
        aspect-ratio: 1660 / 933;
        background: #fff3e0;
        display: flex; align-items: center; justify-content: center;
        color: #e65100; font-size: 14px; border: 1px dashed #ff9800;
    }
    #settingsBox .title, #editBox .title { margin-bottom: 1em; }
    #settingsBox input[type=text], #editBox input[type=text], #editBox select, #editBox textarea { border-color: #ccc; }
    #settingsBox input[type=submit], #editBox input[type=submit] {
        margin-top: 1em;
        padding: 12px 22px;
        background:#000;
        border:0 none;
        cursor:pointer;
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }
    #editBox .form-row { display: flex; gap: 1em; margin-bottom: 0.6em; max-width: 700px; }
    #editBox .form-row > div { flex: 1; }
    #editBox label { font-size: 13px; color: #555; }
    #editBox input[type=text], #editBox select, #editBox textarea { width: 100%; padding: 4px 6px; box-sizing: border-box; }
    #editBox textarea { resize: vertical; min-height: 60px; }
    svg.bi { vertical-align: text-bottom; }
    .btnErase { float:right;color:#dc3545;cursor:pointer;border:1px solid #dc3545;padding:6px 12px;border-radius:9px;width:86px;text-align:left;margin-bottom:9px;background-color:#fff; }
    .btnEdit { float:right;color:#333;cursor:pointer;border:1px solid #333;padding:6px 12px;border-radius:9px;width:86px;text-align:left;margin-bottom:9px;background-color:#fff; }
    #eraseBox input {
        margin-top: 1em;
        padding: 12px 22px;
        background: white;
        border-color: gray;
        border:2px solid black;
        cursor:pointer;
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }
    #eraseBox input.btnErase { color: #dc3545; border: 2px solid #dc3545; }

    .wp-block-columns.are-vertically-aligned-top {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .wp-block-column:first-child {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }

    .wp-block-column:nth-child(2) {
        flex: 1 1 100%;
        position: relative;
        padding-right: 0;
        min-width: 0;
        max-width: 100%;
    }

    @media (min-width: 900px) {
        .wp-block-columns.are-vertically-aligned-top {
            flex-wrap: nowrap;
            gap: 20px;
        }
        .wp-block-column:first-child {
            flex: 0 0 auto;
            max-width: 500px;
            min-width: 0;
        }
        .wp-block-column:nth-child(2) {
            flex: 1 1 0%;
            padding-right: 0;
            width: 100%;
        }
    }

    @media (max-width: 899px) {
        .wp-block-columns.are-vertically-aligned-top {
            flex-wrap: wrap;
        }
        .wp-block-column:first-child,
        .wp-block-column:nth-child(2) {
            flex: 1 1 100%;
            min-width: 0;
            max-width: 100%;
        }
    }

    /* Keep your existing button positioning but adjust */
    .wp-block-column:nth-child(2) .description > .buttons {
        position: absolute;
        right: 12px;
        top: 20px;
    }
    .waveform-score-badge {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .waveform-score-badge .wp-block-social-link-anchor {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

/* Modal Styles */
.hscope-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.hscope-modal-overlay.active {
    display: flex;
}
.hscope-modal-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.hscope-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

/* Promo Card Styles */
.hscope-promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    margin: 16px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.hscope-promo-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: white;
}
.hscope-promo-card .promo-message {
    margin: 0 0 12px 0;
    font-size: 0.95em;
    line-height: 1.5;
}
.hscope-promo-card .promo-code {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1.1em;
    letter-spacing: 2px;
}
.hscope-promo-card .promo-stats {
    display: flex;
    gap: 20px;
    margin: 12px 0;
}
.hscope-promo-card .stat {
    text-align: center;
}
.hscope-promo-card .stat-value {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
}
.hscope-promo-card .stat-label {
    font-size: 0.8em;
    opacity: 0.9;
}
.hscope-promo-card .promo-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85em;
}
.hscope-promo-card .promo-details p {
    margin: 4px 0;
}

/* 3-Column Profile Header Layout */
.hscope-profile-header {
    display: grid;
    grid-template-columns: 160px 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 2em;
}

.hscope-profile-col {
    min-width: 0;
}

.hscope-profile-picture {
    text-align: center;
}

.hscope-profile-picture .user-picture-wrapper {
    margin: 0;
    display: inline-block;
}

.hscope-profile-picture .user-picture-wrapper img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
}

.hscope-profile-info {
    padding-top: 0.5em;
}

.hscope-profile-info .social-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.hscope-profile-promo {
    padding-top: 0.5em;
}

/* Promo Card Styles */
.hscope-promo-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hscope-promo-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: white;
}

.hscope-promo-card .promo-message {
    margin: 0 0 12px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.hscope-promo-card .promo-code {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1.1em;
    letter-spacing: 2px;
}

.hscope-promo-card .promo-stats {
    display: flex;
    gap: 20px;
    margin: 12px 0;
}

.hscope-promo-card .stat {
    text-align: center;
}

.hscope-promo-card .stat-value {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
}

.hscope-promo-card .stat-label {
    font-size: 0.8em;
    opacity: 0.9;
}

.hscope-promo-card .promo-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.85em;
}

.hscope-promo-card .promo-details p {
    margin: 4px 0;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
    .hscope-profile-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hscope-profile-picture {
        text-align: left;
    }
    
    .hscope-profile-picture .user-picture-wrapper img {
        max-width: 100px;
    }
}
