.zg-noscript { margin: 2rem; }
.zg-text-link { color: #0ea5e9; text-decoration: underline; }
.zg-flash {
  margin: 1rem 1.5rem 0;
  padding: .75rem 1rem;
  color: #7dd3fc;
  background: rgba(14, 165, 233, .12);
  border: 1px solid rgba(14, 165, 233, .3);
  border-radius: .75rem;
}
.zg-flash.error { color: #fda4af; background: rgba(225, 29, 72, .12); border-color: rgba(225, 29, 72, .3); }
.zg-flash.success { color: #6ee7b7; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .3); }
[data-zg-package][aria-pressed="true"] { outline: 1px solid #0ea5e9; }
[data-zg-package][aria-pressed="false"] { outline: none; }
[data-zg-table] [hidden], #root [hidden] { display: none !important; }
#root form.glass-card label:has(input) { cursor: text; }

.z-operations .panel, .z-operations .inset {
  padding: 1.25rem;
  background: rgba(100, 116, 139, .08);
  border: 1px solid rgba(148, 163, 184, .19);
  border-radius: 1rem;
}
.z-operations h1 { font-size: 1.75rem; font-weight: 700; }
.z-operations h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.z-operations p, .z-operations .muted { color: #94a3b8; }
.z-operations .grid.two { gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.z-operations form { display: grid; gap: .75rem; max-width: 42rem; }
.z-operations label { display: grid; gap: .3rem; font-size: .875rem; }
.z-operations :is(input, select, textarea):not([type="hidden"]) {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: .65rem;
  color: inherit;
  background: rgba(100, 116, 139, .12);
}
.dark .z-operations select option { background: #0f172a; }
.z-operations .button {
  justify-self: start;
  padding: .65rem 1rem;
  font-weight: 600;
  border-radius: .65rem;
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(148, 163, 184, .14);
}
.z-operations .button.primary { color: #fff; background: linear-gradient(135deg, #0ea5e9, #0891b2); }
.z-operations .inset { margin-bottom: .75rem; }
.z-operations .review-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.z-operations a { color: #0ea5e9; text-decoration: underline; }
.z-operations .preserve { white-space: pre-wrap; }

.z-operations #transactions td { vertical-align: top; }
.z-operations #transactions details form { margin-top: .75rem; min-width: 14rem; }
.z-operations #transactions .zg-void-confirm { display: flex; align-items: flex-start; }
.z-operations #transactions input[type="checkbox"] { width: auto; margin-top: .2rem; }
