@import url("/fonts.css");
:root {
  color-scheme: dark;
  --bg: #111314;
  --card: #1b1e20;
  --line: #303436;
  --muted: #a0a7a9;
  --red: #c6f432;
  --yellow: #c6f432;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: #f5f3ee;
  font:
    15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
main {
  max-width: 680px;
  margin: auto;
  padding: 24px 22px 115px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.brand {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 1.2px;
}
.brand b {
  color: var(--red);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 750;
}
.badge {
  background: #202420;
  color: var(--yellow);
  border: 1px solid #30352a;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
h1 {
  font-size: 37px;
  letter-spacing: -1.6px;
  line-height: 1.1;
  margin: 9px 0 12px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
p {
  margin: 8px 0 16px;
}
.muted,
small {
  color: var(--muted);
}
.hero {
  border: 1px solid #3a4030;
  background: #1b1e20;
  padding: 23px;
  border-radius: 19px;
  margin: 23px 0 18px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "↗";
  position: absolute;
  right: 18px;
  top: 20px;
  font-size: 60px;
  color: #c6f43222;
}
.hero h2 {
  font-size: 28px;
  margin: 12px 0 6px;
}
.hero p {
  max-width: 90%;
  font-size: 13px;
  color: #b2b8b1;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 19px;
  margin: 14px 0;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.grid .card {
  margin: 0;
}
.number {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -1px;
}
.number small {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
}
.accent {
  color: var(--yellow);
}
.red {
  color: var(--red);
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rule {
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
  font-size: 13px;
  color: #ccc;
}
.primary {
  background: var(--red);
  color: #1c1411;
  border: 0;
  font-weight: 800;
  border-radius: 11px;
  min-height: 50px;
  padding: 12px 18px;
  width: 100%;
  margin-top: 10px;
}
.secondary {
  background: #282c2e;
  color: #eee;
  border: 1px solid #434749;
  border-radius: 10px;
  padding: 12px 16px;
  min-height: 48px;
  width: 100%;
  margin-top: 10px;
}
.link {
  background: transparent;
  border: 0;
  color: var(--red);
  padding: 8px;
}
label {
  display: block;
  color: #c3c8c9;
  font-size: 12px;
  margin: 14px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #404648;
  background: #121516;
  color: #fff;
  border-radius: 9px;
  padding: 12px;
  min-height: 47px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input[type="checkbox"] {
  width: 22px;
  min-height: 22px;
  vertical-align: middle;
  margin-right: 8px;
}
.item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
}
.item:last-child {
  border: 0;
}
.index {
  font: 700 12px monospace;
  color: var(--red);
  background: #272d20;
  border-radius: 9px;
  padding: 10px;
}
.item strong {
  font-size: 14px;
}
.item small {
  display: block;
  font-size: 11px;
}
.item .right {
  margin-left: auto;
  color: var(--yellow);
  white-space: nowrap;
  font-size: 12px;
}
nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #171a1bf5;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 10px 4px max(12px, env(safe-area-inset-bottom));
  backdrop-filter: blur(15px);
  z-index: 2;
}
nav button {
  border: 0;
  background: none;
  color: #929a9d;
  font-size: 10px;
  min-height: 45px;
  min-width: 55px;
}
nav button span {
  display: block;
  font-size: 19px;
  margin-bottom: 3px;
}
nav button.active {
  color: var(--red);
}
.message {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.user {
  background: #252c1b;
  margin-left: 25px;
}
.message.assistant {
  background: var(--card);
  margin-right: 15px;
}
details summary {
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #101212;
  padding: 14px;
  border-radius: 9px;
  font-size: 12px;
}
a {
  color: var(--yellow);
}
#toast {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  max-width: 640px;
  margin: auto;
  background: #c6f432;
  color: #19200d;
  padding: 16px;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 8px 40px #0009;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-top: 20px;
}
.bar {
  flex: 1;
  background: var(--red);
  border-radius: 5px 5px 0 0;
  min-height: 3px;
}
.login {
  padding-top: 70px;
}
.login h1 {
  font-size: 48px;
}
.login .mark {
  color: var(--red);
  font-size: 50px;
}
.steps {
  counter-reset: step;
}
.step {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #111;
  font-weight: 800;
  margin-right: 10px;
}
button:disabled {
  opacity: 0.5;
}
.tiny {
  font-size: 11px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.4px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.profile-button {
  color: #a0a7a9;
  border: 1px solid #353a36;
  background: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 20px;
}
.login-logo {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin-bottom: 30px;
}
.hero:after {
  display: none;
}
.hero {
  padding: 24px;
  margin-top: 28px;
}
.hero p {
  max-width: 100%;
}
.field {
  min-width: 0;
}
.grid .field label {
  min-height: 18px;
}
.badge {
  background: transparent;
  color: #b6bdb3;
}
.brand b {
  color: #fff;
}
nav button {
  min-width: 62px;
}
details p {
  font-size: 13px;
}
.hero details {
  margin-top: 16px;
}
.hero details summary {
  font-size: 12px;
  color: #a0a7a9;
  font-weight: 400;
}
.number {
  font-size: 36px;
}
/* Calm daytime palette, requested by Elvis. Logo colors stay in the logo. */
:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --card: #fff;
  --line: #e0e5df;
  --muted: #687570;
  --red: #326f68;
  --yellow: #326f68;
}
body {
  color: #203832;
}
.hero {
  background: #e8efea;
  border-color: #d4e1d8;
}
.hero p {
  color: #52665f;
}
.card {
  box-shadow: 0 2px 8px #20383203;
}
.brand b {
  color: #203832;
}
.brand {
  color: #203832;
}
.badge {
  color: #65786e;
  border-color: #d5ded7;
}
.primary {
  background: #326f68;
  color: #fff;
}
.secondary {
  background: #f0f3ee;
  border-color: #d7dfd8;
  color: #28453a;
}
input,
select,
textarea {
  background: #fff;
  border-color: #ced8d0;
  color: #203832;
}
label {
  color: #50675d;
}
.rule {
  color: #50675d;
  border-color: #87aaa0;
}
.index {
  background: #e6eee8;
  color: #326f68;
}
.profile-button {
  border-color: #d5ded7;
  color: #61756c;
}
.hero details summary {
  color: #61756c;
}
.message.user {
  background: #e7efea;
}
.message.assistant {
  background: #fff;
}
.login h1 {
  font-size: 42px;
}
nav {
  background: #f9fbf7f5;
  border-color: #dbe2da;
}
nav button {
  color: #718178;
}
nav button.active {
  color: #326f68;
}
.number {
  color: #263e34;
}
.accent {
  color: #326f68;
}
.bars .bar {
  background: #6a9a8a;
}
pre {
  background: #edf2ed;
  color: #334f43;
}
a {
  color: #326f68;
}
#toast {
  background: #284f44;
  color: #fff;
}
.brand img {
  width: 40px;
  height: 40px;
}
.hero h2 {
  font-size: 27px;
}
.onboard-progress {
  display: flex;
  gap: 8px;
  margin: 24px 0;
}
.onboard-progress i {
  height: 4px;
  background: #dce4dc;
  flex: 1;
  border-radius: 4px;
}
.onboard-progress i.done {
  background: #326f68;
}
.set-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.set-row input {
  min-width: 0;
}
.primary {
  margin-top: 18px;
}
.card details summary {
  min-height: 44px;
}
body {
  overflow-anchor: none;
}
nav {
  background: #f9fbf7;
}
select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #718178 50%),
    linear-gradient(135deg, #718178 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.bars .bar {
  flex: 0 0 24px;
  max-width: 24px;
}
.bars {
  gap: 9px;
}
.tour {
  padding-top: 26px;
}
.tour-symbol {
  font-size: 58px;
  color: #326f68;
  margin: 48px 0 28px;
}
.tour h1 {
  font-size: 38px;
  margin-top: 18px;
}
.tour-copy {
  font-size: 18px;
  line-height: 1.7;
  color: #52665f;
  margin: 22px 0 42px;
}
.tour ol {
  padding-left: 22px;
  color: #52665f;
  line-height: 1.7;
}
.tour li {
  margin-bottom: 12px;
}
