html{scroll-padding-top:5rem}html,body{overflow-x:hidden}body{font-family:Inter,ui-sans-serif,system-ui,sans-serif}::selection{background:#f4f4f5;color:#09090b}.docs-link{display:block;border-radius:.375rem;padding:.375rem .625rem;color:rgb(82 82 91);font-weight:500}.docs-link:hover{color:rgb(9 9 11);background:rgb(250 250 250)}.docs-link.is-active{color:rgb(9 9 11);background:rgb(244 244 245);font-weight:650}.docs-prose h2{margin-top:3rem;padding-top:2rem;font-size:1.25rem;line-height:1.75rem;font-weight:650;letter-spacing:-.02em}.docs-prose h3{margin-top:2rem;font-size:1rem;line-height:1.5rem;font-weight:650;color:rgb(9 9 11)}.docs-prose p{margin-top:1rem;color:rgb(82 82 91);line-height:1.8}.primitive-card{border:1px solid rgb(228 228 231);background:white;padding:1rem;transition:border-color .15s ease,background-color .15s ease}.primitive-card:hover{border-color:rgb(161 161 170);background:rgb(250 250 250)}.command-panel,.ask-panel,.mobile-sidebar-panel{display:none}.command-panel.is-open,.ask-panel.is-open,.mobile-sidebar-panel.is-open{display:block}.command-panel.hidden,.ask-panel.hidden,.mobile-sidebar-panel.hidden{display:none!important}.system-flow{display:grid;gap:.5rem}@media (min-width:768px){.system-flow{grid-template-columns:repeat(5,minmax(0,1fr))}}.system-flow-item{border:1px solid rgb(228 228 231);background:white;padding:.875rem;min-height:5.25rem}.disclosure-badge{display:inline-flex;align-items:center;border:1px solid rgb(228 228 231);background:rgb(250 250 250);border-radius:999px;padding:.25rem .625rem;font-size:11px;line-height:1;font-weight:650;color:rgb(82 82 91)}.yellow-marker{box-shadow:inset 0 -.35em #f4f4f5}@media print{header,aside,footer,.command-panel,.ask-panel,.mobile-sidebar-panel{display:none!important}main{border:0!important}}


/* v0.1.5 fixed documentation chrome */
:root {
  --docs-header-height: 3.5rem;
  --docs-sidebar-width: 280px;
  --docs-right-rail-width: 240px;
}

html {
  scroll-padding-top: calc(var(--docs-header-height) + 1rem);
}

body {
  padding-top: var(--docs-header-height);
  overflow-x: clip;
}

.docs-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: var(--docs-header-height);
}

.docs-shell {
  min-height: calc(100vh - var(--docs-header-height));
}

@media (min-width: 1024px) {
  .docs-sidebar {
    position: fixed !important;
    top: var(--docs-header-height);
    left: 0;
    bottom: 0;
    width: var(--docs-sidebar-width);
    z-index: 35;
  }

  .docs-sidebar-inner {
    height: calc(100vh - var(--docs-header-height));
  }

  .docs-footer {
    margin-left: var(--docs-sidebar-width);
  }
}

@media (min-width: 1280px) {
  .docs-right-rail {
    position: fixed !important;
    top: var(--docs-header-height);
    right: 0;
    bottom: 0;
    width: var(--docs-right-rail-width);
    z-index: 30;
    overflow-y: auto;
  }
}

@media print {
  body {
    padding-top: 0;
    overflow-x: visible;
  }

  .docs-header,
  .docs-sidebar,
  .docs-right-rail,
  .docs-footer {
    position: static !important;
    margin-left: 0 !important;
  }
}

/* v0.1.6 fixed chrome layout offsets
   The docs sidebar/right rail are fixed-position chrome, so the scrollable
   content must be explicitly offset instead of relying on CSS grid placement. */
@media (min-width: 1024px) {
  .docs-shell {
    display: block !important;
    width: 100%;
  }

  .docs-shell > main {
    margin-left: var(--docs-sidebar-width);
    width: calc(100% - var(--docs-sidebar-width));
  }
}

@media (min-width: 1280px) {
  .docs-shell > main {
    margin-right: var(--docs-right-rail-width);
    width: calc(100% - var(--docs-sidebar-width) - var(--docs-right-rail-width));
  }

  .docs-footer {
    margin-right: var(--docs-right-rail-width);
  }
}

