/* ==========================================================================
   WP TCMS - FRONTEND FLOATING PANEL CSS
   Aesthetics: Premium Dark Mode, Glassmorphic panels, glowing micro-animations
   ========================================================================== */

:root {
  --wptcms-bg: rgba(10, 15, 30, 0.95);
  --wptcms-border: rgba(255, 255, 255, 0.08);
  --wptcms-primary: #8a7cfd;
  --wptcms-primary-glow: rgba(138, 124, 253, 0.35);
  --wptcms-success: #10b981;
  --wptcms-success-glow: rgba(16, 185, 129, 0.2);
  --wptcms-danger: #ef4444;
  --wptcms-danger-glow: rgba(239, 68, 68, 0.2);
  --wptcms-text: #f3f4f6;
  --wptcms-text-muted: #9ca3af;
  --wptcms-font: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

#wp-tcms-frontend-wrapper {
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
  z-index: 9999998 !important;
  font-family: var(--wptcms-font) !important;
  color: var(--wptcms-text) !important;
  line-height: normal !important;
}

#wp-tcms-frontend-wrapper > * {
  pointer-events: auto !important;
}

/* CSS Isolation & Universal Reset for WP-TCMS Frontend elements */
#wp-tcms-frontend-wrapper,
#wp-tcms-frontend-wrapper * {
  box-sizing: border-box !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

#wp-tcms-frontend-wrapper input,
#wp-tcms-frontend-wrapper select,
#wp-tcms-frontend-wrapper button,
#wp-tcms-frontend-wrapper textarea {
  font-family: var(--wptcms-font) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-shadow: none !important;
}

#wp-tcms-frontend-wrapper p {
  margin: 0 !important;
  line-height: 1.5 !important;
}

#wp-tcms-frontend-wrapper label {
  margin: 0 !important;
}

/* Floating Action Button (FAB) */
#wp-tcms-frontend-wrapper .wptcms-fab,
.wptcms-fab {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  animation: wptcms-pulse 2s infinite;
}

.wptcms-fab:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.wptcms-fab svg {
  width: 24px;
  height: 24px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes wptcms-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

/* Main Sliding Panel */
#wp-tcms-frontend-wrapper .wptcms-panel,
.wptcms-panel {
  position: fixed !important;
  bottom: 90px;
  right: 24px;
  width: 380px;
  height: 600px;
  min-width: 300px !important;
  max-width: calc(100vw - 20px) !important;
  min-height: 52px !important;
  max-height: calc(100vh - 20px) !important;
  background: var(--wptcms-bg) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--wptcms-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 9999998 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
}

/* Collapsed State - Thu gọn panel thành thanh Header nổi */
.wptcms-panel.collapsed {
  height: auto !important;
  min-height: 52px !important;
}

.wptcms-panel.collapsed .wptcms-body,
.wptcms-panel.collapsed .wptcms-actions,
.wptcms-panel.collapsed .wptcms-footer,
.wptcms-panel.collapsed .wptcms-resizer-bottom,
.wptcms-panel.collapsed .wptcms-resizer-corner-br,
.wptcms-panel.collapsed .wptcms-resizer-corner-bl {
  display: none !important;
}

/* Tay cầm kéo giãn chiều rộng bên trái (Left Resizer Handle) */
.wptcms-resizer-left {
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: calc(100% - 16px);
  cursor: ew-resize;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.wptcms-resizer-left::after {
  content: '';
  width: 3px;
  height: 36px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.wptcms-resizer-left:hover,
.wptcms-resizer-left.resizing {
  background: rgba(138, 124, 253, 0.2);
}

.wptcms-resizer-left:hover::after,
.wptcms-resizer-left.resizing::after {
  background: #a5b4fc;
  box-shadow: 0 0 8px rgba(165, 180, 252, 0.8);
}

/* Tay cầm kéo giãn chiều rộng bên phải (Right Resizer Handle) */
.wptcms-resizer-right {
  position: absolute;
  right: 0;
  top: 16px;
  width: 10px;
  height: calc(100% - 16px);
  cursor: ew-resize;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.wptcms-resizer-right::after {
  content: '';
  width: 3px;
  height: 36px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.wptcms-resizer-right:hover,
.wptcms-resizer-right.resizing {
  background: rgba(138, 124, 253, 0.2);
}

.wptcms-resizer-right:hover::after,
.wptcms-resizer-right.resizing::after {
  background: #a5b4fc;
  box-shadow: 0 0 8px rgba(165, 180, 252, 0.8);
}

/* Tay cầm kéo giãn chiều cao ở mép trên (Top Resizer Handle) */
.wptcms-resizer-top {
  position: absolute;
  top: 0;
  left: 16px;
  width: calc(100% - 32px);
  height: 10px;
  cursor: ns-resize;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.wptcms-resizer-top::after {
  content: '';
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.wptcms-resizer-top:hover,
.wptcms-resizer-top.resizing {
  background: rgba(138, 124, 253, 0.2);
}

.wptcms-resizer-top:hover::after,
.wptcms-resizer-top.resizing::after {
  background: #a5b4fc;
  box-shadow: 0 0 8px rgba(165, 180, 252, 0.8);
}

/* Tay cầm kéo giãn chiều cao ở mép dưới (Bottom Resizer Handle) */
.wptcms-resizer-bottom {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: calc(100% - 32px);
  height: 10px;
  cursor: ns-resize;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.wptcms-resizer-bottom::after {
  content: '';
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.wptcms-resizer-bottom:hover,
.wptcms-resizer-bottom.resizing {
  background: rgba(138, 124, 253, 0.2);
}

.wptcms-resizer-bottom:hover::after,
.wptcms-resizer-bottom.resizing::after {
  background: #a5b4fc;
  box-shadow: 0 0 8px rgba(165, 180, 252, 0.8);
}

/* Tay cầm kéo giãn các góc (Corner Resizer Handles) */
.wptcms-resizer-corner,
.wptcms-resizer-corner-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  cursor: nwse-resize;
  z-index: 1000;
  border-top-left-radius: 16px;
  transition: background 0.2s ease;
}

.wptcms-resizer-corner-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  cursor: nesw-resize;
  z-index: 1000;
  border-top-right-radius: 16px;
  transition: background 0.2s ease;
}

.wptcms-resizer-corner-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18px;
  height: 18px;
  cursor: nesw-resize;
  z-index: 1000;
  border-bottom-left-radius: 16px;
  transition: background 0.2s ease;
}

.wptcms-resizer-corner-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
  z-index: 1000;
  border-bottom-right-radius: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 3px;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.wptcms-resizer-corner-br::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease;
}

.wptcms-resizer-corner:hover,
.wptcms-resizer-corner.resizing,
.wptcms-resizer-corner-tl:hover,
.wptcms-resizer-corner-tl.resizing,
.wptcms-resizer-corner-tr:hover,
.wptcms-resizer-corner-tr.resizing,
.wptcms-resizer-corner-bl:hover,
.wptcms-resizer-corner-bl.resizing,
.wptcms-resizer-corner-br:hover,
.wptcms-resizer-corner-br.resizing {
  background: rgba(138, 124, 253, 0.4);
  box-shadow: 0 0 10px rgba(165, 180, 252, 0.9);
}

.wptcms-resizer-corner-br:hover::after,
.wptcms-resizer-corner-br.resizing::after {
  border-color: #a5b4fc;
}

.wptcms-panel.active,
#wp-tcms-frontend-wrapper .wptcms-panel.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: all !important;
}

/* Panel Header */
.wptcms-header {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--wptcms-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: move; /* Indicates draggable */
}

.wptcms-title-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wptcms-logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #a5b4fc, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wptcms-min-btn,
.wptcms-close-btn {
  background: transparent;
  border: none;
  color: var(--wptcms-text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.wptcms-min-btn:hover,
.wptcms-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--wptcms-text);
}

.wptcms-min-btn:hover {
  color: #a5b4fc;
}

/* Panel Body / Viewports */
.wptcms-body {
  padding: 14px 16px !important;
  overflow-y: auto !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-height: 0 !important;
}

/* Quick Page Info */
.wptcms-info-badge {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--wptcms-border) !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex-shrink: 0 !important;
}

.wptcms-info-badge span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.4 !important;
}

.wptcms-info-label {
  color: var(--wptcms-text-muted) !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
}

/* Selection / Controls */
.wptcms-select-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.wptcms-select-group label {
  font-size: 11.5px !important;
  color: var(--wptcms-text-muted) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wptcms-select {
  height: unset !important;
}

/* Dropdown Selects - Complete clipping prevention across all WordPress themes */
#wp-tcms-frontend-wrapper select.wptcms-select {
  display: block !important;
  width: 100% !important;
  height: unset !important;
  min-height: 40px !important;
  max-height: unset !important;
  line-height: 1.4 !important;
  padding: 8px 36px 8px 12px !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
  font-family: var(--wptcms-font) !important;
  font-weight: 500 !important;
  color: #f3f4f6 !important;
  background-color: rgba(15, 23, 42, 0.8) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  border: 1px solid var(--wptcms-border) !important;
  border-radius: 8px !important;
  outline: none !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  vertical-align: middle !important;
  text-indent: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

#wp-tcms-frontend-wrapper select.wptcms-select:focus {
  border-color: var(--wptcms-primary) !important;
  box-shadow: 0 0 0 2px var(--wptcms-primary-glow) !important;
}

#wp-tcms-frontend-wrapper select.wptcms-select option {
  background-color: #0f172a !important;
  color: #f3f4f6 !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-family: var(--wptcms-font) !important;
  line-height: 1.4 !important;
}

/* Pinned Action Buttons Toolbar */
#wp-tcms-frontend-wrapper .wptcms-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  background: rgba(10, 15, 30, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid var(--wptcms-border) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
}

