@media not all and (min-width: 1200px) {
  .color-palette-desktop-only,
  html body main.color-palette-seo-page[data-tool="color-palette-generator"] .color-palette-desktop-only {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

@media (min-width: 1200px) {
  .color-palette-legacy-mobile {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main.color-palette-seo-page[data-tool="color-palette-generator"] {
    --c100kb-seo-wide: min(94vw, 1600px);
    --cpg-toolbar-height: 64px;
    --cpg-intent-block: clamp(132px, 17vh, 172px);
  }

  html:has(body.color-palette-editor-active.compress-100kb-pro.compress-100kb-ready),
  body.color-palette-editor-active.compress-100kb-pro.compress-100kb-ready {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    background: #eef2f7 !important;
  }

  body.color-palette-editor-active.compress-100kb-pro.compress-100kb-ready .tool-content-stack {
    display: block !important;
    visibility: visible !important;
  }

  body.color-palette-editor-active.compress-100kb-ready section.color-palette-legacy-mobile,
  body.color-palette-editor-active.compress-100kb-ready #tool-workspace,
  body.color-palette-editor-active.compress-100kb-ready .tool-workspace-note {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.color-palette-editor-active.compress-100kb-ready main#main.color-palette-seo-page {
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.color-palette-editor-active.compress-100kb-ready main#main.color-palette-seo-page > section.tool-layout:not(#color-palette-desktop-shell) {
    display: block !important;
    width: 100% !important;
    max-width: var(--c100kb-seo-wide, min(94vw, 1600px)) !important;
    margin: 0 auto !important;
    padding: 1.25rem 1rem 2.5rem !important;
    box-sizing: border-box !important;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-shell {
    display: block !important;
    visibility: visible !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #eef3fb !important;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-workspace.cpg-desktop-intent-panel {
    position: relative;
    isolation: isolate;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0.85rem 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #eff9ff, #eef3fb) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-workspace.cpg-desktop-intent-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.32;
    pointer-events: none;
    z-index: 0;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-workspace.cpg-desktop-intent-panel > * {
    position: relative;
    z-index: 1;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-shell .c100kb-tool-intent-header {
    display: block !important;
    visibility: visible !important;
    text-align: center !important;
    margin: 0 auto 0.45rem !important;
    padding: 0.2rem 1.25rem 0.35rem !important;
    flex: 0 0 auto !important;
    max-width: min(94vw, 960px) !important;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-shell .c100kb-tool-intent-header h1 {
    margin: 0 !important;
    font-size: clamp(1.35rem, 2.5vw, 2rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    text-wrap: balance;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-shell .c100kb-tool-intent-header .c100kb-h1-tail {
    white-space: nowrap;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-shell .c100kb-tool-intent-header .c100kb-hero-lead {
    max-width: 42rem !important;
    margin: 0.35rem auto 0 !important;
    font-size: clamp(0.875rem, 0.95vw, 0.9375rem) !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    text-transform: none !important;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-mount {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: calc(100dvh - var(--cpg-intent-block, 148px)) !important;
    max-height: calc(100dvh - var(--cpg-intent-block, 148px)) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.color-palette-editor-active.compress-100kb-ready #color-palette-desktop-mount .cpg-editor-host {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
  }

  body.color-palette-editor-active.compress-100kb-ready .c100kb-palette-editor[data-c100kb-portaled="true"] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #eef3fb !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .c100kb-editor-header {
    grid-area: unset !important;
    position: relative !important;
    flex: 0 0 var(--cpg-toolbar-height, 64px) !important;
    min-height: var(--cpg-toolbar-height, 64px) !important;
    height: var(--cpg-toolbar-height, 64px) !important;
    padding: 0 18px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #142033 !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .c100kb-editor-title {
    flex: 1 1 auto !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 16px !important;
    font-weight: 760 !important;
    color: #142033 !important;
    min-width: 0 !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .c100kb-editor-back {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #1e293b !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .c100kb-history-controls {
    display: none !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-selected-swatch-wrap {
    display: grid;
    gap: 0.28rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-pick-col .cpg-card {
    gap: 0.42rem;
    padding: 0.65rem 0.75rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-selected-swatch {
    width: 100%;
    height: 38px;
    border-radius: 9px;
    border: 1px solid #d7e1ef;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-swatch-btn {
    width: 100%;
    height: 30px;
    min-height: 30px;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    background: #f1f5f9;
    box-sizing: border-box;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-recent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.28rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-center-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-center-tab {
    min-height: 38px;
    border: 1px solid #d7e1ef;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-center-tab.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-center-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-center-panel.is-active {
    display: flex;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 220px;
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.86rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-workspace {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-zoom-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    flex: 1 1 auto;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-zoom-btn {
    min-height: 34px;
    padding: 0 0.55rem;
    border: 1px solid #d7e1ef;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-zoom-btn.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-viewport {
    flex: 1 1 auto;
    min-height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    background-image:
      linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
      linear-gradient(-45deg, #e2e8f0 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #e2e8f0 75%),
      linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    cursor: crosshair;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-zoom-wrap {
    transform-origin: center center;
    will-change: transform;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-display {
    display: block;
    max-width: 100%;
    max-height: 100%;
    image-rendering: pixelated;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-source-canvas {
    display: none !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-magnifier {
    position: fixed;
    z-index: 1200;
    pointer-events: none;
    border: 2px solid #2563eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    padding: 3px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-magnifier canvas {
    display: block;
    border-radius: 7px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-upload-label,
  body.compress-100kb-pro.compress-100kb-ready .cpg-replace-label {
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .cpg-editor-main {
    display: grid !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 12px 14px 14px !important;
    overflow: hidden !important;
    align-items: stretch;
    box-sizing: border-box !important;
    background: #e7edf7 !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    grid-template-columns: minmax(260px, 22vw) minmax(0, 1fr) minmax(300px, 24vw) !important;
    gap: 12px !important;
  }

  @media (min-width: 1200px) and (max-width: 1400px) {
    body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .cpg-editor-main {
      grid-template-columns: minmax(240px, 21vw) minmax(0, 1fr) minmax(280px, 23vw) !important;
      gap: 10px !important;
      padding: 10px 12px 12px !important;
    }
  }

  @media (min-width: 1600px) {
    body.compress-100kb-pro.compress-100kb-ready .c100kb-palette-editor .cpg-editor-main {
      grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) minmax(340px, 380px) !important;
      gap: 14px !important;
      padding: 14px 18px 16px !important;
    }
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-col {
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-card {
    background: #fff;
    border: 1px solid #d7e1ef;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    padding: 0.72rem 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
    flex: 1 1 auto;
    box-sizing: border-box;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-field {
    display: grid;
    gap: 0.28rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d7e1ef;
    border-radius: 10px;
    padding: 0.4rem 0.62rem;
    font-size: 0.92rem;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-input-lg {
    min-height: 44px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-helper {
    margin: 0;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.4;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-helper-error {
    color: #dc2626;
    font-weight: 600;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-picker-wrap {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0.45rem;
    align-items: center;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-native-picker {
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid #d7e1ef;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-native-picker::-webkit-color-swatch-wrapper {
    padding: 4px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-native-picker::-webkit-color-swatch {
    border: 0;
    border-radius: 10px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-range-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
    align-items: center;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-range {
    width: 100%;
    accent-color: #2563eb;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-range-hue {
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
    height: 8px;
    border-radius: 999px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-range-badge {
    min-width: 44px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.2rem 0.35rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-presets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.28rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-preset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.1);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-preview-card {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.55rem;
    gap: 0.45rem;
    overflow: hidden;
    background: #fff !important;
    border-color: #d7e1ef !important;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-preview-stage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: stretch;
    justify-content: center;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-preview-swatch {
    flex: 1 1 auto;
    min-height: 220px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-preview-hex {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-preview-meta {
    margin: 0;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-contrast-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-contrast-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.86rem;
    font-weight: 700;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-value-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
    align-items: end;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-value-field {
    display: grid;
    gap: 0.28rem;
    min-width: 0;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-copy-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #d7e1ef;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-copy-btn.is-copied {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-actions {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.25rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #d7e1ef;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    color: #1e293b;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-btn-primary {
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-btn-secondary,
  body.compress-100kb-pro.compress-100kb-ready .cpg-btn-quiet {
    background: #f8fafc;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-btn-quiet {
    width: 100%;
    border-color: #e2e8f0;
    font-size: 0.8rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-palette-strip {
    display: grid;
    grid-template-columns: repeat(var(--cpg-strip-count, 5), 1fr);
    gap: 0.45rem;
    min-height: 220px;
    flex: 1 1 auto;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-cell {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-height: 0;
    min-width: 0;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-swatch {
    flex: 1 1 auto;
    min-height: 180px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-swatch:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-hex {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    max-width: calc(100% - 12px);
    padding: 0.22rem 0.45rem;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.78);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-swatch:hover .cpg-strip-hex,
  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-swatch:focus .cpg-strip-hex,
  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-swatch:focus-visible .cpg-strip-hex {
    opacity: 1;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-lock {
    flex: 0 0 auto;
    min-height: 32px;
    border: 1px solid #d7e1ef;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-lock.is-locked {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-strip-lock i {
    width: 14px;
    height: 14px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-palette-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-regenerate-btn {
    min-height: 34px;
    font-size: 0.8rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d7e1ef;
    border-radius: 10px;
    padding: 0.4rem 0.62rem;
    font-size: 0.88rem;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-values-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-values-header .cpg-card-title {
    margin: 0;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-format-tabs {
    display: flex;
    gap: 0.28rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-format-btn {
    min-height: 32px;
    padding: 0 0.55rem;
    border: 1px solid #d7e1ef;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-format-btn.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-dropzone {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 260px;
    padding: 1rem;
    text-align: center;
    border: 2px dashed #c7dbff;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.86rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-dropzone.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1e40af;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-loaded {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 0;
    flex: 1 1 auto;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-thumb-wrap {
    display: flex;
    justify-content: center;
    padding: 0.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-thumb {
    display: block;
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-image-count-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-count-tabs {
    display: flex;
    gap: 0.28rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-count-btn {
    min-height: 34px;
    min-width: 38px;
    padding: 0 0.5rem;
    border: 1px solid #d7e1ef;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-count-btn.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-palette-values {
    display: grid;
    gap: 0.45rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-value-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: end;
    gap: 0.45rem;
  }

  body.compress-100kb-pro.compress-100kb-ready .cpg-palette-mini {
    width: 32px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #d7e1ef;
    box-sizing: border-box;
  }
}