@media (max-width: 1023px) {
  .docs-shell > main {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .docs-footer {
    margin-left: 0;
    margin-right: 0;
  }
}

/* v0.1.7 experimental documentation layout
   Order on desktop: main sidebar -> sub sidebar -> body content. */
@media (min-width: 1280px) {
  .docs-right-rail {
    left: var(--docs-sidebar-width) !important;
    right: auto !important;
    width: var(--docs-right-rail-width);
    border-left: 0 !important;
  }

  .docs-shell > main {
    margin-left: calc(var(--docs-sidebar-width) + var(--docs-right-rail-width));
    margin-right: 0;
    width: calc(100% - var(--docs-sidebar-width) - var(--docs-right-rail-width));
  }

  .docs-footer {
    margin-left: calc(var(--docs-sidebar-width) + var(--docs-right-rail-width));
    margin-right: 0;
    width: calc(100% - var(--docs-sidebar-width) - var(--docs-right-rail-width));
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .docs-shell > main {
    margin-left: var(--docs-sidebar-width);
    margin-right: 0;
    width: calc(100% - var(--docs-sidebar-width));
  }

  .docs-footer {
    margin-left: var(--docs-sidebar-width);
    margin-right: 0;
    width: calc(100% - var(--docs-sidebar-width));
  }
}

/* v0.1.8 nav border and scrollspy behaviour */
.docs-header {
  border-bottom: 1px solid transparent;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.docs-header.is-scrolled {
  border-bottom-color: rgb(228 228 231);
  box-shadow: 0 1px 0 rgba(24, 24, 27, .02);
}

.docs-sidebar,
.docs-right-rail {
  border-left: 0 !important;
  border-right: 0 !important;
}

.docs-page-link {
  position: relative;
  display: block;
  border-radius: .375rem;
  padding: .25rem .5rem;
  color: rgb(113 113 122);
  transition: color .15s ease, background-color .15s ease;
}

.docs-page-link:hover {
  color: rgb(9 9 11);
  background: rgb(250 250 250);
}

.docs-page-link.is-active {
  color: rgb(9 9 11) !important;
  background: rgb(244 244 245);
  font-weight: 650;
}

/* v0.1.9 content width and sidebar CTA */
.sidebar-cta {
  margin-top: auto;
}

@media (min-width: 1024px) {
  .docs-shell > main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* v0.1.11 slightly reduced body/reference text
   Headings, logo and button styles intentionally remain unchanged. */
.docs-shell main p.text-lg {
  font-size: 1rem;
  line-height: 1.85;
}

.docs-shell main p.text-base,
.docs-prose p {
  font-size: .9375rem;
  line-height: 1.75;
}

.docs-shell main table td {
  font-size: .700rem;
  line-height: 1.65;
}

.docs-shell main table th {
  font-size: .60rem;
}

.docs-link,
.docs-page-link {
  font-size: .8125rem;
}


/* v0.1.11 refinements */
.docs-header nav a {
  font-size: .75rem;
}


/* v0.1.14 sidebar polish and darker overlays */
.docs-sidebar-inner {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.docs-sidebar-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}


/* v0.1.21 refined stakeholder navigation group
   Keep the parent row aligned with normal docs links while indenting child routes. */
.docs-nav-dropdown {
  display: block;
  margin: 0;
}

.docs-nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.docs-nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.docs-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border-radius: .375rem;
  padding: .375rem .625rem;
  color: rgb(82 82 91);
  font-size: .8125rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: color .15s ease, background-color .15s ease;
}

.docs-nav-parent:hover {
  color: rgb(9 9 11);
  background: rgb(250 250 250);
}

.docs-nav-dropdown[open] > .docs-nav-parent {
  color: rgb(9 9 11);
}

.docs-nav-parent::after {
  content: "";
  width: .36rem;
  height: .36rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .5;
  transition: transform .15s ease, opacity .15s ease;
  flex: 0 0 auto;
}

.docs-nav-parent:hover::after,
.docs-nav-dropdown[open] > .docs-nav-parent::after {
  opacity: .75;
}

.docs-nav-dropdown[open] > .docs-nav-parent::after {
  transform: rotate(225deg) translateY(-1px);
}

.docs-subnav {
  margin-top: .25rem;
  margin-left: .75rem;
  padding-left: .375rem;
  display: grid;
  gap: .125rem;
}

.docs-nav-child {
  display: block;
  padding-left: .875rem;
  padding-right: .625rem;
  font-weight: 500;
}

.docs-nav-child.is-active {
  font-weight: 650;
}

/* v0.1.24 controlled content gutters
   Reintroduce a stronger reading gutter after the full-width content pass, and apply
   the same horizontal inset to the footer navigation so both surfaces align. */
:root {
  --docs-content-gutter: 1.75rem;
}

.docs-shell > main,
.docs-footer > div {
  padding-left: var(--docs-content-gutter) !important;
  padding-right: var(--docs-content-gutter) !important;
}

@media (min-width: 768px) {
  :root {
    --docs-content-gutter: 2.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --docs-content-gutter: 3rem;
  }
}

@media (min-width: 1536px) {
  :root {
    --docs-content-gutter: 4rem;
  }
}


/* v0.1.25 architecture control-property cards
   More padded, icon-led infrastructure cards for the Architecture control section. */
.architecture-card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .architecture-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1536px) {
  .architecture-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.control-property-card {
  position: relative;
  display: flex;
  min-height: 13.75rem;
  flex-direction: column;
  border: 1px solid rgb(228 228 231);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(250,250,250,.9), rgba(255,255,255,1) 34%),
    #fff;
  padding: 2.25rem;
  transition: border-color .15s ease, background-color .15s ease;
}

.control-property-card:hover {
  border-color: rgb(161 161 170);
  background:
    linear-gradient(180deg, rgba(244,244,245,.16), rgba(255,255,255,1) 34%),
    #fff;
}

.control-property-icon {
  display: inline-flex;
  height: 3.25rem;
  width: 3.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 1rem;
  background: rgb(250 250 250);
  color: rgb(24 24 27);
}

.control-property-icon svg {
  height: 1.75rem;
  width: 1.75rem;
}

.control-property-card:hover .control-property-icon {
  background: #f4f4f5;
}




/* v0.1.27 architecture card and body text refinements
   Body prose is now near-black; navigation, table headings and small labels remain grey. */
.docs-shell main {
  color: rgb(24 24 27);
}

.docs-shell main li,
.docs-shell main td {
  color: rgb(24 24 27) !important;
}

.docs-shell main th,
.docs-shell main thead,
.docs-shell main .text-\[11px\].uppercase,
.docs-shell main .disclosure-badge {
  color: rgb(113 113 122) !important;
}

.docs-shell main .text-zinc-400.text-\[11px\],
.docs-shell main .text-zinc-500.text-\[11px\] {
  color: rgb(113 113 122) !important;
}


/* v0.1.28 architecture card flattening and wider content gutters
   Remove ornamental gradients/shadows from the Architecture control cards,
   keep the cards flat, and round the remaining square content cards. */
:root {
  --docs-content-gutter: 2.25rem;
}

@media (min-width: 768px) {
  :root {
    --docs-content-gutter: 3rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --docs-content-gutter: 4rem;
  }
}

@media (min-width: 1536px) {
  :root {
    --docs-content-gutter: 5.5rem;
  }
}

.control-property-card,
.control-property-card:hover {
  background: #fff !important;
  box-shadow: none !important;
  border-radius: 1.5rem;
}

.control-property-icon,
.control-property-card:hover .control-property-icon {
  background: transparent !important;
  box-shadow: none !important;
}

.primitive-card,
.system-flow-item,
.docs-shell main table,
.docs-shell main .border.border-zinc-200,
.docs-shell main .border.border-zinc-100 {
  border-radius: 1rem;
}

.docs-shell main .overflow-hidden.border.border-zinc-200,
.docs-shell main .overflow-hidden.border.border-zinc-100 {
  border-radius: 1rem;
}

/* v0.1.29 homepage surface
   Wide, open monochrome homepage with a subtle colour field and non-clickable
   ICCE platform surfaces below the hero. */
.home-page {
  background: #fff;
}

.home-main {
  min-height: calc(100vh - var(--docs-header-height));
  background:
    radial-gradient(circle at 50% 34%, rgba(244,244,245,.08), transparent 28rem),
    #fff;
}

.home-hero {
  isolation: isolate;
}

.home-colour-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 34rem;
  width: 34rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 32%, rgba(255, 117, 164, .55), transparent 29%),
    radial-gradient(circle at 69% 28%, rgba(63, 163, 255, .55), transparent 31%),
    radial-gradient(circle at 67% 70%, rgba(45, 242, 206, .50), transparent 31%),
    radial-gradient(circle at 36% 73%, rgba(238, 255, 65, .45), transparent 33%);
  filter: blur(52px);
  opacity: .78;
}

.home-triangle {
  position: relative;
  height: 9.5rem;
  width: 11.25rem;
  transform: translate(10rem, .5rem);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #000;
}

.home-hero-aside {
  max-width: 17rem;
}

.home-platform-stage {
}

.home-platform-stage::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 2.5rem;
  height: 8rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
  filter: drop-shadow(0 2rem 2.5rem rgba(24,24,27,.14));
}

.home-platform-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .home-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .home-platform-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-card-wide {
    grid-column: span 2 / span 2;
  }

  .home-card-tall {
    grid-row: span 2 / span 2;
  }
}

.home-platform-card {
  min-height: 17rem;
  border: 1px solid rgb(228 228 231);
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 1.5rem 4rem rgba(24,24,27,.06);
}

@media (min-width: 1536px) {
  .home-platform-card {
    padding: 2rem;
  }
}

.home-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: .875rem;
  background: rgb(250 250 250);
  padding: .875rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgb(63 63 70);
}

.home-data-row span:last-child {
  color: rgb(9 9 11);
}

@media (max-width: 767px) {
  .home-hero {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: auto !important;
    padding-top: 5.5rem !important;
    padding-bottom: 2.0rem !important;
    padding-left: clamp(1.25rem, 6vw, 1.75rem) !important;
    padding-right: clamp(1.25rem, 6vw, 1.75rem) !important;
    overflow-x: clip !important;
  }

  .home-hero-copy {
    width: 100% !important;
    max-width: 24rem !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .home-hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(2.65rem, 11vw, 3.35rem) !important;
    line-height: .96 !important;
    letter-spacing: -0.065em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}


/* v0.1.30 expanded homepage platform stage
   Full-width platform mockup surface with richer ICCE platform extracts,
   bottom fade/shadow and a single-line link footer. */
.home-main {
  background: #fff !important;
}

.home-platform-stage {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 clamp(1rem, 2.4vw, 2.5rem) 3rem !important;
}

.home-platform-viewport {
  position: relative;
  height: clamp(42rem, 70vh, 58rem);
  overflow: hidden;
  border-radius: 0;
}

.home-platform-viewport::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: -2rem;
  right: -2rem;
  bottom: -1px;
  height: 18rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.82) 42%, #fff 88%);
  filter: drop-shadow(0 -2rem 3rem rgba(255,255,255,.9));
  z-index: 4;
}

.home-platform-viewport::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 1.5rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(24,24,27,.10);
  filter: blur(48px);
  z-index: 3;
}

.home-platform-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.75rem);
  align-items: start;
  padding-bottom: 12rem;
}

@media (min-width: 760px) {
  .home-platform-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-platform-board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .home-platform-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.home-platform-grid {
  display: none !important;
}

.home-ui-card {
  min-height: 15.75rem;
  border: 1px solid rgb(228 228 231);
  border-radius: 1.5rem;
  background: rgba(255,255,255,.98);
  padding: clamp(1.1rem, 1.2vw, 1.55rem);
  box-shadow: 0 1.25rem 3.75rem rgba(24,24,27,.07);
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.home-ui-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 50;
  border-radius: inherit;
  background: rgba(255, 255, 255, .55);
  pointer-events: none;
}

@media (min-width: 1100px) {
  .home-span-2 { grid-column: span 2 / span 2; }
  .home-tall { min-height: 32rem; }
}

.home-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.home-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(113 113 122);
}

.home-ui-card h2 {
  margin-top: .45rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.025em;
  color: rgb(9 9 11);
}

.home-pill,
.home-status-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(244 244 245);
  padding: .35rem .65rem;
  font-size: 11px;
  font-weight: 650;
  color: rgb(63 63 70);
  white-space: nowrap;
}

.home-status-dot {
  width: .75rem;
  height: .75rem;
  padding: 0;
  background: #f4f4f5;
  box-shadow: 0 0 0 .35rem rgba(244,244,245,.25);
}

.home-form-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: .75rem;
}

