* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #232823;
  --line: #cecec4;
  --mute: #555e57;
  --accent: #26534a;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.5 "Segoe UI",
    system-ui,
    sans-serif;
}
header {
  background: #202923;
  color: #f7f6ef;
}
.bar,
main {
  max-width: 1240px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 76px);
}
.bar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.055em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark {
  width: 27px;
  height: 24px;
  border: 2px solid #ddd9bd;
  border-radius: 2px;
  transform: skew(-12deg);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 5px,
    #ddd9bd 5px 7px
  );
  clip-path: polygon(0 0, 100% 0, 100% 77%, 72% 77%, 72% 100%, 0 100%);
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  padding: 8px 15px;
  font-weight: 600;
}
button:hover {
  background: #e4e7dd;
}
button.quiet {
  padding: 6px 2px;
  font-weight: 500;
  border: 0;
  color: inherit;
  font-size: 14px;
}
button.quiet:hover {
  background: none;
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #c48925;
  outline-offset: 3px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 60px 0 90px;
}
.identity h1,
h1,
h2,
h3,
p {
  margin: 0;
}
.identity h1,
.workspace h1 {
  font:
    500 clamp(44px, 5.2vw, 76px)/1.05 Georgia,
    serif;
  letter-spacing: -0.055em;
}
.identity h1 {
  margin: 30px 0 12px;
}
.identity p {
  max-width: 420px;
  color: var(--mute);
  font-size: 18px;
}
.pattern {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.88;
  background: #344d47;
  border: 12px solid #29332d;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px #a1a28e;
}
.tone {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, #e3e3cb25 17px 18px),
    repeating-linear-gradient(90deg, transparent 0 17px, #e3e3cb25 17px 18px);
}
.target {
  position: absolute;
  top: 46%;
  left: 50%;
  height: 82%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #e7e4cfaa;
  background:
    linear-gradient(
      180deg,
      #e1ddc7 0 24%,
      transparent 24% 36%,
      #344b43 36% 47%,
      #263731 47% 64%,
      transparent 64% 75%,
      #d1cdb4 75% 100%
    ),
    repeating-linear-gradient(90deg, #e1dfcc 0 2px, #29362d 2px 4px);
}
.target:after {
  content: "";
  position: absolute;
  inset: 49.7% -18%;
  height: 1px;
  background: #e2dfc8;
}
.pattern i {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(
    90deg,
    #d3cfb4 0 14%,
    #b9ad72 14% 28%,
    #83a599 28% 42%,
    #779382 42% 56%,
    #a48387 56% 70%,
    #a16b5f 70% 84%,
    #586c81 84%
  );
}
.access {
  padding: 35px 0;
  max-width: 390px;
  width: 100%;
  justify-self: end;
}
.access h2 {
  font:
    500 36px/1.2 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 18px 0 7px;
}
input {
  border: 1px solid #9ba29a;
  background: #fffefa;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 4px;
  min-width: 0;
  width: 100%;
}
#otp {
  letter-spacing: 0.24em;
  font-family: monospace;
}
.hint,
small {
  font-size: 13px;
  color: var(--mute);
}
.hint {
  margin-top: 8px;
}
.primary {
  background: var(--accent);
  color: white;
  border: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding: 13px 17px;
}
.primary:hover {
  background: #1a423a;
}
.login-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--accent);
  font-size: 14px;
}
.login-help a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.access input[type="checkbox"] {
  width: auto;
}
main code {
  overflow-wrap: anywhere;
}
.error {
  color: #873e34;
}
.workspace {
  padding: 60px 0 90px;
}
.kicker,
small {
  letter-spacing: 0.025em;
}
.kicker {
  color: var(--mute);
  font:
    600 12px/1.5 "Segoe UI",
    sans-serif;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 8px 0 36px;
}
.search {
  display: flex;
  gap: 8px;
}
.list-head,
.asset,
.release-row,
.facts,
.receive {
  border-top: 1px solid var(--line);
}
.list-head {
  background: #e9ebe2;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.release-row,
.asset {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 18px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.release-row:hover {
  background: #eceee5;
}
.release-row h2,
.asset h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 4px 0;
}
.release-row p,
.empty p,
.receive p {
  color: var(--mute);
  font-size: 14px;
}
.slate {
  background:
    repeating-linear-gradient(128deg, #3b4e44 0 8px, #d0d3c4 8px 13px) top/100%
      9px no-repeat,
    #4d6255;
  width: 43px;
  height: 40px;
  border-radius: 3px;
  flex: none;
}
.row-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.status {
  font-size: 13px;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e9e5df;
}
.status.open {
  color: #254e3a;
  background: #dae9d9;
}
.empty {
  padding: 45px 18px;
}
.empty p {
  margin-top: 8px;
}
.back {
  display: inline-block;
  margin-bottom: 32px;
}
.facts {
  display: flex;
  gap: 50px;
  padding: 20px 0 36px;
}
.facts small,
.facts strong,
.receive small {
  display: block;
}
.facts strong {
  font-size: 15px;
}
.asset {
  align-items: flex-start;
  justify-content: space-between;
}
.asset details {
  margin-top: 7px;
  font-size: 13px;
}
.asset code {
  overflow-wrap: anywhere;
}
.asset summary {
  cursor: pointer;
  color: var(--accent);
}
.receive {
  padding: 28px 0;
}
.receive small {
  margin-top: 10px;
}
.pages {
  margin: 20px 0;
}
.sr {
  position: absolute;
  clip-path: inset(100%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .bar {
    height: auto;
    min-height: 62px;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-block: 12px;
  }
  .brand {
    font-size: 18px;
  }
  nav {
    gap: 8px 12px;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
  }
  .login-layout {
    display: block;
    padding: 28px 0 45px;
    min-height: auto;
  }
  .identity {
    display: grid;
    grid-template-columns: 1fr minmax(70px, 28%);
    align-items: center;
    column-gap: 16px;
  }
  .identity .pattern {
    grid-column: 2;
    grid-row: 1/3;
    border-width: 4px;
    align-self: start;
  }
  .identity h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: 40px;
    margin: 0;
  }
  .identity p {
    grid-column: 1/3;
    font-size: 15px;
    margin-top: 12px;
  }
  .access {
    margin: 26px 0 0;
    border-top: 1px solid var(--line);
    padding: 22px 0;
    max-width: 100%;
  }
  .access h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .workspace {
    padding: 32px 0;
  }
  .section-head,
  .facts {
    flex-wrap: wrap;
    gap: 15px;
  }
  .search {
    width: 100%;
  }
  .release-row,
  .asset {
    padding: 15px 5px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .slate {
    display: none;
  }
  .row-end {
    margin: 0;
  }
  .asset > div {
    width: 100%;
  }
  .facts {
    gap: 18px;
  }
  .facts > div {
    min-width: 120px;
  }
  .section-head h1 {
    overflow-wrap: anywhere;
    max-width: 100%;
  }
}

.package-contents {
  overflow-wrap: anywhere;
  padding-inline-start: 1.25rem;
}
.package-contents li + li {
  margin-block-start: .4rem;
}

/* Studio settings use the same portal design system, with accessible radio choices. */
.studio-settings { max-width: 850px; }
.studio-settings h1 { font-size: clamp(36px, 5vw, 58px); }
.settings-options {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  min-inline-size: 0;
}
.settings-options legend { font-weight: 600; padding: 0 8px; }
.settings-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.settings-option:has(input:checked) {
  border-color: var(--accent);
  background: #e4eae4;
}
.settings-option input[type="radio"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
}
.settings-save { background: var(--accent); color: #fff; border-color: var(--accent); }
.settings-save:hover { background: #183f37; }

.totp-qr { display: block; max-width: 100%; height: auto; background: white; }
