Skip to content

Agent skills for useful HTML artifacts, wireframes, interactive prototypes, plans, and diagrams.

51.6 KB
Raw Blame
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Atlas Mobile 4.8 release-readiness prototype</title>
    <style>
      :root {
        color-scheme: light;
        --paper: #fbfaf6;
        --canvas: #e9e7df;
        --surface: #f2f0e8;
        --ink: #17211f;
        --muted: #656d68;
        --line: #cbc8bd;
        --night: #172724;
        --night-soft: #243733;
        --lime: #b9ea73;
        --lime-dark: #315c33;
        --green-soft: #e4f3d2;
        --red: #b8442e;
        --red-dark: #a33c28;
        --red-soft: #fae5dc;
        --blue: #3156cd;
        --blue-soft: #e5eafe;
        --shadow: rgba(29, 38, 35, 0.13);
        --focus: #214dd0;
      }

      * {
        box-sizing: border-box;
      }

      html {
        min-width: 320px;
        background: var(--canvas);
        scroll-behavior: smooth;
      }

      body {
        min-height: 100vh;
        margin: 0;
        background:
          linear-gradient(rgba(23, 33, 31, 0.035) 1px, transparent 1px),
          linear-gradient(90deg, rgba(23, 33, 31, 0.035) 1px, transparent 1px),
          var(--canvas);
        background-size: 22px 22px;
        color: var(--ink);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        line-height: 1.5;
      }

      button,
      input,
      select,
      textarea {
        font: inherit;
      }

      button {
        cursor: pointer;
      }

      button:focus-visible,
      a:focus-visible,
      input:focus-visible,
      select:focus-visible,
      textarea:focus-visible,
      [tabindex="-1"]:focus-visible {
        outline: 3px solid var(--focus);
        outline-offset: 3px;
      }

      [hidden] {
        display: none !important;
      }

      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
      }

      .skip-link {
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 30;
        padding: 9px 12px;
        background: var(--paper);
        transform: translateY(-180%);
      }

      .skip-link:focus {
        transform: translateY(0);
      }

      .review-banner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 34px;
        padding: 7px 16px;
        background: var(--blue);
        color: #ffffff;
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-align: center;
        text-transform: uppercase;
      }

      .review-banner::before {
        width: 7px;
        height: 7px;
        border: 1px solid currentColor;
        content: "";
        transform: rotate(45deg);
      }

      .app-shell {
        width: min(1240px, calc(100% - 36px));
        margin: 22px auto 48px;
        overflow: hidden;
        border: 1px solid rgba(23, 33, 31, 0.4);
        border-radius: 18px;
        background: var(--paper);
        box-shadow: 0 28px 70px var(--shadow);
      }

      .topbar {
        display: grid;
        grid-template-columns: 260px 1fr auto;
        min-height: 64px;
        align-items: center;
        border-bottom: 1px solid var(--line);
      }

      .brand {
        display: flex;
        height: 100%;
        align-items: center;
        gap: 12px;
        padding: 0 20px;
        border-right: 1px solid var(--line);
        font-weight: 800;
        letter-spacing: -0.02em;
      }

      .brand-mark {
        display: grid;
        width: 29px;
        height: 29px;
        place-items: center;
        background: var(--night);
        color: var(--lime);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 13px;
        transform: rotate(-3deg);
      }

      .breadcrumb {
        min-width: 0;
        padding: 0 22px;
        color: var(--muted);
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .breadcrumb strong {
        color: var(--ink);
      }

      .reviewer {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-right: 20px;
        color: var(--muted);
        font-size: 13px;
      }

      .avatar {
        display: grid;
        width: 31px;
        height: 31px;
        place-items: center;
        border-radius: 50%;
        background: var(--blue-soft);
        color: #2948b5;
        font-weight: 800;
      }

      .view-tabs {
        display: flex;
        gap: 4px;
        padding: 10px 18px;
        border-bottom: 1px solid var(--line);
        background: var(--surface);
      }

      .view-tab {
        min-height: 36px;
        padding: 6px 12px;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
      }

      .view-tab[aria-selected="true"] {
        border-color: var(--line);
        background: var(--paper);
        color: var(--ink);
      }

      .release-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 36px;
        align-items: end;
        padding: clamp(30px, 5vw, 58px);
        border-bottom: 1px solid var(--line);
      }

      .kicker {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        align-items: center;
        margin-bottom: 15px;
        color: var(--muted);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }

      .kicker .rule {
        width: 34px;
        height: 3px;
        background: var(--red);
        transition: background 180ms ease-out;
      }

      body[data-release-state="ready"] .kicker .rule {
        background: var(--lime-dark);
      }

      h1 {
        max-width: 800px;
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(44px, 7.4vw, 92px);
        font-weight: 500;
        letter-spacing: -0.065em;
        line-height: 0.9;
      }

      .release-header p {
        max-width: 650px;
        margin: 20px 0 0;
        color: var(--muted);
        font-size: 17px;
      }

      .decision-stamp {
        width: 156px;
        padding: 20px 14px;
        border: 4px double var(--red);
        color: var(--red);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 15px;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-align: center;
        text-transform: uppercase;
        transform: rotate(2deg);
        transition:
          color 180ms ease-out,
          border-color 180ms ease-out,
          transform 180ms ease-out;
      }

      .decision-stamp span {
        display: block;
        margin-top: 6px;
        font-size: 10px;
        letter-spacing: 0.08em;
      }

      body[data-release-state="ready"] .decision-stamp {
        border-color: var(--lime-dark);
        color: var(--lime-dark);
        transform: rotate(-1deg);
      }

      .manifest {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-bottom: 1px solid var(--line);
      }

      .manifest-item {
        min-width: 0;
        padding: 18px 22px;
        border-right: 1px solid var(--line);
      }

      .manifest-item:last-child {
        border-right: 0;
      }

      .manifest-item span,
      .manifest-item strong {
        display: block;
      }

      .manifest-item span {
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
      }

      .manifest-item strong {
        margin-top: 5px;
        overflow-wrap: anywhere;
        font-size: 14px;
      }

      .manifest-item code {
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      }

      .workspace {
        display: grid;
        grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.78fr);
      }

      .main-column {
        min-width: 0;
        padding: clamp(24px, 4vw, 44px);
        border-right: 1px solid var(--line);
      }

      .side-column {
        min-width: 0;
        background: var(--surface);
      }

      .section-title {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 18px;
      }

      .section-title h2 {
        margin: 0;
        font-size: 22px;
        letter-spacing: -0.025em;
      }

      .section-title p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
      }

      .check-list {
        margin: 0;
        padding: 0;
        border-top: 1px solid var(--ink);
        list-style: none;
      }

      .check {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) minmax(180px, 0.72fr) auto;
        gap: 16px;
        align-items: start;
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
      }

      .check.is-updated {
        animation: check-update 420ms cubic-bezier(0.23, 1, 0.32, 1);
      }

      @keyframes check-update {
        from {
          background: var(--green-soft);
          transform: translateY(-3px);
        }
        to {
          background: transparent;
          transform: translateY(0);
        }
      }

      .check-number {
        color: var(--muted);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 30px;
        line-height: 1;
      }

      .check-name strong,
      .check-name span,
      .evidence strong,
      .evidence span {
        display: block;
      }

      .check-name strong {
        font-size: 16px;
      }

      .check-name span,
      .evidence span {
        margin-top: 4px;
        color: var(--muted);
        font-size: 13px;
      }

      .evidence {
        padding-left: 14px;
        border-left: 1px solid var(--line);
        font-size: 13px;
      }

      .evidence strong {
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 12px;
      }

      .result {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-width: 68px;
        justify-content: center;
        padding: 5px 9px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
      }

      .result::before {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        content: "";
      }

      .result.pass {
        background: var(--green-soft);
        color: var(--lime-dark);
      }

      .result.fail {
        background: var(--red-soft);
        color: var(--red-dark);
      }

      .risk-callout {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 15px;
        margin-top: 26px;
        padding: 18px;
        border: 1px solid #e6b7a7;
        background: var(--red-soft);
      }

      .risk-callout.resolved {
        border-color: #b9d5aa;
        background: var(--green-soft);
      }

      .risk-mark {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border: 1px solid var(--red);
        color: var(--red);
        font-weight: 900;
      }

      .risk-callout.resolved .risk-mark {
        border-color: var(--lime-dark);
        color: var(--lime-dark);
      }

      .risk-callout strong,
      .risk-callout span {
        display: block;
      }

      .risk-callout span {
        margin-top: 3px;
        color: #6e493e;
        font-size: 13px;
      }

      .risk-callout.resolved span {
        color: #476147;
      }

      .decision-panel {
        padding: 32px 28px;
        background: var(--night);
        color: #f6f5ef;
      }

      .decision-label {
        color: var(--lime);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }

      .decision-panel h2 {
        max-width: 330px;
        margin: 14px 0 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 38px;
        font-weight: 500;
        letter-spacing: -0.045em;
        line-height: 0.98;
      }

      .decision-panel p {
        margin: 14px 0 0;
        color: #b8c4c0;
      }

      .decision-rule {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid #40524e;
        font-size: 13px;
      }

      .decision-rule strong {
        color: var(--lime);
      }

      .action-stack {
        display: grid;
        gap: 9px;
        margin-top: 24px;
      }

      .action-button {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border: 1px solid #50645f;
        background: transparent;
        color: #d1dad7;
        font-weight: 700;
      }

      .action-button.primary {
        border-color: var(--lime);
        background: var(--lime);
        color: var(--night);
      }

      .action-button:hover:not(:disabled) {
        border-color: #ffffff;
      }

      .action-button:disabled {
        border-color: #394a46;
        color: #74827e;
        cursor: not-allowed;
      }

      .disabled-reason {
        margin: 10px 0 0;
        color: #8fa09b;
        font-size: 12px;
        text-align: center;
      }

      .notes-panel {
        padding: 28px;
      }

      .notes-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
      }

      .notes-head h2 {
        margin: 0;
        font-size: 17px;
      }

      .text-button {
        padding: 2px 0;
        border: 0;
        border-bottom: 1px solid currentColor;
        background: transparent;
        color: var(--blue);
        font-size: 12px;
        font-weight: 700;
      }

      .note {
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
      }

      .note:last-child {
        border-bottom: 0;
      }

      .note p {
        margin: 0;
        font-size: 14px;
      }

      .note footer {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-top: 9px;
        color: var(--muted);
        font-size: 11px;
      }

      .note footer::before {
        width: 16px;
        height: 1px;
        background: var(--line);
        content: "";
      }

      .empty-state {
        padding: 28px 0 10px;
        text-align: center;
      }

      .empty-mark {
        display: grid;
        width: 42px;
        height: 42px;
        margin: 0 auto 12px;
        place-items: center;
        border: 1px dashed var(--line);
        color: var(--muted);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 25px;
      }

      .empty-state h3 {
        margin: 0;
        font-size: 15px;
      }

      .empty-state p {
        margin: 5px auto 14px;
        color: var(--muted);
        font-size: 13px;
      }

      .note-form {
        display: grid;
        gap: 9px;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
      }

      .note-form label {
        font-size: 12px;
        font-weight: 700;
      }

      .note-form textarea {
        min-height: 88px;
        resize: vertical;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: var(--paper);
        padding: 10px;
        color: var(--ink);
      }

      .note-form button {
        min-height: 40px;
        border: 0;
        background: var(--night);
        color: #ffffff;
        font-weight: 700;
      }

      .activity-view {
        min-height: 620px;
        padding: clamp(28px, 5vw, 58px);
      }

      .activity-view h1 {
        font-size: clamp(42px, 6vw, 72px);
      }

      .activity-view > p {
        max-width: 62ch;
        margin: 16px 0 32px;
        color: var(--muted);
      }

      .activity-list {
        max-width: 820px;
        margin: 0;
        padding: 0;
        border-top: 1px solid var(--ink);
        list-style: none;
      }

      .activity-item {
        display: grid;
        grid-template-columns: 130px 14px minmax(0, 1fr);
        gap: 18px;
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
      }

      .activity-time {
        color: var(--muted);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 12px;
      }

      .activity-dot {
        width: 10px;
        height: 10px;
        margin-top: 5px;
        border: 2px solid var(--night);
        border-radius: 50%;
      }

      .activity-copy strong,
      .activity-copy span {
        display: block;
      }

      .activity-copy span {
        margin-top: 3px;
        color: var(--muted);
        font-size: 13px;
      }

      .artifact-footer {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 16px 22px;
        border-top: 1px solid var(--line);
        background: var(--surface);
        color: var(--muted);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 11px;
      }

      .toast {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 20;
        max-width: min(360px, calc(100vw - 32px));
        padding: 14px 16px;
        border: 1px solid #b9d5aa;
        border-radius: 8px;
        background: var(--green-soft);
        box-shadow: 0 16px 42px rgba(23, 33, 31, 0.2);
        color: #28482c;
        font-weight: 700;
        transform: translateY(14px);
        visibility: hidden;
        pointer-events: none;
        transition: transform 180ms ease-out;
      }

      .toast.is-visible {
        transform: translateY(0);
        visibility: visible;
      }

      dialog {
        width: min(560px, calc(100% - 28px));
        max-height: calc(100vh - 40px);
        padding: 0;
        overflow: auto;
        border: 1px solid var(--night);
        border-radius: 14px;
        background: var(--paper);
        color: var(--ink);
        box-shadow: 0 28px 90px rgba(14, 22, 20, 0.34);
      }

      dialog::backdrop {
        background: rgba(17, 27, 24, 0.58);
        backdrop-filter: blur(3px);
      }

      .dialog-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        padding: 24px 24px 18px;
        border-bottom: 1px solid var(--line);
      }

      .dialog-head h2 {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 30px;
        font-weight: 500;
        letter-spacing: -0.035em;
      }

      .dialog-head p {
        margin: 6px 0 0;
        color: var(--muted);
        font-size: 13px;
      }

      .icon-button {
        display: grid;
        width: 36px;
        height: 36px;
        flex: 0 0 auto;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: transparent;
        color: var(--ink);
        font-size: 20px;
        line-height: 1;
      }

      .dialog-body {
        display: grid;
        gap: 18px;
        padding: 22px 24px;
      }

      .form-field {
        display: grid;
        gap: 7px;
      }

      .form-field label,
      .field-label {
        font-size: 13px;
        font-weight: 800;
      }

      .form-field input,
      .form-field select,
      .form-field textarea {
        width: 100%;
        min-height: 44px;
        border: 1px solid #989d98;
        border-radius: 5px;
        background: #ffffff;
        padding: 9px 11px;
        color: var(--ink);
      }

      .form-field textarea {
        min-height: 86px;
        resize: vertical;
      }

      .form-field small {
        color: var(--muted);
      }

      .form-requirements {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
      }

      .test-hook {
        padding: 13px;
        border: 1px dashed var(--line);
        background: var(--surface);
      }

      .test-hook summary {
        cursor: pointer;
        font-size: 12px;
        font-weight: 800;
      }

      .check-control {
        display: flex;
        gap: 9px;
        align-items: flex-start;
        margin-top: 11px;
        color: var(--muted);
        font-size: 12px;
      }

      .check-control input {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        margin: 0;
      }

      .form-alert {
        padding: 12px;
        border: 1px solid #e3ae9d;
        background: var(--red-soft);
        color: #743526;
        font-size: 13px;
      }

      .dialog-actions {
        display: flex;
        justify-content: flex-end;
        gap: 9px;
        padding: 16px 24px 22px;
        border-top: 1px solid var(--line);
      }

      .dialog-button {
        min-height: 42px;
        padding: 8px 14px;
        border: 1px solid var(--line);
        border-radius: 5px;
        background: var(--paper);
        color: var(--ink);
        font-weight: 700;
      }

      .dialog-button.primary {
        border-color: var(--night);
        background: var(--night);
        color: #ffffff;
      }

      .dialog-button:disabled {
        border-color: var(--line);
        background: var(--surface);
        color: #999d98;
        cursor: not-allowed;
      }

      .loading-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
      }

      .spinner {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(255, 255, 255, 0.35);
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: spin 650ms linear infinite;
      }

      @keyframes spin {
        to { transform: rotate(360deg); }
      }

      .boundary-copy {
        padding: 24px;
      }

      .boundary-copy strong {
        display: block;
        margin-bottom: 8px;
        color: var(--blue);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .boundary-copy p {
        margin: 0;
        color: var(--muted);
      }

      @media (max-width: 900px) {
        .topbar {
          grid-template-columns: auto 1fr;
        }

        .brand {
          border-right: 0;
        }

        .breadcrumb {
          display: none;
        }

        .manifest {
          grid-template-columns: 1fr 1fr;
        }

        .manifest-item:nth-child(2) {
          border-right: 0;
        }

        .manifest-item:nth-child(-n + 2) {
          border-bottom: 1px solid var(--line);
        }

        .workspace {
          grid-template-columns: 1fr;
        }

        .main-column {
          border-right: 0;
          border-bottom: 1px solid var(--line);
        }

        .check {
          grid-template-columns: 36px minmax(0, 1fr) auto;
        }

        .evidence {
          grid-column: 2 / -1;
        }
      }

      @media (max-width: 600px) {
        .app-shell {
          width: calc(100% - 16px);
          margin-top: 8px;
          border-radius: 10px;
        }

        .topbar {
          min-height: 58px;
        }

        .brand {
          padding: 0 14px;
        }

        .reviewer {
          padding-right: 14px;
        }

        .reviewer > span {
          display: none;
        }

        .view-tabs {
          overflow-x: auto;
          padding: 8px 12px;
        }

        .view-tab {
          flex: 0 0 auto;
        }

        .release-header {
          grid-template-columns: 1fr;
          padding: 28px 20px;
        }

        h1 {
          font-size: clamp(46px, 16vw, 72px);
        }

        .decision-stamp {
          width: 140px;
        }

        .manifest {
          grid-template-columns: 1fr;
        }

        .manifest-item {
          border-right: 0;
          border-bottom: 1px solid var(--line);
        }

        .manifest-item:last-child {
          border-bottom: 0;
        }

        .main-column {
          padding: 28px 20px;
        }

        .section-title {
          display: block;
        }

        .section-title p {
          margin-top: 4px;
        }

        .check {
          grid-template-columns: 32px minmax(0, 1fr);
        }

        .result {
          grid-column: 2;
          width: max-content;
        }

        .evidence {
          grid-column: 2;
        }

        .decision-panel,
        .notes-panel,
        .activity-view {
          padding: 28px 20px;
        }

        .activity-item {
          grid-template-columns: 1fr;
          gap: 6px;
        }

        .activity-dot {
          display: none;
        }

        .artifact-footer {
          display: block;
        }

        .artifact-footer span:last-child {
          display: block;
          margin-top: 4px;
        }

        .dialog-actions {
          flex-direction: column-reverse;
        }

        .dialog-button {
          width: 100%;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }

        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
        }
      }
    </style>
  </head>
  <body data-release-state="blocked">
    <a class="skip-link" id="skip-to-checks" href="#checks">Skip to release checks</a>
    <div class="review-banner">Interactive prototype · local sample data</div>
    <div id="status-announcer" class="visually-hidden" aria-live="polite"></div>

    <main class="app-shell">
      <header class="topbar">
        <div class="brand">
          <span class="brand-mark" aria-hidden="true">A</span>
          <span>Atlas release desk</span>
        </div>
        <div class="breadcrumb">Mobile releases / <strong>Atlas Mobile 4.8</strong></div>
        <div class="reviewer">
          <span>Reviewing as Maya Chen</span>
          <span class="avatar" aria-hidden="true">MC</span>
        </div>
      </header>

      <nav class="view-tabs" role="tablist" aria-label="Release views">
        <button class="view-tab" id="overview-tab" role="tab" aria-selected="true" aria-controls="overview-view" tabindex="0">Overview</button>
        <button class="view-tab" id="activity-tab" role="tab" aria-selected="false" aria-controls="activity-view" tabindex="-1">Activity</button>
      </nav>

      <div id="overview-view" role="tabpanel" aria-labelledby="overview-tab">
        <section class="release-header" aria-labelledby="release-title">
          <div>
            <div class="kicker"><span class="rule"></span><span>Release candidate 03</span><span>July 29, 2026</span></div>
            <h1 id="release-title">Atlas Mobile 4.8</h1>
            <p id="release-summary">One required check is blocking production. Review the failed iOS checkout case and its evidence before changing the release decision.</p>
          </div>
          <div class="decision-stamp" id="decision-stamp" aria-label="Release blocked">Blocked<span>1 failed check</span></div>
        </section>

        <section class="manifest" aria-label="Release manifest">
          <div class="manifest-item"><span>Candidate</span><strong>4.8.0-rc.3</strong></div>
          <div class="manifest-item"><span>Commit</span><strong><code>8f31d2a</code></strong></div>
          <div class="manifest-item"><span>Owner</span><strong>Maya Chen</strong></div>
          <div class="manifest-item"><span>Evidence current</span><strong id="evidence-age">18 minutes ago</strong></div>
        </section>

        <div class="workspace">
          <section class="main-column" id="checks" aria-labelledby="checks-title" tabindex="-1">
            <div class="section-title">
              <h2 id="checks-title">Required checks</h2>
              <p id="checks-count">3 of 4 passed · all evidence shown</p>
            </div>

            <ol class="check-list">
              <li class="check">
                <span class="check-number" aria-hidden="true">01</span>
                <div class="check-name"><strong>Android smoke test</strong><span>Pixel 9 · Android 16</span></div>
                <div class="evidence"><strong>android-smoke-7412</strong><span>42 cases passed in 6m 14s</span></div>
                <span class="result pass">Pass</span>
              </li>
              <li class="check" id="ios-check">
                <span class="check-number" aria-hidden="true">02</span>
                <div class="check-name"><strong>iOS smoke test</strong><span>iPhone 16 · iOS 19</span></div>
                <div class="evidence"><strong id="ios-evidence-id">ios-smoke-9831</strong><span id="ios-evidence-copy">Checkout froze after Apple Pay</span></div>
                <span class="result fail" id="ios-result">Fail</span>
              </li>
              <li class="check">
                <span class="check-number" aria-hidden="true">03</span>
                <div class="check-name"><strong>API compatibility</strong><span>Mobile contract suite</span></div>
                <div class="evidence"><strong>contract-186</strong><span>186 checks passed in 2m 08s</span></div>
                <span class="result pass">Pass</span>
              </li>
              <li class="check">
                <span class="check-number" aria-hidden="true">04</span>
                <div class="check-name"><strong>Privacy review</strong><span>No new data collection</span></div>
                <div class="evidence"><strong>PRV-219</strong><span>Approved by Nia Wallace</span></div>
                <span class="result pass">Pass</span>
              </li>
            </ol>

            <div class="risk-callout" id="risk-callout">
              <span class="risk-mark" id="risk-mark" aria-hidden="true">!</span>
              <div>
                <strong id="risk-title">Open risk: iOS checkout completion</strong>
                <span id="risk-copy">The payment sheet closed successfully, but the app did not advance to the confirmation screen. Reproduce and pass the same device flow before release.</span>
              </div>
            </div>
          </section>

          <aside class="side-column" aria-label="Release decision and reviewer notes">
            <section class="decision-panel">
              <span class="decision-label" id="decision-label">Current decision · blocked</span>
              <h2 id="decision-heading" tabindex="-1">Passing iOS evidence is required.</h2>
              <p id="decision-copy">The production action stays unavailable until all four required checks pass.</p>
              <div class="decision-rule"><span>Release gate</span><strong id="gate-count">3 / 4</strong></div>
              <div class="action-stack">
                <button class="action-button primary" id="open-rerun" type="button">Record iOS rerun</button>
                <button class="action-button" id="release-button" type="button" disabled aria-describedby="disabled-reason">Release to production</button>
              </div>
              <p class="disabled-reason" id="disabled-reason">Pass the iOS smoke test to enable release.</p>
            </section>

            <section class="notes-panel" aria-labelledby="notes-title">
              <div class="notes-head">
                <h2 id="notes-title">Reviewer notes</h2>
                <button class="text-button" id="clear-notes" type="button">Clear samples</button>
              </div>
              <div id="notes-content">
                <article class="note">
                  <p>Apple Pay failure looks isolated to the transition after payment. Retest on the same device before changing the gate.</p>
                  <footer>Jon Bell · 10:42</footer>
                </article>
                <article class="note">
                  <p>Rollback package 4.7.2 is verified and remains available for the release window.</p>
                  <footer>Maya Chen · 10:31</footer>
                </article>
              </div>
            </section>
          </aside>
        </div>
      </div>

      <section class="activity-view" id="activity-view" role="tabpanel" aria-labelledby="activity-tab" hidden>
        <div class="kicker"><span class="rule"></span><span>Release history</span></div>
        <h1>Activity log</h1>
        <p>Review the evidence and decisions recorded for candidate 4.8.0-rc.3. Prototype activity remains local to this page.</p>
        <ol class="activity-list" id="activity-list">
          <li class="activity-item">
            <time class="activity-time">10:42</time>
            <span class="activity-dot" aria-hidden="true"></span>
            <div class="activity-copy"><strong>iOS smoke test failed</strong><span>Jon Bell attached device video and transaction trace from ios-smoke-9831.</span></div>
          </li>
          <li class="activity-item">
            <time class="activity-time">10:36</time>
            <span class="activity-dot" aria-hidden="true"></span>
            <div class="activity-copy"><strong>Android smoke test passed</strong><span>All 42 cases passed on Pixel 9 with Android 16.</span></div>
          </li>
          <li class="activity-item">
            <time class="activity-time">10:18</time>
            <span class="activity-dot" aria-hidden="true"></span>
            <div class="activity-copy"><strong>API compatibility passed</strong><span>The mobile contract suite completed 186 checks.</span></div>
          </li>
        </ol>
      </section>

      <footer class="artifact-footer">
        <span>Atlas release desk · review prototype</span>
        <span>No live data · no production action</span>
      </footer>
    </main>

    <dialog id="rerun-dialog" aria-labelledby="rerun-title">
      <form id="rerun-form" novalidate>
        <div class="dialog-head">
          <div>
            <h2 id="rerun-title">Record iOS rerun</h2>
            <p>Replace the failed result with evidence from the same checkout flow.</p>
          </div>
          <button class="icon-button" id="close-rerun" type="button" aria-label="Close dialog">×</button>
        </div>
        <div class="dialog-body" id="rerun-body">
          <div class="form-field">
            <label for="rerun-result">Result</label>
            <select id="rerun-result" name="result" required>
              <option value="">Choose a result</option>
              <option value="pass">Pass</option>
              <option value="fail">Fail</option>
            </select>
          </div>
          <div class="form-field">
            <label for="evidence-id">Evidence ID</label>
            <input id="evidence-id" name="evidence" type="text" value="ios-smoke-9914" minlength="6" required aria-describedby="evidence-help">
            <small id="evidence-help">Use the rerun identifier from the device test record.</small>
          </div>
          <div class="form-field">
            <label for="rerun-note">Reviewer note</label>
            <textarea id="rerun-note" name="note">Apple Pay checkout completed and returned to the confirmation screen.</textarea>
          </div>
          <p class="form-requirements" id="form-requirements">Choose a result and enter an evidence ID to enable saving.</p>
          <details class="test-hook">
            <summary>Prototype controls</summary>
            <label class="check-control">
              <input id="simulate-failure" type="checkbox">
              <span>Make the next save fail once so the error and retry path can be reviewed.</span>
            </label>
          </details>
          <div class="form-alert" id="form-alert" role="alert" tabindex="-1" hidden>
            Evidence could not be saved. The prototype kept your entries. Retry when the evidence service is available.
          </div>
        </div>
        <div class="dialog-actions">
          <button class="dialog-button" id="cancel-rerun" type="button">Cancel</button>
          <button class="dialog-button primary" id="save-rerun" type="submit" aria-describedby="form-requirements" disabled>Save rerun</button>
        </div>
      </form>
    </dialog>

    <dialog id="boundary-dialog" aria-labelledby="boundary-title">
      <div class="dialog-head">
        <div>
          <h2 id="boundary-title">Production boundary</h2>
          <p>The modeled release flow ends here.</p>
        </div>
        <button class="icon-button" id="close-boundary-x" type="button" aria-label="Close dialog">×</button>
      </div>
      <div class="boundary-copy">
        <strong>Prototype only</strong>
        <p>A real release request would now require authorization, a fresh evidence check, an audit entry, and a call to the deployment system. This file performs none of those actions.</p>
      </div>
      <div class="dialog-actions">
        <button class="dialog-button primary" id="close-boundary" type="button">Return to review</button>
      </div>
    </dialog>

    <div class="toast" id="toast" aria-hidden="true">iOS evidence saved. Atlas Mobile 4.8 is ready.</div>

    <script>
      const body = document.body;
      const announcer = document.getElementById('status-announcer');
      const tabs = [...document.querySelectorAll('[role="tab"]')];
      const overviewTab = document.getElementById('overview-tab');
      const overviewView = document.getElementById('overview-view');
      const activityView = document.getElementById('activity-view');
      const skipToChecks = document.getElementById('skip-to-checks');
      const checks = document.getElementById('checks');
      const rerunDialog = document.getElementById('rerun-dialog');
      const boundaryDialog = document.getElementById('boundary-dialog');
      const openRerun = document.getElementById('open-rerun');
      const closeRerun = document.getElementById('close-rerun');
      const cancelRerun = document.getElementById('cancel-rerun');
      const rerunForm = document.getElementById('rerun-form');
      const rerunResult = document.getElementById('rerun-result');
      const evidenceId = document.getElementById('evidence-id');
      const rerunNote = document.getElementById('rerun-note');
      const simulateFailure = document.getElementById('simulate-failure');
      const saveRerun = document.getElementById('save-rerun');
      const formAlert = document.getElementById('form-alert');
      const releaseButton = document.getElementById('release-button');
      const disabledReason = document.getElementById('disabled-reason');
      const toast = document.getElementById('toast');
      const clearNotes = document.getElementById('clear-notes');
      const notesContent = document.getElementById('notes-content');
      const activityList = document.getElementById('activity-list');
      let isSaving = false;
      let toastTimer;

      function trapDialogFocus(dialog, event) {
        if (event.key !== 'Tab') return;
        const focusable = [...dialog.querySelectorAll(
          'button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), summary, [href], [tabindex]:not([tabindex="-1"])'
        )].filter((element) => !element.hidden && element.getClientRects().length > 0);
        if (!focusable.length) return;
        const first = focusable[0];
        const last = focusable[focusable.length - 1];
        const active = document.activeElement;
        if (event.shiftKey && (active === first || !dialog.contains(active))) {
          event.preventDefault();
          last.focus();
        } else if (!event.shiftKey && active === last) {
          event.preventDefault();
          first.focus();
        }
      }

      rerunDialog.addEventListener('keydown', (event) => trapDialogFocus(rerunDialog, event));
      boundaryDialog.addEventListener('keydown', (event) => trapDialogFocus(boundaryDialog, event));

      function announce(message) {
        announcer.textContent = '';
        requestAnimationFrame(() => { announcer.textContent = message; });
      }

      function selectTab(nextTab) {
        tabs.forEach((tab) => {
          const active = tab === nextTab;
          tab.setAttribute('aria-selected', String(active));
          tab.tabIndex = active ? 0 : -1;
        });
        const showOverview = nextTab.id === 'overview-tab';
        overviewView.hidden = !showOverview;
        activityView.hidden = showOverview;
        nextTab.focus();
      }

      tabs.forEach((tab) => {
        tab.addEventListener('click', () => selectTab(tab));
        tab.addEventListener('keydown', (event) => {
          if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return;
          event.preventDefault();
          const currentIndex = tabs.indexOf(tab);
          let nextIndex = currentIndex;
          if (event.key === 'ArrowRight') nextIndex = (currentIndex + 1) % tabs.length;
          if (event.key === 'ArrowLeft') nextIndex = (currentIndex - 1 + tabs.length) % tabs.length;
          if (event.key === 'Home') nextIndex = 0;
          if (event.key === 'End') nextIndex = tabs.length - 1;
          selectTab(tabs[nextIndex]);
        });
      });

      skipToChecks.addEventListener('click', (event) => {
        event.preventDefault();
        if (overviewView.hidden) selectTab(overviewTab);
        checks.focus();
        history.replaceState(null, '', '#checks');
      });

      function formIsValid() {
        return rerunResult.value !== '' && evidenceId.value.trim().length >= 6;
      }

      function syncSubmit() {
        saveRerun.disabled = isSaving || !formIsValid();
      }

      [rerunResult, evidenceId].forEach((control) => control.addEventListener('input', syncSubmit));

      function resetDialogState() {
        isSaving = false;
        formAlert.hidden = true;
        saveRerun.innerHTML = 'Save rerun';
        [...rerunForm.elements].forEach((control) => {
          if (control !== simulateFailure) control.disabled = false;
        });
        syncSubmit();
      }

      openRerun.addEventListener('click', () => {
        resetDialogState();
        rerunDialog.showModal();
        rerunResult.focus();
      });

      function closeRerunDialog() {
        if (isSaving) return;
        rerunDialog.close();
        openRerun.focus();
      }

      closeRerun.addEventListener('click', closeRerunDialog);
      cancelRerun.addEventListener('click', closeRerunDialog);
      rerunDialog.addEventListener('cancel', (event) => {
        if (isSaving) event.preventDefault();
      });
      rerunDialog.addEventListener('close', () => {
        if (document.activeElement === document.body) openRerun.focus();
      });

      function setSaving(saving) {
        isSaving = saving;
        [...rerunForm.elements].forEach((control) => {
          if (control !== saveRerun) control.disabled = saving;
        });
        saveRerun.disabled = true;
        saveRerun.innerHTML = saving
          ? '<span class="loading-label"><span class="spinner" aria-hidden="true"></span>Saving evidence</span>'
          : 'Save rerun';
        rerunForm.setAttribute('aria-busy', String(saving));
      }

      function addActivity(title, detail) {
        const item = document.createElement('li');
        item.className = 'activity-item';
        const time = document.createElement('time');
        time.className = 'activity-time';
        time.textContent = 'Now';
        const dot = document.createElement('span');
        dot.className = 'activity-dot';
        dot.setAttribute('aria-hidden', 'true');
        const copy = document.createElement('div');
        copy.className = 'activity-copy';
        const heading = document.createElement('strong');
        heading.textContent = title;
        const description = document.createElement('span');
        description.textContent = detail;
        copy.append(heading, description);
        item.append(time, dot, copy);
        activityList.prepend(item);
      }

      function showToast(message) {
        window.clearTimeout(toastTimer);
        toast.textContent = message;
        toast.classList.add('is-visible');
        toastTimer = window.setTimeout(() => toast.classList.remove('is-visible'), 3600);
      }

      function updateRelease(result) {
        const passed = result === 'pass';
        const iosCheck = document.getElementById('ios-check');
        const iosResult = document.getElementById('ios-result');
        document.getElementById('ios-evidence-id').textContent = evidenceId.value.trim();
        document.getElementById('ios-evidence-copy').textContent = passed
          ? 'Apple Pay checkout completed on rerun'
          : (rerunNote.value.trim() || 'Rerun failed');
        document.getElementById('evidence-age').textContent = 'Just now';
        iosResult.className = `result ${passed ? 'pass' : 'fail'}`;
        iosResult.textContent = passed ? 'Pass' : 'Fail';
        iosCheck.classList.remove('is-updated');
        requestAnimationFrame(() => iosCheck.classList.add('is-updated'));

        if (!passed) {
          body.dataset.releaseState = 'blocked';
          document.getElementById('decision-stamp').innerHTML = 'Blocked<span>1 failed check</span>';
          document.getElementById('decision-stamp').setAttribute('aria-label', 'Release blocked');
          document.getElementById('release-summary').textContent = 'One required check is blocking production. Review the updated iOS evidence before changing the release decision.';
          document.getElementById('checks-count').textContent = '3 of 4 passed · all evidence shown';
          document.getElementById('risk-callout').classList.remove('resolved');
          document.getElementById('risk-mark').textContent = '!';
          document.getElementById('risk-title').textContent = 'Open risk: iOS checkout completion';
          document.getElementById('risk-copy').textContent = 'The latest rerun still failed the required checkout flow. Record passing evidence before release.';
          document.getElementById('decision-label').textContent = 'Current decision · blocked';
          document.getElementById('decision-heading').textContent = 'Passing iOS evidence is required.';
          document.getElementById('decision-copy').textContent = 'The production action stays unavailable until all four required checks pass.';
          document.getElementById('gate-count').textContent = '3 / 4';
          releaseButton.disabled = true;
          disabledReason.hidden = false;
          openRerun.textContent = 'Record iOS rerun';
          addActivity('iOS smoke-test rerun failed', `${evidenceId.value.trim()} was recorded by Maya Chen.`);
          showToast('Failed rerun saved. The release remains blocked.');
          announce('Failed iOS rerun saved. The release remains blocked at 3 of 4 checks.');
          return;
        }

        body.dataset.releaseState = 'ready';
        document.getElementById('decision-stamp').innerHTML = 'Ready<span>4 checks passed</span>';
        document.getElementById('decision-stamp').setAttribute('aria-label', 'Release ready');
        document.getElementById('release-summary').textContent = 'All required checks pass. Review the updated iOS evidence before requesting the production release.';
        document.getElementById('checks-count').textContent = '4 of 4 passed · all evidence shown';
        document.getElementById('risk-callout').classList.add('resolved');
        document.getElementById('risk-mark').textContent = '✓';
        document.getElementById('risk-title').textContent = 'Resolved: iOS checkout completion';
        document.getElementById('risk-copy').textContent = 'The rerun completed Apple Pay checkout and returned to the confirmation screen on the same device.';
        document.getElementById('decision-label').textContent = 'Current decision · ready';
        document.getElementById('decision-heading').textContent = 'All release evidence passes.';
        document.getElementById('decision-copy').textContent = 'The production request is available. The real system would recheck authorization and evidence before release.';
        document.getElementById('gate-count').textContent = '4 / 4';
        releaseButton.disabled = false;
        disabledReason.hidden = true;
        openRerun.textContent = 'Update iOS evidence';
        addActivity('Release candidate became ready', `${evidenceId.value.trim()} passed and opened the production request gate.`);
        showToast('iOS evidence saved. Atlas Mobile 4.8 is ready.');
        announce('iOS evidence saved. All 4 checks pass and Atlas Mobile 4.8 is ready for a production request.');
      }

      rerunForm.addEventListener('submit', (event) => {
        event.preventDefault();
        if (!formIsValid() || isSaving) return;
        formAlert.hidden = true;
        setSaving(true);
        announce('Saving iOS rerun evidence.');

        window.setTimeout(() => {
          if (simulateFailure.checked) {
            simulateFailure.checked = false;
            setSaving(false);
            syncSubmit();
            formAlert.hidden = false;
            formAlert.focus();
            announce('Evidence could not be saved. Your entries are preserved and you can retry.');
            return;
          }

          setSaving(false);
          updateRelease(rerunResult.value);
          rerunDialog.close();
          openRerun.focus();
        }, 750);
      });

      releaseButton.addEventListener('click', () => {
        if (releaseButton.disabled) return;
        boundaryDialog.showModal();
        document.getElementById('close-boundary').focus();
        addActivity('Production release requested in prototype', 'No deployment was started. The flow stopped at the production boundary.');
      });

      function closeBoundary() {
        boundaryDialog.close();
        releaseButton.focus();
      }

      document.getElementById('close-boundary').addEventListener('click', closeBoundary);
      document.getElementById('close-boundary-x').addEventListener('click', closeBoundary);
      boundaryDialog.addEventListener('close', () => {
        if (document.activeElement === document.body) releaseButton.focus();
      });

      clearNotes.addEventListener('click', () => {
        notesContent.innerHTML = `
          <div class="empty-state">
            <span class="empty-mark" aria-hidden="true">0</span>
            <h3>No reviewer notes</h3>
            <p>Add context that is not captured by machine evidence.</p>
            <button class="text-button" id="show-note-form" type="button">Add a note</button>
          </div>
          <form class="note-form" id="note-form" hidden>
            <label for="new-note">Reviewer note</label>
            <textarea id="new-note" required></textarea>
            <button type="submit">Save note</button>
          </form>
        `;
        clearNotes.hidden = true;
        const showNoteForm = document.getElementById('show-note-form');
        const noteForm = document.getElementById('note-form');
        const newNote = document.getElementById('new-note');
        showNoteForm.focus();
        announce('Sample reviewer notes cleared. The notes section is empty.');

        showNoteForm.addEventListener('click', () => {
          noteForm.hidden = false;
          showNoteForm.hidden = true;
          newNote.focus();
        });

        noteForm.addEventListener('submit', (event) => {
          event.preventDefault();
          const copy = newNote.value.trim();
          if (!copy) {
            newNote.focus();
            return;
          }
          notesContent.innerHTML = `<article class="note"><p></p><footer>Maya Chen · just now</footer></article>`;
          notesContent.querySelector('p').textContent = copy;
          clearNotes.hidden = false;
          clearNotes.focus();
          addActivity('Reviewer note added', copy);
          announce('Reviewer note saved.');
        });
      });

      syncSubmit();
    </script>
  </body>
</html>