@media (min-width: 640px) {
  .home-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-form-grid label,
.home-record div,
.home-soft-panel,
.home-data-row,
.home-worker-card,
.home-ticket-list div {
  border-radius: 1rem;
  background: rgb(250 250 250);
}

.home-form-grid label {
  display: block;
  padding: .9rem 1rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(113 113 122);
}

.home-form-grid label span {
  margin-top: .35rem;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: -.01em;
  text-transform: none;
  color: rgb(9 9 11);
}

.home-black-button,
.home-light-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  padding: .72rem 1rem;
  font-size: .78rem;
  font-weight: 650;
}

.home-black-button {
  background: rgb(9 9 11);
  color: white;
}

.home-light-button {
  width: auto;
  border: 1px solid rgb(228 228 231);
  background: white;
  color: rgb(39 39 42);
}

.home-record {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.home-record div {
  padding: 1rem;
}

.home-record span,
.home-stat-grid span,
.home-fingerprint span {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: rgb(113 113 122);
}

.home-record strong,
.home-stat-grid strong {
  margin-top: .35rem;
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgb(9 9 11);
}

.home-timeline {
  display: grid;
  gap: .65rem;
  font-size: .78rem;
  font-weight: 600;
  color: rgb(82 82 91);
}

.home-timeline li {
  position: relative;
  padding-left: 1.25rem;
}

.home-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: rgb(212 212 216);
}

.home-timeline li.is-complete::before { background: rgb(9 9 11); }
.home-timeline li.is-current::before { background: #f4f4f5; box-shadow: 0 0 0 3px rgba(244,244,245,.35); }

.home-meter {
  height: .55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(244 244 245);
}

.home-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgb(9 9 11);
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.home-stat-grid div {
  border-radius: 1rem;
  background: rgb(250 250 250);
  padding: 1rem;
  text-align: center;
}

.home-stat-grid strong {
  font-size: 2rem;
}

.home-soft-panel {
  padding: 1rem;
  font-size: .8rem;
  line-height: 1.65;
  color: rgb(63 63 70);
}

.home-menu {
  display: grid;
  gap: .45rem;
}

.home-menu span {
  display: block;
  border-radius: .75rem;
  padding: .72rem .85rem;
  font-size: .78rem;
  font-weight: 650;
  color: rgb(82 82 91);
}

.home-menu span.is-active,
.home-menu span:hover {
  background: rgb(244 244 245);
  color: rgb(9 9 11);
}

.home-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}

.home-mini-table tr + tr td { border-top: 1px solid rgb(244 244 245); }
.home-mini-table td { padding: .75rem 0; color: rgb(82 82 91); }
.home-mini-table td:last-child { text-align: right; font-weight: 700; color: rgb(9 9 11); }

.home-qr {
  margin-left: auto;
  margin-right: auto;
  width: min(100%, 12rem);
  border-radius: 1.35rem;
  border: 1px solid rgb(228 228 231);
  background: white;
  padding: 1.1rem;
}

.home-qr svg { display: block; width: 100%; height: auto; }

.home-fingerprint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: .9rem;
  background: rgb(250 250 250);
  padding: .8rem .9rem;
}

.home-fingerprint code,
.home-code-block code {
  font-size: .74rem;
  font-weight: 650;
  color: rgb(9 9 11);
}

.home-log-list {
  display: grid;
  gap: .55rem;
}

.home-log-list div {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  border-radius: .9rem;
  background: rgb(250 250 250);
  padding: .75rem .85rem;
}

.home-log-list span,
.home-log-list em,
.home-ticket-list em {
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  color: rgb(113 113 122);
}

.home-log-list strong,
.home-ticket-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  color: rgb(24 24 27);
}

.home-code-block {
  display: grid;
  gap: .6rem;
}

.home-code-block code {
  display: block;
  border-radius: .75rem;
  background: rgb(250 250 250);
  padding: .75rem .85rem;
}

.home-line-chart {
  width: 100%;
  height: 10rem;
  overflow: visible;
}

.home-check-list {
  display: grid;
  gap: .55rem;
}

.home-check-list span {
  position: relative;
  display: block;
  border-radius: .8rem;
  background: rgb(250 250 250);
  padding: .72rem .85rem .72rem 2rem;
  font-size: .78rem;
  font-weight: 650;
  color: rgb(63 63 70);
}

.home-check-list span::before {
  content: "";
  position: absolute;
  left: .8rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  transform: translateY(-50%);
  border-radius: .18rem;
  background: rgb(9 9 11);
}

.home-ticket-list {
  display: grid;
  gap: .65rem;
}

.home-ticket-list div {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .8rem .9rem;
}

.home-ticket-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .76rem;
  font-weight: 600;
  color: rgb(113 113 122);
}

.home-worker-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
}

.home-avatar {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(9 9 11), rgb(161 161 170));
}

.home-worker-card strong,
.home-worker-card span {
  display: block;
}

.home-worker-card strong {
  font-size: .85rem;
  color: rgb(9 9 11);
}

.home-worker-card span {
  margin-top: .25rem;
  font-size: .76rem;
  line-height: 1.45;
  color: rgb(82 82 91);
}

.home-object-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.home-object-grid span {
  border-radius: .75rem;
  background: rgb(250 250 250);
  padding: .72rem .8rem;
  font-size: .76rem;
  font-weight: 650;
  color: rgb(39 39 42);
}

.home-donut {
  position: relative;
  display: grid;
  margin-left: auto;
  margin-right: auto;
  width: 8.25rem;
  height: 8.25rem;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(rgb(9 9 11) 0 78%, rgb(244 244 245) 78% 100%);
}

.home-donut::after {
  content: "";
  position: absolute;
  inset: .8rem;
  border-radius: inherit;
  background: white;
}

.home-donut span {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.06em;
  color: rgb(9 9 11);
}

.home-bottom-line {
  margin: 1.25rem auto 0;
  max-width: 64rem;
  padding: 0 1rem;
  text-align: center;
  font-size: .82rem;
  line-height: 1.8;
  color: rgb(82 82 91);
}

.home-bottom-line a {
  font-weight: 650;
  color: rgb(24 24 27);
  text-decoration: underline;
  text-decoration-color: rgb(212 212 216);
  text-underline-offset: .18em;
}

.home-bottom-line a:hover {
  color: rgb(9 9 11);
  text-decoration-color: #f4f4f5;
}

