:root {
  color-scheme: light;
  --ink: #18372e;
  --muted: #7a827c;
  --line: #dee3da;
  --paper: #f6f7f1;
  --lime: #d7f584;
  --white: #fff;
  --danger: #b83b3b;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible,
a:focus-visible {
  outline: 3px solid #7aa24c;
  outline-offset: 3px;
}
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 13px;
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand span {
  color: #9eaf9f;
  font-weight: 400;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.primary {
  width: 100%;
  background: var(--ink);
  color: var(--lime);
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 17px;
  font-weight: 650;
}
.primary span {
  font-size: 20px;
}
.quiet {
  background: transparent;
  border: 0;
  padding: 7px;
  font-size: 12px;
}
.error {
  color: var(--danger) !important;
  min-height: 20px;
  font-size: 13px !important;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 20px 0 0;
}
input,
select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 12px;
  min-width: 0;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.intro {
  background: var(--ink);
  color: #eef4e9;
  padding: 44px 9%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.intro .eyebrow {
  color: var(--lime);
}
.intro h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(50px, 5.3vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 24px 0;
}
.intro p {
  font-size: 15px;
  line-height: 1.8;
  color: #a7bcb0;
}
.intro small {
  color: #a7bcb0;
}
.orbit {
  height: 200px;
  margin: 35px 0;
  position: relative;
  border: 1px solid #466052;
  border-radius: 100%;
  max-width: 380px;
  transform: rotate(-20deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit:before {
  content: "";
  position: absolute;
  inset: 34px -24px;
  border: 1px solid #466052;
  border-radius: 100%;
}
.orbit span {
  font-size: 62px;
  color: var(--lime);
  font-weight: 250;
  transform: rotate(20deg);
}
.orbit i {
  width: 13px;
  height: 13px;
  background: var(--lime);
  border-radius: 50%;
  position: absolute;
  right: 38px;
  top: 11px;
}
.orbit b {
  position: absolute;
  bottom: -17px;
  right: 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 400;
  transform: rotate(20deg);
  color: #a7bcb0;
}
.login-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-card {
  width: 360px;
}
.login-card h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin: 18px 0;
}
.login-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.login-card .primary {
  margin-top: 30px;
}
.login-card small {
  display: block;
  text-align: center;
  margin-top: 22px;
}
.topbar {
  height: 76px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
}
.account {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
}
.private-badge {
  font-size: 10px;
  background: #eef2e8;
  border-radius: 20px;
  padding: 8px 11px;
  color: #557455;
}
.workspace {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: calc(100vh - 76px);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 34px 27px;
  background: #f1f3ec;
}
.sidebar h1 {
  font-family: Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 18px 0;
}
.divider {
  border-top: 1px solid var(--line);
  margin: 27px 0 18px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-label h2 {
  font-size: 12px;
}
.carriers {
  display: grid;
  gap: 8px;
  margin: 12px 0 25px;
}
.carrier {
  display: flex;
  align-items: center;
  text-align: left;
  justify-content: space-between;
  width: 100%;
  padding: 12px;
  font-size: 12px;
}
.carrier strong {
  display: block;
  font-size: 12px;
}
.carrier small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.carrier.selected {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink);
}
.carrier i {
  width: 12px;
  height: 12px;
  border: 1px solid #b5bdb5;
  border-radius: 50%;
  flex-shrink: 0;
}
.carrier.selected i {
  border: 3px solid var(--ink);
  background: var(--lime);
}
.sidebar select {
  font-size: 12px;
  background: #fafbf7;
}
.sidebar .primary {
  margin-top: 24px;
  font-size: 12px;
}
.note {
  margin-top: 27px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.note b {
  color: #526355;
  font-weight: 650;
}
.studio {
  padding: 34px 36px 20px;
  min-width: 0;
}
.studio-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.studio-heading h2 {
  font-weight: 550;
  font-size: 24px;
  letter-spacing: -0.035em;
  margin: 10px 0 0;
}
.status {
  font-size: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  white-space: nowrap;
}
.status.connected {
  background: #e2efcd;
  color: #3d642a;
  border-color: #d1dfbc;
}
.browser {
  background: white;
  border: 1px solid #d5dcd1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px #233e2910;
}
.browser-top {
  height: 41px;
  background: #eef0e9;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 7px;
  height: 7px;
  background: #c8d0c3;
  border-radius: 50%;
}
.dots i:first-child {
  background: #ccaaa0;
}
.tabs {
  display: flex;
  gap: 5px;
  min-width: 0;
  overflow: auto;
  flex: 1;
  height: 100%;
  align-items: end;
}
.tabs button {
  background: #e4e8df;
  white-space: nowrap;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  border: 0;
  border-radius: 7px 7px 0 0;
  padding: 8px 12px;
}
.tabs button.active {
  background: white;
}
.countdown {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.addressbar {
  height: 52px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 7px 12px;
}
.addressbar input {
  margin: 0;
  background: #f4f6f1;
  border: 0;
  padding: 9px 12px;
  font-size: 11px;
}
.addressbar button {
  background: none;
  border: 0;
  padding: 5px 7px;
  font-size: 18px;
}
.stage {
  min-height: 440px;
  height: min(67vh, 870px);
  background: #e8ece5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 20px;
}
.empty {
  align-self: center;
  text-align: center;
  color: #829080;
  padding: 30px;
}
.empty-icon {
  width: 60px;
  height: 60px;
  border: 1px solid #bccab6;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 24px;
  color: #486b43;
}
.empty h3 {
  font-size: 16px;
  font-weight: 500;
  color: #4b6652;
  letter-spacing: -0.02em;
}
.empty p {
  font-size: 12px;
  line-height: 1.8;
}
.empty > span {
  font-size: 8px;
  letter-spacing: 0.18em;
  display: block;
  margin-top: 35px;
}
canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  flex-shrink: 0;
  touch-action: none;
  background: white;
  box-shadow: 0 4px 15px #233e2920;
  object-fit: contain;
  outline-offset: 3px;
}
.tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.tools > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tools button {
  font-size: 11px;
  padding: 10px 13px;
  background: transparent;
}
.tools .danger {
  border-color: #decbc2;
  color: #945348;
}
.paste {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 22px 0 0;
}
.paste label {
  margin: 0;
  white-space: nowrap;
  font-size: 11px;
}
.paste input {
  margin: 0;
  font-size: 12px;
  background: white;
}
.paste button {
  white-space: nowrap;
  background: #e8eddf;
  font-size: 11px;
}
.help {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}
.notice {
  font-size: 12px;
  padding: 12px 15px;
  background: #f3ead6;
  border: 1px solid #e8d4aa;
  border-radius: 8px;
  margin-bottom: 15px;
  line-height: 1.7;
}
.dialog {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background: #fff1ce;
  font-size: 12px;
}
.dialog button {
  padding: 7px;
}
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #879383;
  letter-spacing: 0.06em;
}
footer span {
  letter-spacing: 0;
  font-style: italic;
}
@media (min-width: 1500px) {
  .studio {
    padding-left: 55px;
    padding-right: 55px;
  }
  .workspace {
    grid-template-columns: 320px 1fr;
  }
  .sidebar {
    padding-left: 38px;
    padding-right: 38px;
  }
}
@media (max-width: 1000px) {
  .topbar {
    padding: 0 22px;
  }
  .workspace {
    grid-template-columns: 250px 1fr;
  }
  .sidebar {
    padding: 28px 20px;
  }
  .studio {
    padding: 28px 20px;
  }
  .studio-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .studio-heading h2 {
    font-size: 21px;
  }
  .tools {
    flex-direction: column;
  }
  .tools .danger {
    align-self: flex-end;
  }
  .private-badge {
    display: none;
  }
  .stage {
    padding: 12px;
  }
  .paste {
    flex-wrap: wrap;
  }
  .paste label {
    width: 100%;
  }
  .paste input {
    flex: 1;
  }
}
@media (max-width: 680px) {
  .login-layout {
    display: block;
  }
  .intro {
    min-height: 260px;
    padding: 26px;
  }
  .intro h1 {
    font-size: 45px;
    margin: 20px 0 12px;
  }
  .intro p,
  .intro small,
  .orbit {
    display: none;
  }
  .intro > .brand {
    margin-bottom: 32px;
  }
  .login-side {
    padding: 35px 24px;
  }
  .login-card {
    width: 100%;
    max-width: 370px;
  }
  .topbar {
    height: 65px;
    padding: 0 17px;
  }
  .brand {
    font-size: 12px;
  }
  .account {
    gap: 9px;
    font-size: 10px;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 15px;
  }
  .sidebar > .eyebrow,
  .sidebar h1,
  .sidebar > .muted,
  .sidebar > .divider,
  .sidebar > .section-label,
  .sidebar > .carriers,
  .sidebar > .primary {
    grid-column: 1/-1;
  }
  .sidebar h1 {
    font-size: 35px;
    margin: 0;
  }
  .sidebar h1 br {
    display: none;
  }
  .sidebar > .muted,
  .sidebar > .divider,
  .note {
    display: none;
  }
  .sidebar label {
    margin: 0;
  }
  .carriers {
    grid-template-columns: 1fr 1fr;
    margin: 0;
  }
  .sidebar .primary {
    margin-top: 5px;
  }
  .section-label h2 {
    margin: 0;
  }
  .studio {
    padding: 25px 16px;
  }
  .studio-heading {
    flex-direction: row;
    align-items: center;
  }
  .studio-heading h2 {
    font-size: 17px;
  }
  .studio-heading .eyebrow {
    font-size: 8px;
  }
  .status {
    font-size: 8px;
    padding: 7px;
  }
  .stage {
    height: 68vh;
    min-height: 360px;
    padding: 10px;
  }
  .addressbar {
    gap: 2px;
    padding: 7px;
  }
  .addressbar input {
    padding: 9px 7px;
  }
  .tools > div {
    gap: 5px;
  }
  .tools button {
    font-size: 10px;
    padding: 9px;
  }
  .dialog {
    flex-wrap: wrap;
  }
  .empty {
    padding: 10px;
  }
  .empty h3 {
    font-size: 14px;
  }
}

.carrier.selected:disabled {
  opacity: 1;
}
