<!-- SOLID CITY · part 3760 -->
</div>
        </section>
      </section>
    </main>
  </div>

  <div class="drawer-backdrop" id="drawerBackdrop" role="presentation"><aside class="drawer" role="dialog" aria-modal="true" aria-labelledby="drawerTitle"><div class="drawer-head"><div><span class="state" id="drawerState"></span><h2 id="drawerTitle"></h2></div><button class="close" id="closeDrawer" aria-label="Close task">×</button></div><div class="drawer-body" id="drawerBody"></div></aside></div>
  <div class="confirm-layer" id="confirmLayer" role="dialog" aria-modal="true" aria-labelledby="confirmTitle"><div class="confirm-box"><h2 id="confirmTitle">Confirm consequential change</h2><p id="confirmText"></p><div class="confirm-actions"><button class="btn" id="cancelConfirm">Cancel</button><button class="btn gold" id="acceptConfirm">Confirm</button></div></div></div>
  <div class="toast" id="toast" role="status" aria-live="polite"></div>

<script>
(function(){
  'use strict';
  var selectedTask=null, confirmAction=null, clock=0, collabStep=0;
  var workers={
    king:{id:'king',name:'The King',kind:'human',initials:'TK',role:'Human operator',capabilities:'Inspect, edit, approve, hand off',status:'available'},
    surveyor:{id:'surveyor',name:'Surveyor',kind:'ai',initials:'SV',role:'Simulated collaborator',capabilities:'Coordinates, distance verification',status:'working'},
    planner:{id:'planner',name:'Route Planner',kind:'ai',initials:'RP',role:'Simulated collaborator',capabilities:'Stop order, service drafts',status:'working'},
    safety:{id:'safety',name:'Safety Checker',kind:'ai',initials:'SC',role:'Simulated collaborator',capabilities:'Claims review, release gates',status:'working'}
  };
  var taskSeed=[
    {id:'t1',title:'Survey verified city stops',description:'Record only the five city locations and coordinates supplied in the project brief.',state:'done',owner:'surveyor',previousOwner:null,work:'Forum Plaza (0, 0)\nMusic Studio Tower (430, -170)\nSoul Print Tower (210, 170)\nOrbital Spaceport (-380, 330)\nDouble Strike Hangar (-540, 250)',events:[
      ev('claim','Surveyor','Claimed the shared coordinate survey.','surveyor'),
      ev('result','Surveyor','Recorded five supplied city locations without adding a harbor or dock.','surveyor','Project brief · verified city coordinates'),
      ev('complete','Surveyor','Marked the coordinate survey complete after recording its source.','surveyor')
    ]},
    {id:'t2',title:'Draft the planned route',description:'Order the supplied stops into a proposed loop. Do not claim operating service or departure times.',state:'in-progress',owner:'planner',previousOwner:null,work:'Proposed loop: Forum Plaza → Soul Print Tower → Music Studio Tower → Orbital Spaceport → Double Strike Hangar → Forum Plaza.\n\nStatus language: PLANNED INAUGURAL SERVICE. No departure times, fares, or service-frequency claims.',events:[
      ev('claim','Route Planner','Claimed route drafting.','planner'),
      ev('info-request','Route Planner','Requested the verified coordinate set from Surveyor.','planner'),
      ev('info-answer','Surveyor','Answered Route Planner with all five coordinates.','surveyor','Project coordinate registry'),
      ev('exchange','Route Planner','Accepted Surveyor’s sourced answer and continued from it.','planner')
    ]},
    {id:'t3',title:'Verify straight-line distances',description:'Independently compute every consecutive leg from the supplied coordinates.',state:'review',owner:'surveyor',previousOwner:null,work:'Forum Plaza → Soul Print Tower: 270.2 units\nSoul Print Tower → Music Studio Tower: 405.0 units\nMusic Studio Tower → Orbital Spaceport: 951.9 units\nOrbital Spaceport → Double Strike Hangar: 178.9 units\nDouble Strike Hangar → Forum Plaza: 595.1 units\nLoop total: 2,401.0 coordinate units\nFormula: √((x₂−x₁)²+(y₂−y₁)²)',events:[
      ev('handoff','Route Planner','Transferred the drafted stop order to Surveyor for independent distance verification.','planner',null,'planner','surveyor'),
      ev('result','Surveyor','Computed all five route legs and the loop total.','surveyor','Deterministic Euclidean calculation from supplied coordinates'),
      ev('review','Surveyor','Submitted the distance result for human review.','surveyor')
    ]},
    {id:'t4',title:'Safety and language review',description:'Check that the board is honest about planning status and does not imply live transportation.',state:'claimed',owner:'safety',previousOwner:null,work:'Review checklist:\n• planned-service label visible\n• no operational status claims\n• no invented departure times\n• straight-line distance units explained\n• only supplied city locations used',events:[
      ev('claim','Safety Checker','Claimed safety and claims review.','safety'),
      ev('blocker','Safety Checker','Release is blocked until a human confirms the planned-service label.','safety')
    ]},
    {id:'t5',title:'Approve and publish the board',description:'Consequential release gate. Only The Ki