@media (max-width: 767px) {
  .home-platform-viewport {
    height: 58rem;
  }

  .home-log-list div,
  .home-ticket-list div {
    grid-template-columns: 1fr;
  }

  .home-platform-stage {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* v0.1.31 homepage platform board refinement
   Single full-width board surface, five equal columns on large screens,
   richer ICCE platform extracts and one clean bottom fade. */
.home-page,
.home-main {
  background: #fff !important;
}

.home-hero {
  min-height: clamp(24rem, 48vh, 36rem) !important;
}

.home-platform-stage {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
  padding: 0 clamp(1rem, 1.8vw, 2.25rem) 3.25rem !important;
  background: #fff !important;
}

.home-platform-stage::after {
  content: none !important;
}

.home-platform-viewport {
  position: relative !important;
  width: 100% !important;
  height: clamp(46rem, 68vh, 62rem) !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-platform-viewport::before {
  content: none !important;
  display: none !important;
}

.home-platform-viewport::after {
  content: "" !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -2rem !important;
  right: -2rem !important;
  bottom: -1px !important;
  height: 18rem !important;
  z-index: 5 !important;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.78) 34%, #fff 83%) !important;
  filter: none !important;
  box-shadow: inset 0 -5rem 5rem #fff !important;
}

.home-platform-board {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 1.25vw, 1.35rem) !important;
  align-items: stretch !important;
  width: 100% !important;
  padding-bottom: 14rem !important;
}

@media (min-width: 720px) {
  .home-platform-board {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 980px) {
  .home-platform-board {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1280px) {
  .home-platform-board {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.home-span-2,
.home-tall {
  grid-column: auto !important;
  min-height: 17.5rem !important;
}

.home-ui-card {
  display: flex !important;
  min-height: 17.5rem !important;
  flex-direction: column !important;
  border: 1px solid rgb(228 228 231) !important;
  border-radius: 1.35rem !important;
  background: rgba(255,255,255,.98) !important;
  padding: clamp(1.05rem, 1vw, 1.35rem) !important;
  box-shadow: 0 1.5rem 3.5rem rgba(24,24,27,.07) !important;
}

.home-ui-card > :last-child {
  margin-bottom: 0;
}

.home-kicker {
  letter-spacing: .16em !important;
}

.home-ui-card h2 {
  font-size: 1rem !important;
  letter-spacing: -.03em !important;
}

.home-form-single {
  grid-template-columns: 1fr !important;
}

.home-form-grid label,
.home-record div,
.home-soft-panel,
.home-data-row,
.home-worker-card,
.home-ticket-list div,
.home-switch-list div,
.home-schedule-grid span,
.home-stat-large {
  background: rgb(250 250 250) !important;
  border-radius: .9rem !important;
}

.home-stat-large {
  padding: 1rem;
}

.home-stat-large strong {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.07em;
  color: rgb(9 9 11);
}

.home-stat-large span {
  display: block;
  margin-top: .45rem;
  font-size: .75rem;
  font-weight: 650;
  color: rgb(113 113 122);
}

.home-record-two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.home-record strong {
  font-size: 1rem !important;
  letter-spacing: -.03em !important;
}

.home-schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
}

.home-schedule-grid span {
  display: grid;
  min-height: 4.75rem;
  align-content: center;
  justify-items: center;
  padding: .75rem .25rem;
  font-size: 11px;
  font-weight: 650;
  color: rgb(113 113 122);
}

.home-schedule-grid strong {
  display: block;
  margin-top: .35rem;
  font-size: 1rem;
  line-height: 1;
  color: rgb(9 9 11);
}

.home-light-button.mt-4,
.home-black-button.mt-4,
.home-black-button.mt-5 {
  margin-top: auto !important;
}

.home-qr {
  width: min(100%, 8.75rem) !important;
  padding: .1rem !important;
  border-radius: 1rem !important;
}

.home-fingerprint {
  padding: .7rem .75rem !important;
}

.home-bar-chart {
  display: flex;
  align-items: end;
  gap: .45rem;
  height: 5.6rem;
  border-radius: 1rem;
  background: rgb(250 250 250);
  padding: .75rem;
}

.home-bar-chart span {
  flex: 1 1 0;
  min-height: 18%;
  border-radius: .45rem .45rem .25rem .25rem;
  background: rgb(9 9 11);
  opacity: .82;
}

.home-mini-table {
  font-size: .76rem !important;
}

.home-mini-table td {
  padding: .62rem 0 !important;
}

.home-line-chart {
  height: 7.2rem !important;
}

.home-log-list div {
  grid-template-columns: 2.6rem minmax(0, 1fr) !important;
  gap: .6rem !important;
  padding: .7rem .75rem !important;
}

.home-log-list em {
  display: none !important;
}

.home-ticket-list div {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: .3rem .65rem !important;
  padding: .72rem .78rem !important;
}

.home-ticket-list span {
  grid-column: 1 / -1;
  grid-row: 2;
}

.home-check-list {
  gap: .45rem !important;
}

.home-check-list span {
  padding-top: .62rem !important;
  padding-bottom: .62rem !important;
}

.home-object-grid {
  grid-template-columns: 1fr !important;
  gap: .45rem !important;
}

.home-object-grid span {
  padding: .62rem .72rem !important;
  font-size: .74rem !important;
}

.home-switch-list {
  display: grid;
  gap: .6rem;
}

.home-switch-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem .85rem;
}

.home-switch-list span {
  font-size: .76rem;
  font-weight: 650;
  color: rgb(63 63 70);
}

.home-switch-list strong {
  border-radius: 999px;
  background: rgb(9 9 11);
  padding: .25rem .52rem;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.home-bottom-line {
  position: relative !important;
  z-index: 6 !important;
  margin-top: .75rem !important;
  max-width: none !important;
  padding: 0 clamp(1rem, 1.8vw, 2.25rem) !important;
  color: rgb(82 82 91) !important;
}

@media (max-width: 767px) {
  .home-hero {
    min-height: auto !important;
  }

  .home-platform-viewport {
    height: 80rem !important;
  }

  .home-platform-board {
    padding-bottom: 16rem !important;
  }
}

/* v0.1.32 homepage board visibility refinement
   Let the platform board define its own vertical height so the fade begins
   after the full 15-card surface rather than halfway through it. */
.home-platform-viewport {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.home-platform-board {
  padding-bottom: 16rem !important;
}

.home-platform-viewport::after {
  height: clamp(24rem, 30vw, 34rem) !important;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,.72) 46%,
    #fff 88%
  ) !important;
  box-shadow: inset 0 -4rem 4.5rem #fff !important;
}

@media (max-width: 767px) {
  .home-platform-viewport {
    height: auto !important;
  }

  .home-platform-board {
    padding-bottom: 15rem !important;
  }
}


/* v0.1.33 homepage masonry board
   Convert the homepage platform surface from a row-aligned grid into a
   staggered gallery. Cards keep equal column width but flow at different
   heights, closer to the shadcn-style homepage surface. */
.home-platform-board {
  display: block !important;
  width: 100% !important;
  column-count: 1 !important;
  column-gap: clamp(1rem, 1.25vw, 1.35rem) !important;
  padding-bottom: 16rem !important;
}

.home-ui-card {
  display: inline-flex !important;
  width: 100% !important;
  min-height: auto !important;
  margin: 0 0 clamp(1rem, 1.25vw, 1.35rem) !important;
  break-inside: avoid !important;
  page-break-inside: avoid !important;
  vertical-align: top !important;
}

.home-ui-card.home-card-compact {
  min-height: 12.75rem !important;
}

.home-ui-card.home-card-medium {
  min-height: 15.5rem !important;
}

.home-ui-card.home-card-deep {
  min-height: 18rem !important;
}


@media (min-width: 720px) {
  .home-platform-board {
    column-count: 2 !important;
  }
}

@media (min-width: 980px) {
  .home-platform-board {
    column-count: 4 !important;
  }
}

@media (min-width: 1280px) {
  .home-platform-board {
    column-count: 6 !important;
  }
}

@media (min-width: 1280px) {
  .home-platform-stage {
    padding-left: clamp(1.25rem, 1.55vw, 2rem) !important;
    padding-right: clamp(1.25rem, 1.55vw, 2rem) !important;
  }
}

/* v0.1.34 homepage UI fragments refinement
   Make homepage cards feel more like working ICCE platform surfaces: form
   controls, menus, state rows, options, checkboxes, values and richer charts. */
.home-ui-card {
  padding: clamp(1.15rem, 1.05vw, 1.45rem) !important;
  box-shadow: 0 1.2rem 3rem rgba(24,24,27,.055) !important;
}

.home-ui-card strong,
.home-card-inline strong,
.home-profile-row strong,
.home-window-bar strong {
  color: rgb(9 9 11);
}

.home-card-inline,
.home-profile-row,
.home-window-bar,
.home-action-row,
.home-total-row,
.home-select-row,
.home-tab-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.home-card-inline,
.home-profile-row,
.home-window-bar {
  justify-content: space-between;
}

.home-card-inline strong,
.home-profile-row strong,
.home-window-bar strong {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .88rem;
  line-height: 1.25;
  font-weight: 680;
  letter-spacing: -.025em;
}

.home-card-inline em,
.home-window-bar em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgb(244 244 245);
  padding: .25rem .5rem;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: rgb(82 82 91);
}

.home-mini-icon {
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: .7rem;
  background: rgb(250 250 250);
  font-size: .78rem;
  font-weight: 750;
  color: rgb(9 9 11);
}

.home-window-bar {
  justify-content: flex-start;
  border-radius: .85rem;
  background: rgb(250 250 250);
  padding: .65rem .75rem;
}

.home-dot {
  width: .45rem;
  height: .45rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgb(212 212 216);
}

.home-window-bar strong {
  margin-left: .25rem;
  font-size: .78rem;
  color: rgb(63 63 70);
}

.home-form-stack {
  display: grid;
  gap: .7rem;
}

.home-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.home-field-block {
  display: block;
  border-radius: .95rem;
  background: rgb(250 250 250);
  padding: .78rem .85rem;
}

.home-field-block span {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgb(113 113 122);
}

.home-field-block em {
  display: block;
  margin-top: .35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .8rem;
  font-style: normal;
  font-weight: 650;
  color: rgb(9 9 11);
}

.home-field-tall em {
  white-space: normal;
  line-height: 1.45;
  color: rgb(63 63 70);
}

.home-action-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}

.home-action-row .home-black-button,
.home-action-row .home-ghost-button {
  width: 100%;
}

.home-ghost-button,
.home-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(228 228 231);
  background: #fff;
  color: rgb(39 39 42);
  font-weight: 650;
}

.home-ghost-button {
  border-radius: .75rem;
  padding: .72rem .8rem;
  font-size: .76rem;
}

