.rq-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 20px 0;
}

.rq-col {
    flex: 1 1 480px;
    min-width: 320px;
}

.rq-panel {
    background: #1F1F1F;
    color: #FFFFFF;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.rq-panel h1,
.rq-panel h2,
.rq-panel h3 {
    margin-top: 0;
    color: #FFFFFF;
}

.rq-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: center;
}

.rq-row input[type="text"],
.rq-row input[type="number"],
.rq-row select {
    background: #111;
    color: #FFF;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px 10px;
}

.rq-row button,
.rq-btn {
    background: #FF8802;
    color: #FFF;
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
}

.rq-row button[disabled],
.rq-btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.rq-btn-secondary {
    background: #444;
}

.rq-small {
    font-size: 0.92em;
    color: #CCC;
}

.rq-help {
    font-size: 0.95em;
    line-height: 1.45;
    color: #DDD;
}

.rq-help p {
    margin: 0 0 10px 0;
}

.rq-help a {
    color: #FF8802;
}

.rq-search-results {
    margin-top: 15px;
}

.rq-software-block {
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.rq-software-head {
    background: #2A2A2A;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rq-software-head:hover {
    background: #303030;
}

.rq-software-meta {
    font-size: 0.9em;
    color: #CCC;
}

.rq-tracks {
    display: none;
    padding: 10px 12px;
    background: #181818;
}

.rq-track-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #2B2B2B;
}

.rq-track-row:last-child {
    border-bottom: 0;
}

.rq-track-title {
    flex: 1;
}

.rq-track-duration {
    min-width: 60px;
    text-align: right;
    color: #CCC;
}

.rq-add-btn,
.rq-remove-btn {
    background: #FF8802;
    color: #FFF;
    border: 0;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
}

.rq-remove-btn {
    background: #A33;
}

.rq-playlist-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rq-playlist-item {
    display: flex;
	position: relative;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #181818;
    margin-bottom: 8px;
    cursor: move;
}

.rq-playlist-handle {
    color: #AAA;
    font-size: 18px;
    user-select: none;
}

.rq-playlist-main {
    flex: 1;
}

.rq-playlist-soft {
    font-size: 0.9em;
    color: #BBB;
}

.rq-playlist-item.rq-dragging {
  opacity: 0.45;
}

.rq-playlist-item.rq-drop-before::before,
.rq-playlist-item.rq-drop-after::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  background: #FF8802;
  border-radius: 3px;
  pointer-events: none;
}

.rq-playlist-item.rq-drop-before::before {
  top: -3px;
}

.rq-playlist-item.rq-drop-after::after {
  bottom: -3px;
}

.rq-playlist-item.rq-dragging::before,
.rq-playlist-item.rq-dragging::after {
  display: none;
}

.rq-empty {
    color: #AAA;
    font-style: italic;
}

.rq-confirm-box {
    display: none;
    margin-top: 15px;
    padding: 14px;
    background: #141414;
    border: 1px solid #444;
    border-radius: 8px;
}

.rq-confirm-list {
    margin: 10px 0 0 18px;
    padding: 0;
}

.rq-message {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    white-space: pre-line;
}

.rq-message.success {
    background: #17351f;
    border: 1px solid #2e6d3e;
    color: #d9ffd9;
}

.rq-message.error {
    background: #3a1717;
    border: 1px solid #7d2d2d;
    color: #ffd9d9;
}

.rq-quota-box {
    background: #141414;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 14px;
}

.rq-quota-line {
    font-size: 1em;
    line-height: 1.35;
    color: #EAEAEA;
}

.rq-warning {
    color: #FFB347;
}

.rq-blocked {
    color: #FF8A8A;
}
.rq-track-row.is-disabled {
    opacity: 0.45;
}

.rq-track-row.is-disabled .rq-track-title,
.rq-track-row.is-disabled .rq-track-duration {
    color: #A0A0A0;
}

.rq-track-status {
    min-width: 220px;
    text-align: right;
    font-size: 0.85em;
    color: #FFB347;
}