body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fcfbfe;
  color: var(--brand-ink);
  font-family: var(--brand-font-sans);
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
header {
  padding: clamp(16px, 3vh, 28px) 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
header img {
  width: 119px;
  height: 24px;
}
.private {
  font-size: 12px;
  color: #665e75;
  display: flex;
  align-items: center;
  gap: 8px;
}
.private svg {
  width: 14px;
  height: 14px;
}
main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
  align-items: center;
  gap: 8%;
  padding-block: 16px;
  min-width: 0;
}
.art {
  height: clamp(340px, calc(100dvh - 160px), 530px);
  min-width: 0;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 70% 25%, #efe7ff, transparent 65%),
    linear-gradient(145deg, #dfcdfb, #c7a8f2 60%, #a780d2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 3vw, 40px);
}
.sculpture {
  position: absolute;
  width: min(75%, 330px);
  aspect-ratio: 1;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-28deg);
  border: clamp(32px, 4.5vw, 60px) solid rgba(255, 255, 255, 0.58);
  border-radius: 110px;
  box-shadow:
    inset 12px 18px 30px #8d60b950,
    22px 38px 40px #7544a63b,
    -8px -10px 24px #ffffff70;
}
.sculpture:after {
  content: '';
  position: absolute;
  inset: -34px;
  border: 1px solid #ffffff60;
  border-radius: 85px;
}
.art-caption {
  position: relative;
  z-index: 1;
  max-width: 250px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 14px;
}
.art h2 {
  font-family: var(--brand-font-display);
  font-size: 44px;
  letter-spacing: -0.05em;
  line-height: 1.06;
  font-weight: 400;
  margin: 0;
}
.form-wrap {
  width: 100%;
  max-width: 400px;
  padding: 16px 0;
  min-width: 0;
}
.form-wrap h1 {
  font-family: var(--brand-font-display);
  font-size: 60px;
  letter-spacing: -0.07em;
  line-height: 1.03;
  font-weight: 400;
  margin: 0 0 20px;
}
.intro {
  font-size: 16px;
  line-height: 1.6;
  color: #6a6276;
  margin: 0 0 34px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 10px;
}
.field {
  position: relative;
}
input[type='password'],
input[type='text'] {
  font: 16px var(--brand-font-sans);
  color: var(--brand-ink);
  width: 100%;
  height: 56px;
  border: 1px solid #dcd7e4;
  border-radius: 12px;
  padding: 0 75px 0 16px;
  background: #fff;
}
input::placeholder {
  color: #857c91;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #8d62d2;
  outline-offset: 3px;
}
.toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font: 13px var(--brand-font-sans);
  color: #62556f;
  cursor: pointer;
  border-radius: 8px;
}
.submit {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-accent);
  color: var(--brand-ink);
  font: 550 15px var(--brand-font-sans);
  cursor: pointer;
  transition: background 0.15s;
}
.submit:hover {
  background: #b18bef;
}
.submit svg {
  width: 18px;
  height: 18px;
}
.help {
  font-size: 12px;
  line-height: 1.6;
  color: #746b80;
  margin: 20px 0 0;
}
.error {
  font-size: 13px;
  color: #963044;
  line-height: 1.5;
  margin: 12px 0 0;
}
footer {
  padding: 16px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  font-size: 11px;
  color: #81798b;
}
footer span:last-child {
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  header {
    padding: 20px 24px;
  }
  .private {
    font-size: 11px;
  }
  main {
    display: flex;
    max-width: 448px;
    padding: 12px 24px;
    align-items: center;
  }
  .art {
    display: none;
  }
  .form-wrap {
    max-width: none;
    padding: 8px 0;
  }
  .form-wrap h1 {
    font-size: clamp(40px, 11vw, 52px);
    margin-bottom: 16px;
  }
  .intro {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
  }
  footer {
    padding: 16px 24px;
    justify-content: center;
  }
  footer span:first-child {
    display: none;
  }
  body:has(form:focus-within) main {
    align-items: flex-start;
  }
  body:has(form:focus-within) .intro,
  body:has(form:focus-within) .form-wrap > .eyebrow,
  body:has(form:focus-within) footer {
    display: none;
  }
  body:has(form:focus-within) .form-wrap h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }
}
@media (max-height: 650px) {
  header {
    padding-block: 16px;
  }
  main {
    padding-block: 8px;
  }
  .form-wrap {
    padding: 8px 0;
  }
  .form-wrap h1 {
    font-size: 44px;
    margin-bottom: 14px;
  }
  .intro {
    margin-bottom: 20px;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
  .help {
    margin-top: 14px;
  }
  footer {
    padding-block: 12px;
  }
}
@media (max-height: 540px) {
  main {
    display: flex;
    max-width: 448px;
    padding: 8px 24px;
    align-items: center;
  }
  .art,
  .form-wrap > .eyebrow,
  .intro,
  footer {
    display: none;
  }
  .form-wrap {
    max-width: none;
    padding: 0;
  }
  .form-wrap h1 {
    font-size: 36px;
    margin-bottom: 14px;
  }
  .submit {
    margin-top: 12px;
    height: 48px;
  }
  .help {
    margin-top: 12px;
  }
  header {
    padding: 12px 24px;
  }
}
@media (max-width: 360px) {
  header,
  main {
    padding-inline: 20px;
  }
  .private {
    font-size: 10px;
  }
  .help {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.workspace {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  min-height: 100dvh;
  font-family: var(--brand-font-sans);
  color: var(--brand-ink);
}
.workspace header {
  border-bottom: 1px solid #eae6f0;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 5vw 24px;
  gap: 20px;
}
.workspace h1 {
  font-family: var(--brand-font-display);
  font-size: 48px;
  letter-spacing: -0.06em;
  font-weight: 400;
  margin: 0 0 12px;
}
.workspace h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}
.workspace h3 {
  font-size: 17px;
  margin: 0;
}
.count {
  display: inline-block;
  margin-left: 16px;
  font: 14px var(--brand-font-sans);
  background: #eae2f9;
  padding: 5px 10px;
  border-radius: 99px;
  vertical-align: middle;
}
.muted {
  color: #766d83;
  line-height: 1.6;
}
.small {
  font-size: 12px;
}
.text-button,
.danger-link {
  border: 0;
  background: none;
  font: 13px var(--brand-font-sans);
  padding: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button {
  color: #766d83;
}
.danger-link {
  color: #923b52;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: 500 13px var(--brand-font-sans);
  padding: 12px 17px;
  min-height: 44px;
  border-radius: 99px;
  white-space: nowrap;
}
.secondary {
  border: 1px solid #dfd8e8;
  background: #fff;
  color: var(--brand-ink);
}
.primary {
  border: 0;
  background: var(--brand-accent);
  color: var(--brand-ink);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.summary {
  margin: 0 5vw 28px;
  border-bottom: 1px solid #e8e2ef;
  padding-bottom: 24px;
  display: flex;
  gap: 26px;
  font-size: 13px;
  color: #746981;
}
.summary strong {
  color: var(--brand-ink);
  margin-right: 5px;
}
.identity {
  margin-left: auto;
  font-size: 12px;
}
.manager-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  margin: 0 5vw 36px;
}
.demo-list input {
  font: 14px var(--brand-font-sans);
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ded7e8;
  border-radius: 10px;
  background: #fff;
}
.filter-row {
  display: flex;
  gap: 6px;
  margin: 14px 0 20px;
  flex-wrap: wrap;
}
.filter-row button {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 99px;
  font: 12px var(--brand-font-sans);
  color: #776783;
}
.filter-row .active {
  background: #e9defa;
  color: #3d2b52;
}
.demo-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: none;
  text-align: left;
  color: var(--brand-ink);
  margin-bottom: 8px;
}
.demo-row:hover {
  background: #f2eef8;
}
.demo-row.selected {
  border-color: #ccbae8;
  background: #f2ecfc;
}
.monogram {
  height: 48px;
  width: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #e6d9f5;
  border-radius: 12px;
  font: 28px var(--brand-font-display);
}
.row-copy {
  flex: 1;
  min-width: 0;
}
.row-copy strong,
.row-copy small {
  display: block;
}
.row-copy strong {
  font-size: 14px;
}
.row-copy small {
  font-size: 12px;
  color: #796c85;
  margin: 5px 0 8px;
}
.status {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  background: #f1eef5;
  color: #6b6078;
  font-size: 11px;
  padding: 5px 9px;
  white-space: nowrap;
}
.status.ready {
  background: #e6efe9;
  color: #42674f;
}
.detail {
  border: 1px solid #e4dfeb;
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  min-width: 0;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.stats {
  display: flex;
  gap: 40px;
  margin: 28px 0;
}
.stats span {
  display: flex;
  flex-direction: column;
  color: #887b94;
  font-size: 12px;
  gap: 6px;
}
.stats strong {
  font-size: 24px;
  font-weight: 500;
  color: var(--brand-ink);
}
.access-panel {
  border: 1px solid #e5dced;
  background: #fdfbff;
  border-radius: 14px;
  padding: 22px;
  margin-top: 28px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 10px;
}
.access-panel label {
  font-size: 12px;
  color: #786d83;
}
.copy-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.copy-line a {
  font-size: 12px;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
}
.key-value {
  padding: 15px;
  background: #f0ebf6;
  border: 1px solid #e6ddef;
  border-radius: 10px;
  font:
    13px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  min-height: 48px;
  margin-bottom: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rotate-row {
  border-top: 1px solid #e5dced;
  padding-top: 16px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.source-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  font-size: 12px;
  color: #83768f;
}
.banner {
  margin: 0 5vw 24px;
  padding: 16px 20px;
  background: #efe8fa;
  border-radius: 12px;
  font-size: 13px;
}
.banner.error {
  background: #fff0f2;
  color: #963044;
}
.quality-note {
  font-size: 12px;
  color: #88712f;
  background: #fbf5e7;
  padding: 12px;
  border-radius: 8px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  padding: 0 5vw 48px;
}
.library-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, #ece1fd, #f8f5fd);
  border: 1px solid #e3d7f1;
  border-radius: 24px;
  text-decoration: none;
}
.library-card p {
  line-height: 1.6;
  margin: 0;
}
.library-card span {
  font-size: 12px;
  color: #756881;
}
.library-card strong {
  font-size: 14px;
  margin-top: auto;
}
.system-state {
  max-width: 480px;
  padding: 64px 24px;
  margin: auto;
  font-family: var(--brand-font-sans);
  color: var(--brand-ink);
}
dialog {
  font-family: var(--brand-font-sans);
  border: 1px solid #ded4e9;
  border-radius: 20px;
  padding: 28px;
  max-width: 460px;
  color: var(--brand-ink);
  box-shadow: 0 24px 80px #23143130;
}
dialog::backdrop {
  background: #21172c70;
}
dialog h2 {
  font-size: 25px;
}
dialog p {
  font-size: 14px;
  line-height: 1.7;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .manager-grid {
    grid-template-columns: 1fr;
  }
  .demo-list {
    max-width: none;
  }
  .summary {
    flex-wrap: wrap;
  }
  .identity {
    margin-left: 0;
  }
  .detail-heading {
    flex-wrap: wrap;
  }
  .workspace-heading {
    padding-top: 28px;
  }
  .workspace h1 {
    font-size: 40px;
  }
}
@media (max-width: 500px) {
  .detail {
    padding: 18px;
  }
  .access-panel {
    padding: 16px;
  }
  .copy-line,
  .rotate-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .summary {
    gap: 12px;
  }
  .panel-heading {
    flex-wrap: wrap;
  }
  .workspace-heading {
    align-items: flex-start;
  }
  .workspace .private {
    font-size: 10px;
  }
}

[hidden] {
  display: none !important;
}
.demo-row {
  text-decoration: none;
}
.filter-row a {
  text-decoration: none;
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 99px;
}
.search-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.inline-form {
  display: inline;
}
.logout-form {
  display: inline;
  margin: 0;
}
.library-grid .add-key {
  background: #fff;
}
.no-results {
  padding: 20px 0;
}
.demo-list form {
  margin-bottom: 16px;
}
.source-row a {
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 3px solid #8d62d2;
  outline-offset: 3px;
}
.busy {
  pointer-events: none;
  opacity: 0.65;
}
