/* EagleTagz: the Provenance Matrix (21 Oct 2026), its own space with its own header, linked to EagleTagz. The site's
 * dark look and gold main action, the six text sizes (34, 22, 17, 16, 13, 12), codes in a monospace face. The matrix
 * grid scrolls inside its own box, with the deliverables (WBS) pinned on the left and the roles (OBS) on top. */

body.etz-mx-page { margin: 0; background: #0b1117; color: #e5e7eb; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.mx-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #f1c50e; color: #111827; font-weight: 700; text-decoration: none; }
.mx-skip:focus { top: 10px; }
.etz-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the Matrix's own header: its name, the way back to EagleTagz, the EagleTagz account */
.mx-top { border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #0d141b; }
.mx-top-in {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 60px;
  padding: 8px 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 16px;
}
.mx-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #f9fafb; text-decoration: none; margin-right: auto; min-width: 0; }
.mx-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: #f1c50e; color: #111827; font-size: 16px; flex: none; }
.mx-brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.mx-etz { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: #d1d5db; font-size: 16px; font-weight: 600; text-decoration: none; flex: none; }
.mx-etz:hover { background: rgba(255, 255, 255, 0.07); color: #f9fafb; }
.mx-etz img { display: block; } /* the emblem alone (#25) */
.mx-etz { min-width: 44px; justify-content: center; } /* a 44px tap area, also when the name is hidden */
.mx-brand:focus-visible, .mx-etz:focus-visible { outline: 2px solid #f1c50e; outline-offset: 2px; }

.mx {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid;
  gap: 24px;
  outline: none;
}
.mx h1, .mx h2, .mx h3 { margin: 0; color: #f9fafb; text-wrap: balance; }
.mx h1 { font-size: 34px; line-height: 1.15; font-weight: 700; }
.mx h2 { font-size: 22px; line-height: 1.25; font-weight: 700; }
.mx h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.mx p { margin: 0; }
.mx-head { display: grid; gap: 8px; }
.mx-lead { max-width: 72ch; color: #cbd5e1; font-size: 16px; line-height: 1.5; }
.mx-sub, .mx-help { color: #9ca3af; font-size: 16px; line-height: 1.5; max-width: 72ch; }
.mx-help .fas { color: #f1c50e; }
.mx-note { color: #9ca3af; font-size: 16px; }
.mx-muted { color: #9ca3af; }
.mx-code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mx-notice { padding: 12px 14px; border-radius: 12px; background: rgba(43, 212, 107, 0.1); border: 1px solid rgba(43, 212, 107, 0.35); color: #c7f5d8; font-size: 16px; line-height: 1.45; }
.mx-notice .fas { color: #2bd46b; margin-right: 4px; }

/* cards, buttons, fields */
.mx-card { background: #121a22; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 22px; display: grid; gap: 12px; }
.mx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.mx-btn:focus-visible, .mx a:focus-visible, .mx button:focus-visible, .mx-dialog button:focus-visible { outline: 2px solid #f1c50e; outline-offset: 2px; }
.mx-btn:disabled { opacity: 0.55; cursor: progress; }
.mx-btn-primary { background: #f1c50e; color: #111827; }
.mx-btn-primary:hover:not(:disabled) { background: #f5d23f; }
.mx-btn-secondary { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.14); color: #f9fafb; }
.mx-btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.mx-btn-plain { background: transparent; color: #e5e7eb; }
.mx-btn-plain:hover { background: rgba(255, 255, 255, 0.08); }
.mx-btn-danger { background: transparent; border-color: rgba(255, 123, 115, 0.45); color: #ff7b73; }
.mx-btn-danger:hover { background: rgba(255, 69, 58, 0.12); }
.mx-btn-danger-solid { background: #e5484d; color: #fff; }
.mx-btn-sm { min-height: 44px; padding: 0 14px; }
.mx-link { background: none; border: 0; padding: 0 2px; min-height: 44px; color: #f1c50e; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.mx-link:hover { text-decoration: underline; }
.mx label, .mx-label { display: block; color: #d1d5db; font-size: 13px; font-weight: 600; margin: 6px 0 6px; }
.mx input, .mx textarea, .mx select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b1117;
  color: #f9fafb;
  font: inherit;
  font-size: 16px;
}
.mx input::placeholder, .mx textarea::placeholder { color: #8b95a5; }
.mx textarea { resize: vertical; line-height: 1.45; }
.mx input:focus, .mx textarea:focus, .mx select:focus { outline: 2px solid #f1c50e; outline-offset: 1px; border-color: transparent; }
.mx input:disabled { opacity: 0.6; }
.mx form { display: grid; gap: 4px; }
.mx-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.mx-row > div { min-width: 140px; }
.mx-tpl-name { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #f9fafb; font-size: 16px; font-weight: 600; }
.mx-tpl-name .fas { color: #f1c50e; }
#mxNew .mx-btn-primary { justify-self: start; margin-top: 12px; }
.mx-error { color: #ff7b73; font-size: 16px; }
.mx-wait { color: #cbd5e1; font-size: 16px; margin-top: 6px; }
.mx-wait .fas { color: #f1c50e; margin-right: 6px; }

/* the repository */
.mx-repo-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.mx-repo-title { display: grid; gap: 8px; flex: 1 1 460px; min-width: 0; }
.mx-repo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mx-new-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mx-repo-body { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .mx-repo-body { grid-template-columns: minmax(0, 1fr) 380px; } }
.mx-repo-list { display: grid; gap: 12px; min-width: 0; }
.mx-count { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #cbd5e1; font-size: 13px; font-weight: 600; vertical-align: middle; }
.mx-mcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mx-mcard {
  position: relative;
  display: grid;
  gap: 6px;
  height: 100%;
  box-sizing: border-box;
  padding: 16px 44px 16px 18px;
  border-radius: 14px;
  background: #121a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  align-content: start;
}
.mx-mcard:hover { border-color: rgba(241, 197, 14, 0.5); }
.mx-mcard-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.mx-chip-tpl { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(241, 197, 14, 0.14); color: #f1c50e; font-size: 12px; font-weight: 700; }
.mx-mcard-title { color: #f9fafb; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.mx-mcard-stats { color: #9ca3af; font-size: 13px; line-height: 1.4; }
.mx-mcard-attn { color: #ffc21a; font-size: 13px; font-weight: 600; }
.mx-mcard-ok { color: #8ee6b0; font-size: 13px; font-weight: 600; }
.mx-mcard-attn .fas, .mx-mcard-ok .fas { margin-right: 4px; }
.mx-mcard-date { color: #9ca3af; font-size: 12px; }
.mx-mcard-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #6b7280; }
.mx-empty { display: grid; justify-items: start; gap: 10px; padding: 22px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.2); color: #cbd5e1; font-size: 16px; line-height: 1.5; }
.mx-empty b { color: #f9fafb; }
.mx-empty-ic { color: #f1c50e; font-size: 24px; }

/* the Project Manager agent */
.mx-pm { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: 16px; background: #121a22; border: 1px solid rgba(241, 197, 14, 0.28); min-width: 0; }
.mx-pm-head { display: flex; gap: 12px; align-items: flex-start; }
.mx-pm-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(241, 197, 14, 0.14); color: #f1c50e; font-size: 18px; }
.mx-pm h2 { font-size: 17px !important; line-height: 1.3; }
.mx-pm-sub { color: #9ca3af; font-size: 13px; line-height: 1.45; margin-top: 2px !important; }
.mx-pm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mx-pm-checks li { display: flex; gap: 10px; align-items: flex-start; }
.mx-pm-checks .fa-circle-exclamation { color: #ffc21a; margin-top: 14px; font-size: 13px; flex: none; }
.mx-pm-check { display: block; min-height: 44px; padding: 10px 0; box-sizing: border-box; background: none; border: 0; color: #e5e7eb; font: inherit; font-size: 16px; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.mx-pm-check:hover { color: #f9fafb; text-decoration: underline; text-decoration-color: rgba(241, 197, 14, 0.7); }
.mx-pm-check b { color: #f9fafb; }
.mx-pm-ok { color: #8ee6b0; font-size: 16px; }
.mx-pm-ok .fas { margin-right: 4px; }
.mx-pm-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mx-pm-log:empty { display: none; }
.mx-pm-entry { display: grid; gap: 8px; }
.mx-pm-q { color: #e5e7eb; font-size: 16px; line-height: 1.45; }
.mx-pm-who { display: block; color: #9ca3af; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 2px; }
.mx-pm-who .fas { color: #f1c50e; margin-right: 4px; }
.mx-pm-who .mx-src { margin-left: 6px; font-size: 12px; padding: 1px 8px; }
.mx-pm-a { padding: 10px 12px; border-radius: 12px; background: #0e151c; border-left: 3px solid #f1c50e; }
.mx-pm-text { color: #f3f4f6; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.mx-pm-ask { gap: 6px !important; }
.mx-pm-row { display: flex; gap: 8px; }
.mx-pm-row input { flex: 1 1 auto; min-width: 0; }
.mx-pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mx-pm-chip { min-height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #e5e7eb; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mx-pm-chip:hover:not(:disabled) { border-color: rgba(241, 197, 14, 0.6); color: #f9fafb; }
.mx-pm-chip:disabled { opacity: 0.5; cursor: progress; }
.mx-pm-strip { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border-radius: 14px; background: rgba(241, 197, 14, 0.08); border: 1px solid rgba(241, 197, 14, 0.3); color: #e5e7eb; text-decoration: none; }
.mx-pm-strip:hover { background: rgba(241, 197, 14, 0.13); }
.mx-pm-strip-ic { color: #f1c50e; font-size: 18px; flex: none; }
.mx-pm-strip-text { flex: 1 1 auto; font-size: 16px; line-height: 1.4; min-width: 0; }
.mx-pm-strip-text b { color: #f1c50e; margin-right: 6px; }
.mx-pm-strip-go { flex: none; color: #f1c50e; font-size: 13px; font-weight: 700; white-space: nowrap; }

/* one Matrix */
.mx-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #d1d5db; font-size: 16px; font-weight: 600; text-decoration: none; justify-self: start; }
.mx-back:hover { color: #f9fafb; }
.mx-proj { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: flex-start; }
.mx-proj-text { display: grid; gap: 8px; min-width: 0; flex: 1 1 520px; }
.mx-eyebrow { color: #f1c50e; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.mx-proj-title { font-size: 34px !important; outline: none; overflow-wrap: anywhere; }
.mx-logline { color: #cbd5e1; font-size: 16px; line-height: 1.5; max-width: 72ch; }
.mx-stats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mx-stats li { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #d1d5db; font-size: 13px; }
.mx-stats b { color: #f9fafb; font-variant-numeric: tabular-nums; }
.mx-by { color: #9ca3af; font-size: 13px; }
.mx-by .fas { color: #f1c50e; margin-right: 4px; }
.mx-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mx-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mx-tabs::-webkit-scrollbar { display: none; }
.mx-tabs button {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #9ca3af;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.mx-tabs button:hover { color: #f9fafb; }
.mx-tabs button[aria-selected='true'] { color: #f9fafb; border-bottom-color: #f1c50e; }
.mx-panel { display: grid; gap: 18px; min-width: 0; }

/* the matrix grid */
.mx-grid-wrap {
  overflow: auto;
  max-height: 72vh;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0e151c;
}
.mx-grid { border-collapse: separate; border-spacing: 0; font-size: 13px; }
.mx-grid th, .mx-grid td { border-right: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mx-grid thead th { position: sticky; background: #16202a; z-index: 2; text-align: left; vertical-align: bottom; }
.mx-grid thead tr:first-child th { top: 0; }
.mx-grid thead tr:nth-child(2) th { top: 37px; }
.mx-corner { left: 0; z-index: 4 !important; min-width: 230px; color: #9ca3af; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 0 12px 10px; }
.mx-dept { height: 36px; padding: 0 10px; box-sizing: border-box; color: #f9fafb; font-size: 13px; font-weight: 600; white-space: nowrap; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.mx-role { min-width: 104px; max-width: 132px; padding: 8px 10px 10px; vertical-align: top !important; }
.mx-role .mx-code { display: block; }
.mx-role-name { display: block; margin-top: 2px; color: #f9fafb; font-size: 13px; font-weight: 600; line-height: 1.3; }
.mx-role-tag { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #cbd5e1; font-size: 12px; font-weight: 600; }
.mx-role-tag.mx-ai { background: rgba(241, 197, 14, 0.14); color: #f1c50e; }
.mx-wbs { position: sticky; left: 0; z-index: 1; min-width: 230px; max-width: 280px; padding: 8px 12px; background: #121a22; text-align: left; font-weight: 400; }
.mx-wbs .mx-code { margin-right: 8px; }
.mx-wbs-name { color: #f9fafb; font-size: 13px; }
.mx-phase { background: #18222d; }
.mx-phase .mx-wbs-name { font-weight: 700; }
.mx-phase-row td { background: #121b24; }
.mx-grid td { min-width: 104px; height: 36px; padding: 6px 8px; vertical-align: top; }
.mx-phase-row th, .mx-phase-row td { height: 22px; padding-top: 6px; padding-bottom: 6px; }
.mx-cell { position: relative; background: rgba(241, 197, 14, 0.07); }
.mx-cell.mx-has-art { background: rgba(241, 197, 14, 0.13); }
.mx-act { display: block; color: #f9fafb; font-size: 13px; font-weight: 600; line-height: 1.25; padding-right: 14px; }
.mx-act + .mx-act { margin-top: 4px; }
.mx-odef { display: block; margin-top: 2px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: #cbd5e1; font-size: 12px; white-space: nowrap; }
.mx-art { position: absolute; right: 7px; top: 6px; color: #f1c50e; font-size: 12px; }
.mx-loose { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; color: #f9fafb; }
.mx-loose .fas { color: #ffc21a; }

/* people and their IDs */
.mx-dept-block { display: grid; gap: 10px; }
.mx-dept-block h3 .mx-code { margin-right: 6px; }
.mx-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.mx-person-row { display: grid; gap: 8px; align-content: start; padding: 14px 16px; border-radius: 14px; background: #121a22; border: 1px solid rgba(255, 255, 255, 0.08); min-width: 0; }
.mx-person-head { display: flex; gap: 4px 8px; align-items: baseline; flex-wrap: wrap; }
.mx-person-role { color: #f9fafb; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.mx-role-in { flex-basis: 100%; color: #9ca3af; font-size: 13px; }
.mx-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mx-bar { display: inline-grid; grid-template-columns: repeat(16, 9px); gap: 2px; padding: 4px 6px; border-radius: 6px; background: #1a1e27; border: 1px solid #303747; }
.mx-bar i { display: block; width: 9px; height: 13px; border-radius: 2px; background: #2c3342; }
.mx-id-text { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: #f1c50e; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.mx-person { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 16px; }
.mx-person-name { color: #f9fafb; }
.mx-person-name .fas { color: #9ca3af; margin-right: 4px; }
.mx-assign { width: 100%; }
.mx-assign-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mx-assign-row input { flex: 1 1 180px; width: auto; }
.mx-cells { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-chip { display: inline-flex; gap: 4px; align-items: baseline; padding: 3px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: #d1d5db; font-size: 12px; }
.mx-more { color: #9ca3af; font-size: 12px; align-self: center; }

/* the artifact plan */
.mx-art-block { display: grid; gap: 10px; }
.mx-tree, .mx-tree ul { list-style: none; margin: 0; padding: 0; }
.mx-tree ul { margin-left: 18px; padding-left: 14px; border-left: 1px dashed rgba(241, 197, 14, 0.35); }
.mx-tree li { margin: 6px 0; }
.mx-art-row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: #121a22; border: 1px solid rgba(255, 255, 255, 0.07); }
.mx-art-ic { color: #f1c50e; width: 16px; text-align: center; }
.mx-art-name { color: #f9fafb; font-size: 16px; font-weight: 600; }
.mx-art-code { color: #f1c50e; }
.mx-status { padding: 1px 8px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.3); color: #cbd5e1; font-size: 12px; font-weight: 600; }
.mx-from { flex-basis: 100%; color: #9ca3af; font-size: 13px; padding-left: 26px; }
.mx-flat { display: grid; gap: 0; }

/* how the Matrix was made: the Film Agent's steps, or the import's */
.mx-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mx-log li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: #121a22; border: 1px solid rgba(255, 255, 255, 0.07); }
.mx-log b { color: #f9fafb; font-size: 16px; }
.mx-log p { color: #cbd5e1; font-size: 16px; margin-top: 2px; }
.mx-src { justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mx-src-you { background: rgba(255, 255, 255, 0.1); color: #e5e7eb; }
.mx-src-ai { background: rgba(241, 197, 14, 0.16); color: #f1c50e; }
.mx-src-tpl { background: rgba(122, 173, 255, 0.16); color: #9cc2ff; }
.mx-src-file { background: rgba(43, 212, 107, 0.14); color: #8ee6b0; }
.mx-scenes { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.mx-scenes li { font-size: 16px; color: #f9fafb; }
.mx-scenes .mx-code { margin-right: 6px; }

/* signed out */
.mx-gate { justify-items: start; max-width: 640px; }
.mx-gate-ic { color: #f1c50e; font-size: 28px; }

/* the delete question */
.mx-dialog-back { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.6); }
.mx-dialog { width: min(440px, 100%); display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: #1a2430; color: #e5e7eb; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.mx-dialog h2 { margin: 0; font-size: 22px; color: #f9fafb; }
.mx-dialog p { margin: 0; font-size: 16px; line-height: 1.5; color: #cbd5e1; }
.mx-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

@media (max-width: 767px) {
  .mx { padding-top: 20px; gap: 20px; }
  .mx h1, .mx-proj-title { font-size: 34px !important; }
  .mx-card { padding: 18px; }
  .mx-repo-actions { width: 100%; }
  .mx-repo-actions .mx-btn { flex: 1 1 0; padding: 0 12px; }
  .mx-actions { width: 100%; }
  .mx-actions .mx-btn { flex: 1 1 0; }
  .mx-log li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mx-corner, .mx-wbs { min-width: 150px; max-width: 170px; }
  .mx-grid-wrap { max-height: 64vh; }
  .mx-wide { display: none; }
  .mx-tabs button { padding: 0 12px; }
  .mx-pm { padding: 16px; }
}
@media (max-width: 420px) {
  .mx-top-in { gap: 8px; }
  .mx-brand-name { font-size: 16px; }
  .mx-etz { padding: 0 6px; }
  .mx-etz span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .mx .fa-spin { animation: none; } }
