:root {
  color-scheme: dark;
  font: 100%/1.5 Inter, "Segoe UI", Arial, sans-serif;
  background: #10181f;
  color: #edf4f4;
  --mint: #a4e8c4;
  --line: #33434b;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 2rem; }
.shell {
  width: min(100%, 53rem); display: grid; grid-template-columns: .87fr 1.13fr;
  background: #18252e; border: 1px solid var(--line); border-radius: 1rem;
  overflow: hidden; box-shadow: 0 1.2rem 5.5rem #0003;
}
.identity { position: relative; overflow: hidden; min-height: 27rem; padding: 2rem; background: #152b2a; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; font-weight: 720; letter-spacing: -.045em; }
.mark { width: 1.8rem; height: 1.8rem; display: inline-flex; gap: .14rem; justify-content: center; align-items: end; padding: .38rem .3rem; border-radius: .36rem; background: var(--mint); }
.mark i { width: .2rem; height: 40%; background: #244535; border-radius: 1px; }
.mark i:nth-child(2) { height: 70%; }
.mark i:nth-child(3) { height: 100%; }
.chart-art { position: absolute; inset: 5.3rem 0 0; background-image: linear-gradient(90deg, #72af9417 1px, transparent 1px), linear-gradient(#72af9417 1px, transparent 1px); background-size: 2.6rem 2.6rem; mask-image: linear-gradient(transparent, black 27%); }
.candles { position: absolute; inset: 22% -.7rem 9%; display: flex; align-items: end; justify-content: space-around; }
.candles i { position: relative; width: 4.5%; height: 18%; bottom: 8%; color: #84c8a9; background: currentColor; border-radius: 2px; }
.candles i::before { content: ""; height: 160%; width: 2px; background: currentColor; position: absolute; bottom: -27%; left: calc(50% - 1px); }
.candles i:nth-child(2) { bottom: 14%; height: 31%; }
.candles i:nth-child(3) { bottom: 24%; height: 14%; color: #488979; }
.candles i:nth-child(4) { bottom: 16%; height: 11%; color: #488979; }
.candles i:nth-child(5) { bottom: 18%; height: 21%; }
.candles i:nth-child(6) { bottom: 41%; height: 18%; }
.candles i:nth-child(7) { bottom: 37%; height: 12%; color: #488979; }
.candles i:nth-child(8) { bottom: 43%; height: 23%; }
.candles i:nth-child(9) { bottom: 67%; height: 13%; }
.pane { align-self: center; padding: clamp(2rem, 5vw, 3.75rem); min-width: 0; }
h1 { margin: 0 0 1.7rem; font-size: clamp(1.7rem, 3.4vw, 2.35rem); line-height: 1.12; letter-spacing: -.04em; }
form { display: grid; gap: 1.12rem; }
.field { display: grid; gap: .38rem; }
label { font-size: .94rem; font-weight: 550; color: #cedbdc; }
input, button { font: inherit; }
input { width: 100%; min-height: 2.9rem; padding: .62rem .8rem; border: 1px solid #53656e; background: #101c24; color: #edf4f4; border-radius: .45rem; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
input[aria-invalid="true"] { border-color: #efaaaa; }
.password { position: relative; }
.password input { padding-right: 5.6rem; }
.reveal { position: absolute; right: .28rem; top: .25rem; bottom: .25rem; padding: 0 .45rem; border: 0; border-radius: .25rem; cursor: pointer; background: transparent; color: #b7cfca; font-size: .875rem; }
.reveal:hover { color: white; }
.primary { margin-top: .48rem; min-height: 2.9rem; border: 0; border-radius: .45rem; background: var(--mint); color: #102b21; font-weight: 680; cursor: pointer; }
.primary:hover { background: #bef3d8; }
.error { margin: 0; color: #ffbab5; font-size: .94rem; }
.identity-line { margin: -.6rem 0 1.8rem; color: #bbcccf; overflow-wrap: anywhere; }
.identity-line strong { color: #edf4f4; }
.text-link { color: var(--mint); }
@media (max-width: 40rem) {
  main { padding: 1rem; }
  .shell { max-width: 25rem; grid-template-columns: 1fr; }
  .identity { min-height: auto; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
  .chart-art { display: none; }
  .pane { padding: 2rem 1.6rem; }
}
