@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #edf3ed;
  background: #0c141b;
  --lime: #e9fe88;
  --muted: #a9babd;
  --line: #ffffff21;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button {
  color: inherit;
  border: 1px solid var(--line);
  background: #1c2b32;
  border-radius: 6px;
  padding: 12px 17px;
}
button:hover:not(:disabled) {
  border-color: var(--lime);
}
[hidden] {
  display: none !important;
}
header {
  max-width: 1560px;
  margin: auto;
  min-height: 100px;
  padding: 24px 4%;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
header > a:nth-child(2) {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    700 25px "Space Grotesk",
    sans-serif;
  letter-spacing: 2px;
}
.brand small {
  font:
    500 12px "DM Sans",
    sans-serif;
  color: var(--muted);
  letter-spacing: 1px;
  border-left: 1px solid var(--line);
  padding-left: 15px;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #162118;
  width: 39px;
  height: 41px;
  border-radius: 10px;
  transform: rotate(-8deg);
  font-size: 29px;
}
main {
  max-width: 1460px;
  margin: auto;
  padding: 36px 4% 0;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: var(--lime);
  font-weight: 600;
}
h1 {
  font:
    500 clamp(30px, 3.3vw, 48px) / 1.12 "Space Grotesk",
    sans-serif;
  letter-spacing: -1.8px;
  margin: 12px 0;
}
p {
  line-height: 1.65;
}
.page-title p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.badge {
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid #e9fe8840;
  border-radius: 5px;
  color: var(--lime);
  padding: 9px 12px;
  white-space: nowrap;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
h2 {
  font:
    500 23px "Space Grotesk",
    sans-serif;
  margin: 0 0 20px;
}
h2 > span {
  color: #edf3ed;
  margin-left: 12px;
}
.section-top h2 {
  color: var(--lime);
}
.muted {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.templates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 8px 0 28px;
}
.template {
  background: #101e25;
  text-align: left;
  padding: 17px 13px;
  min-height: 132px;
  border-top: 3px solid #718689;
}
.template span {
  display: block;
  color: #a9babd;
  font-size: 11px;
  letter-spacing: 1px;
}
.template b {
  display: block;
  font:
    500 18px "Space Grotesk",
    sans-serif;
  margin: 14px 0 7px;
}
.template small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: block;
}
.template.selected {
  background: #e9fe8811;
  border-color: var(--lime);
}
.template.selected span,
.template.selected b {
  color: var(--lime);
}
fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 24px 0;
}
legend {
  padding: 0 15px 0 0;
  font:
    500 20px "Space Grotesk",
    sans-serif;
}
legend span {
  margin-left: 8px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
}
input:not([type="checkbox"]),
select {
  min-width: 0;
  width: 100%;
  padding: 12px;
  color: #f0f4e8;
  background: #14232b;
  border: 1px solid #ffffff2a;
  border-radius: 5px;
}
input[type="datetime-local"] {
  color-scheme: dark;
}
input:disabled,
select:disabled {
  opacity: 0.6;
}
input::placeholder {
  color: #738b96;
}
label small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.wide {
  grid-column: 1/-1;
}
.note {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}
.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.toggles label,
.ack {
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
}
input[type="checkbox"] {
  accent-color: var(--lime);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.toggles label {
  align-items: center;
}
#poolFields .fields {
  margin-top: 22px;
}
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.form-actions span {
  font-size: 13px;
  color: var(--muted);
}
.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #18261c;
  font-weight: 700;
}
.secondary {
  background: transparent;
}
.quiet {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
}
.preview {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 25px;
  background: linear-gradient(155deg, #1e3037, #122128);
  align-self: start;
  position: sticky;
  top: 22px;
}
.preview h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-top: 23px;
}
.preview p {
  font-size: 15px;
  color: #becbcb;
}
.preview .eyebrow {
  color: var(--lime);
  font-size: 11px;
}
.spec {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
  line-height: 1.6;
}
.spec span {
  color: var(--muted);
}
.spec b {
  text-align: right;
  overflow-wrap: anywhere;
  max-width: 65%;
  font-weight: 500;
}
.context {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 25px;
}
.context b {
  font:
    500 17px/1.5 "Space Grotesk",
    sans-serif;
  color: var(--lime);
}
.context p {
  font-size: 13px;
  margin-bottom: 0;
}
#status {
  padding: 12px 0;
  color: #e9fe88;
  overflow-wrap: anywhere;
}
#status.error,
#manageStatus.error {
  color: #ffb095;
}
#blueprintActions {
  display: grid;
  gap: 10px;
}
#deployment {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  margin-top: 36px;
  background: #101e25;
}
#deployment > p {
  color: var(--muted);
  max-width: 950px;
}
.risk {
  border-left: 2px solid #ffa66d;
  padding-left: 15px;
  color: #efc6af !important;
}
.ack {
  margin: 24px 0;
}
#steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.step strong {
  font-weight: 500;
  font-size: 16px;
}
.step small {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
  flex: 1;
}
.step.done {
  border-color: #e9fe8870;
}
.step.done strong {
  color: var(--lime);
}
#transactionLog p {
  overflow-wrap: anywhere;
  font-size: 14px;
}
#transactionLog a {
  color: var(--lime);
  text-decoration: underline;
}
#walletState {
  overflow-wrap: anywhere;
}
.manage {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.manage details {
  max-width: 900px;
}
.manage summary {
  cursor: pointer;
  font-size: 16px;
}
.manage p {
  color: var(--muted);
}
.manage button {
  margin: 18px 10px 0 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding: 25px 0;
  font-size: 12px;
  color: var(--muted);
}
footer a {
  text-decoration: underline;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #14232b;
  color: #edf3ed;
  max-width: 640px;
  width: calc(100% - 30px);
  padding: 28px;
  max-height: 85vh;
}
dialog::backdrop {
  background: #000b;
}
dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    14px/1.8 "DM Sans",
    sans-serif;
  background: #0c141b;
  padding: 18px;
  border-radius: 6px;
}
dialog p {
  color: var(--muted);
  font-size: 14px;
}
@media (min-width: 1400px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
  }
}
@media (max-width: 1050px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
  }
  .templates {
    grid-template-columns: 1fr 1fr;
  }
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .section-top > .muted {
    margin-bottom: 15px;
  }
  #steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  header {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
  }
  .brand small {
    display: none;
  }
  header > a:nth-child(2) {
    font-size: 13px;
  }
  #connect {
    width: 100%;
  }
  main {
    padding: 25px 20px 0;
  }
  .page-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  h1 {
    font-size: 35px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .preview {
    position: static;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .templates {
    gap: 10px;
  }
  .template {
    min-height: 120px;
  }
  .template b {
    font-size: 19px;
  }
  .toggles {
    flex-direction: column;
    gap: 10px;
  }
  #steps {
    grid-template-columns: 1fr;
  }
  #deployment {
    padding: 20px;
  }
  #deployment .badge {
    margin-bottom: 15px;
  }
  footer {
    flex-direction: column;
  }
  .form-actions > button {
    width: 100%;
  }
  .page-title .badge {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
#downloadFallback a {
  font-size: 14px;
  color: var(--lime);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
header{flex-wrap:wrap} @media(max-width:760px){header{gap:14px}.brand{width:100%}}