/* Action Buttons - Complete clipping & wrapping prevention */
#wp-tcms-frontend-wrapper .wptcms-btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 14px !important;
  line-height: 40px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: var(--wptcms-font) !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  overflow: visible !important;
  white-space: nowrap !important;
  flex: 1 !important;
  margin: 0 !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn span {
  display: inline-block !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn-primary {
  background: var(--wptcms-primary) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 14px var(--wptcms-primary-glow) !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn-primary:hover:not(:disabled) {
  background: #7a6be3 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px var(--wptcms-primary-glow) !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn-secondary {
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--wptcms-text) !important;
  border: 1px solid var(--wptcms-border) !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

#wp-tcms-frontend-wrapper .wptcms-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Progress Area */
.wptcms-progress-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.wptcms-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.wptcms-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.01);
}

.wptcms-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #6366f1, #c084fc);
  width: 0%;
  transition: width 0.2s ease-out;
}

/* Results & Assertions list - Hiển thị dạng Block chuẩn, mỗi card là 1 hàng độc lập */
#wp-tcms-frontend-wrapper #wptcms-results-container,
#wp-tcms-frontend-wrapper .wptcms-results-list,
.wptcms-results-list {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 0 30px 0 !important;
  margin: 0 !important;
}

/* Scrollbar customization */
.wptcms-results-list::-webkit-scrollbar,
.wptcms-body::-webkit-scrollbar {
  width: 8px !important;
}

.wptcms-results-list::-webkit-scrollbar-thumb,
.wptcms-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
}

.wptcms-results-list::-webkit-scrollbar-track,
.wptcms-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15) !important;
}

/* Result Card - Mỗi thẻ test case là một khối div độc lập chiếm trọn 1 hàng ngang */
#wp-tcms-frontend-wrapper .wptcms-result-card,
.wptcms-result-card {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--wptcms-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  margin-bottom: 12px !important;
  clear: both !important;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.wptcms-result-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wptcms-result-card.testing {
  border-color: var(--wptcms-primary);
  box-shadow: 0 0 10px var(--wptcms-primary-glow);
  background: rgba(138, 124, 253, 0.03);
}

.wptcms-result-card.pass {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.02);
}

.wptcms-result-card.fail {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.02);
}

.wptcms-result-card.skipped {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.01);
  opacity: 0.65;
}

