/* The casting card.

   One question has to be answerable from across the room: IS IT UP? So the
   state is carried by the card's own light rather than by a word you have to
   walk over and read. Green and breathing when live, amber and breathing in
   maintenance, dark and still when off.

   Breathing, not blinking. A slow pulse reads as a heartbeat; a blink reads as
   an alarm, and a page being live is not an emergency. The off state does not
   animate at all — stillness is the signal. */

.ct-wrap {
  --ct: #7A8699;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 13px 13px; font-size: 12.5px;
}
.ct-wrap.ct-up   { --ct: #2FD07B; }
.ct-wrap.ct-warn { --ct: #FFB33C; }
.ct-wrap.ct-off  { --ct: #7A8699; }

/* ── the lamp ────────────────────────────────────────────────────────── */
.ct-head { display: flex; align-items: center; gap: 12px; }
.ct-lamp { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.ct-core {
  position: relative; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--ct) 82%, #fff), var(--ct));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ct) 55%, transparent),
              0 6px 16px -6px color-mix(in srgb, var(--ct) 80%, transparent);
}
.ct-ring {
  position: absolute; inset: 0; border-radius: 50%; opacity: 0;
  border: 1.5px solid var(--ct);
}
/* live and maintenance breathe; off is deliberately still */
.ct-up .ct-ring, .ct-warn .ct-ring { animation: ct-ping 2.6s cubic-bezier(.2,.7,.4,1) infinite; }
.ct-up .ct-core, .ct-warn .ct-core { animation: ct-breathe 2.6s ease-in-out infinite; }
.ct-off .ct-core { filter: saturate(.35) brightness(.8); }
@keyframes ct-ping {
  0%   { inset: 2px;   opacity: .8; }
  100% { inset: -12px; opacity: 0; }
}
@keyframes ct-breathe {
  0%, 100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ct) 55%, transparent),
                         0 0 0 0 color-mix(in srgb, var(--ct) 55%, transparent); }
  50%      { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ct) 55%, transparent),
                         0 0 22px 4px color-mix(in srgb, var(--ct) 45%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-ring, .ct-core { animation: none !important; }
  .ct-up .ct-ring, .ct-warn .ct-ring { opacity: .55; inset: -4px; }
}

