/* SOLIS MEDIA — Quick Tools v4 (Warm Sand Gold & Bold Readable Typography) */
#free-tools {
  scroll-margin-top: 88px;
  padding: 56px 0 64px !important;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(229, 193, 88, 0.10), rgba(239, 231, 214, 0.03) 45%, #0e0d0a 100%) !important;
  border-top: 1px solid rgba(239, 231, 214, 0.12);
  border-bottom: 1px solid rgba(239, 231, 214, 0.12);
}

#free-tools .qt-shell {
  width: 94vw;
  max-width: 1560px;
  margin: 0 auto;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f5eee0;
}

.qt-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.qt-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5c158;
  margin-bottom: 6px;
}

.qt-h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #efe7d6;
  line-height: 1.15;
  margin: 0;
}

.qt-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.qt-search {
  position: relative;
  width: 300px;
}

.qt-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e937d;
  pointer-events: none;
}

.qt-search input {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(239, 231, 214, 0.2);
  background: #1a1712;
  color: #f5eee0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0 38px 0 38px;
  outline: none;
}
.qt-search input::placeholder { color: #8c826e; font-weight: 500; }
.qt-search input:focus { border-color: #e5c158; }

.qt-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #a89d86;
  border: 1px solid rgba(239, 231, 214, 0.18);
  border-radius: 4px;
  padding: 1px 6px;
  pointer-events: none;
}

.qt-engine {
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(239, 231, 214, 0.18);
  background: #1a1712;
  color: #e2d7c1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.qt-engine:hover { border-color: #e5c158; }

.qt-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.qt-dot.ok { background: #10b981; }
.qt-dot.off { background: #736b5c; }
.qt-dot.sand { background: #e5c158; }

/* Main Console Frame — Warm Sand-Tinted Obsidian */
.qt-frame {
  background: linear-gradient(180deg, #1b1812 0%, #14120e 100%);
  border: 1px solid rgba(239, 231, 214, 0.18);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.qt-catbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(239, 231, 214, 0.12);
  background: #16130e;
  flex-wrap: wrap;
}

.qt-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.qt-tab {
  height: 36px;
  padding: 0 15px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #bfb49e;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.12s;
}
.qt-tab:hover { color: #f5eee0; background: rgba(239, 231, 214, 0.06); }
.qt-tab.active {
  background: rgba(229, 193, 88, 0.18);
  border-color: rgba(229, 193, 88, 0.5);
  color: #f3d77f;
}
.qt-tab .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.8;
}

.qt-pins {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #9e937d;
  flex-wrap: wrap;
}

.qt-pin {
  height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  border: 1px solid rgba(239, 231, 214, 0.16);
  background: #211d16;
  color: #e6dbc5;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.qt-pin:hover { border-color: #e5c158; color: #f5eee0; }

/* Body */
.qt-body {
  display: grid;
  grid-template-columns: 315px 1fr;
  min-height: 600px;
}

.qt-rail {
  background: #14120d;
  border-right: 1px solid rgba(239, 231, 214, 0.12);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.qt-item {
  position: relative;
  width: 100%;
  padding: 12px 13px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #c2b7a1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s;
}
.qt-item:hover { background: rgba(239, 231, 214, 0.06); color: #f5eee0; }
.qt-item.active {
  background: #241f17;
  border-color: rgba(229, 193, 88, 0.35);
  color: #f7f0e2;
}
.qt-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: #e5c158;
}
.qt-item.locked { opacity: 0.48; }
.qt-item.locked .qt-tag { color: #b45858; }

.qt-item-l {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.qt-ico { color: #b5a992; flex-shrink: 0; display: flex; }
.qt-item.active .qt-ico { color: #e5c158; }

.qt-name {
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qt-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #9c917b;
  flex-shrink: 0;
}

/* Right Desk */
.qt-desk {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #1a1712;
}

.qt-desk-top {
  padding: 18px 26px;
  border-bottom: 1px solid rgba(239, 231, 214, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.qt-desk-top h3 {
  font-size: 20px;
  font-weight: 800;
  color: #efe7d6;
  margin: 0;
  letter-spacing: -0.015em;
}

.qt-desk-top p {
  font-size: 14px;
  font-weight: 500;
  color: #bfb49e;
  margin: 4px 0 0;
}

.qt-rt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #e6dbc5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 7px;
  background: #231f18;
  border: 1px solid rgba(239, 231, 214, 0.16);
}

/* Parameter Bar */
.qt-params {
  padding: 13px 26px;
  border-bottom: 1px solid rgba(239, 231, 214, 0.1);
  background: rgba(239, 231, 214, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.qt-pgroup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.qt-seg {
  display: inline-flex;
  background: #110f0b;
  border: 1px solid rgba(239, 231, 214, 0.16);
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}
.qt-seg button {
  height: 30px;
  padding: 0 13px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #b5a992;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.qt-seg button.active {
  background: #2c261c;
  color: #efe7d6;
}

.qt-range {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #cfc4ae;
}
.qt-range input[type="range"] { width: 104px; accent-color: #e5c158; cursor: pointer; }
.qt-rval { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 700; color: #e5c158; min-width: 40px; }

.qt-chk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: #cfc4ae;
  font-size: 13.5px;
  font-weight: 600;
}
.qt-chk input { accent-color: #e5c158; width: 16px; height: 16px; cursor: pointer; }

/* Stage */
.qt-stage {
  flex: 1;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
}

.qt-empty {
  flex: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  min-height: 340px;
}

.qt-drop {
  border: 1.5px dashed rgba(229, 193, 88, 0.34);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 42%, rgba(229, 193, 88, 0.09), rgba(20, 18, 13, 0.7) 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.qt-drop:hover, .qt-drop.dragover {
  border-color: #e5c158;
  background: radial-gradient(circle at 50% 42%, rgba(229, 193, 88, 0.15), rgba(20, 18, 13, 0.72) 75%);
}

.qt-drop-ico {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  border: 1px solid rgba(229, 193, 88, 0.35);
  background: #241f17;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5c158;
}

.qt-drop-title { font-size: 17px; font-weight: 700; color: #f5eee0; }
.qt-drop-sub { font-size: 14px; font-weight: 500; color: #bfb49e; max-width: 400px; }
.qt-drop-fmt { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 600; color: #9c917b; margin-top: 6px; }

.qt-sample {
  border: 1px solid rgba(239, 231, 214, 0.16);
  border-radius: 12px;
  background: #14120d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.qt-sample-img { flex: 1; min-height: 210px; position: relative; overflow: hidden; background: #0d0c09; }
.qt-sample-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.qt-sample-foot {
  padding: 13px 16px;
  border-top: 1px solid rgba(239, 231, 214, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qt-btn-out {
  height: 36px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid rgba(239, 231, 214, 0.24);
  background: #241f17;
  color: #efe7d6;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.qt-btn-out:hover { background: #30291e; border-color: #e5c158; }

/* Live Media Stage */
.qt-live {
  flex: 1;
  border: 1px solid rgba(239, 231, 214, 0.2);
  border-radius: 12px;
  background: #0f0d0a;
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.qt-ba {
  position: relative;
  width: 100%;
  height: 440px;
  cursor: ew-resize;
  background-image:
    linear-gradient(45deg, #1b1812 25%, transparent 25%),
    linear-gradient(-45deg, #1b1812 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1b1812 75%),
    linear-gradient(-45deg, transparent 75%, #1b1812 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

.qt-ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.qt-ba-before { clip-path: inset(0 50% 0 0); }
.qt-ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #e5c158; pointer-events: none; }
.qt-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #14120d;
  border: 2px solid #e5c158;
  color: #e5c158;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.qt-pill {
  position: absolute;
  top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(16, 14, 10, 0.88);
  border: 1px solid rgba(239, 231, 214, 0.22);
  color: #efe7d6;
  pointer-events: none;
}
.qt-pill.left { left: 12px; }
.qt-pill.right { right: 12px; color: #e5c158; border-color: rgba(229, 193, 88, 0.45); }

.qt-filebar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.qt-filechip {
  pointer-events: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  background: rgba(16, 14, 10, 0.9);
  border: 1px solid rgba(239, 231, 214, 0.2);
  color: #e6dbc5;
}

/* URL Box */
.qt-urlbox {
  flex: 1;
  border: 1px solid rgba(239, 231, 214, 0.16);
  border-radius: 12px;
  background: #14120d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  gap: 14px;
}
.qt-urlrow { width: 100%; max-width: 660px; display: flex; gap: 10px; }

/* Bo chon giong Vbee (03/12/2026) - tim kiem + loc gioi tinh + danh sach cuon, thay cho
   1 the <select> phang 335 dong khong tim kiem duoc. */
.qt-voice-picker { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.qt-voice-picker-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qt-voice-picker-top input {
  flex: 1; min-width: 180px; height: 38px; border-radius: 8px;
  border: 1px solid rgba(239, 231, 214, 0.22); background: #0e0d0a; color: #f5eee0;
  font-size: 13px; font-weight: 600; padding: 0 12px; outline: none;
}
.qt-voice-gender-filter { display: flex; gap: 6px; flex-shrink: 0; }
.qt-voice-gbtn {
  height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(239, 231, 214, 0.18);
  background: transparent; color: #cfc6b4; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: all .15s ease;
}
.qt-voice-gbtn:hover { border-color: rgba(229, 193, 88, 0.4); color: #f5eee0; }
.qt-voice-gbtn.active { background: #e5c158; border-color: #e5c158; color: #14120d; }
.qt-voice-list {
  width: 100%; max-height: 220px; overflow-y: auto; border: 1px solid rgba(239, 231, 214, 0.14);
  border-radius: 8px; background: #0e0d0a;
}
.qt-voice-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer;
  border-bottom: 1px solid rgba(239, 231, 214, 0.07); transition: background .1s ease;
}
.qt-voice-row:last-child { border-bottom: none; }
.qt-voice-row:hover { background: rgba(229, 193, 88, 0.08); }
.qt-voice-row.active { background: rgba(229, 193, 88, 0.16); }
.qt-voice-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #14120d;
}
.qt-voice-name { flex: 1; font-size: 13px; font-weight: 600; color: #f5eee0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-voice-region {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: #cfc6b4;
  background: rgba(239, 231, 214, 0.1); border: 1px solid rgba(239, 231, 214, 0.18);
  border-radius: 20px; padding: 2px 8px; flex-shrink: 0;
}
.qt-voice-gender {
  font-size: 10px; font-weight: 700; border-radius: 20px; padding: 2px 8px; flex-shrink: 0;
}
.qt-voice-gender.f { background: rgba(224, 122, 158, 0.18); color: #e07a9e; }
.qt-voice-gender.m { background: rgba(111, 168, 220, 0.18); color: #6fa8dc; }
.qt-voice-filter-label { font-size: 11.5px; color: #9c917b; flex-shrink: 0; }
.qt-voice-cat {
  display: inline-block; font-size: 10px; font-weight: 700;
  border: 1px solid; border-radius: 20px; padding: 2px 9px; flex-shrink: 0;
}
.qt-voice-credit {
  font-size: 10px; font-weight: 800; color: #14120d; background: #e5c158;
  border-radius: 20px; padding: 2px 8px; flex-shrink: 0;
}
.qt-voice-demo-btn {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(239, 231, 214, 0.2);
  background: transparent; color: #cfc6b4; font-size: 11px; cursor: pointer; transition: all .15s ease;
}
.qt-voice-demo-btn:hover { background: #e5c158; border-color: #e5c158; color: #14120d; }
.qt-voice-demo-btn.playing { background: #b0442e; border-color: #b0442e; color: #fff; animation: qtPulse 1.2s ease-in-out infinite; }
@keyframes qtPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.qt-voice-select-btn {
  flex-shrink: 0; height: 26px; padding: 0 11px; border-radius: 20px; border: 1px solid rgba(239, 231, 214, 0.25);
  background: transparent; color: #cfc6b4; font-size: 11px; font-weight: 700; cursor: pointer; transition: all .15s ease;
}
.qt-voice-select-btn:hover { border-color: #e5c158; color: #f5eee0; }
.qt-voice-select-btn.selected { background: #e5c158; border-color: #e5c158; color: #14120d; }
.qt-voice-empty { padding: 20px; text-align: center; color: #9c917b; font-size: 12.5px; }
.qt-voice-selected { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #cfc6b4; }
.qt-voice-selected b { color: #f5eee0; }
.qt-urlrow input {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(239, 231, 214, 0.22);
  background: #0e0d0a;
  color: #f5eee0;
  font-size: 14.5px;
  font-weight: 600;
  padding: 0 14px;
  outline: none;
}
.qt-urlrow input:focus { border-color: #e5c158; }

/* Status Banner */
.qt-status {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.35);
  color: #f3d77f;
  font-size: 13.5px;
  font-weight: 600;
  display: none;
}
.qt-status.show { display: block; }
.qt-status.err { background: rgba(255, 111, 97, 0.12); border-color: rgba(255, 111, 97, 0.4); color: #ff8e83; }
.qt-status.ok { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }

/* Desk Footer */
.qt-foot {
  padding: 16px 26px;
  border-top: 1px solid rgba(239, 231, 214, 0.12);
  background: #14120d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.qt-foot-l { font-size: 13px; font-weight: 600; color: #9c917b; }
.qt-foot-l.qt-foot-locked { color: #b45858 !important; }
.qt-foot-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.qt-btn-gold {
  height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  border: none;
  background: #e5c158;
  color: #110f0b;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qt-btn-gold:hover { opacity: 0.92; }
.qt-btn-gold:disabled { opacity: 0.3; cursor: not-allowed; }

.qt-btn-dl {
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: none;
  background: #10b981;
  color: #052017;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

@media (max-width: 980px) {
  #free-tools .qt-shell { width: 100%; padding: 0 14px; }
  .qt-body { grid-template-columns: 1fr; }
  .qt-rail { border-right: none; border-bottom: 1px solid rgba(239, 231, 214, 0.12); flex-direction: row; overflow-x: auto; }
  .qt-item { width: auto; white-space: nowrap; }
  .qt-empty { grid-template-columns: 1fr; }
}

/* Real-time Progress Bar & Timer */
.qt-prog-wrap {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 9px;
  background: #14120d;
  border: 1px solid rgba(229, 193, 88, 0.35);
}
.qt-prog-wrap.show { display: flex; }
.qt-prog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #f3d77f;
  flex-wrap: wrap;
}
.qt-prog-stats {
  color: #e6dbc5;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.qt-prog-track {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: rgba(239, 231, 214, 0.1);
  overflow: hidden;
}
.qt-prog-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #d4af37, #f3d77f);
  transition: width 0.18s ease;
}
.qt-prog-fill.done {
  background: #10b981;
}

/* Dual-image Face -> Body Swap dropzones */
.qt-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  flex: 1;
}
.qt-dual-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 300px;
  padding: 36px 16px 16px;
  border: 1.5px dashed rgba(229, 193, 88, 0.32);
  border-radius: 12px;
  background: rgba(15, 17, 24, 0.72);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: center;
}
.qt-dual-slot:hover, .qt-dual-slot.dragover {
  border-color: #e5c158;
  background: rgba(229, 193, 88, 0.06);
}
.qt-dual-slot.filled {
  border-style: solid;
  border-color: rgba(229, 193, 88, 0.45);
  padding: 36px 12px 12px;
}
.qt-dual-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e5c158;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.3);
  padding: 3px 9px;
  border-radius: 6px;
}
.qt-dual-thumb {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0c0d12;
}
.qt-dual-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.qt-dual-foot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .qt-dual-grid { grid-template-columns: 1fr; }
  .qt-dual-slot { min-height: 210px; }
  .qt-dual-thumb { height: 170px; }
}

/* === SOLIS_QT_WARM_IVORY (#f6f2e9 / #ffffff) === */
#free-tools, #solisQuickToolsRoot { background: transparent !important; color: #1a1816 !important; }
#solisQuickToolsRoot .qt-h1, #solisQuickToolsRoot .qt-desk-top h3, #solisQuickToolsRoot .qt-drop-title { color: #1a1816 !important; }
#solisQuickToolsRoot .qt-eyebrow { color: #b8862d !important; }
#solisQuickToolsRoot .qt-desk-top p, #solisQuickToolsRoot .qt-drop-sub, #solisQuickToolsRoot .qt-foot-l, #solisQuickToolsRoot .qt-pins span { color: #5c564d !important; }
#solisQuickToolsRoot .qt-foot-l.qt-foot-locked { color: #b0442e !important; }
/* .qt-urlbox giu nen toi rieng (#14120d) lam "stage" dan link/van ban - chu khong trang nhu
   .qt-stage xung quanh, nen phai tra lai mau sang cho tieu de/mo ta ben trong no, khong de
   override ivory ben tren bien chung thanh gan-den-tren-den (vo hinh). */
#solisQuickToolsRoot .qt-urlbox .qt-drop-title { color: #f5eee0 !important; }
#solisQuickToolsRoot .qt-urlbox .qt-drop-sub { color: #cfc6b4 !important; }
#solisQuickToolsRoot .qt-frame { background: #ffffff !important; border: 1px solid rgba(26,24,22,0.12) !important; box-shadow: 0 12px 32px rgba(26,24,22,0.05) !important; }
#solisQuickToolsRoot .qt-catbar, #solisQuickToolsRoot .qt-rail, #solisQuickToolsRoot .qt-params, #solisQuickToolsRoot .qt-foot { background: #f9f6ef !important; border-color: rgba(26,24,22,0.10) !important; }
#solisQuickToolsRoot .qt-desk, #solisQuickToolsRoot .qt-stage { background: #ffffff !important; }
#solisQuickToolsRoot .qt-tab, #solisQuickToolsRoot .qt-item, #solisQuickToolsRoot .qt-pin, #solisQuickToolsRoot .qt-btn-out, #solisQuickToolsRoot .qt-seg button, #solisQuickToolsRoot .qt-engine, #solisQuickToolsRoot .qt-search {
  background: #ffffff !important; color: #1a1816 !important; border-color: rgba(26,24,22,0.14) !important;
}
#solisQuickToolsRoot .qt-search input { color: #1a1816 !important; }
#solisQuickToolsRoot .qt-tab.active, #solisQuickToolsRoot .qt-item.active, #solisQuickToolsRoot .qt-seg button.active {
  background: rgba(184,134,45,0.14) !important; color: #9e7122 !important; border-color: #b8862d !important;
}
#solisQuickToolsRoot .qt-drop, #solisQuickToolsRoot .qt-dual-slot, #solisQuickToolsRoot .qt-sample {
  background: #faf7f0 !important; border-color: rgba(184,134,45,0.35) !important; color: #1a1816 !important;
}
#solisQuickToolsRoot .qt-btn-gold { background: #1a1816 !important; color: #f6f2e9 !important; }
#solisQuickToolsRoot .qt-btn-gold:hover:not(:disabled) { background: #b8862d !important; color: #ffffff !important; }