.home-icon-button {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: .75rem;
  font-size: .75rem;
}

.home-menu-rich span {
  display: grid !important;
  gap: .18rem;
  padding: .78rem .9rem !important;
}

.home-menu-rich b {
  font-size: .8rem;
  font-weight: 680;
  color: inherit;
}

.home-menu-rich small {
  font-size: .7rem;
  font-weight: 550;
  color: rgb(113 113 122);
}

.home-money-value {
  font-size: clamp(1.55rem, 1.7vw, 2.35rem);
  line-height: .95;
  font-weight: 650;
  letter-spacing: -.04em;
  color: rgb(9 9 11);
}

.home-muted-copy {
  margin-top: .55rem;
  font-size: .78rem;
  line-height: 1.5;
  color: rgb(82 82 91);
}

.home-profile-row {
  align-items: center;
}

.home-profile-row > div:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
}

.home-profile-row span {
  display: block;
  margin-top: .18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .74rem;
  color: rgb(113 113 122);
}

.home-avatar-light {
  background: linear-gradient(135deg, rgb(244 244 245), rgb(9 9 11)) !important;
}

.home-step-list {
  display: grid;
  gap: .7rem;
  font-size: .77rem;
  font-weight: 620;
  color: rgb(82 82 91);
}

.home-step-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.home-step-list li span {
  width: .62rem;
  height: .62rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgb(212 212 216);
}

.home-step-list li.is-complete span {
  background: rgb(9 9 11);
}

.home-step-list li.is-current span {
  background: #f4f4f5;
  box-shadow: 0 0 0 3px rgba(244,244,245,.38);
}

.home-timesheet {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
}

.home-timesheet label {
  display: grid;
  min-height: 5.65rem;
  align-content: center;
  justify-items: center;
  gap: .35rem;
  border-radius: .9rem;
  background: rgb(250 250 250);
  padding: .65rem .3rem;
}

.home-timesheet input,
.home-option-list input {
  width: .85rem;
  height: .85rem;
  accent-color: rgb(9 9 11);
}

.home-timesheet span {
  font-size: 10px;
  font-weight: 700;
  color: rgb(113 113 122);
}

.home-timesheet strong {
  font-size: .95rem;
  line-height: 1;
}

.home-total-row,
.home-select-row {
  justify-content: space-between;
  border-radius: .9rem;
  background: rgb(250 250 250);
  padding: .75rem .85rem;
}

.home-total-row span,
.home-select-row span {
  font-size: .74rem;
  font-weight: 650;
  color: rgb(82 82 91);
}

.home-total-row strong,
.home-select-row strong {
  font-size: .8rem;
  font-weight: 720;
}

.home-tab-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: .9rem;
  background: rgb(250 250 250);
  padding: .25rem;
}

.home-tab-row button {
  border-radius: .68rem;
  padding: .55rem .2rem;
  font-size: .74rem;
  font-weight: 700;
  color: rgb(82 82 91);
}

.home-tab-row button.is-active {
  background: #fff;
  color: rgb(9 9 11);
  box-shadow: 0 .25rem .85rem rgba(24,24,27,.06);
}

.home-bar-chart-rich {
  position: relative;
  height: 6.75rem !important;
  background-image: linear-gradient(to top, rgba(228,228,231,.65) 1px, transparent 1px);
  background-size: 100% 25%;
}

.home-bar-chart-rich span {
  background: linear-gradient(to top, rgb(9 9 11), rgb(113 113 122));
  opacity: 1 !important;
}

.home-option-list {
  display: grid;
  gap: .55rem;
}

.home-option-list label {
  display: flex;
  align-items: center;
  gap: .7rem;
  border-radius: .85rem;
  background: rgb(250 250 250);
  padding: .72rem .8rem;
  font-size: .76rem;
  font-weight: 640;
  color: rgb(63 63 70);
}

.home-code-panel {
  overflow: hidden;
  border-radius: .95rem;
  background: rgb(9 9 11);
  padding: .82rem .9rem;
}

.home-code-panel code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 650;
  color: #fff;
}

.home-line-chart-rich {
  border-radius: 1rem;
  background: linear-gradient(to bottom, rgb(250 250 250), #fff);
  padding: .6rem;
}

.home-ticket-list-rich div {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
}

.home-ticket-list-rich em {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(244 244 245);
  padding: .23rem .45rem;
  color: rgb(63 63 70);
}

.home-check-list-tight span {
  font-size: .74rem !important;
}

.home-token-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.home-token-cloud span {
  border-radius: 999px;
  background: rgb(250 250 250);
  padding: .48rem .62rem;
  font-size: .72rem;
  font-weight: 650;
  color: rgb(39 39 42);
}

.home-switch-list-rich div {
  padding: .72rem .78rem !important;
}

.home-switch-list-rich strong {
  min-width: 4.4rem;
  text-align: center;
}

@media (max-width: 640px) {
  .home-form-row,
  .home-action-row {
    grid-template-columns: 1fr;
  }

  .home-timesheet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v0.1.36 homepage chart refinement
   Richer chart fragments for the homepage platform board without adding JS or
   external chart dependencies. These surfaces are intentionally static mock
   platform extracts. */
.home-chart-split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .95rem;
  border-radius: 1rem;
  background: rgb(250 250 250);
  padding: .9rem;
}

.home-donut-chart,
.home-gauge-ring {
  --track: rgb(228 228 231);
  --value-color: rgb(9 9 11);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(var(--value-color) calc(var(--value) * 1%), var(--track) 0);
  color: rgb(9 9 11);
  position: relative;
  isolation: isolate;
}

.home-donut-chart::before,
.home-gauge-ring::before {
  content: "";
  position: absolute;
  inset: .45rem;
  z-index: -1;
  border-radius: inherit;
  background: #fff;
}

.home-donut-chart {
  width: 5.85rem;
  height: 5.85rem;
}

.home-donut-chart span {
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -.045em;
}

.home-chart-legend {
  display: grid;
  gap: .55rem;
}

.home-chart-legend div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
}

.home-legend-dot {
  width: .58rem;
  height: .58rem;
  border-radius: 999px;
  background: rgb(212 212 216);
}

.home-legend-dot.is-dark {
  background: rgb(9 9 11);
}

.home-chart-legend strong,
.home-chart-legend em {
  font-size: .72rem;
  line-height: 1.2;
}

.home-chart-legend strong {
  font-weight: 680;
  color: rgb(39 39 42);
}

.home-chart-legend em {
  font-style: normal;
  font-weight: 700;
  color: rgb(9 9 11);
}

.home-micro-trend {
  display: flex;
  align-items: end;
  gap: .34rem;
  height: 2.65rem;
  border-radius: .9rem;
  background-image: linear-gradient(to top, rgba(228,228,231,.85) 1px, transparent 1px);
  background-size: 100% 50%;
  padding: .35rem .45rem;
}

.home-micro-trend span {
  flex: 1 1 0;
  min-height: .35rem;
  border-radius: 999px 999px .25rem .25rem;
  background: rgb(9 9 11);
}

.home-stack-chart {
  display: flex;
  height: 1.2rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(244 244 245);
  outline: 1px solid rgb(228 228 231);
  outline-offset: -1px;
}

.home-stack-chart span {
  display: block;
  min-width: .55rem;
}

.home-stack-chart .is-net {
  background: rgb(9 9 11);
}

.home-stack-chart .is-deduction {
  background: rgb(113 113 122);
}

.home-stack-chart .is-cost {
  background: #f4f4f5;
  box-shadow: inset 0 0 0 1px rgba(9,9,11,.18);
}

.home-chart-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.05rem;
  background: rgb(250 250 250);
  padding: .75rem .8rem .65rem;
}

.home-chart-axis {
  position: absolute;
  inset: .8rem auto .95rem .78rem;
  z-index: 2;
  display: flex;
  width: 2.55rem;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.home-chart-axis span {
  font-size: 9px;
  font-weight: 700;
  color: rgb(161 161 170);
}

.home-area-chart {
  display: block;
  width: 100%;
  height: 7.6rem;
  padding-left: 2.25rem;
  overflow: visible;
  background-image: linear-gradient(to top, rgba(228,228,231,.72) 1px, transparent 1px);
  background-size: calc(100% - 2.25rem) 33.333%;
  background-position: 2.25rem 0;
  border-radius: .85rem;
}

.home-chart-caption {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .45rem;
  font-size: 9px;
  font-weight: 700;
  color: rgb(113 113 122);
}

.home-compliance-gauge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
}

.home-gauge-ring {
  width: 5.65rem;
  height: 5.65rem;
}