.ct-who { min-width: 0; line-height: 1.35; }
.ct-who b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-who span {
  display: block; font-size: 11px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── the three states ────────────────────────────────────────────────── */
.ct-seg {
  display: flex; gap: 3px; padding: 3px; border-radius: 10px;
  background: var(--hover); border: 1px solid var(--border);
}
.ct-sg {
  flex: 1; padding: 6px 4px; border: 0; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 11.5px; color: var(--muted); background: transparent;
  transition: background .16s, color .16s;
}
.ct-sg:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.ct-sg.on { color: #08121A; font-weight: 600; }
.ct-sg.on.ct-up   { background: #2FD07B; }
.ct-sg.on.ct-warn { background: #FFB33C; }
.ct-sg.on.ct-off  { background: #7A8699; color: #fff; }

/* ── rows ────────────────────────────────────────────────────────────── */
.ct-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ct-lb {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  min-width: 96px; color: var(--muted); font-size: 11.5px;
}
.ct-pre { color: var(--muted); font-size: 11.5px; opacity: .8; }
.ct-in, .ct-slug, .ct-sel, .ct-pick {
  flex: 1; min-width: 0; padding: 6px 9px; border-radius: 9px; font: inherit; font-size: 12px;
  color: var(--text); background: var(--hover); border: 1px solid var(--border); outline: none;
}
.ct-slug { direction: ltr; }
.ct-in:focus, .ct-slug:focus, .ct-sel:focus { border-color: var(--ct); }
.ct-pick {
  cursor: pointer; text-align: start; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; direction: ltr;
}
.ct-pick:hover { border-color: var(--ct); }
.ct-hint { flex-basis: 100%; font-style: normal; font-size: 10.5px; color: var(--muted); opacity: .8; padding-inline-start: 96px; }
.ct-ico {
  width: 27px; height: 27px; flex: none; display: grid; place-items: center; cursor: pointer;
  border-radius: 8px; color: var(--muted); background: transparent; border: 1px solid var(--border);
  transition: color .15s, border-color .15s, background .15s;
}
.ct-ico:hover { color: var(--text); border-color: var(--ct); background: var(--hover); }
.ct-ico.ct-drop:hover { color: var(--danger); border-color: var(--danger); }

/* ── the roster ──────────────────────────────────────────────────────── */
.ct-users { display: flex; flex-direction: column; gap: 5px; }
.ct-u {
  display: flex; align-items: center; gap: 7px; padding: 5px 8px;
  border-radius: 8px; background: var(--hover); border: 1px solid var(--border);
}
.ct-u b { flex: 1; min-width: 0; font-weight: 500; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.ct-u i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.ct-empty {
  padding: 9px 10px; border-radius: 8px; font-size: 11.5px; color: var(--muted);
  background: var(--hover); border: 1px dashed var(--border);
}
.ct-add { display: flex; gap: 5px; }
.ct-add .ct-in { flex: 1; }

/* ── the foot ────────────────────────────────────────────────────────── */
.ct-foot { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.ct-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px;
  border-radius: 9px; border: 1px solid var(--border); cursor: pointer;
  font: inherit; font-size: 12px; color: var(--text); background: var(--hover);
  transition: filter .15s, border-color .15s, transform .15s;
}
.ct-btn:hover { transform: translateY(-1px); border-color: var(--ct); }
.ct-go {
  border: 0; font-weight: 600; color: #08121A;
  background: linear-gradient(135deg, var(--ct), color-mix(in srgb, var(--ct) 55%, #6C5CE7));
}
.ct-off .ct-go { color: #fff; }
.ct-del { color: var(--muted); }
.ct-del:hover { color: var(--danger); border-color: var(--danger); }
.ct-say { font-size: 11px; color: var(--ct); margin-inline-start: auto; }
.ct-say.bad { color: var(--danger); }

/* ── the HTML card's address bar ─────────────────────────────────────────
   A card that could only show a file from the space could not show the web.
   The bar is under the toolbar rather than in it, because a web address is
   long and a toolbar full of buttons has nowhere to put one. */
.hx-urlbar {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 7px; border-bottom: 1px solid var(--border); background: var(--hover);
}
.hx-urlbar .hx-url {
  flex: 1; min-width: 0; padding: 5px 9px; border-radius: 7px; direction: ltr;
  font: inherit; font-size: 11.5px; color: var(--text);
  background: var(--panel-solid); border: 1px solid var(--border); outline: none;
}
.hx-urlbar .hx-url:focus { border-color: var(--accent); }
.hx-urlbar button {
  flex: none; padding: 5px 10px; border-radius: 7px; cursor: pointer;
  font: inherit; font-size: 11.5px; color: var(--text);
  background: var(--panel-solid); border: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 4px;
}
.hx-urlbar button:hover { border-color: var(--accent); color: var(--accent); }

/* the honest note: whether a site allows embedding is not ours to decide */
.hx-refused {
  display: none; padding: 5px 9px; font-style: normal; font-size: 10.5px;
  color: var(--muted); background: rgba(255, 179, 60, .08);
  border-bottom: 1px solid rgba(255, 179, 60, .25);
}
.hx-refused.on { display: block; }

/* ── LAYER ME ────────────────────────────────────────────────────────────
   The plan is shown ON the picture. A list of boxes in percentages is
   unreadable; the same boxes drawn over the image are obvious at a glance,
   and so is a wrong one — which is the only reason the middle step exists. */
.lm-wrap { display: flex; flex-direction: column; gap: 9px; padding: 11px 12px 12px; font-size: 12.5px; }
.lm-head { display: flex; gap: 6px; }
.lm-pick {
  flex: 1; min-width: 0; padding: 6px 10px; border-radius: 9px; cursor: pointer;
  font: inherit; font-size: 12px; color: var(--text); background: var(--hover);
  border: 1px solid var(--border); text-align: start; direction: ltr;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lm-pick:hover { border-color: var(--accent); }
.lm-go, .lm-build {
  flex: none; padding: 6px 13px; border: 0; border-radius: 9px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600; color: #08121A;
  background: linear-gradient(135deg, #38E1FF, #A86BFF);
}
.lm-go[disabled] { opacity: .45; cursor: not-allowed; }
.lm-build:hover, .lm-go:hover { filter: brightness(1.07); }

.lm-empty, .lm-busy {
  padding: 14px 12px; border-radius: 10px; font-size: 12px; line-height: 1.75;
  color: var(--muted); background: var(--hover); border: 1px dashed var(--border);
}
.lm-busy { display: flex; align-items: center; gap: 9px; border-style: solid; color: var(--text); }
.lm-spin {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid rgba(56,225,255,.25); border-top-color: #38E1FF;
  animation: lm-spin .7s linear infinite;
}
@keyframes lm-spin { to { transform: rotate(360deg); } }

.lm-stage {
  position: relative; width: 100%; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: #0b0e18;
}
.lm-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lm-box {
  position: absolute; border: 1.5px solid var(--kc); border-radius: 3px;
  background: color-mix(in srgb, var(--kc) 12%, transparent);
  pointer-events: none;
}
.lm-box b {
  position: absolute; top: -1px; inset-inline-start: -1px; font-size: 8px; line-height: 1;
  padding: 2px 3px; background: var(--kc); color: #06101a; border-radius: 2px; font-weight: 700;
}

.lm-tally { display: flex; flex-wrap: wrap; gap: 5px; }
.lm-chip {
  padding: 3px 9px; border-radius: 999px; font-size: 11px; color: var(--kc);
  border: 1px solid color-mix(in srgb, var(--kc) 45%, transparent);
  background: color-mix(in srgb, var(--kc) 10%, transparent);
}

.lm-list { display: flex; flex-direction: column; gap: 3px; max-height: 190px; overflow-y: auto; }
.lm-row {
  display: flex; align-items: center; gap: 7px; padding: 4px 8px; border-radius: 7px;
  cursor: pointer; font-size: 11.5px;
}
.lm-row:hover { background: var(--hover); }
.lm-row.off { opacity: .4; }
.lm-row input { accent-color: var(--kc); width: 13px; height: 13px; flex: none; }
.lm-row u { text-decoration: none; font-size: 9.5px; color: var(--kc); font-weight: 700; flex: none; }
.lm-row b { font-weight: 600; color: var(--kc); flex: none; font-size: 11px; }
.lm-row span {
  flex: 1; min-width: 0; color: var(--muted); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.lm-row i { font-style: normal; font-size: 10px; color: var(--muted); opacity: .75; flex: none; }

.lm-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lm-opt { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); cursor: pointer; }
.lm-opt input { accent-color: #38E1FF; }
.lm-say { font-size: 11px; color: var(--muted); margin-inline-start: auto; }

/* ── MAKE A PICTURE ──────────────────────────────────────────────────────
   The picture is the card. Everything else is small and sits under it. */
.pp-wrap { display: flex; flex-direction: column; gap: 9px; padding: 11px 12px 12px; }
.pp-shot {
  position: relative; width: 100%; border-radius: 11px; overflow: hidden;
  border: 1px solid var(--border); background: #0b0e18;
}
.pp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-tools { position: absolute; top: 6px; inset-inline-end: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .16s; }
.pp-shot:hover .pp-tools { opacity: 1; }
.pp-tools button {
  width: 24px; height: 24px; border-radius: 7px; cursor: pointer; font-size: 12px;
  color: #fff; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.22);
}
.pp-tools button:hover { background: rgba(0,0,0,.8); }

.pp-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; min-height: 120px; padding: 18px 14px; text-align: center;
  border-radius: 11px; border: 1px dashed var(--border); background: var(--hover);
}
.pp-empty b { font-size: 13px; color: var(--text); }
.pp-empty i { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.pp-empty.go { border-style: solid; border-color: rgba(56,225,255,.4); }
.pp-spin {
  width: 22px; height: 22px; border-radius: 50%; margin-bottom: 3px;
  border: 2.5px solid rgba(56,225,255,.22); border-top-color: #38E1FF;
  animation: pp-spin .75s linear infinite;
}
@keyframes pp-spin { to { transform: rotate(360deg); } }

.pp-in {
  width: 100%; resize: vertical; min-height: 60px; padding: 8px 11px; border-radius: 10px;
  font: inherit; font-size: 12.5px; line-height: 1.65; color: var(--text);
  background: var(--hover); border: 1px solid var(--border); outline: none;
}
.pp-in:focus { border-color: var(--accent); }
.pp-in:disabled { opacity: .55; }

.pp-shapes { display: flex; flex-wrap: wrap; gap: 4px; }
.pp-sh {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px;
  border-radius: 8px; cursor: pointer; font: inherit; font-size: 11px;
  color: var(--muted); background: var(--hover); border: 1px solid var(--border);
}
.pp-sh:hover { color: var(--text); border-color: var(--accent); }
.pp-sh.on { color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
/* a little proportional glyph, so the shape is read rather than parsed */
.pp-r { display: block; border: 1.4px solid currentColor; border-radius: 2px; opacity: .9; }
.pp-r-16-9 { width: 16px; height: 9px; }
.pp-r-9-16 { width: 9px;  height: 16px; }
.pp-r-1-1  { width: 12px; height: 12px; }
.pp-r-4-3  { width: 14px; height: 10.5px; }
.pp-r-3-4  { width: 10.5px; height: 14px; }
.pp-r-21-9 { width: 19px; height: 8px; }

.pp-foot { display: flex; align-items: center; gap: 8px; }
.pp-go {
  flex: none; padding: 8px 15px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 600; color: #08121A;
  background: linear-gradient(135deg, #38E1FF, #A86BFF);
}
.pp-go:hover { filter: brightness(1.07); }
.pp-go:disabled { opacity: .5; cursor: wait; }
.pp-say { font-size: 11px; color: var(--muted); min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }

/* ── LAYER ME: it has to LOOK like it heard you ──────────────────────────
   A button that changes nothing when pressed reads as one that did not
   register the press. The whole card takes on a working edge, the button
   becomes a spinner, and a failure gets somewhere to be seen — it had none,
   so a refused read looked exactly like no read at all. */
.lm-working { position: relative; }
.lm-working::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  pointer-events: none; padding: 1.5px;
  background: linear-gradient(115deg, #38E1FF, transparent 32%, transparent 68%, #A86BFF);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lm-sweep 2.2s linear infinite;
}
@keyframes lm-sweep { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
.lm-busy { flex-direction: column; align-items: center; gap: 7px; text-align: center; padding: 22px 14px; }
.lm-busy b { font-size: 13px; color: var(--text); font-weight: 500; }
.lm-busy i { font-style: normal; font-size: 11px; color: var(--muted); }
.lm-spin.sm { width: 11px; height: 11px; border-width: 2px; margin-inline-end: 5px; vertical-align: -1px; display: inline-block; }
.lm-go { display: inline-flex; align-items: center; }
.lm-go[disabled] { opacity: .6; cursor: wait; }

.lm-note {
  padding: 7px 10px; border-radius: 8px; font-size: 11.5px; line-height: 1.6;
  color: var(--muted); background: var(--hover); border: 1px solid var(--border);
}
.lm-note.bad { color: #FF8A8A; border-color: rgba(231,76,60,.4); background: rgba(231,76,60,.08); }
.lm-how { font-size: 10.5px; color: var(--muted); opacity: .8; padding: 0 2px; }

/* what Layer me produced, and the way back to it */
.lm-made {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 8px 10px; border-radius: 9px; font-size: 11.5px;
  background: rgba(56,225,255,.08); border: 1px solid rgba(56,225,255,.28);
}
.lm-made b { color: var(--text); font-size: 12px; }
.lm-made span { color: var(--muted); direction: ltr; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.lm-made i { flex-basis: 100%; font-style: normal; font-size: 10.5px; color: var(--muted); opacity: .85; }
.lm-open {
  flex: none; padding: 4px 10px; border-radius: 7px; cursor: pointer;
  font: inherit; font-size: 11px; color: var(--text);
  background: var(--hover); border: 1px solid var(--border);
}
.lm-open:hover { border-color: #38E1FF; color: #38E1FF; }

/* THE TWO FILES THAT KEEP THE STACK. They are the deliverable, not a footnote
   to it, so they get a row of their own with the name of the app that opens
   each one — a person should never have to guess which extension goes where. */
.lm-pack { display: flex; gap: 8px; }
.lm-file {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px;
  padding: 9px 11px; text-align: start; cursor: pointer; font: inherit;
  background: var(--hover); border: 1px solid var(--border); border-radius: 10px;
  border-inline-start: 3px solid var(--kc, #38E1FF);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.lm-file:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.lm-file b { font-size: 12px; color: var(--text); }
.lm-file u { text-decoration: none; font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--kc, #38E1FF); font-weight: 700; }
.lm-file i { font-style: normal; font-size: 10.5px; line-height: 1.35;
  color: var(--muted); }
/* the arrow says "this one comes to you" — the row is two downloads, not two
   links to somewhere else on the board */
.lm-file u::after { content: ' ↓'; opacity: .85; }
.lm-f-spaice { --kc: #A86BFF; }
.lm-f-psd { --kc: #38E1FF; }

/* ══ THE PARAMETRIC PAGE ═══════════════════════════════════════════
   The page on the left at its real proportions, the controls on the right in
   a column narrow enough that the page keeps the room. A panel that takes
   half the card is a panel you are editing instead of a page. */
.px-wrap { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 6px; }
.px-bar { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.px-tag {
  flex: none; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800;
  letter-spacing: .06em; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.px-title {
  flex: 1 1 auto; min-width: 0; height: 24px; padding: 0 8px; border-radius: 7px;
  border: 1px solid var(--border); background: var(--hover); color: var(--text);
  font: inherit; font-size: 11.5px;
}
.px-fed { flex: none; font-size: 10px; color: var(--muted); }
.px-b {
  flex: none; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 7px; border: 1px solid var(--border); background: transparent;
  color: var(--muted); cursor: pointer; padding: 0;
}
.px-b:hover { color: var(--accent); border-color: var(--accent); }
.px-body { flex: 1 1 auto; min-height: 0; display: flex; gap: 8px; }
.px-stage {
  flex: 1 1 auto; min-width: 0; position: relative; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--border);
  background: repeating-conic-gradient(rgba(128,128,150,.10) 0% 25%, transparent 0% 50%) 50% / 16px 16px;
}
.px-frame {
  position: absolute; left: 50%; top: 50%; border: 0;
  transform-origin: 50% 50%; background: #fff;
  box-shadow: 0 18px 60px -22px rgba(9, 11, 24, .6);
}
.px-panel {
  flex: 0 0 258px; min-width: 0; display: flex; flex-direction: column; gap: 6px;
  overflow: auto; padding: 6px; border-radius: 10px;
  /* SOLID. The card body is transparent so the board shows through it, which
     is right for a page and wrong for a panel of numbers — a slider you read
     against someone else's photograph is a slider you misread. */
  background: var(--panel-solid, var(--panel)); border: 1px solid var(--border);
}
.px-grp { background: var(--panel-solid, var(--panel)); }
.px-tabs { display: flex; gap: 4px; position: sticky; top: -6px; z-index: 2;
  background: var(--panel-solid, var(--panel)); padding: 6px 0 4px; margin-top: -6px; }
.px-tab {
  flex: 1; height: 24px; border-radius: 7px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font: inherit; font-size: 10.5px;
  font-weight: 700; cursor: pointer; padding: 0;
}
.px-tab.on { background: var(--accent); border-color: transparent; color: #fff; }
.px-lv { display: flex; flex-direction: column; gap: 8px; }
.px-grp {
  display: flex; flex-direction: column; gap: 5px; padding: 8px 9px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--hover);
}
.px-grp > u {
  text-decoration: none; font-size: 9.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.px-row { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); }
.px-row > span { flex: 0 0 74px; }
.px-n, .px-s, .px-i {
  flex: 1 1 auto; min-width: 0; height: 22px; padding: 0 6px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--panel); color: var(--text);
  font: inherit; font-size: 11px;
}
.px-r { flex: 1 1 auto; min-width: 0; accent-color: var(--accent); }
.px-v { flex: 0 0 34px; text-align: end; font-size: 10px; font-variant-numeric: tabular-nums; color: var(--text); }
.px-c { flex: 0 0 34px; height: 22px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: none; }
.px-t {
  width: 100%; box-sizing: border-box; border-radius: 7px; border: 1px solid var(--border);
  background: var(--panel); color: var(--text); font: inherit; font-size: 11px;
  padding: 6px 7px; resize: vertical;
}
.px-ticks { display: flex; flex-wrap: wrap; gap: 8px; }
.px-tick { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); }
.px-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.px-quad .px-row > span { flex: 0 0 24px; }
.px-snaps, .px-seeds, .px-add, .px-pickimg { display: flex; flex-wrap: wrap; gap: 4px; }
.px-snaps button, .px-seeds button, .px-add button, .px-pickimg button {
  height: 22px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font: inherit; font-size: 10.5px; cursor: pointer;
}
.px-snaps button:hover, .px-seeds button:hover, .px-add button:hover, .px-pickimg button:hover {
  color: var(--accent); border-color: var(--accent);
}
.px-list { display: flex; flex-direction: column; gap: 3px; }
.px-it {
  display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 7px;
  border: 1px solid transparent; cursor: pointer; font-size: 11px;
}
.px-it:hover { background: var(--hover); }
.px-it.on { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: var(--accent); }
.px-it b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-weight: 500; color: var(--text); }
.px-it em { flex: none; font-style: normal; font-size: 9px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.px-k { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.px-k-txt { background: #38E1FF; } .px-k-img { background: #9BE85A; }
.px-k-box { background: #A86BFF; } .px-k-line { background: #FFB45C; }
.px-mv { flex: none; width: 15px; text-align: center; color: var(--muted); font-size: 11px; }
.px-mv:hover { color: var(--accent); }
.px-x:hover { color: #E11D2A; }
.px-none { padding: 10px; font-size: 10.5px; line-height: 1.5; color: var(--muted); }
.px-hint { display: block; font-style: normal; font-size: 10px; line-height: 1.4; color: var(--muted); }
/* the whole screen, when the page needs to be seen at size */
.px-full .px-fullbody { flex: 1 1 auto; min-height: 0; padding: 0 14px 14px; }
.px-full .px-panel { flex: 0 0 300px; }
