@layer base,layout,components,motion;
@layer base {
  * {
    box-sizing: border-box;
  }
  html {
    background: #090c0a;
    color: #e0e9e2;
    font-family:
      "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 14px;
  }
  body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(
      ellipse at 50% 45%,
      #12201955 0%,
      #090c0a00 62%
    );
  }
  button,
  input,
  select {
    font: inherit;
  }
  button,
  a,
  input,
  select {
    -webkit-tap-highlight-color: transparent;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid #bcf5ba;
    outline-offset: 5px;
  }
  button[aria-disabled="true"] {
    cursor: wait;
  }
  h1,
  h2,
  p {
    margin: 0;
  }
  h1 {
    font-size: clamp(24px, 3vw, 35px);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -1.4px;
  }
  h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 18px;
  }
  input,
  select {
    width: 100%;
    min-width: 0;
    background: #0c120e;
    border: 1px solid #2d3c31;
    color: #e8f2eb;
    border-radius: 2px;
    padding: 15px 16px;
    outline: none;
    min-height: 50px;
  }
  input:focus,
  select:focus {
    border-color: #b1e7ac;
    box-shadow: 0 0 0 2px #b1e7ac18;
  }
  input::placeholder {
    color: #718376;
    font-size: 13px;
  }
  label {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    color: #b5c9b8;
    margin: 23px 0 10px;
  }
  label span {
    color: #a9e4ad;
  }
  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
  }
  th,
  td {
    padding: 14px 12px;
    border-bottom: 1px solid #27332b;
  }
  th {
    font-weight: 500;
    color: #8ea894;
  }
  dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 15px 30px;
  }
  dd {
    margin: 0;
  }
  dt {
    color: #8fa794;
  }
  .muted {
    color: #9aaa9e;
    line-height: 1.8;
  }
  .notice {
    color: #9cafa2;
    font-size: 12px;
    line-height: 1.8;
    margin: 15px 0;
  }
  .intro {
    color: #a0b3a6;
    font-size: 13px;
    line-height: 1.8;
  }
  .eyebrow {
    color: #91b598;
    letter-spacing: 2px;
    font-size: 10px;
    margin-bottom: 14px;
  }
  .cursor {
    color: #b5f5b5;
    font-weight: 400;
    pointer-events: none;
  }
  .grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9;
    opacity: 0.18;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      #263d2c33 3px,
      #263d2c33 4px
    );
  }
}
@layer layout {
  .minimal-layout {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 40px 28px;
  }
  .minimal-terminal {
    width: min(100%, 400px);
  }
  .minimal-terminal h1 {
    text-align: center;
    color: #a7bdae;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    margin: 0 0 22px;
  }
  .invite-panel {
    margin-bottom: 28px;
  }
  .invite-panel > summary {
    width: fit-content;
    margin: 0 auto;
    padding: 8px 13px;
    border: 1px solid #293b2f;
    color: #a7bdae;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    list-style: none;
    cursor: pointer;
  }
  .invite-panel > summary::-webkit-details-marker {
    display: none;
  }
  .invite-panel > summary:hover,
  .invite-panel[open] > summary {
    border-color: #71977b;
    color: #cef3d1;
  }
  .invite-panel > summary:focus-visible {
    outline: 2px solid #bcf5ba;
    outline-offset: 5px;
  }
  .invite-panel form {
    margin-top: 30px;
  }
  .invite-instruction {
    display: block;
    color: #a7bdae;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 12px;
  }
  .invite-panel[open] + #login-form {
    display: none;
  }
  .minimal-line {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 54px;
    margin-bottom: 20px;
    border-bottom: 1px solid #293b2f;
  }
  .minimal-line:focus-within {
    border-color: #71977b;
  }
  .minimal-line .prompt {
    color: #a9d3af;
    font-size: 18px;
  }
  .minimal-line input {
    border: 0;
    border-radius: 0;
    padding: 14px 0;
    background: transparent;
    font-size: 16px;
    caret-color: #b5f5b5;
  }
  .minimal-line input:focus {
    box-shadow: none;
  }
  .entry-cursor {
    display: none;
    position: absolute;
    left: calc(1ch + 20px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #b5f5b5;
    pointer-events: none;
  }
  .minimal-line input:focus:placeholder-shown {
    caret-color: transparent;
  }
  .minimal-line input:focus:placeholder-shown + .entry-cursor {
    display: block;
  }
  .minimal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-top: 22px;
  }
  .minimal-state {
    color: #bd9e80;
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .minimal-submit {
    border: 0;
    background: transparent;
    color: #94b49c;
    font-size: 24px;
    width: 44px;
    height: 44px;
  }
  .minimal-submit:hover {
    color: #cef3d1;
  }
  .masthead {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 4.4%;
    border-bottom: 1px solid #203028;
  }
  .wordmark {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 650;
  }
  .wordmark svg {
    width: 28px;
    color: #a4dda7;
  }
  .wordmark-dot {
    color: #b9f3b5;
  }
  .header-note {
    color: #859d8a;
    font-size: 10px;
    letter-spacing: 2px;
  }
  .mode {
    font-size: 10px;
    color: #96ae9c;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mode i,
  .status-dot {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #b0ebb1;
    border-radius: 50%;
    box-shadow: 0 0 12px #b5f6b570;
  }
  .login-layout {
    position: relative;
    flex: 1;
    display: grid;
    place-items: center;
    padding: 65px 24px 85px;
    overflow: hidden;
    min-height: 660px;
  }
  .terminal {
    position: relative;
    width: min(100%, 496px);
    z-index: 2;
  }
  .terminal-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 9px;
    letter-spacing: 1px;
    color: #a4bfab;
    margin-bottom: 24px;
  }
  .status-dot {
    margin-right: 8px;
    vertical-align: 1px;
    width: 4px;
    height: 4px;
  }
  .boot {
    font-size: 10px;
    color: #6f9178;
    line-height: 1.8;
    margin-bottom: 34px;
    min-height: 18px;
  }
  .title-row {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .title-prompt {
    font-size: 32px;
    color: #bbe9b9;
    font-weight: 300;
    letter-spacing: -4px;
  }
  .title-row .eyebrow {
    font-size: 9px;
    margin-bottom: 8px;
  }
  .title-row h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .terminal > .intro {
    margin: 21px 0 30px;
  }
  .ambient {
    position: absolute;
    font-size: 10px;
    line-height: 2;
    color: #81a98d;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
    width: 250px;
  }
  .ambient-left {
    left: 6%;
    top: 24%;
    transform: rotate(-2deg);
  }
  .ambient-right {
    right: 2%;
    top: 31%;
    opacity: 0.09;
  }
  .edge-label {
    position: absolute;
    bottom: 26px;
    left: 4.4%;
    font-size: 8px;
    color: #779780;
    letter-spacing: 2px;
  }
  footer {
    margin: 0 4.4%;
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #203028;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #8ca692;
  }
  .footer-middle {
    color: #627b69;
  }
  .private-layout {
    width: min(100% - 48px, 1080px);
    margin: 0 auto;
    padding: 35px 0 70px;
    flex: 1;
  }
  .private-layout > h1 {
    margin: 20px 0;
  }
  .private-layout nav {
    display: flex;
    gap: 26px;
    align-items: center;
    margin: 0 0 65px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #aec5b4;
  }
  .private-layout nav form {
    margin-left: auto;
  }
  .admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .admin-grid .panel {
    margin-top: 0;
  }
  .compact {
    max-width: 560px;
  }
  .table-scroll {
    overflow-x: auto;
  }
  .resource-body {
    line-height: 1.8;
    font-size: 13px;
  }
  .admin-links {
    display: flex;
    gap: 25px;
    margin: 30px 0;
    font-size: 11px;
    color: #b5d8bc;
  }
  .resource-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .resource-list a {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #23362a;
    padding: 20px 0;
  }
  .resource-list a:hover {
    color: #bcf5ba;
  }
}
@layer components {
  .skip,
  .text-button {
    background: none;
    border: 0;
    color: #8da795;
    font-size: 9px;
    letter-spacing: 0.6px;
    padding: 4px;
  }
  .skip:hover,
  .text-button:hover {
    color: #d0edcf;
  }
  .divider {
    display: flex;
    gap: 13px;
    align-items: center;
    font-size: 9px;
    color: #8daa96;
    letter-spacing: 1.5px;
  }
  .divider i {
    flex: 1;
    height: 1px;
    background: #304338;
  }
  .input-wrap {
    position: relative;
  }
  .input-wrap > span {
    position: absolute;
    left: 16px;
    top: 13px;
    font-size: 20px;
    color: #83a88d;
    pointer-events: none;
  }
  .input-wrap input {
    padding-left: 38px;
    height: 55px;
    background: #10171299;
  }
  .primary {
    width: 100%;
    background: #b1e9ae;
    color: #112313;
    border: 1px solid #b1e9ae;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    padding: 17px 20px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 1.5px;
    box-shadow: 0 0 22px #98db9510;
  }
  .primary:hover:enabled {
    background: #c3f6c0;
  }
  .secondary {
    border: 1px solid #6b8d72;
    color: #c3dfc9;
    background: #18241d;
    padding: 14px 18px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .secondary:hover {
    background: #26382c;
  }
  .form-state {
    font-size: 9px;
    letter-spacing: 1px;
    color: #9db5a2;
    line-height: 1.8;
    min-height: 17px;
    margin: 22px 0 17px;
  }
  .form-state > span {
    margin-right: 6px;
    color: #b7f0b3;
  }
  .form-state.attention {
    color: #e2bb93;
  }
  .challenge {
    margin-top: 16px;
  }
  .terminal-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 23px;
    font-size: 10px;
    color: #7b9884;
    line-height: 1.6;
  }
  .small-lock {
    font-size: 17px;
  }
  .panel {
    padding: 27px;
    border: 1px solid #2b3b30;
    background: #0e1511aa;
    margin: 30px 0;
  }
  .panel .primary,
  .panel .secondary {
    margin-top: 22px;
  }
  .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 0;
  }
  .checkbox input {
    width: 16px;
    min-height: 16px;
    accent-color: #b1e9ae;
  }
  .inline-link {
    display: inline-block;
    color: #b1e9ae;
    margin: 20px 0;
    font-size: 12px;
  }
  .credential {
    border-color: #a9d8a6;
  }
  .credential p {
    line-height: 1.8;
    color: #a4bda9;
  }
  .credential code {
    display: block;
    overflow-wrap: anywhere;
    color: #c3ffc0;
    margin-top: 20px;
    line-height: 1.8;
  }
}
@layer motion {
  @keyframes blink {
    0%,
    49% {
      opacity: 1;
    }
    50%,
    100% {
      opacity: 0;
    }
  }
  @keyframes drift {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -18px;
    }
  }
  @keyframes boot {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .cursor {
    animation: blink 1.2s steps(1) infinite;
  }
  .entry-cursor {
    animation: blink 1.2s steps(1) infinite;
  }
  .ambient {
    animation: drift 32s ease-in-out infinite;
  }
  .ambient-right {
    animation-delay: -12s;
  }
  .boot-second {
    animation: boot 0.9s ease both;
  }
  .paused *,
  .paused *::before,
  .paused *::after {
    animation-play-state: paused !important;
  }
  .skip-intro .boot-second {
    animation: none;
  }
  .skip-intro .skip {
    visibility: hidden;
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
    .skip {
      visibility: hidden;
    }
  }
}
@layer components {
  .collection-layout {
    width: min(1080px, calc(100% - 80px));
    margin: 0 auto;
  }
  .collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 104px;
    border-bottom: 1px solid #293b2f;
    gap: 20px;
  }
  .collection-brand {
    font-size: 15px;
    color: #c0ddc6;
    letter-spacing: 1px;
  }
  .collection-private {
    font-size: 9px;
    letter-spacing: 2px;
    color: #859d8a;
  }
  .collection-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 22px 0;
    font-size: 11px;
    color: #a4bfa9;
  }
  .collection-nav form {
    margin-left: auto;
  }
  .collection-nav .text-button {
    font-size: 11px;
  }
  .collection-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 64px 0 42px;
  }
  .collection-heading h1 {
    font-size: clamp(25px, 3.3vw, 39px);
    font-weight: 400;
    letter-spacing: -1.5px;
    margin-top: 14px;
    overflow-wrap: anywhere;
  }
  .collection-intro {
    font-size: 12px;
    line-height: 1.9;
    color: #91a898;
    margin-top: 17px;
    max-width: 650px;
  }
  .outline-action {
    display: inline-block;
    border: 1px solid #496350;
    background: transparent;
    color: #c2dbc6;
    padding: 12px 15px;
    font: inherit;
    font-size: 11px;
    line-height: 1.6;
    width: fit-content;
    flex-shrink: 0;
  }
  .outline-action:hover {
    border-color: #acd5b3;
    color: #e4f4e7;
    background: #b1e9ae08;
  }
  .section-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0 0 54px;
  }
  .section-grid a {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 21px;
    min-height: 122px;
    border: 1px solid #293b2f;
    background: #111b141f;
  }
  .section-grid a:hover,
  .section-grid a[aria-current="page"] {
    border-color: #89ac91;
    background: #14261a55;
  }
  .section-index {
    grid-column: 1 / -1;
    font-size: 10px;
    color: #819688;
    padding-bottom: 30px;
  }
  .section-name {
    font-size: 13px;
    color: #c5d7c9;
  }
  .section-count {
    color: #88ad94;
    font-size: 11px;
    align-self: end;
  }
  .collection-subheading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 19px;
  }
  .collection-subheading h2 {
    font-size: 12px;
    margin: 0;
    font-weight: 400;
  }
  .collection-subheading > span {
    color: #92aa9b;
    font-size: 10px;
  }
  .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .content-card {
    display: flex;
    flex-direction: column;
    min-height: 234px;
    border: 1px solid #293b2f;
    padding: 26px;
    background: #10191140;
  }
  .content-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 10px;
    color: #8eaa97;
  }
  .content-badge {
    border: 1px solid #405346;
    padding: 3px 6px;
    font-size: 9px;
    color: #b0c5b5;
  }
  .content-card h2 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    margin: 24px 0 12px;
    overflow-wrap: anywhere;
  }
  .content-card h2 a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  .content-card h2 a span {
    color: #91b69b;
  }
  .content-card > p {
    color: #93a89a;
    font-size: 11px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }
  .content-card-bottom {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 9px;
    line-height: 1.8;
    color: #8ea996;
  }
  .collection-empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed #354b3c;
  }
  .collection-empty > span {
    color: #92b09b;
    font-size: 22px;
  }
  .collection-empty h2 {
    margin: 20px 0 12px;
    font-size: 16px;
    font-weight: 400;
  }
  .collection-empty p {
    font-size: 11px;
    line-height: 1.8;
    color: #95aa9b;
  }
  .collection-empty .outline-action {
    margin-top: 24px;
  }
  .collection-page .collection-footer {
    display: block;
    height: auto;
    margin: 60px 0 0;
    padding: 24px 0 30px;
    font-size: 9px;
    border-top: 1px solid #293b2f;
    color: #80998a;
  }
  .collection-back {
    display: inline-block;
    margin-top: 40px;
    color: #a7c0af;
    font-size: 11px;
  }
  .collection-back + .collection-heading {
    margin-top: 28px;
  }
  .content-detail-meta {
    justify-content: start;
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid #293b2f;
  }
  .content-prose {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 2;
    font-size: 13px;
    max-width: 760px;
    margin: 32px 0;
    color: #bccfc2;
  }
  .content-image,
  .content-video {
    display: block;
    max-width: 100%;
    max-height: 65vh;
    margin: 0 auto 30px;
    object-fit: contain;
  }
  .content-video {
    width: 100%;
    background: #060a07;
  }
  .content-audio {
    width: 100%;
    margin: 0 0 30px;
  }
  .content-attachment {
    border: 1px solid #293b2f;
    padding: 23px;
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .content-attachment p {
    margin-top: 12px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .collection-notice {
    font-size: 11px;
    line-height: 1.9;
    padding: 18px 0;
    border-top: 1px solid #293b2f;
    color: #adc4b3;
    margin-bottom: 20px;
  }
  .content-table td a {
    display: inline-block;
    padding: 8px 0;
    color: #c1dec8;
  }
  .collection-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin: 30px 0;
  }
  .content-editor,
  .content-file-editor,
  .content-reauth {
    max-width: 780px;
  }
  .content-editor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .content-editor-row > div {
    min-width: 0;
  }
  .content-editor textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid #2d3c31;
    background: #0c120e;
    color: #e8f2eb;
    padding: 15px 16px;
    font: inherit;
    font-size: 13px;
    line-height: 1.8;
  }
  .content-editor textarea:focus {
    outline: 1px solid #b1e7ac;
  }
  .content-file-editor {
    border-top: 1px solid #293b2f;
    margin-top: 42px;
    padding-top: 32px;
  }
  .content-file-editor p,
  .content-reauth p {
    font-size: 11px;
    line-height: 1.9;
    margin: 18px 0;
    overflow-wrap: anywhere;
  }
  .content-file-editor input[type="file"] {
    font-size: 12px;
  }
  .content-reauth {
    border: 1px solid #293b2f;
    padding: 18px;
    margin-bottom: 32px;
    font-size: 11px;
    line-height: 1.8;
  }
  .content-reauth summary {
    cursor: pointer;
    color: #bfd8c5;
  }
  .content-reauth summary:focus-visible {
    outline: 1px solid #b1e7ac;
    outline-offset: 4px;
  }
  .content-reauth button {
    margin-top: 18px;
  }
  .preview-notice {
    padding: 12px 20px;
    text-align: center;
    font-size: 10px;
    line-height: 1.8;
    background: #243022;
    color: #cfe6c9;
    border-bottom: 1px solid #57734e;
  }
  .preview-notice a {
    text-decoration: underline;
    margin-left: 20px;
  }
  @media (max-width: 700px) {
    .collection-layout {
      width: calc(100% - 40px);
    }
    .collection-header {
      min-height: 80px;
    }
    .collection-private {
      font-size: 8px;
      letter-spacing: 1px;
    }
    .collection-nav {
      gap: 18px;
      font-size: 10px;
    }
    .collection-heading {
      display: block;
      margin: 38px 0 30px;
    }
    .collection-heading > .outline-action {
      margin-top: 22px;
    }
    .section-grid {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 32px;
    }
    .section-grid a {
      padding: 18px;
      min-height: 108px;
    }
    .section-index {
      padding-bottom: 23px;
    }
    .content-grid,
    .content-editor-row {
      grid-template-columns: 1fr;
    }
    .content-editor-row {
      gap: 0;
    }
    .content-card {
      min-height: 218px;
      padding: 22px;
    }
    .content-attachment {
      align-items: start;
      flex-direction: column;
    }
    .content-file-editor input[type="file"] {
      padding: 12px 4px;
      font-size: 10px;
    }
  }
}
@media (min-width: 1600px) {
  .login-layout {
    min-height: 780px;
  }
  .terminal {
    width: 520px;
  }
  .ambient-left {
    left: 14%;
  }
  .ambient-right {
    right: 10%;
  }
}
@media (max-width: 900px) {
  .ambient {
    opacity: 0.05;
  }
  .ambient-left {
    left: -100px;
  }
  .ambient-right {
    right: -130px;
  }
  .header-note {
    display: none;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .title-row h1 {
    font-size: 27px;
  }
}
@media (max-width: 560px) {
  .masthead {
    height: 80px;
    margin: 0 24px;
  }
  .wordmark {
    font-size: 19px;
    gap: 10px;
  }
  .wordmark svg {
    width: 24px;
  }
  .mode {
    font-size: 8px;
  }
  .login-layout {
    padding: 45px 26px 65px;
    min-height: 650px;
    place-items: start center;
  }
  .terminal-topline {
    font-size: 8px;
    letter-spacing: 0.3px;
    gap: 8px;
  }
  .skip {
    font-size: 8px;
  }
  .title-prompt {
    display: none;
  }
  .title-row h1 {
    font-size: 26px;
  }
  .terminal > .intro {
    font-size: 12px;
  }
  .boot {
    margin-bottom: 32px;
    font-size: 9px;
  }
  .boot-second {
    display: block;
  }
  .terminal-bottom {
    font-size: 9px;
  }
  .edge-label {
    left: 26px;
    font-size: 7px;
    letter-spacing: 1px;
  }
  footer {
    margin: 0 24px;
    font-size: 8px;
    letter-spacing: 0.5px;
    height: 65px;
  }
  .footer-middle {
    display: none;
  }
  .private-layout nav {
    gap: 15px;
    font-size: 10px;
    margin-bottom: 40px;
  }
  .panel {
    padding: 20px;
  }
  .private-layout {
    width: calc(100% - 40px);
  }
  .private-layout h1 {
    font-size: 25px;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  dd {
    margin-bottom: 15px;
  }
}

.code-scope {
  border: 1px solid var(--line);
  margin: 24px 0 12px;
  padding: 14px;
}
.code-scope legend {
  font-size: 12px;
  padding: 0 6px;
}
.issued-code {
  display: block;
  overflow-wrap: anywhere;
  user-select: all;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .code-table,
  .code-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .code-table thead {
    display: none;
  }
  .code-table tr {
    display: grid;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .code-table td {
    display: block;
    border: 0;
    padding: 0;
    overflow-wrap: anywhere;
  }
  .code-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 6px;
  }
}