.home-gauge-ring span {
  display: block;
  font-size: 1.28rem;
  line-height: 1;
  font-weight: 770;
  letter-spacing: -.055em;
}

.home-gauge-ring em {
  display: block;
  margin-top: .15rem;
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgb(113 113 122);
}

.home-gauge-list {
  display: grid;
  gap: .45rem;
}

.home-gauge-list label {
  display: flex;
  align-items: center;
  gap: .55rem;
  border-radius: .8rem;
  background: rgb(250 250 250);
  padding: .56rem .65rem;
  font-size: .72rem;
  font-weight: 650;
  color: rgb(39 39 42);
}

.home-gauge-list input {
  width: .78rem;
  height: .78rem;
  accent-color: rgb(9 9 11);
}

.home-recon-chart {
  overflow: hidden;
  border-radius: 1.05rem;
  background: rgb(250 250 250);
  padding: .65rem .75rem .6rem;
}

.home-recon-chart svg {
  display: block;
  width: 100%;
  height: 7.15rem;
}

.home-recon-chart .grid {
  fill: none;
  stroke: rgb(228 228 231);
  stroke-width: 1;
}

.home-recon-chart .area {
  fill: rgba(9,9,11,.06);
}

.home-recon-chart .line-shadow {
  fill: none;
  stroke: rgb(212 212 216);
  stroke-width: 8;
  stroke-linecap: round;
}

.home-recon-chart .line {
  fill: none;
  stroke: rgb(9 9 11);
  stroke-width: 3.2;
  stroke-linecap: round;
}

.home-recon-chart circle {
  fill: #f4f4f5;
  stroke: rgb(9 9 11);
  stroke-width: 2.5;
}

@media (max-width: 640px) {
  .home-chart-split,
  .home-compliance-gauge {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-chart-axis {
    display: none;
  }

  .home-area-chart {
    padding-left: 0;
    background-size: 100% 33.333%;
    background-position: 0 0;
  }
}


/* v0.1.37 homepage chart fixes */
.home-chart-card {
  padding: .95rem 1rem .85rem;
}

.home-chart-layout {
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr);
  align-items: stretch;
  gap: .8rem;
}

.home-chart-layout .home-chart-axis {
  position: static;
  inset: auto;
  width: auto;
  min-height: 7.6rem;
  padding: .25rem 0 1.35rem;
}

.home-chart-plot {
  min-width: 0;
}

.home-chart-plot .home-area-chart {
  padding-left: 0;
  background-size: 100% 33.333%;
  background-position: 0 0;
}

.home-chart-plot .home-chart-caption {
  padding: 0 .12rem;
}

.home-compliance-gauge-stacked {
  grid-template-columns: 1fr;
  justify-items: start;
  gap: .9rem;
}

.home-compliance-gauge-stacked .home-gauge-list {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
}

.home-compliance-gauge-stacked .home-gauge-list label {
  width: 100%;
}

.home-recon-chart svg path,
.home-recon-chart svg circle {
  vector-effect: non-scaling-stroke;
}

@media (max-width: 640px) {
  .home-chart-layout {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .home-chart-layout .home-chart-axis {
    display: none;
  }
}

/* v0.1.39 homepage spacing refinement
   More hero bottom padding, wider masonry column gutters and less bottom padding
   inside the platform board. */
.home-hero {

}

.home-platform-board {
  column-gap: clamp(1.15rem, 1.55vw, 1.75rem) !important;
  padding-bottom: 1rem !important;
}

.home-ui-card {
  margin-bottom: clamp(1.15rem, 1.55vw, 1.75rem) !important;
}

@media (max-width: 767px) {
  .home-hero {

  }

  .home-platform-board {
    padding-bottom: 3rem !important;
  }
}

/* v0.1.41 introduction page orb
   The homepage-style colour field is placed inside the Introduction main
   surface, behind the document content and anchored to the top-right corner
   with more of the orb pulled into the visible document area. */
.docs-main-orb-wrap {
  position: absolute;
  right: clamp(-18rem, -14vw, -9rem);
  top: clamp(-21rem, -18vw, -12rem);
  z-index: 0;
  height: 62rem;
  width: 62rem;
  pointer-events: none;
}

.docs-main-orb {
  height: 60rem !important;
  width: 60rem !important;
  filter: blur(76px) !important;
  opacity: .48 !important;
}

@media (max-width: 1023px) {
  .docs-main-orb-wrap {
    right: -17rem;
    top: -20rem;
  }

  .docs-main-orb {
    height: 50rem !important;
    width: 50rem !important;
    opacity: .36 !important;
  }
}


/* v0.1.43 public datapoint registry
   Programming/data-field styled registry sections for primitive group pages. */
.datapoint-section-heading {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .datapoint-section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.datapoint-eyebrow {
  margin-top: 0 !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(113 113 122) !important;
}

.datapoint-registry-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  min-width: min(100%, 28rem);
}

@media (min-width: 640px) {
  .datapoint-registry-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.datapoint-registry-stats div {
  border: 1px solid rgb(228 228 231);
  border-radius: .875rem;
  background: rgb(250 250 250);
  padding: .75rem .85rem;
}

.datapoint-registry-stats strong {
  display: block;
  color: rgb(9 9 11);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}

.datapoint-registry-stats span {
  display: block;
  margin-top: .2rem;
  color: rgb(113 113 122);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.datapoint-registry-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1.25rem;
  border: 1px solid rgb(228 228 231);
  border-radius: 1rem;
  background: white;
  padding: .85rem 1rem;
}

.datapoint-registry-note code {
  border-radius: .45rem;
  background: rgb(24 24 27);
  color: white;
  padding: .22rem .45rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  line-height: 1;
}

.datapoint-registry-note span {
  color: rgb(39 39 42);
  font-size: .82rem;
  line-height: 1.55;
}

.datapoint-registry-shell {
  margin-top: 1rem;
  display: grid;
  gap: .85rem;
}

.datapoint-group {
  overflow: hidden;
  border: 1px solid rgb(228 228 231);
  border-radius: 1rem;
  background: white;
}

.datapoint-group summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  background: rgb(250 250 250);
}

.datapoint-group summary::-webkit-details-marker {
  display: none;
}

.datapoint-group summary::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-right: 1.5px solid rgb(113 113 122);
  border-bottom: 1.5px solid rgb(113 113 122);
  transform: rotate(-45deg);
  transition: transform .15s ease;
  flex: 0 0 auto;
}

.datapoint-group[open] summary::before {
  transform: rotate(45deg);
}

.datapoint-group-title {
  flex: 1 1 auto;
  color: rgb(9 9 11);
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.01em;
}

.datapoint-group-count {
  flex: 0 0 auto;
  border-radius: 999px;
  background: white;
  border: 1px solid rgb(228 228 231);
  padding: .25rem .5rem;
  color: rgb(82 82 91);
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.datapoint-field-list {
  max-height: 31rem;
  overflow: auto;
  background:
    linear-gradient(white 30%, rgba(255,255,255,0)),
    linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,
    linear-gradient(rgba(24,24,27,.06), rgba(24,24,27,0)),
    linear-gradient(rgba(24,24,27,0), rgba(24,24,27,.06)) 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 2.25rem, 100% 2.25rem, 100% .75rem, 100% .75rem;
  background-attachment: local, local, scroll, scroll;
}

.datapoint-field {
  display: grid;
  gap: .7rem;
  border-top: 1px solid rgb(244 244 245);
  padding: .9rem 1rem;
}

@media (min-width: 1280px) {
  .datapoint-field {
    grid-template-columns: minmax(16rem, .72fr) minmax(0, 1fr);
    align-items: start;
  }
}

.datapoint-field:first-child {
  border-top: 0;
}

.datapoint-field:hover {
  background: rgb(250 250 250);
}

.datapoint-field-main p {
  margin-top: .38rem !important;
  color: rgb(39 39 42) !important;
  font-size: .82rem;
  line-height: 1.45;
}

.datapoint-keyline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.datapoint-keyline code {
  color: rgb(9 9 11);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 650;
  word-break: break-word;
}

.datapoint-keyline span {
  color: rgb(113 113 122);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
  line-height: 1;
}

.datapoint-keyline span::before {
  content: "// ";
  color: rgb(161 161 170);
}

.datapoint-field-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.datapoint-field-meta span {
  border: 1px solid rgb(228 228 231);
  border-radius: .5rem;
  background: white;
  padding: .22rem .42rem;
  color: rgb(82 82 91);
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.datapoint-field-meta span:first-child {
  background: rgb(244 244 245);
  color: rgb(24 24 27);
}


/* v0.1.44 primitive registry spacing and anchored sidebar CTA */
#primitive-library {
  margin-bottom: clamp(3rem, 6vw, 0rem);
}

@media (min-width: 1024px) {
  .docs-sidebar-inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #docs-sidebar .docs-sidebar-inner > .flex {
    min-height: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  #docs-sidebar nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: .25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #docs-sidebar nav::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  #docs-sidebar .sidebar-cta {
    flex: 0 0 auto;
    margin-top: 1.5rem;
    padding-bottom: .125rem;
  }
}