.wptcms-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wptcms-card-title {
  font-weight: 600;
  color: var(--wptcms-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wptcms-badge {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.wptcms-badge-pending {
  background: rgba(255, 255, 255, 0.05);
  color: var(--wptcms-text-muted);
}

.wptcms-badge-testing {
  background: rgba(138, 124, 253, 0.2);
  color: #a5b4fc;
}

.wptcms-badge-pass {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.wptcms-badge-fail {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.wptcms-badge-skipped {
  background: rgba(255, 255, 255, 0.12);
  color: var(--wptcms-text-muted);
}

.wptcms-card-details {
  font-size: 11px;
  color: var(--wptcms-text-muted);
  line-height: 1.4;
}

.wptcms-card-comparison {
  margin-top: 4px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-family: monospace;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Glassmorphic Focus Button Stylings */
.wptcms-focus-btn {
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #60a5fa;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wptcms-focus-btn:hover {
  background: rgba(96, 165, 250, 0.35);
  border-color: #60a5fa;
  color: #ffffff;
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.wptcms-focus-btn:active {
  transform: scale(0.95);
}

.wptcms-focus-btn svg {
  width: 13px;
  height: 13px;
  display: block;
  transition: transform 0.2s ease;
}

/* Footer Stats */
#wp-tcms-frontend-wrapper .wptcms-footer {
  padding: 10px 16px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-top: 1px solid var(--wptcms-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  z-index: 99 !important;
}

#wp-tcms-frontend-wrapper .wptcms-stat-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

#wp-tcms-frontend-wrapper .wptcms-stat-badge span {
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

#wp-tcms-frontend-wrapper .wptcms-stat-badge.interactive {
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

#wp-tcms-frontend-wrapper .wptcms-stat-badge.interactive:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

#wp-tcms-frontend-wrapper .wptcms-stat-badge.interactive.active-filter {
  background: rgba(139, 92, 246, 0.2) !important;
  border-color: rgba(139, 92, 246, 0.45) !important;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.2) !important;
}

/* Dynamic Live Element Highlighting */
.wptcms-highlight-active {
  outline: 3px solid #8b5cf6 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.8) !important;
  transition: outline 0.2s ease, box-shadow 0.2s ease !important;
}

.wptcms-highlight-pass {
  outline: 3px dashed #10b981 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6) !important;
  transition: outline 0.2s ease, box-shadow 0.2s ease !important;
}

.wptcms-highlight-fail {
  outline: 3px dashed #ef4444 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6) !important;
  transition: outline 0.2s ease, box-shadow 0.2s ease !important;
}

.wptcms-highlight-focus {
  outline: 3px solid #60a5fa !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.9) !important;
  background-color: rgba(96, 165, 250, 0.2) !important; /* Visual background fallback if outline is clipped */
  transition: outline 0.2s ease, box-shadow 0.2s ease !important;
  animation: wptcms-pulse-glow 1.5s infinite alternate !important;
}

@keyframes wptcms-pulse-glow {
  0% { box-shadow: 0 0 15px rgba(96, 165, 250, 0.5); }
  100% { box-shadow: 0 0 30px rgba(96, 165, 250, 0.9); }
}

/* Dynamic Page Element Locator Badge */
.wptcms-locator-badge {
  position: absolute;
  z-index: 9999999;
  background: rgba(138, 124, 253, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 20px;
  padding: 3px 10px;
  font-family: var(--wptcms-font);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(138, 124, 253, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  user-select: none;
}

.wptcms-locator-badge:hover {
  background: #8a7cfd;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 16px rgba(138, 124, 253, 0.5);
}

.wptcms-locator-badge:active {
  transform: scale(0.95);
}

.wptcms-locator-badge svg {
  width: 10px;
  height: 10px;
  stroke: white;
}

/* Neon Flash Highlight for Test Card */
.wptcms-card-flash {
  animation: wptcms-flash-animation 2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wptcms-flash-animation {
  0%, 100% {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--wptcms-border);
    box-shadow: none;
  }
  15%, 85% {
    background: rgba(138, 124, 253, 0.15) !important;
    border-color: var(--wptcms-primary) !important;
    box-shadow: 0 0 15px var(--wptcms-primary-glow) !important;
  }
}

/* ==========================================================================
   FIX COLUMN ALIGNMENT FOR TWENTY TWENTY-FIVE THEME
   Forces Content elements to match Wide layout width (1200px), ensuring
   vertical grid alignment (lề dọc) matches the header & footer perfectly.
   ========================================================================== */
.wp-theme-twentytwentyfive .entry-content.wp-block-post-content > :not(.alignleft):not(.alignright):not(.alignfull) {
    max-width: var(--wp--style--global--wide-size, 1200px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure headings like H1 (TRANG CHỦ) and normal paragraphs scale properly */
.wp-theme-twentytwentyfive .entry-content.wp-block-post-content h1,
.wp-theme-twentytwentyfive .entry-content.wp-block-post-content p {
    max-width: var(--wp--style--global--wide-size, 1200px) !important;
}

/* ==========================================================================
   CENTERED SCROLLABLE PAGE BLUEPRINT WIREFRAME MODAL
   Glassmorphic centered viewport showing live proportional scaled DOM blocks
   ========================================================================== */

.wptcms-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wptcms-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.wptcms-modal-wrapper {
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 92%;
  max-width: 960px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(20px) scale(0.97);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wptcms-modal-backdrop.active .wptcms-modal-wrapper {
  transform: translateY(0) scale(1);
}

.wptcms-modal-header {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wptcms-modal-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wptcms-modal-close {
  background: transparent;
  border: none;
  color: var(--wptcms-text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.wptcms-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.wptcms-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wptcms-overview-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  width: 100%;
  flex: 1;
  min-height: 0;
}

@media (max-width: 820px) {
  .wptcms-overview-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* Blue Graph Blueprint Canvas */
.wptcms-wireframe-container {
  background: radial-gradient(circle, rgba(14, 25, 54, 0.9) 0%, rgba(8, 14, 36, 0.95) 100%);
  border: 1px dashed rgba(96, 165, 250, 0.25);
  border-radius: 12px;
  position: relative;
  overflow: auto;
  height: 100%;
  min-height: 480px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.wptcms-blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(96, 165, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.wptcms-blueprint-canvas {
  position: relative;
  margin: 30px auto;
  border: 2px solid rgba(96, 165, 250, 0.4);
  background: rgba(14, 25, 54, 0.55);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.wptcms-blueprint-node {
  position: absolute;
  border: 1px solid rgba(96, 165, 250, 0.65);
  background: rgba(96, 165, 250, 0.04);
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.15s ease;
  border-radius: 2px;
}

.wptcms-blueprint-node:hover,
.wptcms-blueprint-node.active {
  border-color: #ec4899 !important;
  background: rgba(236, 72, 153, 0.18) !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
  z-index: 999999 !important;
}

/* Sidebar wireframe details */
.wptcms-overview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
}

.wptcms-node-details-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Premium nesting CSS Box Model Diagram */
.wptcms-nested-boxmodel {
  display: flex;
  flex-direction: column;
  font-family: monospace;
  font-size: 10px;
  margin-top: 10px;
  background: rgba(5, 8, 20, 0.5);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.wptcms-bm-label {
  font-size: 8px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
  opacity: 0.6;
}

.wptcms-bm-position {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 6px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  position: relative;
  text-align: center;
  color: #a5b4fc;
}

.wptcms-bm-margin {
  background: rgba(249, 115, 22, 0.08);
  border: 1px dashed rgba(249, 115, 22, 0.35);
  padding: 6px;
  color: #f97316;
  border-radius: 6px;
  text-align: center;
  margin-top: 4px;
}

.wptcms-bm-border {
  background: rgba(254, 240, 138, 0.06);
  border: 1px solid rgba(254, 240, 138, 0.3);
  padding: 6px;
  color: #fde047;
  border-radius: 5px;
  text-align: center;
  margin-top: 4px;
}

.wptcms-bm-padding {
  background: rgba(34, 197, 94, 0.08);
  border: 1px dashed rgba(34, 197, 94, 0.35);
  padding: 6px;
  color: #22c55e;
  border-radius: 4px;
  text-align: center;
  margin-top: 4px;
}

.wptcms-bm-content {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.45);
  padding: 8px;
  color: #3b82f6;
  text-align: center;
  font-weight: 700;
  border-radius: 3px;
  margin-top: 4px;
  font-size: 11px;
}

.wptcms-bm-sides {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  margin: 2px 0;
  opacity: 0.9;
}


/* ==========================================================================
   SEO AUDIT MODULE - Premium Styles
   SEO Gauge, three-tier cards (PASS/WARNING/FAIL), blink overlays
   ========================================================================== */

/* Blink animation for SEO neon overlays */
@keyframes wptcms-seo-blink {
  0%   { opacity: 1; box-shadow: 0 0 12px var(--seo-glow, rgba(245,158,11,0.5)); }
  100% { opacity: 0.6; box-shadow: 0 0 22px var(--seo-glow, rgba(245,158,11,0.9)); }
}

/* SEO overlay element painted directly on page body */
.wptcms-seo-overlay {
  pointer-events: none;
  z-index: 999998;
  box-sizing: border-box;
  border-radius: 4px;
}

/* SEO Gauge Score header above result cards */
.wptcms-seo-gauge-header {
  flex-shrink: 0;
}

/* SEO result card — WARNING (amber) override */
.wptcms-result-card.seo-warning {
  border-color: rgba(245, 158, 11, 0.40) !important;
  background: rgba(245, 158, 11, 0.03) !important;
}

.wptcms-result-card.seo-warning:hover {
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2) !important;
}

/* SEO result card — FAIL (red) override */
.wptcms-result-card.seo-fail {
  border-color: rgba(239, 68, 68, 0.45) !important;
  background: rgba(239, 68, 68, 0.04) !important;
  animation: wptcms-seo-fail-glow 2s ease-in-out infinite alternate;
}

@keyframes wptcms-seo-fail-glow {
  0%   { box-shadow: 0 0 6px rgba(239, 68, 68, 0.25); }
  100% { box-shadow: 0 0 16px rgba(239, 68, 68, 0.55); }
}

/* SEO badge variants */
.wptcms-badge-seo-pass {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.wptcms-badge-seo-warning {
  background: rgba(245, 158, 11, 0.20);
  color: #fbbf24;
}

.wptcms-badge-seo-fail {
  background: rgba(239, 68, 68, 0.20);
  color: #f87171;
}

/* SEO circular gauge SVG transition */
.wptcms-seo-gauge-header circle {
  transition: stroke-dasharray 0.7s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
}

/* ==========================================================================
   WP-TCMS EXCEL EXPORT BUTTON & DROPDOWN MENU
   ========================================================================== */
#wp-tcms-frontend-wrapper .wptcms-export-group {
  position: relative !important;
  display: flex !important;
  flex: 1 !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-menu {
  position: absolute !important;
  bottom: calc(100% + 8px) !important;
  right: 0 !important;
  width: 270px !important;
  background: rgba(17, 24, 39, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  z-index: 100000 !important;
  display: none;
  flex-direction: column !important;
  gap: 4px !important;
  animation: wptcmsSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#wp-tcms-frontend-wrapper .wptcms-export-menu.active {
  display: flex !important;
}

@keyframes wptcmsSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#wp-tcms-frontend-wrapper .wptcms-export-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  height: auto !important;
  min-height: 44px !important;
  line-height: normal !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--wptcms-text, #f3f4f6) !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
  width: 100% !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-item.fail:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-item.pass:hover {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-item.all:hover {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-icon {
  font-size: 16px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-text {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 0 !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1.3 !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-sub {
  font-size: 10px !important;
  color: var(--wptcms-text-muted, #9ca3af) !important;
  line-height: 1.2 !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  flex-shrink: 0 !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-badge.fail {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-badge.all {
  background: rgba(99, 102, 241, 0.2) !important;
  color: #a5b4fc !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
}

#wp-tcms-frontend-wrapper .wptcms-export-badge.pass {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

/* Chrome DevTools Style Layout & Section Spacing Overlays */
.wptcms-spacing-overlay {
  pointer-events: none !important;
  box-sizing: border-box !important;
  z-index: 999999 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.wptcms-spacing-overlay span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  letter-spacing: 0.5px !important;
}

/* ==========================================================================
   DOM HIERARCHY TREE VIEWER STYLES
   ========================================================================== */
.wptcms-tree-modal-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  width: 100%;
  flex: 1;
  min-height: 520px;
}

@media (max-width: 900px) {
  .wptcms-tree-modal-grid {
    grid-template-columns: 1fr;
  }
}

.wptcms-tree-container {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  overflow: auto;
  max-height: 70vh;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.wptcms-tree-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.wptcms-tree-search-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  flex: 1;
  min-width: 200px;
  outline: none;
}

.wptcms-tree-search-input:focus {
  border-color: #8b5cf6;
}

.wptcms-tree-btn-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 6px 10px;
  color: #e2e8f0;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wptcms-tree-btn-sm:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.wptcms-tree-node-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 3px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.wptcms-tree-node-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.wptcms-tree-node-row.selected {
  background: rgba(139, 92, 246, 0.15) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
}

.wptcms-tree-toggle {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.wptcms-tree-toggle:hover {
  color: #fff;
}

.wptcms-tree-tag {
  color: #38bdf8;
  font-weight: 700;
}

.wptcms-tree-tag.semantic {
  color: #f472b6;
}

.wptcms-tree-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.wptcms-tree-badge.id {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.wptcms-tree-badge.class {
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.wptcms-tree-badge.hierarchy {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.wptcms-tree-heading-preview {
  color: #cbd5e1;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  font-family: inherit;
  font-style: italic;
}

.wptcms-tree-size {
  color: #64748b;
  font-size: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.wptcms-tree-sidebar-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   WP TCMS - UI COMPONENT TEST STUDIO MODAL (LIGHT THEME MATCHING SCREENSHOT)
   ========================================================================== */

.wptcms-studio-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999999 !important;
  background: #f8fafc !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif !important;
  color: #0f172a !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  animation: wptcms-fade-in 0.25s ease-out;
}

/* TOP HEADER BAR */
.wptcms-studio-header {
  height: 60px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
}

.wptcms-studio-logo-group {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.wptcms-studio-code-icon {
  width: 32px !important;
  height: 32px !important;
  background: #15803d !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: monospace !important;
  letter-spacing: -1px !important;
}

.wptcms-studio-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: 0.2px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.wptcms-studio-title span {
  color: #047857 !important;
}

.wptcms-studio-header-tools {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.wptcms-studio-badge {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: #475569 !important;
  background: #f1f5f9 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
}

.wptcms-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
}

.wptcms-dot.green {
  background: #16a34a !important;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.4) !important;
}

.wptcms-studio-device-select {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  cursor: pointer !important;
}

.wptcms-studio-time {
  font-size: 11px !important;
  color: #64748b !important;
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.wptcms-studio-close-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.wptcms-studio-close-btn:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
}

/* 3-COLUMN STUDIO BODY */
.wptcms-studio-body {
  display: grid !important;
  grid-template-columns: 240px 1fr 340px !important;
  height: calc(100vh - 60px) !important;
  overflow: hidden !important;
  background: #f8fafc !important;
}

/* CỘT 1: TEST CASES */
.wptcms-studio-col-left {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  padding: 18px 14px !important;
  overflow-y: auto !important;
}

.wptcms-studio-col-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.wptcms-studio-col-header h2 {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
}

.wptcms-studio-count {
  font-size: 11px !important;
  color: #94a3b8 !important;
}

.wptcms-studio-case-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.wptcms-studio-case-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #334155 !important;
}

.wptcms-studio-case-item:hover {
  background: #f1f5f9 !important;
}

.wptcms-studio-case-item.active {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  font-weight: 700 !important;
  border: 1px solid #a7f3d0 !important;
}

.case-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  letter-spacing: 0.2px !important;
}

.case-badge.pass {
  background: #dcfce7 !important;
  color: #16a34a !important;
}

.case-badge.test {
  background: #dbeafe !important;
  color: #2563eb !important;
}

.case-badge.todo {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

.case-badge.large {
  font-size: 11px !important;
  padding: 3px 10px !important;
}

.case-arrow {
  color: #94a3b8 !important;
  font-size: 16px !important;
  margin-left: 4px !important;
}

/* CỘT 2: COMPONENT PREVIEW & BLUEPRINT */
.wptcms-studio-col-center {
  background: #f8fafc !important;
  padding: 20px 24px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.wptcms-studio-preview-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.wptcms-studio-preview-toolbar h2 {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
}

.wptcms-studio-preview-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.wptcms-studio-switch-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
}

.wptcms-studio-switch {
  position: relative !important;
  width: 36px !important;
  height: 20px !important;
}

.wptcms-studio-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.wptcms-studio-switch .slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0; left: 0; right: 0; bottom: 0 !important;
  background-color: #cbd5e1 !important;
  transition: 0.2s !important;
  border-radius: 20px !important;
}

.wptcms-studio-switch .slider:before {
  position: absolute !important;
  content: "" !important;
  height: 14px !important;
  width: 14px !important;
  left: 3px !important;
  bottom: 3px !important;
  background-color: white !important;
  transition: 0.2s !important;
  border-radius: 50% !important;
}

.wptcms-studio-switch input:checked + .slider {
  background-color: #10b981 !important;
}

.wptcms-studio-switch input:checked + .slider:before {
  transform: translateX(16px) !important;
}

.wptcms-studio-btn-reset {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
}

.wptcms-studio-btn-reset:hover {
  background: #f1f5f9 !important;
}

/* BLUEPRINT CANVAS */
.wptcms-studio-canvas-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.wptcms-studio-blueprint {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 50px 36px 36px 46px !important;
  position: relative !important;
  width: 100% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* DIMENSION LINES & OVERLAYS */
.wptcms-dim-line {
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

.wptcms-dim-line.horizontal.top {
  top: 14px !important;
  left: 36px !important;
  right: 36px !important;
  height: 16px !important;
}

.wptcms-dim-line.horizontal .dim-line {
  flex: 1 !important;
  height: 1px !important;
  background: #3b82f6 !important;
}

.wptcms-dim-line.horizontal .dim-tick {
  width: 1px !important;
  height: 10px !important;
  background: #3b82f6 !important;
}

.wptcms-dim-line.horizontal .dim-label {
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 10px !important;
  margin: 0 8px !important;
  white-space: nowrap !important;
}

.wptcms-dim-line.vertical.left {
  top: 50px !important;
  bottom: 36px !important;
  left: 14px !important;
  width: 16px !important;
  flex-direction: column !important;
}

.wptcms-dim-line.vertical .dim-line {
  flex: 1 !important;
  width: 1px !important;
  background: #3b82f6 !important;
}

.wptcms-dim-line.vertical .dim-tick {
  height: 1px !important;
  width: 10px !important;
  background: #3b82f6 !important;
}

.wptcms-dim-line.vertical .dim-label {
  padding: 2px 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 10px !important;
  margin: 6px 0 !important;
  white-space: nowrap !important;
  writing-mode: vertical-lr !important;
  transform: rotate(180deg) !important;
}

/* PADDING MARKERS */
.wptcms-padding-marker {
  position: absolute !important;
  top: 26px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #2563eb !important;
}

.wptcms-padding-marker.left { left: 40px !important; }
.wptcms-padding-marker.right { right: 40px !important; }

/* BORDER RADIUS BADGE */
.wptcms-radius-badge {
  position: absolute !important;
  top: 22px !important;
  right: 120px !important;
  background: #047857 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.25) !important;
  z-index: 12 !important;
}

.wptcms-radius-badge:after {
  content: "" !important;
  position: absolute !important;
  right: -6px !important;
  bottom: -6px !important;
  width: 12px !important;
  height: 12px !important;
  border-right: 2px solid #047857 !important;
  border-bottom: 2px solid #047857 !important;
  border-radius: 0 0 6px 0 !important;
}

/* HIDE OVERLAY WHEN SWITCH IS OFF */
.wptcms-studio-blueprint.overlay-hidden .wptcms-dim-line,
.wptcms-studio-blueprint.overlay-hidden .wptcms-padding-marker,
.wptcms-studio-blueprint.overlay-hidden .wptcms-radius-badge,
.wptcms-studio-blueprint.overlay-hidden .dim-sub-line,
.wptcms-studio-blueprint.overlay-hidden .mockup-col-gap {
  display: none !important;
}

/* COMPONENT MOCKUP FRAME */
.wptcms-component-frame {
  width: 100% !important;
  border: 1px dashed #3b82f6 !important;
  border-radius: 8px !important;
  padding: 12px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
}

.wptcms-hero-mockup-grid {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
}

.mockup-col {
  display: flex !important;
  flex-direction: column !important;
}

.mockup-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 260px !important;
}

.mockup-card.left-banner {
  background: linear-gradient(180deg, #166534 0%, #14532d 100%) !important;
  color: white !important;
  padding: 12px !important;
  justify-content: space-between !important;
}

.mockup-img-strip {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.thumb-box {
  height: 60px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.mockup-badge-footer {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: center !important;
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 6px !important;
  border-radius: 6px !important;
}

.mockup-card.center-slider {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
  padding: 20px !important;
  justify-content: space-between !important;
}

.slider-brand-banner {
  text-align: center !important;
}

.brand-pill {
  display: inline-block !important;
  background: #044b25 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  padding: 4px 16px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
}

.brand-slogan {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

.brand-cta {
  display: inline-block !important;
  background: #16a34a !important;
  color: white !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  margin-top: 14px !important;
}

.slider-4-services {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #044b25 !important;
  background: rgba(4, 75, 37, 0.05) !important;
  padding: 10px !important;
  border-radius: 6px !important;
  text-align: center !important;
}

.mockup-card.right-news {
  padding: 14px !important;
  justify-content: space-between !important;
  background: #ffffff !important;
}

.news-head {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #044b25 !important;
  border-bottom: 2px solid #044b25 !important;
  padding-bottom: 4px !important;
}

.news-item-mock {
  font-size: 11px !important;
  color: #334155 !important;
  padding: 6px 0 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
}

.showroom-banner-mock {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: #b91c1c !important;
  padding: 8px !important;
  border-radius: 6px !important;
  text-align: center !important;
}

/* COLUMN GAP MARKERS */
.mockup-col-gap {
  width: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-bottom: 30px !important;
  position: relative !important;
}

.gap-arrow-line {
  width: 100% !important;
  height: 1px !important;
  background: #3b82f6 !important;
  position: relative !important;
}

.gap-arrow-line:before, .gap-arrow-line:after {
  content: "" !important;
  position: absolute !important;
  width: 4px !important;
  height: 4px !important;
  border-top: 1px solid #3b82f6 !important;
  border-left: 1px solid #3b82f6 !important;
  top: -2px !important;
}
.gap-arrow-line:before { left: 0; transform: rotate(-45deg); }
.gap-arrow-line:after { right: 0; transform: rotate(135deg); }

.gap-value {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  margin-top: 4px !important;
}

.dim-sub-line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #2563eb !important;
}

/* CỘT 3: TEST CASE DETAILS */
.wptcms-studio-col-right {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
  padding: 20px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.wptcms-studio-detail-header {
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 12px !important;
}

.detail-title-group {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}

.detail-title-group h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.detail-desc {
  font-size: 12.5px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.wptcms-studio-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.card-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.card-title-row h3 {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
  letter-spacing: 0.3px !important;
}

.target-head {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.checklist-items {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.checklist-items li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 12.5px !important;
  color: #334155 !important;
}

.chk-name {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.chk-icon.success {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #16a34a !important;
  color: white !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.chk-target {
  font-weight: 700 !important;
  font-size: 12px !important;
  color: #0f172a !important;
}

.comparison-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 12px !important;
}

.comparison-table th {
  text-align: left !important;
  font-size: 11px !important;
  color: #64748b !important;
  padding: 4px 0 8px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.comparison-table td {
  padding: 7px 0 !important;
  border-bottom: 1px solid #f8fafc !important;
  color: #334155 !important;
}

.comparison-table .val-pass {
  color: #16a34a !important;
  font-weight: 700 !important;
}

.wptcms-studio-big-pass-btn {
  width: 100% !important;
  background: #16a34a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  height: 44px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25) !important;
  transition: all 0.2s !important;
}

.wptcms-studio-big-pass-btn:hover {
  background: #15803d !important;
  transform: translateY(-1px) !important;
}

.wptcms-studio-notes-wrap {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.notes-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  background: #f8fafc !important;
  cursor: pointer !important;
}

.notes-content {
  padding: 12px 14px !important;
  font-size: 11.5px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  border-top: 1px solid #f1f5f9 !important;
}

.wptcms-studio-export-txt-btn {
  width: 100% !important;
  background: #ffffff !important;
  color: #0f766e !important;
  border: 1px solid #99f6e4 !important;
  border-radius: 8px !important;
  height: 40px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.wptcms-studio-export-txt-btn:hover {
  background: #f0fdfa !important;
  border-color: #2dd4bf !important;
}

/* RESPONSIVE DESIGN FOR STUDIO */
@media screen and (max-width: 1200px) {
  .wptcms-studio-body {
    grid-template-columns: 220px 1fr 300px !important;
  }
}

@media screen and (max-width: 900px) {
  .wptcms-studio-body {
    grid-template-columns: 1fr !important;
    overflow-y: auto !important;
    height: auto !important;
  }
  .wptcms-studio-col-left, .wptcms-studio-col-right {
    border: none !important;
  }
}

/* ==========================================================================
   WP TCMS - SECTION SPACING OVERVIEW WIDGET & MATRIX TABLE
   ========================================================================== */

.wptcms-spacing-overview-widget {
  transition: all 0.25s ease-in-out;
}

.wptcms-gap-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  letter-spacing: 0.2px;
  vertical-align: middle;
}

.wptcms-gap-pill.passed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.wptcms-gap-pill.warn {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.wptcms-matrix-row {
  transition: background-color 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wptcms-matrix-row:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.wptcms-matrix-view-btn {
  transition: all 0.15s ease !important;
}

.wptcms-matrix-view-btn:hover {
  background: rgba(168, 85, 247, 0.3) !important;
  color: #ffffff !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   WP TCMS - STUDIO PAGE SECTIONS BLUEPRINT FLOW
   ========================================================================== */

.wptcms-studio-blueprint-flow {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 24px 32px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wptcms-studio-mockup-section {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.wptcms-studio-mockup-section:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}

.mockup-sec-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 18px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-size: 12px !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.mockup-sec-badge {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px !important;
}

.mockup-sec-title {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 13px !important;
}

.mockup-sec-dims {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 11px !important;
  color: #64748b !important;
  font-family: monospace !important;
}

.mockup-sec-dims code {
  background: #f1f5f9 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  color: #475569 !important;
}

.mockup-sec-body {
  padding: 18px 24px !important;
  background: #ffffff !important;
}

/* Wireframe Mockup Layouts */
.mockup-wf-hero {
  display: grid !important;
  grid-template-columns: 140px 1fr 140px !important;
  gap: 12px !important;
  height: 85px !important;
}

.mockup-wf-col {
  background: #f1f5f9 !important;
  border-radius: 8px !important;
  border: 1px dashed #cbd5e1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.mockup-wf-col.banner-main {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.wf-title-badge {
  font-weight: 800 !important;
  font-size: 12px !important;
  color: #0f766e !important;
  background: #ccfbf1 !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
}

.wf-btn-mock {
  margin-top: 6px !important;
  font-size: 10px !important;
  background: #16a34a !important;
  color: white !important;
  padding: 3px 10px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}

.mockup-wf-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  height: 70px !important;
}

.mockup-wf-grid.features {
  grid-template-columns: repeat(3, 1fr) !important;
}

.mockup-wf-box, .mockup-wf-card {
  background: #f8fafc !important;
  border-radius: 8px !important;
  border: 1px dashed #cbd5e1 !important;
}

.mockup-wf-footer {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  height: 60px !important;
}

.wf-footer-col {
  background: #f8fafc !important;
  border-radius: 8px !important;
  border: 1px dashed #cbd5e1 !important;
}

.mockup-sec-foot {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 18px !important;
  background: #f8fafc !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 11px !important;
  color: #64748b !important;
}

/* THANH THƯỚC ĐO KHOẢNG CÁCH (DIMENSION BAR NHƯ GIAO DIỆN CŨ) GIỮA 2 SECTION */
.wptcms-studio-gap-blueprint {
  position: relative !important;
  margin: 6px 0 !important;
  padding: 0 4px !important;
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  height: 24px !important;
  user-select: none !important;
  transition: all 0.2s ease !important;
}

.wptcms-gap-dim-bar {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  position: relative !important;
  height: 20px !important;
}

.wptcms-gap-dim-bar .dim-bar-tick {
  width: 1px !important;
  height: 12px !important;
  background: #3b82f6 !important;
  flex-shrink: 0 !important;
}

.wptcms-gap-dim-bar .dim-bar-line {
  flex: 1 !important;
  height: 1px !important;
  background: #3b82f6 !important;
  position: relative !important;
}

/* Mũi tên trái */
.wptcms-gap-dim-bar .dim-bar-line.left:after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: -3px !important;
  width: 5px !important;
  height: 5px !important;
  border-top: 1.5px solid #3b82f6 !important;
  border-left: 1.5px solid #3b82f6 !important;
  transform: rotate(-45deg) !important;
}

/* Mũi tên phải */
.wptcms-gap-dim-bar .dim-bar-line.right:after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: -3px !important;
  width: 5px !important;
  height: 5px !important;
  border-top: 1.5px solid #3b82f6 !important;
  border-right: 1.5px solid #3b82f6 !important;
  transform: rotate(45deg) !important;
}

/* Nhãn thước đo chuẩn Figma/DevTools như giao diện cũ */
.wptcms-gap-dim-bar .dim-bar-label {
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 12px !important;
  margin: 0 10px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
}

.wptcms-gap-dim-bar .dim-bar-icon {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #2563eb !important;
}

.wptcms-gap-dim-bar .dim-bar-val {
  letter-spacing: 0.2px !important;
}

.wptcms-gap-dim-bar .dim-bar-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.wptcms-gap-dim-bar .dim-bar-dot.pass {
  background: #16a34a !important;
  box-shadow: 0 0 4px rgba(22, 163, 74, 0.5) !important;
}

.wptcms-gap-dim-bar .dim-bar-dot.warn {
  background: #f59e0b !important;
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.5) !important;
}

/* Hover & Active State */
.wptcms-studio-gap-blueprint:hover .dim-bar-label,
.wptcms-studio-gap-blueprint.active .dim-bar-label {
  background: #dbeafe !important;
  border-color: #2563eb !important;
  color: #1e40af !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 2px 8px rgba(37, 99, 235, 0.15) !important;
  transform: scale(1.05) !important;
}

.wptcms-studio-gap-blueprint:hover .dim-bar-line,
.wptcms-studio-gap-blueprint.active .dim-bar-line {
  background: #2563eb !important;
}

.wptcms-studio-gap-blueprint:hover .dim-bar-tick,
.wptcms-studio-gap-blueprint.active .dim-bar-tick {
  background: #2563eb !important;
  height: 16px !important;
}

.wptcms-studio-gap-blueprint:hover .dim-bar-line:after,
.wptcms-studio-gap-blueprint.active .dim-bar-line:after {
  border-color: #2563eb !important;
}

/* Trạng thái WARN (Cần tối ưu) */
.wptcms-studio-gap-blueprint.warn .dim-bar-tick,
.wptcms-studio-gap-blueprint.warn .dim-bar-line {
  background: #f59e0b !important;
}

.wptcms-studio-gap-blueprint.warn .dim-bar-line.left:after,
.wptcms-studio-gap-blueprint.warn .dim-bar-line.right:after {
  border-color: #f59e0b !important;
}

.wptcms-studio-gap-blueprint.warn .dim-bar-label {
  color: #b45309 !important;
  background: #fef3c7 !important;
  border-color: #fde68a !important;
}

.wptcms-studio-gap-blueprint.warn:hover .dim-bar-label,
.wptcms-studio-gap-blueprint.warn.active .dim-bar-label {
  background: #fde68a !important;
  border-color: #d97706 !important;
  color: #92400e !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3), 0 2px 8px rgba(217, 119, 6, 0.15) !important;
}

/* KHI ẨN OVERLAY */
.overlay-hidden .wptcms-studio-gap-blueprint {
  display: none !important;
}

/* ==========================================================================
   WP TCMS - LIVE SECTION SPACING INSPECTOR (FLOAT RIGHT DRAWER & IN-PAGE RULERS)
   ========================================================================== */

/* Nút Toggle Float Right Tab gắn mép phải màn hình */
.wptcms-live-dock-toggle {
  position: fixed !important;
  right: 0 !important;
  top: 160px !important;
  z-index: 9999998 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 12px 8px 10px !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(139, 92, 246, 0.4) !important;
  border-right: none !important;
  border-radius: 10px 0 0 10px !important;
  box-shadow: -4px 4px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(139, 92, 246, 0.25) !important;
  cursor: pointer !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

.wptcms-live-dock-toggle:hover {
  padding-left: 14px !important;
  background: linear-gradient(135deg, #312e81 0%, #1e1b4b 100%) !important;
  border-color: #8b5cf6 !important;
  box-shadow: -6px 6px 20px rgba(139, 92, 246, 0.4) !important;
}

.wptcms-live-dock-toggle.dock-open {
  right: 360px !important;
  border-radius: 10px 0 0 10px !important;
  border-right: none !important;
  background: #0f172a !important;
}

.wptcms-dock-tab-icon {
  font-size: 14px !important;
}

.wptcms-dock-tab-label {
  color: #f1f5f9 !important;
  letter-spacing: 0.3px !important;
}

.wptcms-dock-tab-arrow {
  color: #a78bfa !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

/* Khung trượt Float Right Drawer */
.wptcms-live-dock {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 360px !important;
  height: 100vh !important;
  background: #0f172a !important;
  color: #f8fafc !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.6) !important;
  z-index: 9999999 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  box-sizing: border-box !important;
}

.wptcms-live-dock.open {
  transform: translateX(0) !important;
}

/* Header Drawer */
.wptcms-dock-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 16px !important;
  background: #1e293b !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dock-header-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.dock-header-badge {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.dock-header-badge .dock-icon {
  font-size: 15px !important;
}

.dock-header-badge .dock-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
}

.dock-stats-tag {
  font-size: 11px !important;
  color: #94a3b8 !important;
}

.dock-close-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 13px !important;
  transition: all 0.2s !important;
}

.dock-close-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

/* Quick Actions Bar */
.wptcms-dock-actions-bar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 14px !important;
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.dock-action-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 7px 10px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #e2e8f0 !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
}

.dock-action-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.dock-action-btn.active {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4) !important;
}

.dock-action-btn.secondary {
  flex: 0 0 auto !important;
  padding: 7px 10px !important;
}

/* Scrollable Content Body */
.wptcms-dock-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 14px !important;
}

.wptcms-dock-section-box {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 12px !important;
}

.dock-box-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.dock-count-chip {
  font-size: 10px !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  font-family: monospace !important;
}

/* Cây Section (Tree List) */
.wptcms-dock-tree-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.dock-tree-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.dock-tree-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.dock-tree-item.active {
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2) !important;
}

.dock-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.dock-num-badge {
  font-size: 10px !important;
  font-weight: 800 !important;
  background: #334155 !important;
  color: #cbd5e1 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
}

.dock-tree-item.active .dock-num-badge {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

.dock-item-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.dock-sec-title {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dock-sec-meta {
  font-size: 10px !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dock-sec-meta code {
  color: #38bdf8 !important;
  background: transparent !important;
  font-size: 10px !important;
}

.dock-focus-btn {
  background: transparent !important;
  border: none !important;
  font-size: 13px !important;
  cursor: pointer !important;
  padding: 2px 4px !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s !important;
}

.dock-focus-btn:hover {
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

/* Thước đo mini trong cây Section */
.dock-tree-gap-connector {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 0 !important;
  cursor: pointer !important;
  user-select: none !important;
}

.dock-gap-line {
  flex: 1 !important;
  height: 1px !important;
  background: #334155 !important;
}

.dock-gap-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 1px 7px !important;
  border-radius: 8px !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  margin: 0 6px !important;
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  color: #93c5fd !important;
  transition: all 0.2s !important;
}

.dock-gap-pill.pass {
  color: #86efac !important;
  border-color: #166534 !important;
}

.dock-gap-pill.warn {
  color: #fde68a !important;
  border-color: #854d0e !important;
}

.dock-tree-gap-connector:hover .dock-gap-pill {
  transform: scale(1.08) !important;
  background: #0f172a !important;
}

.dock-gap-arrow {
  font-size: 9px !important;
}

.dock-gap-dot {
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
}

.dock-gap-dot.pass { background: #22c55e !important; }
.dock-gap-dot.warn { background: #f59e0b !important; }

/* Chi tiết Section (Deep Dive Inspection Card) */
.wptcms-dock-detail-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.dock-card-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.dock-card-badge {
  background: #3b82f6 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.dock-card-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.dock-card-selector {
  font-size: 10.5px !important;
  color: #38bdf8 !important;
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  font-family: monospace !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.dock-card-metrics-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}

.metric-box {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 6px !important;
  padding: 6px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.metric-box .m-label {
  font-size: 9.5px !important;
  color: #94a3b8 !important;
}

.metric-box .m-val {
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: monospace !important;
}

.metric-box .m-val.blue { color: #38bdf8 !important; }
.metric-box .m-val.green { color: #4ade80 !important; }
.metric-box .m-val.orange { color: #fb923c !important; }

/* 2 Hàng Đo Khoảng Cách Trên & Dưới */
.dock-card-spacing-pair {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.dock-spacing-row {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  padding: 6px 8px !important;
}

.dock-spacing-row.pass { border-left: 3px solid #22c55e !important; }
.dock-spacing-row.warn { border-left: 3px solid #f59e0b !important; }
.dock-spacing-row.neutral { border-left: 3px solid #64748b !important; }

.spacing-dir-tag {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  margin-bottom: 3px !important;
}

.spacing-val-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.spacing-val-box .sp-val {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
}

.spacing-val-box .sp-badge {
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.spacing-val-box .sp-badge.pass { background: #166534 !important; color: #86efac !important; }
.spacing-val-box .sp-badge.warn { background: #854d0e !important; color: #fde68a !important; }

.dock-card-actions {
  display: flex !important;
  gap: 6px !important;
  margin-top: 4px !important;
}

.dock-btn-action {
  flex: 1 !important;
  padding: 7px 10px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  transition: all 0.2s !important;
}

.dock-btn-action.primary {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

.dock-btn-action.primary:hover {
  background: #2563eb !important;
}

.dock-btn-action.secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dock-btn-action.secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.dock-empty {
  font-size: 12px !important;
  color: #64748b !important;
  text-align: center !important;
  padding: 20px 0 !important;
}

/* ==========================================================================
   LIVE ON-PAGE OVERLAYS (HIỂN THỊ TRỰC TIẾP TRÊN TRANG WEB THẬT)
   ========================================================================== */
.wptcms-live-onpage-overlay {
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

/* Huy hiệu tên Section trên trang thật */
.wptcms-live-section-tag {
  position: absolute !important;
  top: -26px !important;
  left: 0 !important;
  background: #2563eb !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 4px 4px 0 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  z-index: 9999992 !important;
}

.wptcms-live-section-tag code {
  color: #bfdbfe !important;
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
  font-size: 10px !important;
}

/* Thanh Thước Đo Khoảng Cách (Dimension Bar) trên trang thật */
.wptcms-live-gap-ruler {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 24px !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: transform 0.2s ease !important;
}

.wptcms-live-gap-ruler:hover {
  transform: scale(1.02) !important;
}

.wptcms-live-gap-ruler .wptcms-gap-dim-bar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  padding: 2px 10px !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.wptcms-live-gap-ruler:hover .wptcms-gap-dim-bar {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
  background: #ffffff !important;
}

/* ==========================================================================
   CAD / FIGMA BLUEPRINT LIVE OVERLAYS (EXACTLY MATCHING IMAGE 2)
   ========================================================================== */

/* Viền bao quanh Section */
.wptcms-live-sec-frame {
  position: absolute !important;
  border: 1px dashed #3b82f6 !important;
  border-radius: 8px !important;
  pointer-events: none !important;
  z-index: 9999980 !important;
  box-sizing: border-box !important;
}

/* Thước đo kích thước đỉnh: Padding 2 mép & Chiều rộng tổng */
.wptcms-live-dim-top {
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  pointer-events: none !important;
  z-index: 9999985 !important;
  height: 24px !important;
}

.wptcms-live-dim-segment {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  height: 20px !important;
}

.wptcms-live-dim-segment .dim-line {
  flex: 1 !important;
  height: 1px !important;
  background: #3b82f6 !important;
  position: relative !important;
}

.wptcms-live-dim-segment .dim-tick {
  width: 1px !important;
  height: 14px !important;
  background: #3b82f6 !important;
  flex-shrink: 0 !important;
}

.wptcms-live-dim-segment .dim-arrow-left:after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: -3px !important;
  width: 5px !important;
  height: 5px !important;
  border-top: 1.5px solid #3b82f6 !important;
  border-left: 1.5px solid #3b82f6 !important;
  transform: rotate(-45deg) !important;
}

.wptcms-live-dim-segment .dim-arrow-right:after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: -3px !important;
  width: 5px !important;
  height: 5px !important;
  border-top: 1.5px solid #3b82f6 !important;
  border-right: 1.5px solid #3b82f6 !important;
  transform: rotate(45deg) !important;
}

.wptcms-live-dim-badge {
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 10px !important;
  margin: 0 6px !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Thước đo chiều cao bên trái */
.wptcms-live-dim-left {
  position: absolute !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  pointer-events: none !important;
  z-index: 9999985 !important;
  width: 28px !important;
}

.wptcms-live-dim-left .dim-tick-h {
  width: 14px !important;
  height: 1px !important;
  background: #3b82f6 !important;
}

.wptcms-live-dim-left .dim-v-shaft {
  width: 1px !important;
  flex: 1 !important;
  background: #3b82f6 !important;
  position: relative !important;
}

.wptcms-live-dim-left .dim-v-arrow-top:after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -3px !important;
  width: 5px !important;
  height: 5px !important;
  border-top: 1.5px solid #3b82f6 !important;
  border-left: 1.5px solid #3b82f6 !important;
  transform: rotate(45deg) !important;
}

.wptcms-live-dim-left .dim-v-arrow-bottom:after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: -3px !important;
  width: 5px !important;
  height: 5px !important;
  border-bottom: 1.5px solid #3b82f6 !important;
  border-right: 1.5px solid #3b82f6 !important;
  transform: rotate(45deg) !important;
}

.wptcms-live-dim-left .dim-v-badge {
  padding: 4px 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  writing-mode: vertical-lr !important;
  transform: rotate(180deg) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  margin: 4px 0 !important;
}

/* Huy hiệu bo viền góc trên phải */
.wptcms-live-radius-badge {
  position: absolute !important;
  background: #047857 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.35) !important;
  z-index: 9999986 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.wptcms-live-radius-badge:after {
  content: "" !important;
  position: absolute !important;
  right: -5px !important;
  bottom: -5px !important;
  width: 10px !important;
  height: 10px !important;
  border-right: 2px solid #047857 !important;
  border-bottom: 2px solid #047857 !important;
  border-radius: 0 0 5px 0 !important;
}

/* Viền bao quanh từng Cột con (Column Box) */
.wptcms-live-col-outline {
  position: absolute !important;
  border: 1px dashed #3b82f6 !important;
  border-radius: 8px !important;
  background: rgba(59, 130, 246, 0.02) !important;
  pointer-events: none !important;
  z-index: 9999982 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

/* Thước đo chiều rộng dưới chân từng Cột con */
.wptcms-live-col-dim-bottom {
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 20px !important;
  pointer-events: none !important;
  z-index: 9999985 !important;
}

/* Thước đo khoảng cách giữa 2 Cột con (Column Gap Indicator) */
.wptcms-live-col-gap-ruler {
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  z-index: 9999988 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.wptcms-live-col-gap-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  position: relative !important;
  height: 20px !important;
}

.wptcms-live-col-gap-bar .gap-arrow-icon {
  font-size: 8px !important;
  color: #2563eb !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  user-select: none !important;
}

.wptcms-live-col-gap-bar .gap-shaft {
  flex: 1 !important;
  height: 1px !important;
  background: #2563eb !important;
  position: relative !important;
}

.wptcms-live-col-gap-badge {
  display: none !important; /* Tạm thời ẩn số đo khoảng cách các khối con theo yêu cầu */
  padding: 1px 6px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #1e40af !important;
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 8px !important;
  margin: 0 4px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2) !important;
}

.wptcms-live-col-gap-ruler:hover .wptcms-live-col-gap-badge {
  display: inline-block !important; /* Rê chuột vào thước đo thì mới hiển thị số */
}

.wptcms-live-col-gap-badge.warn {
  color: #92400e !important;
  background: #fef3c7 !important;
  border-color: #fde68a !important;
}

/* Thẻ thông tin Khối con bên trong Drawer */
.dock-inner-cols-box {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 8px !important;
}

.dock-inner-cols-title {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dock-inner-col-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  font-size: 10.5px !important;
}

.dock-inner-col-item .c-name {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
}

.dock-inner-col-item .c-dims {
  color: #38bdf8 !important;
  font-family: monospace !important;
}

.dock-inner-gap-pill {
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: rgba(59, 130, 246, 0.15) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.dock-inner-gap-pill.pass {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #6ee7b7 !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}

.dock-inner-gap-pill.warn {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fcd34d !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

/* Khối cha Section: Viền ngoài nhận diện khối cha */
.wptcms-live-sec-parent-frame {
  position: absolute !important;
  border: 1.5px dashed rgba(16, 185, 129, 0.45) !important;
  pointer-events: none !important;
  z-index: 9999978 !important;
  box-sizing: border-box !important;
}

/* Dải Đệm (Padding Bands) Đỉnh & Đáy của khối cha Section */
.wptcms-live-sec-padding-band {
  position: absolute !important;
  background: repeating-linear-gradient(
    45deg,
    rgba(16, 185, 129, 0.08),
    rgba(16, 185, 129, 0.08) 6px,
    rgba(16, 185, 129, 0.16) 6px,
    rgba(16, 185, 129, 0.16) 12px
  ) !important;
  pointer-events: auto !important;
  z-index: 9999984 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.wptcms-live-sec-padding-band.top {
  border-top: 1.5px dashed #10b981 !important;
  border-bottom: 1.5px dashed #10b981 !important;
}

.wptcms-live-sec-padding-band.bottom {
  border-top: 1.5px dashed #10b981 !important;
  border-bottom: 1.5px dashed #10b981 !important;
}

.wptcms-live-sec-padding-band:hover {
  background: repeating-linear-gradient(
    45deg,
    rgba(16, 185, 129, 0.15),
    rgba(16, 185, 129, 0.15) 6px,
    rgba(16, 185, 129, 0.28) 6px,
    rgba(16, 185, 129, 0.28) 12px
  ) !important;
}

.wptcms-live-pad-band-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 20px !important;
  gap: 10px !important;
}

.wptcms-live-pad-band-content .pad-band-line {
  flex: 1 !important;
  height: 1px !important;
  background: rgba(16, 185, 129, 0.4) !important;
}

.wptcms-live-pad-band-badge {
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #065f46 !important;
  background: #d1fae5 !important;
  border: 1px solid #6ee7b7 !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
  letter-spacing: 0.2px !important;
}

/* Huy hiệu Đệm (Padding) của từng thẻ item */
/* ==========================================================================
   BOX MODEL THẺ CARD CHUẨN ẢNH 2 (Green Padding Box + Blue/Purple Content Box)
   ========================================================================== */

/* 1. Khung Viền Ngoài Thẻ Card (Padding Box) - Màu XANH LÁ chuẩn Ảnh 2 */
.wptcms-live-card-outer-box {
  position: absolute !important;
  border: 1.5px dashed #10b981 !important;
  background: rgba(16, 185, 129, 0.2) !important;
  pointer-events: none !important;
  z-index: 9999981 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

/* 2. Khung Nội Dung Bên Trong Thẻ Card (Content Box) - Màu XANH DƯƠNG / TÍM chuẩn Ảnh 2 */
.wptcms-live-card-content-box {
  position: absolute !important;
  border: 1.5px dashed #7c3aed !important;
  background: rgba(59, 130, 246, 0.28) !important;
  pointer-events: none !important;
  z-index: 9999982 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

/* 3. Huy hiệu Đệm (Padding) của thẻ Card - Nằm góc trên phải trên nền xanh chuẩn Ảnh 2 */
.wptcms-live-item-pad-badge {
  position: absolute !important;
  background: rgba(16, 185, 129, 0.3) !important;
  color: #065f46 !important;
  border: 1.5px dashed #10b981 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 1.5px 8px !important;
  border-radius: 6px !important;
  z-index: 9999987 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.2) !important;
}

/* 4. Dải khoảng cách giữa Hình ảnh và Nội dung chữ - Sọc Tím chuẩn Ảnh 2 */
.wptcms-live-img-content-gap {
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: repeating-linear-gradient(
    45deg,
    rgba(124, 58, 237, 0.2),
    rgba(124, 58, 237, 0.2) 3px,
    rgba(124, 58, 237, 0.4) 3px,
    rgba(124, 58, 237, 0.4) 6px
  ) !important;
  border-left: 1.5px dashed #7c3aed !important;
  border-right: 1.5px dashed #7c3aed !important;
  z-index: 9999985 !important;
  pointer-events: auto !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.wptcms-live-img-content-gap .img-gap-badge {
  padding: 1px 5px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #5b21b6 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #c4b5fd !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.2) !important;
}

/* 5. Dải Margin Đáy của need-title - Sọc VÀNG NHẠT */
.wptcms-live-title-margin-band {
  position: absolute !important;
  background: repeating-linear-gradient(
    45deg,
    rgba(245, 158, 11, 0.35),
    rgba(245, 158, 11, 0.35) 2px,
    rgba(245, 158, 11, 0.6) 2px,
    rgba(245, 158, 11, 0.6) 4px
  ) !important;
  border-top: 1px dashed #f59e0b !important;
  border-bottom: 1px dashed #f59e0b !important;
  z-index: 9999986 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

/* 6. Huy hiệu Margin Đáy (mb: ...px) của need-title */
.wptcms-live-title-mb-badge {
  position: absolute !important;
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #f59e0b !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 0 4px !important;
  border-radius: 4px !important;
  line-height: 13px !important;
  white-space: nowrap !important;
  z-index: 9999988 !important;
  pointer-events: none !important;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3) !important;
}

/* Drawer Submetrics */
.dock-item-submetrics {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 2px 8px !important;
  margin-top: -2px !important;
}

.submetric-pill {
  font-size: 9.5px !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
}

.submetric-pill.purple {
  color: #c4b5fd !important;
  background: rgba(139, 92, 246, 0.15) !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
}

.submetric-pill.green {
  color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.submetric-pill.amber {
  color: #fcd34d !important;
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

/* Dải Margin Đỉnh & Đáy của khối cha Section - Màu VÀNG NHẠT */
.wptcms-live-sec-margin-band {
  position: absolute !important;
  background: repeating-linear-gradient(
    45deg,
    rgba(245, 158, 11, 0.08),
    rgba(245, 158, 11, 0.08) 6px,
    rgba(245, 158, 11, 0.16) 6px,
    rgba(245, 158, 11, 0.16) 12px
  ) !important;
  pointer-events: auto !important;
  z-index: 9999983 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.wptcms-live-sec-margin-band.top {
  border-top: 1.5px dashed #f59e0b !important;
  border-bottom: 1.5px dashed #f59e0b !important;
}

.wptcms-live-sec-margin-band.bottom {
  border-top: 1.5px dashed #f59e0b !important;
  border-bottom: 1.5px dashed #f59e0b !important;
}

.wptcms-live-sec-margin-band:hover {
  background: repeating-linear-gradient(
    45deg,
    rgba(245, 158, 11, 0.15),
    rgba(245, 158, 11, 0.15) 6px,
    rgba(245, 158, 11, 0.28) 6px,
    rgba(245, 158, 11, 0.28) 12px
  ) !important;
}

.wptcms-live-margin-band-badge {
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #92400e !important;
  background: #fef3c7 !important;
  border: 1px solid #fde68a !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
  letter-spacing: 0.2px !important;
}

.margin-band-line {
  flex: 1 !important;
  height: 1px !important;
  background: rgba(245, 158, 11, 0.4) !important;
}

/* Khung phân vùng cấu trúc Section (Sub-blocks) */
.wptcms-live-subblock-frame {
  position: absolute !important;
  border: 1.5px dashed #6366f1 !important;
  border-radius: 8px !important;
  background: rgba(99, 102, 241, 0.02) !important;
  pointer-events: none !important;
  z-index: 9999980 !important;
  box-sizing: border-box !important;
}

.wptcms-live-subblock-tag {
  position: absolute !important;
  background: #4f46e5 !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 4px 4px 0 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35) !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  z-index: 9999986 !important;
}

.wptcms-live-subblock-tag .sb-num {
  background: rgba(255, 255, 255, 0.2) !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
  font-size: 9.5px !important;
}

.wptcms-live-subblock-tag code {
  color: #c7d2fe !important;
  background: rgba(0, 0, 0, 0.25) !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
  font-size: 9.5px !important;
}

/* Khoảng cách dọc giữa các phân vùng (Vertical Sub-block Gap) */
.wptcms-live-subblock-vgap {
  position: absolute !important;
  background: repeating-linear-gradient(
    45deg,
    rgba(245, 158, 11, 0.06),
    rgba(245, 158, 11, 0.06) 6px,
    rgba(245, 158, 11, 0.14) 6px,
    rgba(245, 158, 11, 0.14) 12px
  ) !important;
  border-top: 1px dashed #f59e0b !important;
  border-bottom: 1px dashed #f59e0b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  z-index: 9999982 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.wptcms-live-vgap-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 16px !important;
  gap: 8px !important;
}

.wptcms-live-vgap-content .vgap-line {
  flex: 1 !important;
  height: 1px !important;
  background: rgba(245, 158, 11, 0.35) !important;
}

.wptcms-live-vgap-badge {
  padding: 1px 8px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #b45309 !important;
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2) !important;
}

.wptcms-live-dim-left.subblock {
  width: 24px !important;
}

.wptcms-live-dim-left.subblock .dim-v-badge {
  color: #4338ca !important;
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
}

/* Drawer Subblocks Box */
.dock-subblocks-box {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 8px !important;
}

.dock-subblocks-title {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #818cf8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dock-subblock-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 5px 8px !important;
  border-radius: 4px !important;
  font-size: 10.5px !important;
}

.dock-subblock-item .sb-title {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
}

.dock-subblock-item .sb-dims {
  color: #818cf8 !important;
  font-family: monospace !important;
  font-weight: 700 !important;
}






