.rportg-soft-wrapper {
    /* Biến CSS độc lập */
    --neo-border: 3px solid #111111;
    --neo-shadow: 5px 5px 0px #111111;
    
    --bg-main: #f0f4f8;
    --clr-yellow: #f4d35e;
    --clr-cyan: #00bbf9;
    --clr-white: #ffffff;
    --clr-red: #ef476f;
    --clr-green: #06d6a0;
    --clr-text: #111111;

    max-width: 950px; 
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--clr-text);
    background: var(--bg-main);
    padding: 20px;
    border: var(--neo-border);
    border-radius: 16px;
    box-shadow: 6px 6px 0px #111111;
}

.rportg-soft-wrapper * { box-sizing: border-box; }

.rportg-soft-header {
    background: #111; padding: 20px; color: #fff;
    border: var(--neo-border); border-radius: 12px;
    text-align: center; margin-bottom: 25px; box-shadow: var(--neo-shadow);
}
.rportg-soft-header h2 { margin: 0 0 10px 0; font-size: 1.7rem; font-weight: 900; color: var(--clr-cyan); text-transform: uppercase;}
.rportg-soft-header p { margin: 0; font-weight: 600; font-size: 0.95rem; color: #ccc;}

.rportg-body { padding: 0; }

/* BỐ CỤC 2 CỘT */
.rportg-main-layout { display: flex; flex-direction: column; gap: 20px; }
.rportg-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px;}
@media (min-width: 768px) { .rportg-main-layout { flex-direction: row; align-items: stretch; } }

/* CARDS */
.rportg-card {
    padding: 20px; border: var(--neo-border); 
    border-radius: 12px; box-shadow: var(--neo-shadow); display: flex; flex-direction: column;
}
.rportg-bg-yellow { background: var(--clr-yellow); }
.rportg-bg-white { background: var(--clr-white); flex: 1;}
.rportg-card-title { margin: 0 0 15px 0; font-size: 1.2rem; font-weight: 900; border-bottom: 2px dashed #111; padding-bottom: 10px; }

/* RADIO CARDS NEO-BRUTALISM */
.rportg-range-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; }
.rportg-radio-card { cursor: pointer; display: block; }
.rportg-radio-card input { display: none; }
.rportg-radio-content {
    display: flex; flex-direction: column; padding: 12px 15px; background: #fff;
    border: 2px solid #111; border-radius: 8px; box-shadow: 2px 2px 0px #111; transition: 0.1s;
}
.rportg-radio-card input:checked + .rportg-radio-content {
    background: var(--clr-cyan); box-shadow: inset 3px 3px 0px rgba(0,0,0,0.1); border-width: 3px;
}
.rportg-opt-title { font-weight: 900; font-size: 1rem; color: #111; }
.rportg-opt-desc { font-weight: 600; font-size: 0.8rem; color: #333; margin-top: 2px;}

/* CUSTOM BOX */
.rportg-custom-box { display: flex; gap: 15px; background: rgba(255,255,255,0.5); padding: 15px; border: 2px dashed #111; border-radius: 8px; }
.rportg-input-group { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.rportg-input-group label { font-weight: 800; font-size: 0.85rem; }
.rportg-input { padding: 8px; border: 2px solid #111; border-radius: 6px; font-weight: 900; outline: none; font-family: monospace; font-size: 1.1rem; text-align: center;}
.rportg-input:focus { border-color: var(--clr-cyan); }

.rportg-divider { border: 0; border-top: 2px dashed #111; margin: 20px 0; opacity: 0.3;}

/* RANGE SLIDER */
.rportg-group { margin-bottom: 20px; }
.rportg-label { font-weight: 900; font-size: 0.95rem; margin-bottom: 8px; display: block; }
.rportg-flex-between { display: flex; align-items: center; gap: 15px; }
.rportg-range { -webkit-appearance: none; flex: 1; height: 10px; background: #fff; border: 2px solid #111; border-radius: 5px; outline: none; }
.rportg-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: #111; border-radius: 50%; cursor: pointer; }
.rportg-num-input { width: 70px; padding: 6px; border: 2px solid #111; border-radius: 6px; font-weight: 900; text-align: center; outline: none; }

/* MAIN BUTTON */
.rportg-btn-main {
    width: 100%; padding: 15px; background: #111; color: var(--clr-yellow);
    border: 2px solid #111; border-radius: 8px; font-size: 1.2rem; font-weight: 900;
    cursor: pointer; box-shadow: 4px 4px 0px #fff, 6px 6px 0px #111; transition: 0.1s; text-transform: uppercase;
}
.rportg-btn-main:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px #111; }

/* HERO DISPLAY (1 PORT) */
.rportg-hero-display { background: var(--clr-cyan); border: 3px solid #111; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: inset 4px 4px 0px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%;}
.rportg-hero-label { font-size: 0.9rem; font-weight: 900; color: #111; letter-spacing: 2px; }
.rportg-hero-number { font-size: 4.5rem; font-weight: 900; color: #fff; text-shadow: 4px 4px 0px #111; margin: 10px 0 20px 0; font-family: monospace; line-height: 1;}

.rportg-btn-copy-hero, .rportg-btn-copy-list {
    background: #111; color: #fff; padding: 10px 20px; border: 2px solid #111; border-radius: 8px;
    font-weight: 900; font-size: 1rem; cursor: pointer; box-shadow: 3px 3px 0px var(--clr-yellow); transition: 0.1s;
}
.rportg-btn-copy-hero:active, .rportg-btn-copy-list:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px var(--clr-yellow); }

/* LIST DISPLAY (MULTI PORTS) */
.rportg-list-display { display: flex; flex-direction: column; height: 100%; gap: 15px;}
.rportg-textarea {
    flex: 1; min-height: 200px; padding: 15px; font-family: monospace; font-size: 1.2rem;
    font-weight: bold; color: #111; background: #f8f9fa; border: 3px solid #111; 
    border-radius: 8px; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); resize: none; outline: none;
}

.rportg-error-msg { margin-top: 15px; padding: 10px; background: var(--clr-red); color: #fff; font-weight: 800; font-size: 0.9rem; border: 2px solid #111; border-radius: 8px; text-align: center; }

/* INFO BOX */
.rportg-info-box { background: #e0fbfc; padding: 15px; border: 2px dashed #111; border-radius: 8px; box-shadow: 3px 3px 0px #111; }
.rportg-info-box h4 { margin: 0 0 5px 0; font-weight: 900; color: #111; font-size: 1rem;}
.rportg-info-box p { margin: 0; font-size: 0.85rem; font-weight: 600; line-height: 1.5; }