/* v0.1.46 header active state and no-right-rail utility pages */
.docs-header nav a {
  line-height: 1rem;
}

@media (min-width: 1280px) {
  body.no-docs-right-rail .docs-shell > main {
    margin-left: var(--docs-sidebar-width) !important;
    margin-right: 0 !important;
    width: calc(100% - var(--docs-sidebar-width)) !important;
  }

  body.no-docs-right-rail .docs-footer {
    margin-left: var(--docs-sidebar-width) !important;
    margin-right: 0 !important;
    width: calc(100% - var(--docs-sidebar-width)) !important;
  }
}


/* v0.1.62 homepage AI prompt bar
   Add a large command-style Ask AI prompt beneath the homepage hero,
   echoing the wider platform UI language while opening the Ask ICCE modal. */
.home-ai-prompt-wrap {
  margin-top: -3.25rem;
  margin-bottom: clamp(2.75rem, 5vw, 5.5rem);
}

.home-ai-prompt {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 4.35rem;
  padding: .55rem .65rem;
  border: 1px solid #E4E4E7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
}

.home-ai-prompt-button {
  display: inline-flex;
  min-height: 3.18rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f4f4f5;
  color: #09090B;
  padding: 0 1.55rem;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform .18s ease, background .18s ease;
}

.home-ai-prompt-button:hover {
  background: #09090B;
  color: #fff;
  transform: translateY(-1px);
}

.home-ai-prompt-field {
  display: flex;
  min-width: 0;
  min-height: 3.18rem;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #71717a;
  padding: 0 1.2rem 0 .25rem;
  text-align: left;
  font-size: .95rem;
  letter-spacing: -.01em;
}

.home-ai-prompt-field:hover span {
  color: #3f3f46;
}

@media (max-width: 640px) {
  .home-ai-prompt-wrap {
    margin-top: -2.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-ai-prompt {
    min-height: 4rem;
    gap: .55rem;
    padding: .45rem;
  }

  .home-ai-prompt-button {
    min-height: 2.8rem;
    padding: 0 1.05rem;
    font-size: .8rem;
  }

  .home-ai-prompt-field {
    min-height: 2.8rem;
    padding-right: .75rem;
    font-size: .86rem;
  }
}

/* v0.1.63 homepage Ask AI prompt input
   Let the homepage command bar accept a typed question, then hand it off
   directly to the Ask ICCE modal on submit. */
.home-ai-prompt-field {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: text;
}

.home-ai-prompt-field::placeholder {
  color: #71717a;
  opacity: 1;
}

.home-ai-prompt-field:focus::placeholder {
  color: #a1a1aa;
}

.home-ai-prompt:focus-within {
  border-color: #d4d4d8;
  box-shadow: 0 22px 60px rgba(9, 9, 11, .10), 0 0 0 4px rgba(83, 181, 89, .06);
}


/* v0.1.64 homepage Ask AI focus transition
   When the homepage prompt receives focus, collapse the hero copy with a
   fade-up motion and let the prompt rise into the hero's central position. */
.home-hero {
  transition: padding-bottom .42s cubic-bezier(.22, 1, .36, 1);
}

.home-hero-copy {
  max-height: 32rem;
  overflow: clip;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    max-height .44s cubic-bezier(.22, 1, .36, 1),
    opacity .28s ease,
    transform .34s cubic-bezier(.22, 1, .36, 1),
    filter .34s ease;
  will-change: max-height, opacity, transform, filter;
}

.home-hero .home-ai-prompt-wrap {
  margin-top: clamp(2.25rem, 4.5vw, 4rem) !important;
  margin-bottom: 0 !important;
  transform: translateY(0);
  transition:
    margin-top .44s cubic-bezier(.22, 1, .36, 1),
    transform .34s cubic-bezier(.22, 1, .36, 1),
    max-width .34s ease;
  will-change: margin-top, transform;
}

.home-page.home-ai-prompt-active .home-hero-copy {
  max-height: 0;
  opacity: 0;
  transform: translateY(-2rem);
  filter: blur(6px);
  pointer-events: none;
}

.home-page.home-ai-prompt-active .home-hero .home-ai-prompt-wrap {
  margin-top: 0 !important;
  transform: translateY(-.35rem);
}

@media (max-width: 640px) {
  .home-hero-copy {
    max-height: 30rem;
  }

  .home-page.home-ai-prompt-active .home-hero-copy {
    transform: translateY(-1.25rem);
  }
}


/* v0.1.65 homepage orb reveal on Ask AI focus
   Keep the colour orb hidden until the homepage Ask AI prompt is active. */
.home-orb-wrap {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(.94);
  filter: blur(14px);
  transition:
    opacity .48s ease,
    transform .52s cubic-bezier(.22, 1, .36, 1),
    filter .48s ease,
    visibility 0s linear .48s;
  will-change: opacity, transform, filter;
}

@media (min-width: 1024px) {
  .home-orb-wrap {
    display: block;
  }
}

.home-page.home-ai-prompt-active .home-orb-wrap {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero,
  .home-hero-copy,
  .home-hero .home-ai-prompt-wrap,
  .home-orb-wrap {
    transition: none !important;
  }
}


@media (max-width: 767px) {
  .sidebar-cta {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  html:has(body.overflow-hidden),
  body.overflow-hidden {
    overflow: hidden !important;
    height: 100%;
    overscroll-behavior: none;
  }

  body.overflow-hidden {
    position: fixed;
    width: 100%;
    touch-action: none;
  }

  .mobile-sidebar-panel.is-open {
    overscroll-behavior: contain;
    touch-action: auto;
  }

  .mobile-sidebar-panel.is-open > * {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767px) {
  .home-platform-viewport {
    display: none !important;
  }
}


.home-data-rain-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .34;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 16%,
    #000 78%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 16%,
    #000 78%,
    transparent 100%
  );
}

.home-data-rain-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .home-data-rain-wrap {
    opacity: .24;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-data-rain-wrap {
    display: none !important;
  }
}

.home-data-rain-wrap {
  transition:
    opacity .28s ease,
    transform .34s cubic-bezier(.22, 1, .36, 1),
    filter .34s ease;
  will-change: opacity, transform, filter;
}

.home-page.home-ai-prompt-active .home-data-rain-wrap {
  opacity: 0;
  transform: translateY(-2rem);
  filter: blur(6px);
}

/* v0.1.66 homepage Ask AI suggestions */
.home-ai-prompt-shell {
  width: 100%;
}

.home-ai-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .6rem);
  z-index: 30;
  overflow: hidden;
  border: 1px solid rgba(212, 212, 216, .9);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(9, 9, 11, .12);
  backdrop-filter: blur(18px);
  text-align: left;
}

.home-ai-suggestions.hidden {
  display: none !important;
}

.home-ai-suggestions button {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(228, 228, 231, .85);
  background: transparent;
  padding: .9rem 1.1rem;
  color: #27272a;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.home-ai-suggestions button:last-child {
  border-bottom: 0;
}

.home-ai-suggestions button:hover,
.home-ai-suggestions button:focus-visible {
  background: #f4f4f5;
  color: #09090b;
  outline: 0;
}

@media (max-width: 640px) {
  .home-ai-suggestions {
    top: calc(100% + .45rem);
    border-radius: 1rem;
  }

  .home-ai-suggestions button {
    padding: .82rem .95rem;
    font-size: .86rem;
  }
}

/* v0.1.67 homepage Ask AI suggestions layering
   Keep the suggestion dropdown above the platform surface and fade the
   platform board away while the homepage Ask AI prompt is active. */

.home-hero {
  position: relative;
  z-index: 30;
}

.home-ai-prompt-wrap {
  z-index: 80 !important;
}

.home-ai-prompt-shell {
  position: relative;
  z-index: 90;
}

.home-ai-suggestions {
  z-index: 100 !important;
}

.home-platform-stage {
  position: relative;
  z-index: 1;
  transition:
    opacity .34s ease,
    transform .38s cubic-bezier(.22, 1, .36, 1),
    filter .34s ease;
  will-change: opacity, transform, filter;
}

