/* system/apps/test-margin-color/styles.css
 *
 * Proof/test app for ctx.chrome.setMarginColor()/getMarginColor() --
 * see app.js's header comment for why this exists and what it's
 * actually testing (shell state driven from outside this app's own
 * UI, not just the color-swatch mechanic itself).
 */

.test-margin-color-view { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 14px; }

.tmc-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: var(--fs-sm);
  color: var(--slate);
}

.tmc-intro p { margin: 0; }
.tmc-intro code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--card);
  padding: 1px 5px;
  border-radius: 4px;
}

.tmc-state {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand);
  margin: 0;
}

.tmc-swatches { display: flex; flex-wrap: wrap; gap: 10px; }

.tmc-swatch {
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  cursor: pointer;
}

.tmc-reset {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--slate);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  cursor: pointer;
}
