/* The base the Gang Sheet Maker builds on (gang.css): colours, form controls, the header.
   Taken from the EMB Pros site's style.css: only what the editor uses (the site's tool tabs
   are not here). */
:root {
  --bg: #ffffff; --panel: #ffffff; --ink: #1d2230; --muted: #667085; --line: #e3e6ec;
  --accent: #ff5a1f; --accent-ink: #ffffff; --sel: #2f6bff; --danger: #d92d20;
  --check-a: #ffffff; --check-b: #e9ebf0;
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
button, select, input { font: inherit; color: inherit; }
button { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--muted); }
button:disabled { opacity: .45; cursor: default; }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
button.ghost { background: transparent; }
select, input[type=number] { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }
[hidden] { display: none !important; }

/* the header (64 px: the editor below it fills the rest of the window): the name on the left,
   a link back to the store on the right when the page is opened from one */
.top { height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 24px; background: var(--panel);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; flex: none; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.back { margin-left: auto; color: #475569; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.back:hover { color: #2151b6; }
@media (max-width: 860px) {
  .top { gap: 12px; padding: 0 16px; }
}

/* the BEFORE / AFTER labels of the image editor (gang.css places them) */
.lbl { color: var(--muted); min-width: 64px; }