.home-page.home-ai-prompt-active .home-platform-stage {
  opacity: 0;
  transform: translateY(-2rem);
  filter: blur(6px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-platform-stage {
    transition: none !important;
  }

  .home-page.home-ai-prompt-active .home-platform-stage {
    transform: none;
    filter: none;
  }
}

/* v0.1.69 Timeline page right-side milestone rail and dark card headers */
body.timeline-page {
  --timeline-right-rail-width: 400px;
}

@media (min-width: 1280px) {
  body.timeline-page .docs-right-rail {
    left: auto !important;
    right: 0 !important;
    width: var(--timeline-right-rail-width) !important;
    border-left: 1px solid rgb(228 228 231) !important;
    border-right: 0 !important;
  }

  body.timeline-page .docs-shell > main {
    margin-left: var(--docs-sidebar-width) !important;
    margin-right: var(--timeline-right-rail-width) !important;
    width: calc(100% - var(--docs-sidebar-width) - var(--timeline-right-rail-width)) !important;
    padding-left: 1rem !important;
    padding-right: .75rem !important;
  }

  body.timeline-page .docs-footer {
    margin-left: var(--docs-sidebar-width) !important;
    margin-right: var(--timeline-right-rail-width) !important;
    width: calc(100% - var(--docs-sidebar-width) - var(--timeline-right-rail-width)) !important;
  }
}

body.timeline-page .timeline-card-header,
body.timeline-page .timeline-card-header .timeline-card-title {
  color: #fff !important;
}

body.timeline-page .timeline-card-header .timeline-card-label {
  color: rgb(161 161 170) !important;
}

body.timeline-page .timeline-card-header .timeline-card-meta {
  color: rgb(212 212 216) !important;
}

body.timeline-page .timeline-milestone-link {
  text-decoration: none;
  transition: background-color .16s ease, opacity .16s ease, transform .16s ease;
}

body.timeline-page a.timeline-milestone-link:hover,
body.timeline-page .timeline-milestone-link.is-active {
  background: rgb(244 244 245);
}

body.timeline-page a.timeline-milestone-link:hover .timeline-milestone-title,
body.timeline-page .timeline-milestone-link.is-active .timeline-milestone-title {
  color: rgb(9 9 11) !important;
}

body.timeline-page .timeline-milestone-link.is-active .timeline-milestone-copy {
  color: rgb(63 63 70) !important;
}

body.timeline-page .timeline-milestone-dot-complete {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.timeline-page .timeline-milestone-link.is-active .timeline-milestone-dot-underway {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .2);
}

body.no-docs-right-rail.downloads-page .docs-shell > main {
  padding-left: 0 !important;
}

/* v0.1.70 Timeline page spacing, body leading and status dots */
body.timeline-page .docs-shell > main {
  padding-left: 1rem !important;
  padding-right: .75rem !important;
}

body.timeline-page .timeline-entry-content .leading-7 {
  line-height: 1.15rem !important;
}

body.timeline-page .timeline-entry-dot-complete {
  background-color: rgb(16 185 129) !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16) !important;
}

body.timeline-page .timeline-entry-dot-underway {
  background-color: rgb(59 130 246) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .18) !important;
}

/* Timeline mobile: hide left progress line and dots */
@media (max-width: 639px) {
  body.timeline-page main article.group.relative.scroll-mt-24 {
    padding-left: 0 !important;
  }

  body.timeline-page .timeline-entry-dot {
    display: none !important;
  }

  body.timeline-page main article.group.relative.scroll-mt-24 > div.absolute.left-\[0\.15rem\] {
    display: none !important;
  }
}


/* v0.1.71 Timeline accordion trial */
body.timeline-page .timeline-entry-accordion {
  display: block;
}

body.timeline-page .timeline-entry-accordion > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 3.25rem !important;
  user-select: none;
}

body.timeline-page .timeline-entry-accordion > summary::-webkit-details-marker {
  display: none;
}

body.timeline-page .timeline-entry-accordion > summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 500;
}

body.timeline-page .timeline-entry-accordion[open] > summary::after {
  content: "−";
}

body.timeline-page .timeline-entry-accordion > summary:focus {
  outline: none;
}

body.timeline-page .timeline-entry-accordion > summary:focus-visible {
  outline: 2px solid #f4f4f5;
  outline-offset: 4px;
}

body.timeline-page .timeline-entry-accordion:not([open]) > summary {
  border-bottom-color: transparent !important;
}

body.timeline-page .timeline-entry-accordion:not([open]) .timeline-accordion-body {
  display: none;
}

@media (max-width: 639px) {
  body.timeline-page .timeline-entry-accordion > summary {
    padding-right: 2.75rem !important;
  }

  body.timeline-page .timeline-entry-accordion > summary::after {
    right: 1rem;
    height: 1.5rem;
    width: 1.5rem;
    font-size: 1rem;
  }
}

body.access-page .docs-shell > main {
  padding-left: 1rem !important;
  padding-right: .75rem !important;
}

/* Footer nav yellow-button hover */
footer nav a {
  display: inline-flex;
  width: fit-content;
  justify-self: start;
  align-items: center;
  border-radius: .375rem;
  padding: .375rem .625rem;
  margin: -.375rem -.625rem;
  color: rgb(82 82 91);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color .15s ease,
    color .15s ease,
    transform .15s ease;
}

footer nav a:hover {
  background: #f4f4f5;
  color: #09090b !important;
  transform: translateY(-1px);
}

footer nav a:focus-visible {
  outline: 2px solid #f4f4f5;
  outline-offset: 3px;
}

/* v0.1.73 Homepage platform column stagger */
.home-platform-board-staggered {
  display: grid !important;
  grid-template-columns: 1fr !important;
  column-count: auto !important;
  gap: clamp(1.15rem, 1.55vw, 1.75rem) !important;
  align-items: start !important;
}

.home-platform-column {
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 1.55vw, 1.75rem);
}

.home-platform-column > .home-ui-card {
  margin: 0 !important;
  transform: none !important;
}

@media (min-width: 720px) {
  .home-platform-board-staggered {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 980px) {
  .home-platform-board-staggered {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1280px) {
  .home-platform-board-staggered {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .home-platform-column-1 {
    transform: translateY(0);
  }

  .home-platform-column-2 {
    transform: translateY(2.5rem);
  }

  .home-platform-column-3 {
    transform: translateY(.9rem);
  }

  .home-platform-column-4 {
    transform: translateY(4rem);
  }

  .home-platform-column-5 {
    transform: translateY(1.6rem);
  }

  .home-platform-column-6 {
    transform: translateY(3rem);
  }
}

/* v0.1.74 timeline entry spine on right
   Move the per-entry timeline dots and vertical line from the left side of
   each timeline card to the right side of the main timeline items. */
@media (min-width: 640px) {
  body.timeline-page section[aria-label="Development timeline"] article.group.relative.scroll-mt-24 {
    padding-left: 0 !important;
    padding-right: 2.5rem !important;
  }

  body.timeline-page section[aria-label="Development timeline"] article.group.relative.scroll-mt-24 > .timeline-entry-dot {
    left: auto !important;
    right: 0 !important;
  }

  body.timeline-page section[aria-label="Development timeline"] article.group.relative.scroll-mt-24 > div.absolute.top-2.h-full.w-px.bg-zinc-200 {
    left: auto !important;
    right: .15rem !important;
  }
}

/* v0.1.75 Timeline milestone active highlight rounding */
body.timeline-page .timeline-milestone-rail .timeline-milestone-link {
  border-radius: 0.875rem !important;
  overflow: hidden;
}

body.timeline-page .timeline-milestone-rail a.timeline-milestone-link:hover,
body.timeline-page .timeline-milestone-rail .timeline-milestone-link.is-active {
  border-radius: 0.875rem !important;
  background: rgb(244 244 245) !important;
}

/* =========================================================
   Introduction gradient card rail
   ========================================================= */

@media (min-width: 1280px) {
  .docs-card-rail {
    display: block !important;
    overflow-y: auto;
  }

  .docs-card-rail__inner {
    position: static !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;

    /* No padding above the first card */
    padding: 0 0.75rem 0.75rem !important;

    transform: none !important;
  }
}

.docs-card-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 180ms ease;
}

/* Hover overlay */
.docs-card-link::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0);
  transition: background-color 180ms ease;
}

.docs-card-link:hover::after,
.docs-card-link.is-active::after {
  background: rgba(255, 255, 255, 0.1);
}

.docs-card-link:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

.docs-card-link__label {
  position: relative;
  z-index: 2;
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
}
