{
  "schemaVersion": "1.0.0",
  "components": [
    {
      "id": "button",
      "title": "Actions",
      "purpose": "Trigger an action or navigate using a correctly typed element.",
      "maturity": "preview",
      "source": "site/examples/buttons.html",
      "states": [
        "default",
        "quiet",
        "disabled",
        "busy",
        "danger"
      ],
      "requirements": [
        "Use a button for actions and an anchor for navigation.",
        "Set type=button outside submission actions.",
        "Keep a visible label or accessible name; explain disabled actions."
      ],
      "customization": [
        "Labels",
        "Documented variants",
        "Adjacent layout"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<a class=\"u-button\" href=\"#buttons\">Primary action</a>\n<button class=\"u-button u-button--quiet\" type=\"button\">Quiet action</button>\n",
      "classes": [
        "u-button",
        "u-button--quiet"
      ]
    },
    {
      "id": "field",
      "title": "Fields",
      "purpose": "Collect a labeled value with help and error feedback.",
      "maturity": "preview",
      "source": "site/examples/forms.html",
      "states": [
        "default",
        "required",
        "invalid",
        "disabled",
        "readonly"
      ],
      "requirements": [
        "Associate a visible label with each control.",
        "Link help and error text through aria-describedby.",
        "Use aria-invalid=true only for an actual error."
      ],
      "customization": [
        "Label",
        "Help text",
        "Input type",
        "Validation message"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-field\">\n  <label for=\"ex-deal\">Transaction</label>\n  <input id=\"ex-deal\" type=\"text\" placeholder=\"e.g. 100 Example St\" />\n</div>\n<div class=\"u-field\">\n  <label for=\"ex-category\">Category</label>\n  <span class=\"u-select\">\n    <select id=\"ex-category\" aria-describedby=\"ex-category-hint\">\n      <option>agreement</option>\n      <option>disclosure</option>\n    </select>\n  </span>\n  <span class=\"u-hint\" id=\"ex-category-hint\">Uploads stay in your inbox until finalized.</span>\n</div>\n<div class=\"u-field\">\n  <label for=\"ex-file\">File</label>\n  <input id=\"ex-file\" type=\"file\" />\n</div>\n",
      "classes": [
        "u-field",
        "u-select",
        "u-hint"
      ]
    },
    {
      "id": "select",
      "title": "Select",
      "purpose": "Choose one option using native keyboard and form behavior.",
      "maturity": "preview",
      "source": "site/examples/select.html",
      "states": [
        "default",
        "required",
        "invalid",
        "disabled"
      ],
      "requirements": [
        "Wrap the select in u-select within u-field.",
        "Browser picker styling is progressive; unsupported browsers retain native menus.",
        "Searchable combobox behavior is not included."
      ],
      "customization": [
        "Label",
        "Options",
        "Required/disabled state"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-field\"><label for=\"example-status\">Status</label><span class=\"u-select\"><select id=\"example-status\"><option>Draft</option><option>Complete</option></select></span></div>\n",
      "classes": [
        "u-field",
        "u-select"
      ]
    },
    {
      "id": "dialog",
      "title": "Confirmation dialog",
      "purpose": "Review a consequential action in a native modal dialog.",
      "maturity": "preview",
      "source": "site/examples/dialog.html",
      "states": [
        "closed",
        "open",
        "cancelled",
        "confirmed"
      ],
      "requirements": [
        "Use showModal through the optional interaction controller.",
        "Provide aria-labelledby and an explicit cancel button.",
        "Initialize focus on the least destructive action."
      ],
      "customization": [
        "Title",
        "Description",
        "Action labels"
      ],
      "dependencies": [
        "design.css",
        "interactions.js",
        "UniformInteractions.mount(document)"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-stack\">\n  <div>\n    <h3 class=\"u-section-heading\">Review a sample action</h3>\n    <p class=\"u-hint\">Open a confirmation dialog. Cancel returns you to the preview; confirm updates its status.</p>\n  </div>\n  <div><button type=\"button\" class=\"u-button\" data-u-dialog-open=\"example-dialog\">Review action</button></div>\n  <p class=\"u-hint\" id=\"example-dialog-status\" role=\"status\">No action taken.</p>\n  <noscript><p class=\"u-hint\">Enable JavaScript to try the confirmation.</p></noscript>\n</div>\n<dialog id=\"example-dialog\" class=\"u-dialog\" aria-labelledby=\"example-dialog-title\" aria-describedby=\"example-dialog-description\">\n  <h2 id=\"example-dialog-title\" class=\"u-section-heading\">Confirm sample action</h2>\n  <p id=\"example-dialog-description\">This demonstrates a confirmation flow. No records will be changed.</p>\n  <div class=\"u-actions\">\n    <button type=\"button\" class=\"u-button u-button--quiet\" data-u-dialog-close autofocus>Cancel</button>\n    <button type=\"button\" class=\"u-button\" data-u-dialog-close=\"confirmed\">Confirm</button>\n  </div>\n</dialog>\n",
      "classes": [
        "u-stack",
        "u-section-heading",
        "u-hint",
        "u-button",
        "u-dialog",
        "u-actions",
        "u-button--quiet"
      ]
    },
    {
      "id": "table",
      "title": "Data table",
      "purpose": "Display comparable records with column and row semantics.",
      "maturity": "preview",
      "source": "site/examples/tables.html",
      "states": [
        "populated",
        "loading",
        "empty",
        "error",
        "filtered-empty"
      ],
      "requirements": [
        "Use headers with scope and a named keyboard-reachable scroll region.",
        "Optional collection controller supplies title search, status filtering and title sorting. Pagination remains application-owned."
      ],
      "customization": [
        "Columns",
        "Cell content",
        "Row actions"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-table\" tabindex=\"0\" role=\"region\" aria-label=\"Example registry\">\n  <table>\n    <thead>\n      <tr>\n        <th scope=\"col\">Name</th>\n        <th scope=\"col\">Role</th>\n        <th scope=\"col\">Status</th>\n      </tr>\n    </thead>\n    <tbody>\n      <tr>\n        <td>Jordan Rivera</td>\n        <td>Example role</td>\n        <td><span class=\"u-tag u-tag--ok\">Active</span></td>\n      </tr>\n      <tr>\n        <td>Sam Lee</td>\n        <td>Example role</td>\n        <td><span class=\"u-tag\">Pending</span></td>\n      </tr>\n    </tbody>\n  </table>\n</div>\n",
      "classes": [
        "u-table",
        "u-tag",
        "u-tag--ok"
      ]
    },
    {
      "id": "panel",
      "title": "Panel",
      "purpose": "Group related content into a readable surface.",
      "maturity": "preview",
      "source": "site/examples/panels.html",
      "states": [
        "default",
        "accent"
      ],
      "requirements": [
        "Provide a heading for meaningful sections.",
        "Avoid nested cards when a divider would suffice."
      ],
      "customization": [
        "Heading",
        "Content",
        "Accent variant"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-panel\">\n  <p class=\"u-heading\">Panel</p>\n  <p>A surface for grouped content.</p>\n</div>\n<div class=\"u-panel u-panel--accent\">\n  <p class=\"u-heading\">Accent panel</p>\n  <p>The accent edge marks the primary panel on a page.</p>\n</div>\n",
      "classes": [
        "u-panel",
        "u-heading",
        "u-panel--accent"
      ]
    },
    {
      "id": "status",
      "title": "Status",
      "purpose": "Communicate state with text, not color alone.",
      "maturity": "preview",
      "source": "site/examples/tags.html",
      "states": [
        "neutral",
        "attention",
        "complete"
      ],
      "requirements": [
        "Do not infer verification or authorization from a status color."
      ],
      "customization": [
        "Text",
        "Documented status variants"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<span class=\"u-tag\">Neutral</span>\n<span class=\"u-tag u-tag--ok\">Final</span>\n<span class=\"u-tag u-tag--warn\">Inbox</span>\n",
      "classes": [
        "u-tag",
        "u-tag--ok",
        "u-tag--warn"
      ]
    },
    {
      "id": "feedback",
      "title": "Feedback",
      "purpose": "Explain an outcome or recovery action.",
      "maturity": "preview",
      "source": "site/examples/callouts.html",
      "states": [
        "informational",
        "error"
      ],
      "requirements": [
        "Describe what happened and what the user can do next.",
        "Use live announcements for dynamic events only."
      ],
      "customization": [
        "Message",
        "Recovery action"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<p class=\"u-callout\">Audit chain verified: 42 entries.</p>\n<p class=\"u-callout u-callout--danger\">Audit chain broken at entry 17.</p>\n",
      "classes": [
        "u-callout",
        "u-callout--danger"
      ]
    },
    {
      "id": "empty",
      "title": "Empty state",
      "purpose": "Explain why a collection has no content and how to proceed.",
      "maturity": "preview",
      "source": "site/examples/empty.html",
      "states": [
        "initial",
        "filtered-empty"
      ],
      "requirements": [
        "Distinguish no data from no matching results and failed requests."
      ],
      "customization": [
        "Heading",
        "Explanation",
        "Action"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-empty\">\n  <p class=\"u-heading\">No records yet</p>\n  <p>Upload a document to start.</p>\n</div>\n",
      "classes": [
        "u-empty",
        "u-heading"
      ]
    },
    {
      "id": "facts",
      "title": "Labeled facts",
      "purpose": "Display stable details including financial and property information.",
      "maturity": "preview",
      "source": "site/examples/facts.html",
      "states": [
        "known",
        "unknown",
        "not-applicable"
      ],
      "requirements": [
        "Unknown and missing are not zero.",
        "Keep units and estimated values explicit."
      ],
      "customization": [
        "Labels",
        "Values",
        "Units"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<dl class=\"u-facts\">\n  <dt>Category</dt>\n  <dd>Agreement</dd>\n  <dt>Size</dt>\n  <dd>2.4 MB</dd>\n</dl>\n<dl class=\"u-facts u-facts--stacked\">\n  <dt>Name</dt>\n  <dd>Jordan Rivera</dd>\n  <dt>Service area</dt>\n  <dd>Example City</dd>\n</dl>\n",
      "classes": [
        "u-facts",
        "u-facts--stacked"
      ]
    },
    {
      "id": "progress",
      "title": "Progress",
      "purpose": "Show task completion without relying on color.",
      "maturity": "preview",
      "source": "catalog/examples/progress.html",
      "states": [
        "incomplete",
        "complete",
        "reduced-motion"
      ],
      "requirements": [
        "Use accessible progress values and text.",
        "Respect reduced motion. For animated native progress, use optional UniformInteractions.setProgress(element, value); accessible values update immediately.",
        "Progress is not license approval."
      ],
      "customization": [
        "Label",
        "Value",
        "Maximum"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<progress class=\"u-meter\" aria-label=\"Example progress\" value=\"40\" max=\"100\">40%</progress>\n<div class=\"u-check u-check--done\">\n  <span class=\"u-check__status\" aria-hidden=\"true\"></span>\n  <span>\n    <span class=\"u-check__title\">Example document</span>\n    <span class=\"u-check__detail\">Done</span>\n  </span>\n</div>\n<div class=\"u-check u-check--progress\">\n  <span class=\"u-check__status\" aria-hidden=\"true\"></span>\n  <span>\n    <span class=\"u-check__title\">Example step</span>\n    <span class=\"u-check__detail\">In progress</span>\n  </span>\n</div>\n",
      "classes": [
        "u-meter",
        "u-check",
        "u-check--done",
        "u-check__status",
        "u-check__title",
        "u-check__detail",
        "u-check--progress"
      ]
    },
    {
      "id": "navigation",
      "title": "Navigation",
      "purpose": "Locate the current view and expose destinations.",
      "maturity": "preview",
      "source": "site/examples/navigation.html",
      "states": [
        "default",
        "current"
      ],
      "requirements": [
        "Use aria-current=page for the current route and aria-current=location for the current section.",
        "Use aria-pressed for buttons that select an in-page preview."
      ],
      "customization": [
        "Destinations",
        "Labels"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<nav class=\"u-nav\" aria-label=\"Example navigation\">\n  <a href=\"#navigation\" aria-current=\"page\"><span>Office</span></a>\n  <a href=\"#navigation\"><span>Records</span></a>\n  <a href=\"#navigation\"><span>Activity</span></a>\n</nav>\n",
      "classes": [
        "u-nav"
      ]
    },
    {
      "id": "file",
      "title": "Document selection",
      "purpose": "Inspect a locally selected document before application upload.",
      "maturity": "preview",
      "source": "site/examples/file.html",
      "states": [
        "empty",
        "selected",
        "invalid"
      ],
      "requirements": [
        "This controller validates metadata only, never file contents.",
        "Applications must validate and authorize files on the server.",
        "Announce selection and errors."
      ],
      "customization": [
        "Label",
        "Help"
      ],
      "dependencies": [
        "design.css",
        "interactions.js",
        "UniformInteractions.mount(document)"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-field\"><label for=\"example-file\">Sample PDF</label><input id=\"example-file\" type=\"file\" accept=\"application/pdf,.pdf\" data-u-file aria-describedby=\"example-file-status\"><span id=\"example-file-status\" role=\"status\" class=\"u-hint\">No file selected.</span></div>\n",
      "classes": [
        "u-field",
        "u-hint"
      ]
    },
    {
      "id": "identity",
      "title": "Person or firm",
      "purpose": "Summarize a person or organization and their relationship.",
      "maturity": "preview",
      "source": "site/examples/identity.html",
      "states": [
        "known",
        "pending"
      ],
      "requirements": [
        "Use placeholder identity data in fixtures.",
        "Show role and relationship explicitly."
      ],
      "customization": [
        "Name",
        "Relationship",
        "Avatar initials"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-identity\"><span class=\"u-avatar\" aria-hidden=\"true\">E</span><div><strong>Example contact</strong><p class=\"u-hint\">Primary contact · Pending</p></div></div>\n",
      "classes": [
        "u-identity",
        "u-avatar",
        "u-hint"
      ]
    },
    {
      "id": "activity",
      "title": "Activity timeline",
      "purpose": "Display a sequence of labeled events.",
      "maturity": "preview",
      "source": "catalog/examples/activity.html",
      "states": [
        "populated",
        "empty"
      ],
      "requirements": [
        "Use real timestamps in applications and distinguish them from due dates."
      ],
      "customization": [
        "Event labels",
        "Descriptions",
        "Times"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<h3 class=\"u-section-heading\">Timelines</h3>\n<ol class=\"u-activity\">\n  <li>\n    <strong>Event completed</strong>\n    <p>Uploaded the necessary forms</p>\n    <small>Today, 9:00 AM</small>\n  </li>\n  <li>\n    <strong>Event started</strong>\n    <p>Initial processing</p>\n    <small>Yesterday</small>\n  </li>\n</ol>\n\n<h3 class=\"u-section-heading\">Task Lists</h3>\n<ul class=\"u-task-list\">\n  <li>\n    <div>\n      <strong>Complete application</strong>\n      <p class=\"u-hint\">Required before next steps</p>\n    </div>\n    <span class=\"u-tag u-tag--ok\">Done</span>\n  </li>\n  <li>\n    <div>\n      <strong>Sign agreements</strong>\n      <p class=\"u-hint\">Awaiting signature</p>\n    </div>\n    <span class=\"u-tag u-tag--warn\">Pending</span>\n  </li>\n</ul>\n",
      "classes": [
        "u-section-heading",
        "u-activity",
        "u-task-list",
        "u-hint",
        "u-tag",
        "u-tag--ok",
        "u-tag--warn"
      ]
    },
    {
      "id": "property",
      "title": "Property facts",
      "purpose": "Present property information without assuming listing or map services.",
      "maturity": "preview",
      "source": "catalog/examples/property.html",
      "states": [
        "known",
        "partial"
      ],
      "requirements": [
        "Use explicit units and missing-value labels.",
        "No geocoding or listing provider is included.",
        "Self-host dist/ at /design/ or change the sample image URL to your asset mount. Replace the illustrative photo for real listings."
      ],
      "customization": [
        "Facts",
        "Address",
        "Units"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending for this local change.",
        "Photos are AI-generated samples, not real listings."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<article class=\"u-map-card\">\n  <figure class=\"u-property-thumbnail\">\n    <img\n      src=\"/design/gallery/img/house_exterior.jpg\"\n      alt=\"Illustrative house exterior\"\n      loading=\"lazy\"\n      width=\"640\"\n      height=\"400\"\n    />\n    <figcaption>AI-generated sample photo</figcaption>\n  </figure>\n  <div class=\"u-stack\">\n    <h3 class=\"u-section-heading\">Courtyard house</h3>\n    <strong>$425,000</strong>\n    <p>3 beds · 2 baths · 1,800 sq ft</p>\n    <p class=\"u-hint\">Fictional property · Sample location</p>\n  </div>\n</article>\n",
      "classes": [
        "u-map-card",
        "u-property-thumbnail",
        "u-stack",
        "u-section-heading",
        "u-hint"
      ]
    },
    {
      "id": "context-menu",
      "title": "Context menu",
      "purpose": "Offer contextual actions through a native popover.",
      "maturity": "preview",
      "source": "site/examples/context-menu.html",
      "states": [
        "closed",
        "open",
        "disabled"
      ],
      "requirements": [
        "Load context-menu.css and context-menu.js; call UniformContextMenu.mount(root).",
        "Use named buttons with menuitem roles and data-u-context-action. Handle uniform:context-action on the trigger.",
        "Provide a visible opener and equivalent ordinary actions. Browser context menus remain available outside opted-in controls."
      ],
      "customization": [
        "Actions",
        "Labels"
      ],
      "dependencies": [
        "design.css",
        "context-menu.css",
        "context-menu.js"
      ],
      "limitations": [
        "Browser and assistive-technology verification pending."
      ],
      "verification": [
        "npm run test:contracts",
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<button type=\"button\" class=\"u-button\" data-u-context-menu=\"example-context\" data-u-context-open>Open actions</button>\n<div id=\"example-context\" class=\"u-context-menu\" popover=\"auto\" role=\"menu\" aria-label=\"Example actions\">\n  <button type=\"button\" role=\"menuitem\" tabindex=\"-1\" data-u-context-action=\"review\">Review sample</button>\n  <button type=\"button\" role=\"menuitem\" tabindex=\"-1\" disabled>Unavailable action</button>\n</div>\n<p class=\"u-hint\">Right-click the button, use Shift+F10, or open its actions directly.</p>\n<p class=\"u-hint\" id=\"example-context-status\" role=\"status\">No action taken.</p>\n",
      "classes": [
        "u-button",
        "u-context-menu",
        "u-hint"
      ]
    }
  ],
  "patterns": [
    {
      "id": "multi-step-intake",
      "title": "Multi-step intake",
      "purpose": "Validate before advancing; retain values on Back; focus each new step heading; announce save failure.",
      "maturity": "preview",
      "source": "patterns/multi-step-intake.html",
      "components": [
        "field",
        "select",
        "button",
        "progress",
        "panel"
      ],
      "states": [
        "initial",
        "invalid",
        "draft-saved",
        "review"
      ],
      "requirements": [
        "Validate before advancing; retain values on Back; focus each new step heading; announce save failure.",
        "Replace fixture copy and persistence with application-owned data and policy.",
        "Use data-u-stepper, data-u-step, data-u-next, data-u-back and data-u-step-count hooks. Listen to uniform:step-change to render a review and uniform:complete to submit through application code.",
        "Mount one stepper per root; keep its data-u-step-list in that root. Application owns draft persistence and completion side effects."
      ],
      "customization": [
        "Content",
        "Data bindings",
        "Composition using documented components"
      ],
      "dependencies": [
        "design.css",
        "interactions.js",
        "UniformInteractions.mount(document)"
      ],
      "limitations": [
        "Fixture controllers are examples; application backend, authorization and regulatory rules are not supplied."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-page-header\">\n  <div>\n    <span class=\"u-tag\">Preview · onboarding</span>\n    <h1 class=\"u-page-title\">Your next chapter starts here<span class=\"u-dot\" aria-hidden=\"true\"></span></h1>\n    <p class=\"u-lede\">Start with where you are. Build a plan you can come back to.</p>\n  </div>\n</div>\n<div class=\"u-columns\">\n  <section class=\"u-panel\">\n    <form id=\"onboarding\" data-u-stepper novalidate>\n      <p class=\"u-meta\" id=\"step-count\" data-u-step-count>Step 1 of 3</p>\n      <div data-u-step=\"0\">\n        <h2 class=\"u-section-heading\" tabindex=\"-1\">Your starting point</h2>\n        <p class=\"u-hint\">Choose a starting point for this sample plan.</p>\n        <div class=\"u-field\">\n          <label for=\"stage\">Where are you in your journey?</label\n          ><span class=\"u-select\"\n            ><select id=\"stage\" name=\"stage\" required aria-describedby=\"stage-error\">\n              <option value=\"\">Choose your current stage</option>\n              <option>Exploring a first license</option>\n              <option>Preparing an application</option>\n              <option>Managing an existing license</option>\n            </select></span\n          ><span class=\"u-field-error\" id=\"stage-error\" hidden>Choose your current stage to continue.</span>\n        </div>\n        <div class=\"u-field\">\n          <label for=\"goal\">Your next goal</label\n          ><span class=\"u-select\"\n            ><select id=\"goal\" name=\"goal\">\n              <option>Get organized</option>\n              <option>Find a sponsoring firm</option>\n              <option>Prepare for renewal</option>\n            </select></span\n          >\n        </div>\n      </div>\n      <div data-u-step=\"1\" hidden>\n        <h2 class=\"u-section-heading\" tabindex=\"-1\">Make room for progress</h2>\n        <p class=\"u-hint\">Set a personal check-in. This is not a regulatory deadline.</p>\n        <div class=\"u-field\">\n          <label for=\"checkin\">Check-in date (optional)</label\n          ><input id=\"checkin\" name=\"checkin\" type=\"date\" />\n        </div>\n        <div class=\"u-field\">\n          <label for=\"notes\">What would help you move forward? (optional)</label\n          ><textarea\n            id=\"notes\"\n            name=\"notes\"\n            rows=\"4\"\n            maxlength=\"500\"\n            placeholder=\"For example, gathering my education records\"\n          ></textarea>\n        </div>\n      </div>\n      <div data-u-step=\"2\" hidden>\n        <h2 class=\"u-section-heading\" tabindex=\"-1\">Your plan, at a glance</h2>\n        <p class=\"u-hint\">Review your choices before opening the sample dashboard.</p>\n        <dl id=\"review\" class=\"u-facts u-facts--stacked\"></dl>\n      </div>\n      <div class=\"u-form-footer\">\n        <button type=\"button\" class=\"u-button u-button--quiet\" id=\"back\" data-u-back disabled>Back</button>\n        <div class=\"u-actions\">\n          <button type=\"button\" class=\"u-button u-button--quiet\" id=\"save\">Save draft</button\n          ><button type=\"submit\" class=\"u-button\" id=\"next\" data-u-next data-u-final-label=\"Open dashboard\">\n            Continue\n          </button>\n        </div>\n      </div>\n      <p id=\"form-status\" class=\"u-hint\" role=\"status\"></p>\n    </form>\n    <noscript\n      ><p>\n        The fields above are available to explore. Enable JavaScript to navigate the example, or\n        <a href=\"dashboard.html\">view the dashboard</a>.\n      </p></noscript\n    >\n  </section>\n  <aside class=\"u-stack\">\n    <section class=\"u-panel\">\n      <h2 class=\"u-section-heading\">Your route</h2>\n      <ol class=\"u-step-list\" data-u-step-list>\n        <li aria-current=\"step\">\n          <span>Starting point<small>Your experience and next goal</small></span>\n        </li>\n        <li>\n          <span>Personal check-in<small>A pace that works for you</small></span>\n        </li>\n        <li>\n          <span>Review your plan<small>Everything in one place</small></span>\n        </li>\n      </ol>\n    </section>\n    <section class=\"u-panel\">\n      <h2 class=\"u-section-heading\">One step at a time</h2>\n      <p class=\"u-hint\">\n        A useful plan makes the next action clear, while keeping the bigger picture in view.\n      </p>\n      <p class=\"u-hint\">Drafts stay in this browser session. Use only sample information.</p>\n    </section>\n  </aside>\n</div>\n",
      "classes": [
        "u-page-header",
        "u-tag",
        "u-page-title",
        "u-dot",
        "u-lede",
        "u-columns",
        "u-panel",
        "u-meta",
        "u-section-heading",
        "u-hint",
        "u-field",
        "u-select",
        "u-field-error",
        "u-facts",
        "u-facts--stacked",
        "u-form-footer",
        "u-button",
        "u-button--quiet",
        "u-actions",
        "u-stack",
        "u-step-list"
      ]
    },
    {
      "id": "status-dashboard",
      "title": "Status dashboard",
      "purpose": "Update task counts and progress together; do not treat personal reminders as official deadlines.",
      "maturity": "preview",
      "source": "patterns/status-dashboard.html",
      "components": [
        "progress",
        "status",
        "facts",
        "panel"
      ],
      "states": [
        "in-progress",
        "complete",
        "documents-empty",
        "deadlines-unknown"
      ],
      "requirements": [
        "Update task counts and progress together; do not treat personal reminders as official deadlines.",
        "Replace fixture copy and persistence with application-owned data and policy."
      ],
      "customization": [
        "Content",
        "Data bindings",
        "Composition using documented components"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Fixture controllers are examples; application backend, authorization and regulatory rules are not supplied."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-page-header\">\n  <div>\n    <span class=\"u-tag\">Preview · management</span>\n    <h1 class=\"u-page-title\">Your license, in focus<span class=\"u-dot\" aria-hidden=\"true\"></span></h1>\n    <p class=\"u-lede\">Your next steps, documents and milestones in one place.</p>\n  </div>\n  <a href=\"index.html\" class=\"u-button u-button--quiet\">Edit sample plan</a>\n</div>\n<div class=\"u-stack\">\n  <section class=\"u-panel u-stats\" aria-label=\"At a glance\">\n    <dl class=\"u-stat\">\n      <dt>Plan status</dt>\n      <dd>In progress</dd>\n    </dl>\n    <dl class=\"u-stat\">\n      <dt>Sample tasks</dt>\n      <dd id=\"task-count\">1 of 3</dd>\n    </dl>\n    <dl class=\"u-stat\">\n      <dt>Personal check-in</dt>\n      <dd id=\"checkin-display\">Not set</dd>\n    </dl>\n    <dl class=\"u-stat\">\n      <dt>Next milestone</dt>\n      <dd>Oct 24</dd>\n    </dl>\n  </section>\n  <div class=\"u-columns\">\n    <div class=\"u-stack\">\n      <section class=\"u-panel u-panel--accent\">\n        <span class=\"u-eyebrow\">NEXT ACTION</span>\n        <h2 class=\"u-section-heading\">Bring your records together</h2>\n        <p class=\"u-hint\">\n          Make a list of the documents you already have, and identify anything you still need to request.\n        </p>\n        <a class=\"u-button\" href=\"#tasks\">Review your checklist</a>\n      </section>\n      <section class=\"u-panel\" id=\"tasks\">\n        <h2 class=\"u-section-heading\">Your working checklist</h2>\n        <p class=\"u-hint\">Sample tasks for exploring the interface.</p>\n        <progress class=\"u-meter\" value=\"1\" max=\"3\" aria-label=\"Sample checklist progress\"></progress>\n        <ul class=\"u-task-list\">\n          <li>\n            <label><input type=\"checkbox\" data-task checked /> Set your starting point</label\n            ><span class=\"u-tag\">Planning</span>\n          </li>\n          <li>\n            <label><input type=\"checkbox\" data-task /> Gather education records</label\n            ><span class=\"u-tag\">Documents</span>\n          </li>\n          <li>\n            <label><input type=\"checkbox\" data-task /> Review questions with your firm</label\n            ><span class=\"u-tag\">Follow-up</span>\n          </li>\n        </ul>\n        <p class=\"u-hint\" id=\"task-status\" role=\"status\">Changes are for this preview only.</p>\n      </section>\n      <section class=\"u-panel\">\n        <h2 class=\"u-section-heading\">Documents</h2>\n        <p class=\"u-hint\">No documents added yet. Your supporting records will appear here.</p>\n        <p class=\"u-hint\">Keep education certificates and application receipts together.</p>\n        <a class=\"u-button u-button--quiet\" href=\"workspace.html\">Browse document examples</a>\n      </section>\n    </div>\n    <aside class=\"u-stack\">\n      <section class=\"u-panel\">\n        <h2 class=\"u-section-heading\">Plan details</h2>\n        <dl class=\"u-facts u-facts--stacked\">\n          <dt>Starting point</dt>\n          <dd id=\"stage-display\">Exploring a first license</dd>\n          <dt>Next goal</dt>\n          <dd id=\"goal-display\">Get organized</dd>\n          <dt>Verification</dt>\n          <dd>Sample information · not verified</dd>\n        </dl>\n      </section>\n      <section class=\"u-panel\">\n        <p class=\"u-eyebrow\">Property context</p>\n        <h2 class=\"u-section-heading\">Courtyard house</h2>\n        <dl class=\"u-facts u-facts--stacked\">\n          <dt>Layout</dt>\n          <dd>3 bedrooms · 2 bathrooms</dd>\n          <dt>Workspace stage</dt>\n          <dd>Document review</dd>\n          <dt>Reference</dt>\n          <dd>Fictional purchase workspace</dd>\n        </dl>\n      </section>\n      <section class=\"u-panel\">\n        <h2 class=\"u-section-heading\">Recent activity</h2>\n        <ul class=\"u-activity\">\n          <li>\n            <strong>Review started</strong>\n            <p>Supporting records organized</p>\n            <small>Sample event · Today</small>\n          </li>\n          <li>\n            <strong>Contact added</strong>\n            <p>Sample coordinator joined the workspace</p>\n            <small>Sample event · Yesterday</small>\n          </li>\n          <li>\n            <strong>Plan created</strong>\n            <p>Starting point and next goal recorded</p>\n            <small>Sample event · Earlier</small>\n          </li>\n        </ul>\n      </section>\n    </aside>\n  </div>\n</div>\n",
      "classes": [
        "u-page-header",
        "u-tag",
        "u-page-title",
        "u-dot",
        "u-lede",
        "u-button",
        "u-button--quiet",
        "u-stack",
        "u-panel",
        "u-stats",
        "u-stat",
        "u-columns",
        "u-panel--accent",
        "u-eyebrow",
        "u-section-heading",
        "u-hint",
        "u-meter",
        "u-task-list",
        "u-facts",
        "u-facts--stacked",
        "u-activity"
      ]
    },
    {
      "id": "searchable-collection",
      "title": "Searchable collection",
      "purpose": "Combine search and status filters; announce result count; Clear restores all records and focuses search.",
      "maturity": "preview",
      "source": "patterns/searchable-collection.html",
      "components": [
        "table",
        "field",
        "select",
        "empty",
        "identity",
        "activity",
        "property",
        "facts"
      ],
      "states": [
        "populated",
        "filtered",
        "filtered-empty"
      ],
      "requirements": [
        "Combine search and status filters; announce result count; Clear restores all records and focuses search.",
        "Replace fixture copy and persistence with application-owned data and policy.",
        "Keep data-u-collection hooks and row headers for the optional controller. Remount after replacing the collection DOM."
      ],
      "customization": [
        "Content",
        "Data bindings",
        "Composition using documented components"
      ],
      "dependencies": [
        "design.css",
        "widgets.css",
        "interactions.js",
        "UniformInteractions.mount(document)"
      ],
      "limitations": [
        "Fixture controllers are examples; application backend, authorization and regulatory rules are not supplied."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-page-header\">\n  <div>\n    <span class=\"u-tag\">Preview · workspace</span>\n    <h1 class=\"u-page-title\">Document collection<span class=\"u-dot\" aria-hidden=\"true\"></span></h1>\n    <p class=\"u-lede\">Find records, review their status and inspect supporting details.</p>\n  </div>\n</div>\n<div class=\"u-stack\">\n  <section class=\"u-panel\" data-u-collection>\n    <h2 class=\"u-section-heading\">Documents</h2>\n    <p class=\"u-hint\">Illustrative records; no files are attached or requests sent.</p>\n    <div class=\"u-toolbar\">\n      <div class=\"u-field\">\n        <label for=\"document-search\">Find a document</label\n        ><input\n          type=\"search\"\n          enterkeyhint=\"search\"\n          spellcheck=\"false\"\n          id=\"document-search\"\n          data-u-search\n          placeholder=\"Search titles\"\n        />\n      </div>\n      <div class=\"u-field\">\n        <label for=\"document-status\">Status</label\n        ><span class=\"u-select\"\n          ><select id=\"document-status\" data-u-filter>\n            <option value=\"all\">All statuses</option>\n            <option value=\"ready\">Ready</option>\n            <option value=\"review\">Needs review</option>\n            <option value=\"requested\">Requested</option>\n          </select></span\n        >\n      </div>\n      <button class=\"u-button u-button--quiet\" id=\"clear-filters\" data-u-clear type=\"button\">\n        Clear filters\n      </button>\n    </div>\n    <p class=\"u-hint\" id=\"document-count\" data-u-count role=\"status\">3 documents</p>\n    <div class=\"u-table\" data-u-results tabindex=\"0\" role=\"region\" aria-label=\"Sample documents\">\n      <table>\n        <thead>\n          <tr>\n            <th scope=\"col\" aria-sort=\"none\">\n              <button type=\"button\" class=\"u-sort\" data-u-sort>\n                Document <span aria-hidden=\"true\">↕</span>\n              </button>\n            </th>\n            <th scope=\"col\">Category</th>\n            <th scope=\"col\">Status</th>\n            <th scope=\"col\">Details</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr data-u-row data-state=\"ready\">\n            <th scope=\"row\">\n              <span data-document-title>Education certificate</span>\n              <p class=\"u-hint\">Sample PDF record • No file attached</p>\n            </th>\n            <td>\n              Education\n              <p class=\"u-hint\">Pre-license requirement</p>\n            </td>\n            <td><span class=\"u-tag u-tag--ok\">Ready</span></td>\n            <td>\n              <button\n                type=\"button\"\n                class=\"u-button u-button--quiet u-table-detail\"\n                data-u-dialog-open=\"document-details-0\"\n                title=\"\n                File information\"\n                hidden\n              >\n                <svg\n                  viewBox=\"0 0 24 24\"\n                  width=\"20\"\n                  height=\"20\"\n                  fill=\"none\"\n                  stroke=\"currentColor\"\n                  stroke-width=\"1.7\"\n                  stroke-linecap=\"round\"\n                  stroke-linejoin=\"round\"\n                  aria-hidden=\"true\"\n                >\n                  <circle cx=\"12\" cy=\"12\" r=\"9\" />\n                  <path d=\"M12 11v6m0-10v1\" /></svg\n                ><span class=\"u-sr\"> File information: Education certificate </span>\n              </button>\n            </td>\n          </tr>\n          <tr data-u-row data-state=\"review\">\n            <th scope=\"row\">\n              <span data-document-title>Application checklist</span>\n              <p class=\"u-hint\">Sample internal form</p>\n            </th>\n            <td>\n              Application\n              <p class=\"u-hint\">State documentation</p>\n            </td>\n            <td><span class=\"u-tag u-tag--warn\">Needs review</span></td>\n            <td>\n              <button\n                type=\"button\"\n                class=\"u-button u-button--quiet u-table-detail\"\n                data-u-dialog-open=\"document-details-1\"\n                title=\"\n                Review items\"\n                hidden\n              >\n                <svg\n                  viewBox=\"0 0 24 24\"\n                  width=\"20\"\n                  height=\"20\"\n                  fill=\"none\"\n                  stroke=\"currentColor\"\n                  stroke-width=\"1.7\"\n                  stroke-linecap=\"round\"\n                  stroke-linejoin=\"round\"\n                  aria-hidden=\"true\"\n                >\n                  <path d=\"m4 6 2 2 4-4m-6 9 2 2 4-4m3-4h7m-7 7h7m-7 6h7\" /></svg\n                ><span class=\"u-sr\"> Review items: Application checklist </span>\n              </button>\n            </td>\n          </tr>\n          <tr data-u-row data-state=\"requested\">\n            <th scope=\"row\">\n              <span data-document-title>Firm confirmation</span>\n              <p class=\"u-hint\">Sample request • Awaiting signature</p>\n            </th>\n            <td>\n              Sponsorship\n              <p class=\"u-hint\">Brokerage verification</p>\n            </td>\n            <td><span class=\"u-tag\">Requested</span></td>\n            <td>\n              <button\n                type=\"button\"\n                class=\"u-button u-button--quiet u-table-detail\"\n                data-u-dialog-open=\"document-details-2\"\n                title=\"\n                Request information\"\n                hidden\n              >\n                <svg\n                  viewBox=\"0 0 24 24\"\n                  width=\"20\"\n                  height=\"20\"\n                  fill=\"none\"\n                  stroke=\"currentColor\"\n                  stroke-width=\"1.7\"\n                  stroke-linecap=\"round\"\n                  stroke-linejoin=\"round\"\n                  aria-hidden=\"true\"\n                >\n                  <path d=\"M21 11a8 8 0 0 1-8 8H5l-3 3V11a8 8 0 0 1 8-8h3a8 8 0 0 1 8 8Z\" />\n                  <path d=\"M7 10h10m-10 4h6\" /></svg\n                ><span class=\"u-sr\"> Request information: Firm confirmation </span>\n              </button>\n            </td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n    <div id=\"document-empty\" data-u-empty class=\"u-empty\" hidden>\n      <h3 class=\"u-section-heading\">No matching documents</h3>\n      <p>Try a different title or clear the status filter.</p>\n    </div>\n  </section>\n  <div class=\"u-columns\">\n    <div class=\"u-stack\">\n      <section class=\"u-panel\">\n        <h2 class=\"u-section-heading\">People &amp; firms</h2>\n        <ul class=\"u-task-list\">\n          <li>\n            <div class=\"u-identity\">\n              <span class=\"u-avatar\" aria-hidden=\"true\">A</span>\n              <div>\n                <strong>Example agent</strong>\n                <p class=\"u-hint\">Primary contact · Invitation accepted</p>\n              </div>\n            </div>\n            <span class=\"u-tag\">Member</span>\n          </li>\n          <li>\n            <div class=\"u-identity\">\n              <span class=\"u-avatar\" aria-hidden=\"true\">F</span>\n              <div>\n                <strong>Sample firm</strong>\n                <p class=\"u-hint\">Organization · Relationship pending</p>\n              </div>\n            </div>\n            <span class=\"u-tag\">Pending</span>\n          </li>\n        </ul>\n      </section>\n      <section class=\"u-panel\">\n        <span class=\"u-eyebrow\">PROPERTY SUMMARY</span>\n        <h2 class=\"u-section-heading\">Example property</h2>\n        <p class=\"u-hint\">Address not supplied</p>\n        <dl class=\"u-property-facts\">\n          <div>\n            <dt>Property type</dt>\n            <dd>Residential</dd>\n          </div>\n          <div>\n            <dt>Bedrooms</dt>\n            <dd>3</dd>\n          </div>\n          <div>\n            <dt>Bathrooms</dt>\n            <dd>2</dd>\n          </div>\n          <div>\n            <dt>Area</dt>\n            <dd>Not provided</dd>\n          </div>\n        </dl>\n        <p class=\"u-hint\">Illustrative property details · Not a listing</p>\n      </section>\n    </div>\n    <div class=\"u-stack\">\n      <section class=\"u-panel\">\n        <h2 class=\"u-section-heading\">Recent activity</h2>\n        <ol class=\"u-activity\">\n          <li>\n            <strong>Document added</strong>\n            <p>Education certificate</p>\n            <small>Sample event · Today</small>\n          </li>\n          <li>\n            <strong>Review started</strong>\n            <p>Application checklist</p>\n            <small>Sample event · Yesterday</small>\n          </li>\n          <li>\n            <strong>Workspace created</strong>\n            <p>Example workspace</p>\n            <small>Sample event · Earlier</small>\n          </li>\n        </ol>\n      </section>\n      <section class=\"u-panel\">\n        <h2 class=\"u-section-heading\">Cost summary</h2>\n        <p class=\"u-hint\">Illustrative amounts, not actual fees.</p>\n        <dl class=\"u-facts\">\n          <dt>Sample service</dt>\n          <dd>$120.00</dd>\n          <dt>Sample processing</dt>\n          <dd>$30.00</dd>\n          <dt>Estimated total</dt>\n          <dd><strong>$150.00</strong></dd>\n        </dl>\n      </section>\n    </div>\n  </div>\n</div>\n\n<dialog id=\"document-details-0\" class=\"u-dialog\" aria-labelledby=\"document-details-0-title\">\n  <h2 id=\"document-details-0-title\" class=\"u-section-heading\">File information — Education certificate</h2>\n  <dl class=\"u-facts u-facts--stacked\">\n    <dt>Format</dt>\n    <dd>PDF</dd>\n    <dt>Version</dt>\n    <dd>1</dd>\n    <dt>Attachment</dt>\n    <dd>Not supplied</dd>\n  </dl>\n  <div class=\"u-actions\">\n    <button type=\"button\" class=\"u-button\" data-u-dialog-close autofocus>Close</button>\n  </div>\n</dialog>\n<dialog id=\"document-details-1\" class=\"u-dialog\" aria-labelledby=\"document-details-1-title\">\n  <h2 id=\"document-details-1-title\" class=\"u-section-heading\">Review items — Application checklist</h2>\n  <ul class=\"u-hint\">\n    <li>Confirm the document category.</li>\n    <li>Check that every required item is complete.</li>\n  </ul>\n  <div class=\"u-actions\">\n    <button type=\"button\" class=\"u-button\" data-u-dialog-close autofocus>Close</button>\n  </div>\n</dialog>\n<dialog id=\"document-details-2\" class=\"u-dialog\" aria-labelledby=\"document-details-2-title\">\n  <h2 id=\"document-details-2-title\" class=\"u-section-heading\">Request information — Firm confirmation</h2>\n  <dl class=\"u-facts u-facts--stacked\">\n    <dt>Contact</dt>\n    <dd>Sample firm</dd>\n    <dt>Next update</dt>\n    <dd>Written confirmation</dd>\n  </dl>\n  <div class=\"u-actions\">\n    <button type=\"button\" class=\"u-button\" data-u-dialog-close autofocus>Close</button>\n  </div>\n</dialog>\n",
      "classes": [
        "u-page-header",
        "u-tag",
        "u-page-title",
        "u-dot",
        "u-lede",
        "u-stack",
        "u-panel",
        "u-section-heading",
        "u-hint",
        "u-toolbar",
        "u-field",
        "u-select",
        "u-button",
        "u-button--quiet",
        "u-table",
        "u-sort",
        "u-tag--ok",
        "u-table-detail",
        "u-sr",
        "u-tag--warn",
        "u-empty",
        "u-columns",
        "u-task-list",
        "u-identity",
        "u-avatar",
        "u-eyebrow",
        "u-property-facts",
        "u-activity",
        "u-facts",
        "u-dialog",
        "u-facts--stacked",
        "u-actions"
      ]
    },
    {
      "id": "component-states",
      "title": "Component state fixtures",
      "purpose": "State examples are fixtures; only labeled interactions perform local actions.",
      "maturity": "preview",
      "source": "patterns/component-states.html",
      "components": [
        "button",
        "field",
        "select",
        "dialog",
        "file",
        "feedback"
      ],
      "states": [
        "invalid",
        "disabled",
        "readonly",
        "busy",
        "empty",
        "error",
        "confirmation"
      ],
      "requirements": [
        "State examples are fixtures; only labeled interactions perform local actions.",
        "Replace fixture copy and persistence with application-owned data and policy."
      ],
      "customization": [
        "Content",
        "Data bindings",
        "Composition using documented components"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Fixture controllers are examples; application backend, authorization and regulatory rules are not supplied."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-page-header\">\n  <div>\n    <span class=\"u-tag\">Preview · state fixtures</span>\n    <h1 class=\"u-page-title\">Small details, complete states<span class=\"u-dot\" aria-hidden=\"true\"></span></h1>\n    <p class=\"u-lede\">Reference implementations for forms, feedback, collections and review.</p>\n  </div>\n</div>\n<div class=\"u-stack\">\n  <section class=\"u-panel\">\n    <h2 class=\"u-section-heading\">Actions</h2>\n    <div class=\"u-actions\">\n      <button type=\"button\" class=\"u-button\">Primary action</button\n      ><button type=\"button\" class=\"u-button u-button--quiet\">Secondary action</button\n      ><button type=\"button\" class=\"u-button u-button--danger\" data-u-dialog-open=\"confirm-example\">\n        Remove sample</button\n      ><button type=\"button\" class=\"u-button\" disabled>Unavailable</button\n      ><button type=\"button\" class=\"u-button\" disabled aria-busy=\"true\">Saving…</button>\n    </div>\n    <p class=\"u-hint\">\n      Disabled controls need a nearby explanation. “Saving” is a static busy-state example.\n    </p>\n  </section>\n  <section class=\"u-panel\">\n    <h2 class=\"u-section-heading\">Fields &amp; selection</h2>\n    <div class=\"u-form-grid\">\n      <div class=\"u-field\">\n        <label for=\"state-name\">Record title</label\n        ><input id=\"state-name\" placeholder=\"Enter a title\" aria-describedby=\"state-help\" /><span\n          id=\"state-help\"\n          class=\"u-hint\"\n          >Use a short, descriptive title.</span\n        >\n      </div>\n      <div class=\"u-field\">\n        <label for=\"state-invalid\">Required category</label\n        ><input id=\"state-invalid\" required aria-invalid=\"true\" aria-describedby=\"state-error\" /><span\n          class=\"u-field-error\"\n          id=\"state-error\"\n          >Choose a category before continuing.</span\n        >\n      </div>\n      <div class=\"u-field\">\n        <label for=\"state-readonly\">Reference (read only)</label\n        ><input id=\"state-readonly\" value=\"Sample reference\" readonly />\n      </div>\n      <div class=\"u-field\">\n        <label for=\"state-disabled\">Assignment (unavailable)</label\n        ><input\n          id=\"state-disabled\"\n          disabled\n          value=\"Not available in this example\"\n          aria-describedby=\"state-disabled-help\"\n        /><span id=\"state-disabled-help\" class=\"u-hint\">Choose a firm before assigning this record.</span>\n      </div>\n      <div class=\"u-field\">\n        <label for=\"state-select\">Record status</label\n        ><span class=\"u-select\"\n          ><select id=\"state-select\">\n            <option>Draft</option>\n            <option>In review</option>\n            <option>Complete</option>\n          </select></span\n        >\n      </div>\n      <div class=\"u-field\">\n        <label for=\"state-date\">Personal check-in</label\n        ><input id=\"state-date\" type=\"date\" aria-describedby=\"date-help\" /><span id=\"date-help\" class=\"u-hint\"\n          >A personal reminder, not an official deadline.</span\n        >\n      </div>\n    </div>\n    <fieldset class=\"u-choice-group\">\n      <legend>Preferred view</legend>\n      <label><input type=\"radio\" name=\"view\" checked /> Comfortable</label\n      ><label><input type=\"radio\" name=\"view\" /> Compact</label>\n    </fieldset>\n    <label class=\"u-choice\"><input type=\"checkbox\" /> Include archived records</label>\n  </section>\n  <section class=\"u-panel\">\n    <h2 class=\"u-section-heading\">Local document selection</h2>\n    <div class=\"u-field\">\n      <label for=\"sample-file\">Choose a sample PDF</label\n      ><input\n        id=\"sample-file\"\n        type=\"file\"\n        accept=\"application/pdf,.pdf\"\n        data-u-file\n        aria-describedby=\"file-help file-status\"\n      /><span class=\"u-hint\" id=\"file-help\"\n        >PDF only, up to 5 MiB. This example inspects metadata locally; it never uploads the file.</span\n      ><span id=\"file-status\" class=\"u-hint\" role=\"status\">No file selected.</span>\n    </div>\n  </section>\n  <div class=\"u-columns\">\n    <section class=\"u-panel\">\n      <h2 class=\"u-section-heading\">Collection states</h2>\n      <div class=\"u-empty\">\n        <h3 class=\"u-section-heading\">Nothing here yet</h3>\n        <p>Add the first record when you are ready.</p>\n      </div>\n      <p class=\"u-hint\" role=\"status\" aria-busy=\"true\">Loading records…</p>\n      <div class=\"u-callout u-callout--danger\">\n        <strong>Records could not be loaded</strong>\n        <p>Your existing records have not changed. Retry when your connection returns.</p>\n      </div>\n    </section>\n    <section class=\"u-panel\">\n      <h2 class=\"u-section-heading\">Status &amp; provenance</h2>\n      <div class=\"u-actions\">\n        <span class=\"u-tag\">Draft</span><span class=\"u-tag u-tag--warn\">Needs review</span\n        ><span class=\"u-tag u-tag--ok\">Complete</span>\n      </div>\n      <dl class=\"u-facts u-facts--stacked\">\n        <dt>Source</dt>\n        <dd>User-provided sample</dd>\n        <dt>Verification</dt>\n        <dd>Not independently verified</dd>\n        <dt>Last checked</dt>\n        <dd>Not checked</dd>\n      </dl>\n      <p class=\"u-hint\">Use text labels as well as color. Unknown values are not zero.</p>\n    </section>\n  </div>\n  <section class=\"u-panel\">\n    <h2 class=\"u-section-heading\">Review summary</h2>\n    <dl class=\"u-facts\">\n      <dt>Record</dt>\n      <dd>Sample document</dd>\n      <dt>Requested change</dt>\n      <dd>Confirm its category</dd>\n      <dt>Outcome</dt>\n      <dd>Pending review</dd>\n    </dl>\n    <p class=\"u-hint\" id=\"dialog-result\" role=\"status\">No action taken.</p>\n  </section>\n</div>\n<dialog\n  class=\"u-dialog\"\n  id=\"confirm-example\"\n  aria-labelledby=\"dialog-heading\"\n  aria-describedby=\"dialog-description\"\n>\n  <h2 class=\"u-section-heading\" id=\"dialog-heading\">Remove this sample?</h2>\n  <p id=\"dialog-description\">This is a local confirmation example. No record will be deleted.</p>\n  <div class=\"u-actions\">\n    <button class=\"u-button u-button--quiet\" type=\"button\" data-u-dialog-close autofocus>Keep sample</button\n    ><button class=\"u-button u-button--danger\" type=\"button\" data-u-dialog-close=\"confirmed\">\n      Confirm example\n    </button>\n  </div>\n</dialog>\n",
      "classes": [
        "u-page-header",
        "u-tag",
        "u-page-title",
        "u-dot",
        "u-lede",
        "u-stack",
        "u-panel",
        "u-section-heading",
        "u-actions",
        "u-button",
        "u-button--quiet",
        "u-button--danger",
        "u-hint",
        "u-form-grid",
        "u-field",
        "u-field-error",
        "u-select",
        "u-choice-group",
        "u-choice",
        "u-columns",
        "u-empty",
        "u-callout",
        "u-callout--danger",
        "u-tag--warn",
        "u-tag--ok",
        "u-facts",
        "u-facts--stacked",
        "u-dialog"
      ]
    },
    {
      "id": "map-list",
      "title": "Map and list",
      "purpose": "Keep property selection and filtering consistent between an accessible list and a map.",
      "maturity": "preview",
      "source": "patterns/map-list.html",
      "components": [
        "button",
        "field",
        "select",
        "empty",
        "property",
        "context-menu"
      ],
      "states": [
        "populated",
        "selected",
        "filtered",
        "empty",
        "location-unavailable",
        "map-loading",
        "map-unavailable",
        "retry",
        "clustered",
        "cluster-members",
        "shortlisted",
        "both",
        "list-only",
        "map-only",
        "gallery",
        "compact-gallery"
      ],
      "requirements": [
        "Keep records without coordinates in the list.",
        "The optional sample shortlist is held only for the mounted page lifetime. Expose its toggle with aria-pressed and announce changes; never imply saved server data.",
        "Clear selection when a filter removes the selected result.",
        "Provide keyboard access and a list alternative to map markers.",
        "Label fictional data and preserve provider attribution in any live integration.",
        "Hover and focus preview the counterpart without changing selection.",
        "Keep structured selection details available in both mobile views. Escape and Clear selection dismiss and restore focus to the visible initiating control.",
        "Loading and renderer failure must preserve the list, filters and selected record. Announce renderer status separately from result counts.",
        "Retry changes renderer state only; restore focus when the retry control is removed.",
        "Call UniformMapList.connect(root, options) once per root; destroy the returned connection before removing its DOM.",
        "Provide unique record ids matching data-property attributes; nullable [latitude, longitude] locations; text-only title and label.",
        "Omit provider to use OpenFreeMap. Override provider.style or provider.lightStyle/darkStyle and optionally provider.transformRequest for another service.",
        "Keep source attribution visible. Allow the chosen provider origins in CSP; never put secret server credentials in frontend configuration.",
        "Group overlapping markers by default; counts include only visible located records. Activation zooms into a group; identical coordinates or maximum zoom open keyboard-accessible member choices.",
        "Cluster selection indicators include a selected member; filtering recomputes groups and dismisses stale member choices."
      ],
      "customization": [
        "Application-owned records",
        "Renderer and tile service"
      ],
      "dependencies": [
        "design.css",
        "vendor/maplibre/maplibre-gl.css",
        "map.css",
        "maplibre.js",
        "map-list.js",
        "vendor/maplibre/maplibre-gl.mjs",
        "vendor/maplibre/maplibre-gl-worker.mjs",
        "context-menu.css",
        "context-menu.js"
      ],
      "limitations": [
        "Default OpenFreeMap basemap requests go to tiles.openfreemap.org; network access and WebGL are required.",
        "No backend, geocoder or live listings service is included.",
        "Only MapLibre-compatible styles work with the default adapter. Other renderer SDKs need an adapter; an explicit Leaflet option remains available.",
        "Screen-space clustering is intended for modest frontend collections; server-scale indexing and viewport queries are outside scope.",
        "Browser/CSP and actual provider rendering verification remain pending."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "integration": {
        "styles": [
          "design.css",
          "vendor/maplibre/maplibre-gl.css",
          "map.css",
          "context-menu.css",
          "widgets.css"
        ],
        "scripts": [
          "maplibre.js",
          "map-list.js",
          "context-menu.js"
        ],
        "modules": [
          "vendor/maplibre/maplibre-gl.mjs"
        ],
        "workers": [
          "vendor/maplibre/maplibre-gl-worker.mjs"
        ],
        "global": "UniformMapList.connect",
        "options": {
          "maplibre": "import * as maplibre from the packaged vendor/maplibre/maplibre-gl.mjs module",
          "records": "Array<{id:string,title:string,label:string,location:[latitude,longitude]|null}>",
          "provider": "Optional {style: URL|StyleSpecification} or {lightStyle,darkStyle}; optional transformRequest for browser-safe request configuration. Default: OpenFreeMap.",
          "renderer": "Optional adapter implementing mount(root, options); default UniformMapLibre. Use UniformMap explicitly for the separately loaded Leaflet adapter.",
          "clustering": "Optional boolean, defaults to true. Screen-space overlap grouping; false shows individual markers."
        },
        "initialization": "maplibre.setWorkerUrl(new URL(\"./vendor/maplibre/maplibre-gl-worker.mjs\", import.meta.url).href); const connection = UniformMapList.connect(root, {maplibre, records});",
        "lifecycle": "connection.reload(); connection.destroy();",
        "csp": "script-src 'self'; style-src 'self'; worker-src 'self'; connect-src 'self' https://tiles.openfreemap.org; img-src 'self' blob: https://tiles.openfreemap.org",
        "notes": [
          "Serve over HTTP(S). Network map requests are enabled by the default provider.",
          "Leaflet alternative: load vendor/leaflet.js, vendor/leaflet.css and map.js, then pass renderer: UniformMap, leaflet: L and an abortable GeoJSON source function.",
          "Use unique HTML ids when composing multiple roots.",
          "Provider styles are trusted application configuration. Custom providers may require public API keys, attribution and additional CSP origins.",
          "Map libraries remain optional assets, separate from core design.css.",
          "Call UniformContextMenu.mount(root) for optional card actions. Gallery controls preserve selection and filters; settings change columns and card density."
        ]
      },
      "markup": "<div class=\"u-page-header\">\n  <div>\n    <span class=\"u-tag\">Pattern · property explorer</span>\n    <h1 class=\"u-page-title\">Map and list<span class=\"u-dot\" aria-hidden=\"true\"></span></h1>\n    <p class=\"u-lede\">Explore properties with linked map, results and details.</p>\n  </div>\n</div>\n<section data-map-preview aria-label=\"Sample property explorer\">\n  <div class=\"u-toolbar u-map-toolbar\">\n    <div class=\"u-field\">\n      <label for=\"property-kind\">Property type</label\n      ><span class=\"u-select\"\n        ><select id=\"property-kind\" data-map-filter>\n          <option value=\"all\">All properties</option>\n          <option>House</option>\n          <option>Apartment</option>\n          <option>Land</option>\n        </select></span\n      >\n    </div>\n    <button type=\"button\" class=\"u-button u-button--quiet\" data-map-clear>Clear filter</button>\n    <div class=\"u-map-views\" role=\"group\" aria-label=\"View\">\n      <button type=\"button\" class=\"u-button u-button--quiet\" data-map-view=\"both\" aria-pressed=\"true\">\n        Map and list\n      </button>\n      <button type=\"button\" class=\"u-button u-button--quiet\" data-map-view=\"list\" aria-pressed=\"false\">\n        List only\n      </button>\n      <button type=\"button\" class=\"u-button u-button--quiet\" data-map-view=\"map\" aria-pressed=\"false\">\n        Map only\n      </button>\n      <button type=\"button\" class=\"u-button u-button--quiet\" data-map-view=\"gallery\" aria-pressed=\"false\">\n        Gallery\n      </button>\n    </div>\n    <p class=\"u-hint\" data-map-count role=\"status\">5 properties · 4 on map</p>\n  </div>\n  <p class=\"u-sr\" data-map-announcement role=\"status\"></p>\n  <details data-map-gallery-controls hidden>\n    <summary>Gallery settings</summary>\n    <div class=\"u-toolbar\">\n      <div class=\"u-field\">\n        <label for=\"gallery-columns\">Columns</label\n        ><span class=\"u-select\"\n          ><select id=\"gallery-columns\" data-map-columns>\n            <option value=\"auto\">Automatic</option>\n            <option value=\"2\">Two</option>\n            <option value=\"3\">Three</option>\n          </select></span\n        >\n      </div>\n      <div class=\"u-field\">\n        <label for=\"gallery-density\">Card style</label\n        ><span class=\"u-select\"\n          ><select id=\"gallery-density\" data-map-density>\n            <option value=\"roomy\">Photo cards</option>\n            <option value=\"compact\">Compact cards</option>\n          </select></span\n        >\n      </div>\n    </div>\n  </details>\n  <div class=\"u-map-layout\" data-view=\"both\">\n    <div class=\"u-map-results\" aria-label=\"Property results\" data-columns=\"auto\" data-density=\"roomy\">\n      <article\n        class=\"u-map-card\"\n        data-property=\"courtyard\"\n        data-area=\"1,840 sq ft\"\n        data-description=\"Private courtyard, a flexible main-floor workspace and a detached two-car garage.\"\n        data-review=\"Confirm roof age, garage condition and recent maintenance.\"\n        data-lat=\"41.94\"\n        data-lng=\"-87.67\"\n        data-kind=\"House\"\n      >\n        <figure class=\"u-property-thumbnail\">\n          <img src=\"/design/gallery/img/house_exterior.jpg\" alt=\"\" loading=\"lazy\" />\n          <figcaption>Exterior · AI-generated sample</figcaption>\n        </figure>\n        <span class=\"u-eyebrow\">House</span>\n        <h2 class=\"u-section-heading\">Courtyard house</h2>\n        <p>3 beds · 2 baths</p>\n        <strong>$425,000</strong>\n        <p class=\"u-hint\">Sample location</p>\n        <button\n          type=\"button\"\n          class=\"u-map-card-select\"\n          data-select=\"courtyard\"\n          data-u-context-menu=\"property-context\"\n          aria-pressed=\"false\"\n        >\n          <span class=\"u-sr\">Select Courtyard house</span>\n        </button>\n        <button\n          type=\"button\"\n          class=\"u-context-trigger\"\n          data-u-context-menu=\"property-context\"\n          data-u-context-open\n          aria-label=\"Actions for Courtyard house\"\n        >\n          <span aria-hidden=\"true\">⋯</span>\n        </button>\n      </article>\n      <article\n        class=\"u-map-card\"\n        data-property=\"terrace\"\n        data-area=\"1,260 sq ft\"\n        data-description=\"A corner apartment with an open living area, a covered terrace and dedicated parking.\"\n        data-review=\"Review association documents, monthly dues and rental restrictions.\"\n        data-lat=\"41.9\"\n        data-lng=\"-87.64\"\n        data-kind=\"Apartment\"\n      >\n        <figure class=\"u-property-thumbnail\">\n          <img src=\"/design/gallery/img/apartment_exterior.jpg\" alt=\"\" loading=\"lazy\" />\n          <figcaption>Exterior · AI-generated sample</figcaption>\n        </figure>\n        <span class=\"u-eyebrow\">Apartment</span>\n        <h2 class=\"u-section-heading\">Terrace apartment</h2>\n        <p>2 beds · 2 baths</p>\n        <strong>$310,000</strong>\n        <p class=\"u-hint\">Sample location</p>\n        <button\n          type=\"button\"\n          class=\"u-map-card-select\"\n          data-select=\"terrace\"\n          data-u-context-menu=\"property-context\"\n          aria-pressed=\"false\"\n        >\n          <span class=\"u-sr\">Select Terrace apartment</span>\n        </button>\n        <button\n          type=\"button\"\n          class=\"u-context-trigger\"\n          data-u-context-menu=\"property-context\"\n          data-u-context-open\n          aria-label=\"Actions for Terrace apartment\"\n        >\n          <span aria-hidden=\"true\">⋯</span>\n        </button>\n      </article>\n      <article\n        class=\"u-map-card\"\n        data-property=\"garden\"\n        data-area=\"2,420 sq ft\"\n        data-description=\"Four bedrooms, a generous backyard and a separate lower-level living area.\"\n        data-review=\"Confirm lower-level permits, drainage and mechanical service history.\"\n        data-lat=\"41.86\"\n        data-lng=\"-87.68\"\n        data-kind=\"House\"\n      >\n        <figure class=\"u-property-thumbnail\">\n          <img src=\"/design/gallery/img/house_exterior.jpg\" alt=\"\" loading=\"lazy\" />\n          <figcaption>Exterior · AI-generated sample</figcaption>\n        </figure>\n        <span class=\"u-eyebrow\">House</span>\n        <h2 class=\"u-section-heading\">Garden house</h2>\n        <p>4 beds · 3 baths</p>\n        <strong>$560,000</strong>\n        <p class=\"u-hint\">Sample location</p>\n        <button\n          type=\"button\"\n          class=\"u-map-card-select\"\n          data-select=\"garden\"\n          data-u-context-menu=\"property-context\"\n          aria-pressed=\"false\"\n        >\n          <span class=\"u-sr\">Select Garden house</span>\n        </button>\n        <button\n          type=\"button\"\n          class=\"u-context-trigger\"\n          data-u-context-menu=\"property-context\"\n          data-u-context-open\n          aria-label=\"Actions for Garden house\"\n        >\n          <span aria-hidden=\"true\">⋯</span>\n        </button>\n      </article>\n      <article\n        class=\"u-map-card\"\n        data-property=\"courtyard-flat\"\n        data-area=\"980 sq ft\"\n        data-description=\"A compact two-bedroom layout near the courtyard house, with shared outdoor space.\"\n        data-review=\"Review reserves, shared-space rules and recent building improvements.\"\n        data-lat=\"41.9412\"\n        data-lng=\"-87.6685\"\n        data-kind=\"Apartment\"\n      >\n        <figure class=\"u-property-thumbnail\">\n          <img src=\"/design/gallery/img/apartment_exterior.jpg\" alt=\"\" loading=\"lazy\" />\n          <figcaption>Exterior · AI-generated sample</figcaption>\n        </figure>\n        <span class=\"u-eyebrow\">Apartment</span>\n        <h2 class=\"u-section-heading\">Courtyard flat</h2>\n        <p>2 beds · 1 bath</p>\n        <strong>$285,000</strong>\n        <p class=\"u-hint\">Nearby sample location · About 180 m from Courtyard house</p>\n        <button\n          type=\"button\"\n          class=\"u-map-card-select\"\n          data-select=\"courtyard-flat\"\n          data-u-context-menu=\"property-context\"\n          aria-pressed=\"false\"\n        >\n          <span class=\"u-sr\">Select Courtyard flat</span>\n        </button>\n        <button\n          type=\"button\"\n          class=\"u-context-trigger\"\n          data-u-context-menu=\"property-context\"\n          data-u-context-open\n          aria-label=\"Actions for Courtyard flat\"\n        >\n          <span aria-hidden=\"true\">⋯</span>\n        </button>\n      </article>\n      <article\n        class=\"u-map-card\"\n        data-property=\"studio\"\n        data-area=\"540 sq ft\"\n        data-description=\"An efficient studio with an independent kitchen and built-in storage.\"\n        data-review=\"Request the location before planning a visit; review building documents.\"\n        data-kind=\"Apartment\"\n      >\n        <figure class=\"u-property-thumbnail\">\n          <img src=\"/design/gallery/img/apartment_exterior.jpg\" alt=\"\" loading=\"lazy\" />\n          <figcaption>Exterior · AI-generated sample</figcaption>\n        </figure>\n        <span class=\"u-eyebrow\">Apartment</span>\n        <h2 class=\"u-section-heading\">Corner studio</h2>\n        <p>Studio · 1 bath</p>\n        <strong>$195,000</strong>\n        <p class=\"u-hint\" id=\"studio-location\"><span class=\"u-tag u-tag--warn\">Location unknown</span></p>\n        <button\n          type=\"button\"\n          class=\"u-map-card-select\"\n          data-select=\"studio\"\n          aria-pressed=\"false\"\n          aria-describedby=\"studio-location\"\n        >\n          <span class=\"u-sr\">Select Corner studio</span>\n        </button>\n        <button\n          type=\"button\"\n          class=\"u-context-trigger\"\n          data-u-context-menu=\"property-context\"\n          data-u-context-open\n          aria-label=\"Actions for Corner studio\"\n        >\n          <span aria-hidden=\"true\">⋯</span>\n        </button>\n      </article>\n      <div class=\"u-empty\" data-map-empty hidden>\n        <h2 class=\"u-section-heading\">No matching properties</h2>\n        <p>Choose another property type or clear the filter.</p>\n      </div>\n    </div>\n    <div class=\"u-map-surface\" aria-busy=\"false\">\n      <div class=\"u-map-notice\" data-map-notice hidden>\n        <div class=\"u-map-state-art\" aria-hidden=\"true\">\n          <svg viewBox=\"0 0 640 520\" preserveAspectRatio=\"xMidYMid slice\">\n            <path\n              class=\"u-map-state-block\"\n              d=\"M40 35h130v115H40zM200 35h150v115H200zM40 180h130v130H40zM200 180h150v130H200zM380 35h90v275h-90zM40 340h310v140H40z\"\n            />\n            <path class=\"u-map-state-river\" d=\"M570-20Q450 150 560 280T570 550\" />\n            <g class=\"u-map-state-markers\">\n              <rect x=\"120\" y=\"120\" width=\"90\" height=\"34\" rx=\"17\" />\n              <rect x=\"320\" y=\"220\" width=\"90\" height=\"34\" rx=\"17\" />\n              <rect x=\"200\" y=\"360\" width=\"90\" height=\"34\" rx=\"17\" />\n            </g>\n          </svg>\n        </div>\n        <div class=\"u-map-state-card\">\n          <span class=\"u-map-state-icon\" aria-hidden=\"true\"\n            ><svg\n              viewBox=\"0 0 24 24\"\n              width=\"24\"\n              height=\"24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"1.5\"\n            >\n              <path d=\"m3 6 6-3 6 3 6-3v15l-6 3-6-3-6 3V6Z M9 3v15 M15 6v15\" /></svg\n          ></span>\n          <div class=\"u-map-state-message\">\n            <span class=\"u-eyebrow\" data-map-notice-label>MAP VIEW</span>\n            <h3 class=\"u-section-heading\" data-map-notice-title></h3>\n            <p data-map-notice-copy></p>\n          </div>\n          <div class=\"u-map-state-actions\">\n            <button type=\"button\" class=\"u-button\" data-map-retry hidden>\n              <svg\n                aria-hidden=\"true\"\n                width=\"16\"\n                height=\"16\"\n                viewBox=\"0 0 24 24\"\n                fill=\"none\"\n                stroke=\"currentColor\"\n                stroke-width=\"1.75\"\n              >\n                <path d=\"M20 7v5h-5M20 12a8 8 0 1 0-2 5\" /></svg\n              >Retry map</button\n            ><button type=\"button\" class=\"u-button u-button--quiet\" data-map-show-list>\n              View results <span aria-hidden=\"true\">→</span>\n            </button>\n          </div>\n          <span class=\"u-map-loading-track\" aria-hidden=\"true\"></span>\n        </div>\n      </div>\n      <div\n        class=\"u-map-notice\"\n        data-map-location-status\n        role=\"region\"\n        aria-labelledby=\"unknown-location-title\"\n        hidden\n      >\n        <div class=\"u-map-state-card\">\n          <span class=\"u-map-state-icon\" aria-hidden=\"true\"\n            ><svg\n              width=\"24\"\n              height=\"24\"\n              viewBox=\"0 0 24 24\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              stroke-width=\"1.5\"\n            >\n              <path d=\"M9 3a7 7 0 0 1 10 6c0 5-7 12-7 12l-4-5M5 6a7 7 0 0 0 0 7 M3 3l18 18\" /></svg\n          ></span>\n          <div class=\"u-map-state-message\">\n            <span class=\"u-eyebrow\" data-map-location-name></span>\n            <h3 class=\"u-section-heading\" id=\"unknown-location-title\">Location unknown</h3>\n            <p>This property has no address or coordinates yet. There is no map pin to show.</p>\n          </div>\n          <div class=\"u-map-state-actions\">\n            <a class=\"u-button\" href=\"#map-selection\">View property details</a>\n          </div>\n        </div>\n      </div>\n      <div\n        class=\"u-map-canvas u-geo-map\"\n        tabindex=\"0\"\n        role=\"region\"\n        aria-label=\"Property map. Use arrow keys to pan, plus and minus to zoom.\"\n      ></div>\n    </div>\n  </div>\n  <section class=\"u-map-selection\" id=\"map-selection\" tabindex=\"-1\" aria-label=\"Selected property details\">\n    <p class=\"u-sr\" data-map-selection role=\"status\">Select a marker or result to inspect it.</p>\n    <p class=\"u-hint\" data-selection-empty>\n      Select a property to explore its photos, features and review notes.\n    </p>\n    <div data-selection-facts hidden>\n      <div class=\"u-property-gallery\" aria-label=\"Sample property photo placeholders\">\n        <button\n          type=\"button\"\n          class=\"u-button u-button--quiet u-shell-icon u-property-dismiss\"\n          data-map-dismiss\n          aria-label=\"Clear selection\"\n          title=\"Clear selection\"\n          hidden\n        >\n          <svg\n            width=\"20\"\n            height=\"20\"\n            viewBox=\"0 0 24 24\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            stroke-width=\"1.75\"\n            aria-hidden=\"true\"\n          >\n            <path d=\"M6 6L18 18M18 6L6 18\" />\n          </svg>\n        </button>\n        <div\n          class=\"u-property-photos\"\n          tabindex=\"0\"\n          role=\"group\"\n          aria-label=\"Property photos. Swipe or use arrow keys to browse three images.\"\n        >\n          <figure>\n            <img data-selection-photo src=\"/design/gallery/img/house_exterior.jpg\" alt=\"\" loading=\"lazy\" />\n            <figcaption>Exterior · 1 of 3</figcaption>\n          </figure>\n          <figure>\n            <img src=\"/design/gallery/img/modern_interior.jpg\" alt=\"\" loading=\"lazy\" />\n            <figcaption>Living space · 2 of 3</figcaption>\n          </figure>\n          <figure>\n            <img src=\"/design/gallery/img/outdoor_space.jpg\" alt=\"\" loading=\"lazy\" />\n            <figcaption>Outdoor space · 3 of 3</figcaption>\n          </figure>\n        </div>\n      </div>\n      <div class=\"u-property-summary\">\n        <div>\n          <h2 class=\"u-section-heading\" data-selection-title>Property details</h2>\n          <span class=\"u-tag\" data-selection-kind></span>\n          <p class=\"u-property-price\" data-selection-price></p>\n          <dl class=\"u-property-facts\">\n            <div>\n              <dt>Layout</dt>\n              <dd data-selection-layout></dd>\n            </div>\n            <div>\n              <dt>Interior</dt>\n              <dd data-selection-area></dd>\n            </div>\n            <div>\n              <dt>Location</dt>\n              <dd data-selection-location></dd>\n            </div>\n          </dl>\n        </div>\n        <div class=\"u-property-overview\">\n          <h3 class=\"u-section-heading\">Property snapshot</h3>\n          <p data-selection-description></p>\n          <div class=\"u-callout\" data-selection-location-notice hidden>\n            <strong>Address not provided</strong>\n            <p class=\"u-hint\">\n              Request a confirmed location before planning a visit. Photos and property details are still\n              available.\n            </p>\n          </div>\n          <h3 class=\"u-section-heading\">Before a tour</h3>\n          <p class=\"u-hint\" data-selection-review></p>\n          <div class=\"u-actions\">\n            <button type=\"button\" class=\"u-button\" data-selection-save aria-pressed=\"false\">\n              Save property\n            </button>\n            <span class=\"u-hint\">Sample shortlist · this page only.</span>\n          </div>\n        </div>\n      </div>\n    </div>\n  </section>\n  <div id=\"property-context\" class=\"u-context-menu\" popover=\"auto\" role=\"menu\" aria-label=\"Property actions\">\n    <button type=\"button\" role=\"menuitem\" tabindex=\"-1\" data-u-context-action=\"view\">View details</button>\n    <button type=\"button\" role=\"menuitem\" tabindex=\"-1\" data-u-context-action=\"save\">Save property</button>\n    <button type=\"button\" role=\"menuitem\" tabindex=\"-1\" data-u-context-action=\"share\">Share property</button>\n  </div>\n  <p class=\"u-hint\">Fictional listings with illustrative state-of-the-art AI-generated placeholder images.</p>\n  <details class=\"u-panel u-map-guide\">\n    <summary id=\"map-contract-title\">Pattern reference</summary>\n    <div class=\"u-columns\">\n      <section aria-labelledby=\"map-behavior-title\">\n        <h2 class=\"u-section-heading\" id=\"map-behavior-title\">Interaction behavior</h2>\n        <dl class=\"u-facts\">\n          <dt>Preview</dt>\n          <dd>Hover or focus to highlight the matching card or marker.</dd>\n          <dt>Select</dt>\n          <dd>Activate a card or marker to open its details. Selection carries between views.</dd>\n          <dt>Dismiss</dt>\n          <dd>Clear selection or press Escape to return focus to the initiating control.</dd>\n          <dt>Filter</dt>\n          <dd>Update the list and map together. Clear selection only if its result is excluded.</dd>\n          <dt>Unknown location</dt>\n          <dd>\n            Keep the listing and its details available. Show an explicit location state instead of a map pin.\n          </dd>\n        </dl>\n      </section>\n      <section class=\"u-map-review-controls\" aria-labelledby=\"map-review-title\">\n        <h2 class=\"u-section-heading\" id=\"map-review-title\">State previews</h2>\n        <div class=\"u-field\">\n          <label for=\"map-state\">Simulated renderer state</label>\n          <span class=\"u-select\"\n            ><select id=\"map-state\" data-map-state>\n              <option value=\"ready\">Ready</option>\n              <option value=\"loading\">Loading</option>\n              <option value=\"error\">Unavailable</option>\n            </select></span\n          >\n        </div>\n        <p class=\"u-hint\">Inspect loading and failure states while keeping filters and selection.</p>\n        <h3 class=\"u-section-heading\">Integration notes</h3>\n        <p class=\"u-hint\">\n          OpenFreeMap is the default provider. Keep its attribution visible when using a live map.\n        </p>\n        <ul class=\"u-hint\">\n          <li>Retry reconnects to the configured provider.</li>\n          <li>Viewport searches require an explicit action.</li>\n          <li>Clusters expose counts and keyboard access.</li>\n        </ul>\n      </section>\n    </div>\n  </details>\n</section>\n\n<dialog id=\"gallery-modal\" class=\"u-gallery-modal\" aria-label=\"Property photo gallery\">\n  <div class=\"u-gallery-modal-content\">\n    <button type=\"button\" class=\"u-gallery-modal-close\" aria-label=\"Close gallery\">\n      <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n        <path d=\"M18 6L6 18M6 6l12 12\" />\n      </svg>\n    </button>\n    <button type=\"button\" class=\"u-gallery-modal-nav u-gallery-modal-prev\" aria-label=\"Previous image\">\n      <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n        <path d=\"M15 18l-6-6 6-6\" />\n      </svg>\n    </button>\n    <img id=\"gallery-image\" src=\"\" alt=\"\" />\n    <button type=\"button\" class=\"u-gallery-modal-nav u-gallery-modal-next\" aria-label=\"Next image\">\n      <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\">\n        <path d=\"M9 18l6-6-6-6\" />\n      </svg>\n    </button>\n    <div id=\"gallery-caption\" class=\"u-gallery-modal-caption\"></div>\n  </div>\n</dialog>\n",
      "classes": [
        "u-page-header",
        "u-tag",
        "u-page-title",
        "u-dot",
        "u-lede",
        "u-toolbar",
        "u-map-toolbar",
        "u-field",
        "u-select",
        "u-button",
        "u-button--quiet",
        "u-map-views",
        "u-hint",
        "u-sr",
        "u-map-layout",
        "u-map-results",
        "u-map-card",
        "u-property-thumbnail",
        "u-eyebrow",
        "u-section-heading",
        "u-map-card-select",
        "u-context-trigger",
        "u-tag--warn",
        "u-empty",
        "u-map-surface",
        "u-map-notice",
        "u-map-state-art",
        "u-map-state-block",
        "u-map-state-river",
        "u-map-state-markers",
        "u-map-state-card",
        "u-map-state-icon",
        "u-map-state-message",
        "u-map-state-actions",
        "u-map-loading-track",
        "u-map-canvas",
        "u-geo-map",
        "u-map-selection",
        "u-property-gallery",
        "u-shell-icon",
        "u-property-dismiss",
        "u-property-photos",
        "u-property-summary",
        "u-property-price",
        "u-property-facts",
        "u-property-overview",
        "u-callout",
        "u-actions",
        "u-context-menu",
        "u-panel",
        "u-map-guide",
        "u-columns",
        "u-facts",
        "u-map-review-controls",
        "u-gallery-modal",
        "u-gallery-modal-content",
        "u-gallery-modal-close",
        "u-gallery-modal-nav",
        "u-gallery-modal-prev",
        "u-gallery-modal-next",
        "u-gallery-modal-caption"
      ]
    },
    {
      "id": "application-shell",
      "title": "Application Shell",
      "purpose": "Standard layout framework for Uniform web applications, including responsive navigation and workspace areas.",
      "maturity": "preview",
      "source": "patterns/application-shell.html",
      "components": [
        "button"
      ],
      "states": [
        "initial"
      ],
      "requirements": [
        "Always use u-app as the top-level container.",
        "Mobile navigation uses a <details> element for the collapsible menu.",
        "Include both light and dark theme brand marks."
      ],
      "customization": [
        "Content",
        "Navigation links"
      ],
      "dependencies": [
        "design.css"
      ],
      "limitations": [
        "Theme toggle requires client-side JavaScript (e.g. theme.js) for logic."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-app\">\n  <aside class=\"u-app-nav\" aria-label=\"Workflows\">\n    <a class=\"u-app-brand\" href=\"#\" aria-label=\"Uniform Design\">\n      <img\n        class=\"u-app-brand-dark\"\n        src=\"../dist/svg/uniform-wordmark-on-dark.svg\"\n        width=\"136\"\n        height=\"30\"\n        alt=\"Uniform\"\n      />\n      <img\n        class=\"u-app-brand-light\"\n        src=\"../dist/svg/uniform-wordmark-color.svg\"\n        width=\"136\"\n        height=\"30\"\n        alt=\"Uniform\"\n      />\n    </a>\n    <nav class=\"u-nav u-desktop-nav\" aria-label=\"Application navigation\">\n      <a href=\"#\" aria-current=\"page\"><span>Dashboard</span></a>\n      <a href=\"#\"><span>Listings</span></a>\n    </nav>\n    <details class=\"u-mobile-nav\">\n      <summary aria-label=\"Menu\">\n        <svg\n          viewBox=\"0 0 24 24\"\n          width=\"20\"\n          height=\"20\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          stroke-width=\"1.5\"\n          aria-hidden=\"true\"\n        >\n          <path d=\"M4 6h16M4 12h16M4 18h16\" />\n        </svg>\n        <span class=\"u-sr\">Menu</span>\n      </summary>\n      <nav class=\"u-nav\" aria-label=\"Mobile navigation\">\n        <a href=\"#\" aria-current=\"page\"><span>Dashboard</span></a>\n        <a href=\"#\"><span>Listings</span></a>\n      </nav>\n    </details>\n    <div class=\"u-app-utility\">\n      <span class=\"u-app-utility-label\">Appearance</span>\n      <button type=\"button\" class=\"u-button u-button--quiet u-icon-button\" aria-label=\"Switch theme\">\n        <svg\n          viewBox=\"0 0 24 24\"\n          width=\"20\"\n          height=\"20\"\n          fill=\"none\"\n          stroke=\"currentColor\"\n          stroke-width=\"1.5\"\n          aria-hidden=\"true\"\n        >\n          <circle cx=\"12\" cy=\"12\" r=\"4\" />\n          <path d=\"M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5\" />\n        </svg>\n      </button>\n    </div>\n  </aside>\n  <main class=\"u-workspace\">\n    <header class=\"u-page-header\">\n      <div>\n        <h1 class=\"u-page-title\">Dashboard<span class=\"u-dot\" aria-hidden=\"true\"></span></h1>\n      </div>\n    </header>\n    <div class=\"u-stack\">\n      <p>Workspace content goes here.</p>\n    </div>\n  </main>\n</div>\n",
      "classes": [
        "u-app",
        "u-app-nav",
        "u-app-brand",
        "u-app-brand-dark",
        "u-app-brand-light",
        "u-nav",
        "u-desktop-nav",
        "u-mobile-nav",
        "u-sr",
        "u-app-utility",
        "u-app-utility-label",
        "u-button",
        "u-button--quiet",
        "u-icon-button",
        "u-workspace",
        "u-page-header",
        "u-page-title",
        "u-dot",
        "u-stack"
      ]
    },
    {
      "id": "map-preview",
      "title": "Map Preview",
      "purpose": "A simple, read-only map embed for displaying a single property location.",
      "maturity": "preview",
      "source": "patterns/map-preview.html",
      "components": [],
      "states": [
        "ready",
        "loading",
        "error"
      ],
      "requirements": [
        "Provide data-lat and data-lng attributes on the canvas.",
        "Initialize with UniformMapLibre or Leaflet adapter."
      ],
      "customization": [
        "Coordinates",
        "Provider styles"
      ],
      "dependencies": [
        "design.css",
        "map.css"
      ],
      "limitations": [
        "Does not include clustering or linked list filtering."
      ],
      "verification": [
        "npm run test:a11y"
      ],
      "introduced": "0.1.12-local",
      "markup": "<div class=\"u-map-surface\" aria-busy=\"false\" data-state=\"ready\">\n  <div\n    class=\"u-map-canvas u-geo-map\"\n    tabindex=\"0\"\n    role=\"region\"\n    aria-label=\"Property location map\"\n    data-lat=\"41.94\"\n    data-lng=\"-87.67\"\n  ></div>\n</div>\n",
      "classes": [
        "u-map-surface",
        "u-map-canvas",
        "u-geo-map"
      ]
    }
  ],
  "rules": [
    "Use semantic --u-* variables and documented u-* classes.",
    "Use the native element that supplies the required semantics.",
    "Use textContent for user-controlled values.",
    "Do not assume a preview component is certified or stable.",
    "Keep application policy and server authorization out of the design package."
  ],
  "version": "0.3.3",
  "tokens": {
    "color": {
      "ink": "#14212b",
      "paper": "#f3f5f6",
      "slate": "#5e6e79",
      "signal": "#c8402a",
      "signal-on-dark": "#e3654d",
      "lake": "#1f5f7a",
      "lake-light": "#8fc3d9",
      "night": "#0e171e",
      "mist": "#9dacb6",
      "rule": "#d5dce0",
      "rule-dark": "#22313b"
    },
    "font": {
      "sans": "\"Public Sans\", \"Helvetica Neue\", Arial, sans-serif",
      "mono": "\"IBM Plex Mono\", ui-monospace, Menlo, monospace"
    },
    "radius": {
      "sm": "4px",
      "md": "6px",
      "lg": "10px"
    },
    "space": {
      "1": "4px",
      "2": "8px",
      "3": "12px",
      "4": "16px",
      "5": "24px",
      "6": "32px",
      "7": "48px"
    },
    "dot": {
      "size": "0.19em",
      "gap": "0.05em"
    }
  },
  "customProperties": [
    "--u-accent",
    "--u-bg",
    "--u-button-bg",
    "--u-button-fg",
    "--u-dot-gap",
    "--u-dot-size",
    "--u-fg",
    "--u-font-mono",
    "--u-font-sans",
    "--u-hover",
    "--u-ink",
    "--u-lake",
    "--u-lake-light",
    "--u-line",
    "--u-link",
    "--u-mist",
    "--u-muted",
    "--u-night",
    "--u-ok",
    "--u-paper",
    "--u-radius-lg",
    "--u-radius-md",
    "--u-radius-sm",
    "--u-rule",
    "--u-rule-dark",
    "--u-signal",
    "--u-signal-on-dark",
    "--u-slate",
    "--u-space-1",
    "--u-space-2",
    "--u-space-3",
    "--u-space-4",
    "--u-space-5",
    "--u-space-6",
    "--u-space-7",
    "--u-surface",
    "--u-warn"
  ],
  "classes": [
    "u-actions",
    "u-activity",
    "u-app",
    "u-app-brand",
    "u-app-brand-dark",
    "u-app-brand-light",
    "u-app-nav",
    "u-app-utility",
    "u-app-utility-label",
    "u-atmosphere",
    "u-avatar",
    "u-bar",
    "u-bar-chart",
    "u-bar-chart-bar-wrap",
    "u-bar-chart-col",
    "u-bar-chart-label",
    "u-button",
    "u-button--danger",
    "u-button--quiet",
    "u-calc-choice",
    "u-calc-input-prefix",
    "u-calc-input-with-prefix",
    "u-calc-input-wrapper",
    "u-calc-label-row",
    "u-calc-total-strong",
    "u-calculator-breakdown",
    "u-callout",
    "u-callout--danger",
    "u-chart-center",
    "u-check",
    "u-check--done",
    "u-check--progress",
    "u-check__detail",
    "u-check__status",
    "u-check__title",
    "u-choice",
    "u-choice-group",
    "u-code",
    "u-columns",
    "u-context-menu",
    "u-context-trigger",
    "u-desktop-nav",
    "u-dialog",
    "u-donut-chart",
    "u-donut-chart-label",
    "u-donut-chart-segment",
    "u-donut-chart-text",
    "u-donut-chart-track",
    "u-dot",
    "u-empty",
    "u-eyebrow",
    "u-facts",
    "u-facts--stacked",
    "u-field",
    "u-field-error",
    "u-form-footer",
    "u-form-grid",
    "u-gallery-mobile",
    "u-gallery-modal",
    "u-gallery-modal-caption",
    "u-gallery-modal-close",
    "u-gallery-modal-content",
    "u-gallery-modal-nav",
    "u-gallery-modal-next",
    "u-gallery-modal-prev",
    "u-geo-map",
    "u-heading",
    "u-hint",
    "u-icon-button",
    "u-identity",
    "u-lede",
    "u-legend",
    "u-legend-color",
    "u-legend-color--hoa",
    "u-legend-color--pi",
    "u-legend-color--taxes",
    "u-legend-item--excluded",
    "u-map-boundary",
    "u-map-canvas",
    "u-map-card",
    "u-map-card-select",
    "u-map-cluster",
    "u-map-guide",
    "u-map-label",
    "u-map-layout",
    "u-map-loading-track",
    "u-map-member-list",
    "u-map-members",
    "u-map-notice",
    "u-map-park",
    "u-map-price",
    "u-map-results",
    "u-map-review-controls",
    "u-map-road",
    "u-map-selection",
    "u-map-state-actions",
    "u-map-state-art",
    "u-map-state-block",
    "u-map-state-card",
    "u-map-state-icon",
    "u-map-state-markers",
    "u-map-state-message",
    "u-map-state-river",
    "u-map-surface",
    "u-map-toolbar",
    "u-map-views",
    "u-map-water",
    "u-map-zoom",
    "u-meta",
    "u-meter",
    "u-mobile-nav",
    "u-nav",
    "u-page-header",
    "u-page-title",
    "u-panel",
    "u-panel--accent",
    "u-progress",
    "u-property-dismiss",
    "u-property-facts",
    "u-property-gallery",
    "u-property-overview",
    "u-property-photos",
    "u-property-price",
    "u-property-summary",
    "u-property-thumbnail",
    "u-root",
    "u-section-heading",
    "u-select",
    "u-shell-header",
    "u-shell-header-actions",
    "u-shell-icon",
    "u-shell-layout",
    "u-shell-main",
    "u-skip",
    "u-slider",
    "u-sort",
    "u-sparkline",
    "u-sr",
    "u-stack",
    "u-stat",
    "u-stats",
    "u-step-list",
    "u-swipe-dismiss",
    "u-table",
    "u-table-detail",
    "u-tag",
    "u-tag--ok",
    "u-tag--warn",
    "u-task-list",
    "u-title",
    "u-toolbar",
    "u-workbench",
    "u-workspace"
  ],
  "verification": {
    "browser": "pending-local-execution",
    "maturity": "preview",
    "baseline": "CSS and native HTML; optional explicitly mounted interactions"
  }
}
