/* Evergreen Facts — digital coloring studio */
.color-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
}
.color-tools .primary, .color-tools .secondary, .color-tools .text-btn {
  min-height: 44px;
}
.color-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 900px) {
  .color-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .color-side { position: sticky; top: 8px; }
}
.color-canvas-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 80vh;
}
#color-stage {
  --zoom: 1;
  width: 100%;
  min-width: calc(320px * var(--zoom));
  padding: 8px;
}
#color-stage svg {
  width: calc(100% * var(--zoom));
  height: auto;
  display: block;
  margin: 0 auto;
  background: #fff;
  touch-action: manipulation;
}
.swatch-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.swatch {
  position: relative;
  width: 52px;
  min-height: 52px;
  border-radius: 14px;
  border: 3px solid transparent;
  box-shadow: 0 2px 0 rgba(28, 43, 36, 0.15);
  padding: 0;
  cursor: pointer;
  color: #1c2b24;
  display: grid;
  place-items: end center;
}
.swatch-lg { width: 64px; min-height: 64px; }
.swatch-label {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255,255,255,0.86);
  border-radius: 999px;
  padding: 1px 6px;
  margin-bottom: 3px;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.swatch[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--gold);
}
.swatch-white, .swatch-erase {
  background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 12px 12px;
  border: 2px solid var(--line);
}
.current-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 44px;
}
.current-color::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: inherit;
  border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 10px currentColor;
  display: none;
}
.key-list { list-style: none; padding: 0; margin: 8px 0 0; }
.key-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 6px; }
.key-chip {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: inline-block;
  flex: 0 0 auto;
}
.thumb-link { display: block; }
#check-msg { font-weight: 700; }
.color-nav { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

html[data-band="k2"] .swatch { width: 68px; min-height: 68px; border-radius: 18px; }
html[data-band="k2"] .swatch-lg { width: 76px; min-height: 76px; }
html[data-band="k2"] .swatch-label { font-size: 0.85rem; }
html[data-band="k2"] .color-tools .primary,
html[data-band="k2"] .color-tools .secondary { min-height: 56px; font-size: 1.15rem; }
html[data-band="g68"] .swatch, html[data-band="g912"] .swatch { border-radius: 10px; }
html[data-band="g912"] .swatch-lg { width: 52px; min-height: 52px; }

@media print {
  .site-header, .site-footer, .skip, .color-tools, .color-side, .color-nav, .hero, #gallery { display: none !important; }
  body { background: #fff; }
  main.wrap { width: auto; margin: 0; }
  #studio, .color-layout, .color-canvas-wrap { display: block; box-shadow: none; border: 0; background: #fff; max-height: none; overflow: visible; }
  #color-stage, #color-stage svg { width: 100% !important; max-width: none; }
  #page-title { font-size: 16pt; margin: 0 0 4pt; }
  #page-sub { font-size: 10pt; margin: 0 0 8pt; }
}
