/* AXAL OS tokens: work/axal/systems/design-system/tokens/theme.css, 2026-10-12. */
:root {
  --x-bg: #08080b;
  --x-bg2: #0d0c14;
  --x-bg3: #131120;
  --x-bd: #232130;
  --x-tx: #efedfa;
  --x-tx2: #9b97b5;
  --x-tx3: #6e6a85;
  --x-p: #8b5cf6;
  --x-t: #22d3ee;
  --x-pk: #d946ef;
}
html[data-theme="light"] {
  --x-bg: #fafafc;
  --x-bg2: #f1f0f7;
  --x-bg3: #e9e7f3;
  --x-bd: #dbd8e8;
  --x-tx: #17151f;
  --x-tx2: #4a4661;
  --x-tx3: #7a7691;
  --x-p: #7c4def;
  --x-t: #0891b2;
  --x-pk: #c026d3;
}
@font-face {
  font-family: "Archivo Black";
  src: url("/assets/ArchivoBlack.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Unbounded;
  src: url("/assets/Unbounded-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/IBMPlexMono-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/IBMPlexMono-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
* {
  box-sizing: border-box;
  border-radius: 0;
}
html {
  background: var(--x-bg);
  color: var(--x-tx);
  color-scheme: dark;
}
html[data-theme="light"] {
  color-scheme: light;
}
body {
  margin: 0;
  font:
    13px/1.65 "IBM Plex Mono",
    monospace;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
p {
  color: var(--x-tx2);
  margin: 8px 0 18px;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.45;
}
h1 {
  font:
    700 clamp(24px, 2.1vw, 36px)/1.35 Unbounded,
    sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 880px;
}
h1 > span {
  color: var(--x-p);
}
h2,
h3 {
  font-size: 15px;
  font-weight: 600;
}
small {
  font-size: 11px;
  color: var(--x-tx2);
}
strong {
  font-weight: 600;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--x-p);
  outline-offset: 4px;
}
button:hover:not(:disabled),
a:hover {
  filter: brightness(1.13);
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px;
  background: var(--x-p);
  color: #fff;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.boot {
  padding: 80px 30px;
  max-width: 700px;
  margin: auto;
}
.demo-banner {
  min-height: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  background: var(--x-bg3);
  border-bottom: 1px solid var(--x-bd);
  color: var(--x-tx2);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.demo-banner > span {
  color: var(--x-p);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: calc(100vh - 30px);
}
.sidebar {
  border-right: 1px solid var(--x-bd);
  padding: 30px 18px 20px;
  display: flex;
  flex-direction: column;
  background: var(--x-bg2);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  margin: 0 8px 38px;
}
.brand strong {
  font:
    400 25px "Archivo Black",
    sans-serif;
  letter-spacing: 0;
  transform: scale(1.06, 0.82);
}
.brand strong span {
  color: var(--x-p);
}
.brand em {
  font-style: normal;
  font-size: 11px;
  color: var(--x-tx2);
  border-left: 1px solid var(--x-bd);
  padding-left: 12px;
  margin-left: 4px;
}
.space-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--x-tx2);
  padding: 0 12px;
}
.company-card {
  margin: 12px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--x-bd);
}
.company-initial {
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
  background: var(--x-bg3);
  color: var(--x-p);
  font-weight: 600;
}
.company-card small,
.profile small {
  display: block;
  font-size: 10px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--x-tx2);
  text-align: left;
  font-size: 12px;
}
.nav-item.active {
  background: var(--x-bg3);
  color: var(--x-tx);
  border-color: var(--x-bd);
  border-left: 2px solid var(--x-p);
  padding-left: 11px;
}
.nav-item.active svg {
  color: var(--x-p);
}
.nav-item b {
  margin-left: auto;
  background: var(--x-p);
  color: #fff;
  font-size: 10px;
  min-width: 19px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 60px;
}
.profile {
  border-top: 1px solid var(--x-bd);
  margin-top: 18px;
  padding: 22px 10px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--x-bg3);
  border: 1px solid var(--x-bd);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.os-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin: 12px 10px 0;
  color: var(--x-tx2);
}
.management-label {
  margin-top: 28px;
  margin-bottom: 12px;
}
.body-column {
  min-width: 0;
}
.topbar {
  min-height: 72px;
  border-bottom: 1px solid var(--x-bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 36px;
}
.project-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--x-tx2);
  min-width: 0;
}
.project-marker {
  width: 6px;
  height: 6px;
  background: var(--x-p);
  flex-shrink: 0;
}
.top-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
select {
  background: var(--x-bg2);
  color: var(--x-tx);
  border: 1px solid var(--x-bd);
  min-height: 38px;
  padding: 7px 26px 7px 10px;
  font-size: 10px;
  max-width: 100%;
}
.icon-button {
  width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--x-bd);
  background: var(--x-bg2);
  flex-shrink: 0;
}
main {
  padding: 36px 36px 50px;
  max-width: 1500px;
  margin: auto;
  min-height: calc(100vh - 155px);
}
main:focus {
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading p {
  font-size: 11px;
  margin: 12px 0 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--x-p);
  font-weight: 600;
  margin-bottom: 12px;
}
.date-label {
  font-size: 9px;
  color: var(--x-tx2);
  white-space: nowrap;
}
.request-panel {
  border: 1px solid var(--x-p);
  background: var(--x-bg2);
  margin: 0 0 30px;
}
.request-label {
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--x-bd);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--x-p);
  font-weight: 600;
}
.pulse-dot,
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: currentColor;
  flex-shrink: 0;
}
.request-count {
  margin-left: auto;
  color: var(--x-tx2);
  font-weight: 400;
  letter-spacing: 0;
}
.request-content {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}
.request-content h2 {
  font-size: 17px;
}
.request-content p {
  font-size: 11px;
  max-width: 580px;
  margin: 10px 0 14px;
}
.request-content small {
  font-size: 10px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 17px;
  font-size: 11px;
  border: 1px solid var(--x-p);
  background: var(--x-p);
  color: #fff;
  text-align: center;
  font-weight: 600;
}
.primary svg {
  width: 16px;
}
.secondary {
  background: var(--x-bg2);
  color: var(--x-tx);
  border-color: var(--x-bd);
  font-weight: 400;
}
.request-content > .primary {
  flex-shrink: 0;
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 28px;
}
.main-column,
.right-column {
  min-width: 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}
.section-head h2 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head h2 > span {
  color: var(--x-p);
  font-size: 9px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--x-tx2);
  padding: 7px 0;
  border: 0;
  background: transparent;
  min-height: 32px;
}
.text-link:hover {
  color: var(--x-p);
}
.text-link svg {
  width: 14px;
}
.track-list {
  border: 1px solid var(--x-bd);
  margin-bottom: 32px;
}
.track-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 23px 20px;
  border-bottom: 1px solid var(--x-bd);
  transition: background 0.15s;
}
.track-row:hover,
.document-row:hover {
  background: var(--x-bg3);
}
.track-row:last-child {
  border-bottom: 0;
}
.row-number {
  font-size: 10px;
  color: var(--x-tx2);
  align-self: flex-start;
  padding-top: 3px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.track-row strong {
  font-size: 13px;
}
.track-row p {
  font-size: 10px;
  margin: 6px 0 13px;
}
.track-row > svg {
  width: 16px;
  color: var(--x-tx2);
}
.mini-stages {
  display: flex;
  gap: 4px;
  max-width: 155px;
}
.mini-stages span {
  height: 3px;
  flex: 1;
  background: var(--x-bd);
}
.mini-stages .filled {
  background: var(--x-p);
}
.badge {
  font-size: 9px;
  color: var(--x-tx2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--x-bd);
  white-space: nowrap;
  line-height: 1.5;
}
.badge.good {
  color: var(--x-t);
}
.badge.attention {
  color: var(--x-p);
}
.documents {
  border: 1px solid var(--x-bd);
}
.document-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--x-bd);
  text-align: left;
  background: transparent;
}
.document-row:last-child {
  border-bottom: 0;
}
.document-row strong {
  font-size: 11px;
  display: block;
}
.document-row small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.document-row > svg {
  color: var(--x-tx2);
  width: 15px;
}
.file-icon {
  width: 35px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--x-bd);
  color: var(--x-tx2);
  flex-shrink: 0;
}
.summary {
  padding: 22px;
  border: 1px solid var(--x-bd);
  background: var(--x-bg2);
}
.summary-number {
  font:
    700 42px/1.2 Unbounded,
    sans-serif;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
}
.summary-number > span {
  font:
    400 11px "IBM Plex Mono",
    monospace;
  color: var(--x-tx2);
  letter-spacing: 0;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--x-bd);
  padding: 11px 0;
  font-size: 10px;
  color: var(--x-tx2);
}
.summary-line strong {
  color: var(--x-tx);
}
.hint {
  font-size: 9px;
  line-height: 1.8;
  margin: 12px 0 0;
}
.updates-box {
  padding: 26px 0 0;
}
.updates-box h2 {
  font-size: 11px;
  margin-bottom: 20px;
}
.updates-list {
  max-width: 800px;
}
.update {
  display: block;
  position: relative;
  border-left: 1px solid var(--x-bd);
  padding: 0 0 24px 20px;
  margin-left: 3px;
}
.timeline-dot {
  position: absolute;
  left: -3px;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--x-p);
}
.update small {
  font-size: 9px;
  display: block;
  margin-bottom: 6px;
}
.update strong {
  font-size: 11px;
  display: block;
  line-height: 1.7;
}
.update p {
  font-size: 10px;
  margin: 5px 0 0;
}
.contact-box {
  border-top: 1px solid var(--x-bd);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.contact-box strong {
  font-size: 10px;
}
.contact-box small {
  display: block;
  font-size: 9px;
}
.contact-box .text-link {
  width: 100%;
  font-size: 10px;
  margin-left: 46px;
  padding: 0;
}
.footer {
  border-top: 1px solid var(--x-bd);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 36px;
  padding: 16px 0;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--x-tx2);
}
.all-clear {
  border: 1px solid var(--x-bd);
  display: flex;
  gap: 14px;
  padding: 20px;
  margin-bottom: 30px;
}
.all-clear > svg {
  color: var(--x-t);
}
.all-clear strong {
  font-size: 12px;
}
.all-clear p {
  font-size: 10px;
  margin: 5px 0 0;
}
.empty {
  padding: 40px 24px;
  text-align: center;
}
.empty > svg {
  color: var(--x-tx2);
  margin-bottom: 12px;
  width: 24px;
  height: 24px;
}
.empty h3 {
  font-size: 13px;
}
.empty p {
  font-size: 11px;
  margin-bottom: 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--x-tx2);
  font-size: 11px;
  min-height: 44px;
  margin-bottom: 22px;
}
.back-link svg {
  width: 16px;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--x-bd);
}
.stage {
  background: var(--x-bg2);
  padding: 18px;
  text-align: left;
  border: 0;
  border-right: 1px solid var(--x-bd);
  font-size: 11px;
}
.stage:last-child {
  border-right: 0;
}
.stage > span {
  display: block;
  color: var(--x-tx2);
  font-size: 10px;
  margin-bottom: 12px;
  height: 20px;
}
.stage small {
  display: block;
  font-size: 9px;
  margin-top: 7px;
}
.stage.selected {
  border-bottom: 2px solid var(--x-p);
  background: var(--x-bg3);
}
.stage.selected > span {
  color: var(--x-p);
}
.stage.complete > span {
  color: var(--x-t);
}
.stage-description {
  padding: 18px 20px;
  border: 1px solid var(--x-bd);
  border-top: 0;
  margin-bottom: 24px;
  font-size: 11px;
}
.stage-description p {
  margin: 5px 0 0;
  font-size: 11px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.detail-panel {
  padding: 24px;
  border: 1px solid var(--x-bd);
}
.detail-panel p {
  font-size: 12px;
  margin-bottom: 20px;
}
.detail-panel small {
  font-size: 10px;
}
.next-panel {
  background: var(--x-bg2);
}
.filter-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--x-bd);
  padding: 0 14px;
  flex: 1;
}
.search-field svg {
  color: var(--x-tx2);
  width: 17px;
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--x-tx);
  min-height: 44px;
  outline-offset: 0;
  font-size: 12px;
  min-width: 0;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--x-tx2);
  font-size: 11px;
}
.filter-label select {
  font-size: 11px;
  min-height: 44px;
}
.notice {
  border: 1px solid var(--x-bd);
  padding: 16px 20px;
  background: var(--x-bg3);
  font-size: 11px;
  color: var(--x-tx2);
  margin: 0 0 24px;
}
.manager-document {
  border: 1px solid var(--x-bd);
  padding: 22px;
  margin-bottom: 20px;
}
.manager-doc-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.manager-doc-head h2 {
  font-size: 13px;
}
.version-list {
  border-top: 1px solid var(--x-bd);
  margin-top: 18px;
}
.version-list > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--x-bd);
  font-size: 11px;
}
.version-list > div small {
  font-size: 10px;
}
.manager-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.person-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--x-bd);
  font-size: 11px;
}
.person-row:last-child {
  border-bottom: 0;
}
.person-row small {
  display: block;
  font-size: 10px;
}
.person-row > span:last-child {
  font-size: 10px;
  color: var(--x-tx2);
}
.mobile-nav {
  display: none;
}
dialog {
  color: var(--x-tx);
  background: var(--x-bg2);
  border: 1px solid var(--x-bd);
  padding: 28px;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--x-tx2);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.dialog-top .icon-button {
  width: 32px;
  min-height: 32px;
}
dialog h2 {
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 16px;
}
dialog > p {
  font-size: 12px;
}
.document-meta {
  font-size: 10px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--x-bd);
}
.document-body {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.9;
  margin: 22px 0 28px;
}
#response-form {
  margin-top: 20px;
}
#response-form label {
  font-size: 11px;
  display: block;
  margin-bottom: 10px;
}
textarea {
  border: 1px solid var(--x-bd);
  color: var(--x-tx);
  background: var(--x-bg);
  padding: 14px;
  width: 100%;
  resize: vertical;
  font-size: 12px;
  min-height: 140px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.form-error {
  font-size: 11px;
  color: var(--x-tx);
  min-height: 16px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 14px 22px;
  max-width: calc(100vw - 32px);
  width: max-content;
  border: 1px solid var(--x-p);
  background: var(--x-bg3);
  color: var(--x-tx);
  font-size: 11px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
  }
  .request-content {
    padding: 30px;
  }
  .track-row {
    padding: 27px 22px;
  }
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  main {
    padding: 30px 24px;
  }
  .topbar {
    padding: 14px 24px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
  }
  .request-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .date-label {
    display: none;
  }
  .track-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .track-row > .badge {
    margin-left: 26px;
  }
  .track-row > .grow {
    flex-basis: calc(100% - 60px);
  }
  .track-row > svg {
    margin-left: auto;
  }
  .footer {
    margin: 0 24px;
  }
  .project-name {
    max-width: 220px;
  }
  .top-controls {
    gap: 6px;
  }
  .top-controls select {
    max-width: 130px;
  }
}
@media (max-width: 980px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .updates-box {
    padding-top: 0;
  }
  .contact-box {
    grid-column: 1/-1;
  }
  .project-name {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
  }
  .detail-grid {
    gap: 16px;
  }
  .manager-actions {
    flex-wrap: wrap;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .top-controls select {
    max-width: none;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
    min-height: calc(100dvh - 30px);
  }
  .sidebar {
    display: none;
  }
  .demo-banner {
    font-size: 8px;
    gap: 7px;
    padding: 6px 12px;
    justify-content: flex-start;
    line-height: 1.5;
    align-items: baseline;
  }
  .demo-banner > span {
    flex-shrink: 0;
  }
  .topbar {
    padding: 12px 18px;
    min-height: 68px;
    justify-content: space-between;
  }
  .topbar:before {
    content: "AXAL / HUB";
    font-size: 10px;
    font-weight: 600;
    color: var(--x-p);
    letter-spacing: 0.03em;
  }
  .top-controls {
    gap: 6px;
  }
  .top-controls select {
    font-size: 9px;
    min-height: 44px;
    padding-left: 7px;
    padding-right: 16px;
    max-width: 112px;
  }
  .icon-button {
    width: 36px;
    min-height: 44px;
  }
  .top-controls #company {
    max-width: 80px;
  }
  main {
    padding: 28px 18px 40px;
    min-height: calc(100dvh - 220px);
  }
  h1 {
    font-size: 24px;
    letter-spacing: -0.045em;
    line-height: 1.4;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 24px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.9;
  }
  .request-label {
    font-size: 8px;
    padding: 10px 14px;
    gap: 6px;
    letter-spacing: 0.025em;
  }
  .request-count {
    font-size: 8px;
  }
  .request-content {
    padding: 19px 16px;
    gap: 18px;
  }
  .request-content h2 {
    font-size: 15px;
    line-height: 1.7;
  }
  .request-content p {
    font-size: 11px;
  }
  .request-content > .primary {
    width: 100%;
    font-size: 11px;
    min-height: 48px;
  }
  .request-panel {
    margin-bottom: 26px;
  }
  .section-head h2 {
    font-size: 11px;
    gap: 8px;
  }
  .section-head .text-link {
    font-size: 9px;
  }
  .track-row {
    padding: 19px 16px;
    column-gap: 12px;
  }
  .track-row strong {
    font-size: 12px;
  }
  .track-row p {
    font-size: 10px;
    line-height: 1.9;
  }
  .track-row > .badge {
    margin-left: 26px;
  }
  .documents .document-row {
    padding: 16px 14px;
    gap: 12px;
  }
  .document-row strong {
    font-size: 11px;
  }
  .document-row small {
    font-size: 9px;
  }
  .file-icon {
    width: 30px;
    height: 36px;
  }
  .right-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .summary {
    padding: 20px;
  }
  .summary-number {
    font-size: 36px;
    margin: 16px 0;
  }
  .summary-line {
    font-size: 11px;
  }
  .hint {
    font-size: 10px;
  }
  .updates-box h2 {
    font-size: 12px;
  }
  .update strong {
    font-size: 12px;
  }
  .update p {
    font-size: 11px;
  }
  .contact-box {
    grid-column: auto;
  }
  .footer {
    margin: 0 18px 72px;
    padding: 15px 0;
    font-size: 7px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--x-bd);
    background: var(--x-bg2);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 10;
  }
  .mobile-nav .nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    min-height: 64px;
    font-size: 9px;
    border: 0;
    border-top: 2px solid transparent;
  }
  .mobile-nav .nav-item.active {
    border-top-color: var(--x-p);
    background: var(--x-bg3);
  }
  .mobile-nav svg {
    width: 18px;
    height: 18px;
  }
  .stage-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stage {
    border-bottom: 1px solid var(--x-bd);
    padding: 16px;
    font-size: 10px;
  }
  .stage:nth-child(2) {
    border-right: 0;
  }
  .stage:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .stage.selected {
    box-shadow: inset 0 -2px var(--x-p);
  }
  .stage small {
    font-size: 8px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    padding: 20px;
  }
  .detail-panel p {
    font-size: 11px;
  }
  .filter-bar {
    flex-direction: column;
    gap: 12px;
  }
  .filter-label {
    justify-content: space-between;
  }
  .filter-label select {
    min-width: 160px;
  }
  .manager-document {
    padding: 16px;
  }
  .manager-doc-head {
    flex-wrap: wrap;
    gap: 12px;
  }
  .manager-doc-head h2 {
    font-size: 12px;
  }
  .manager-doc-head > .badge {
    margin-left: 46px;
  }
  .manager-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .manager-actions button {
    width: 100%;
    font-size: 10px;
  }
  .version-list > div {
    font-size: 10px;
    gap: 8px;
  }
  .version-list small {
    font-size: 8px !important;
  }
  .person-row {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }
  .person-row > span:last-child {
    margin-left: 46px;
  }
  .notice {
    font-size: 10px;
    padding: 14px 16px;
  }
  dialog {
    padding: 20px;
    max-height: calc(100dvh - 32px);
  }
  dialog h2 {
    font-size: 18px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .dialog-actions button {
    flex: 1;
    font-size: 10px;
  }
  .document-body {
    font-size: 12px;
  }
  #toast {
    bottom: 82px;
    font-size: 10px;
    line-height: 1.8;
  }
}
@media (max-width: 370px) {
  .topbar:before {
    content: "HUB";
  }
  .topbar {
    padding: 10px 12px;
  }
  h1 {
    font-size: 21px;
  }
  .request-count {
    display: none;
  }
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.saved-response {
  margin-bottom: 24px;
}
.saved-response p {
  white-space: pre-wrap;
}
/* Working hub: readable forms, real identity and publication state. */
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
.eyebrow,
.space-label,
.date-label,
.summary-number,
.brand em,
.footer,
.request-label {
  font-family: "IBM Plex Mono", monospace;
}
.sidebar-bottom {
  padding-top: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 15px 0;
  color: var(--x-tx2);
  font-size: 13px;
}
.field input,
.field select {
  width: 100%;
  background: var(--x-bg);
  color: var(--x-tx);
  border: 1px solid var(--x-bd);
  padding: 11px 12px;
  min-height: 44px;
  font-size: 14px;
}
.field textarea {
  font-size: 14px;
  line-height: 1.6;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
}
.check input {
  width: 19px;
  height: 19px;
  accent-color: var(--x-p);
  flex-shrink: 0;
}
.login {
  max-width: 600px;
  padding: 70px 36px;
  margin: 0 auto;
}
.login .brand {
  margin: 0 0 65px;
}
.login h1 {
  font-size: 32px;
}
.login form {
  margin: 30px 0;
}
.login .primary {
  width: 100%;
}
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--x-bg3);
  border-bottom: 1px solid var(--x-p);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--x-tx);
  font-size: 13px;
}
fieldset {
  border: 1px solid var(--x-bd);
  margin: 20px 0;
  padding: 12px 16px;
}
legend {
  font-size: 12px;
  color: var(--x-tx2);
}
.person-row,
.manager-doc-head,
.version-list > div {
  flex-wrap: wrap;
}
.document-body,
.saved-response p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.manager-document,
.person-row,
.field,
.grow {
  min-width: 0;
}
.primary,
.secondary {
  font-size: 13px;
  min-height: 44px;
}
.document-row strong,
.track-row strong {
  font-size: 14px;
}
.document-row small,
.track-row small {
  font-size: 12px;
}
.page-heading p,
.hint,
.notice,
.track-row p,
.request-content p {
  font-size: 13px;
}
.more-links {
  padding: 16px;
}
.more-links .nav-item {
  width: 100%;
}
main h1 {
  overflow-wrap: anywhere;
}
.top-controls #company {
  max-width: 230px;
}
.version-list button {
  font-size: 12px;
}
.dialog-actions {
  flex-wrap: wrap;
}
.field input[type="file"] {
  font-size: 12px;
}
.form-error {
  color: #f6a6bc;
  font-size: 13px;
}
.page-heading > .primary {
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .login {
    padding: 40px 22px;
  }
  .login h1 {
    font-size: 26px;
  }
  .top-controls #company {
    max-width: 130px;
  }
  .topbar:before {
    flex-shrink: 0;
  }
  .preview-banner {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .version-list > div {
    align-items: center;
  }
  .version-list > div > span:first-child {
    flex-basis: 100%;
  }
  .person-row > .grow {
    flex-basis: calc(100% - 50px);
  }
  .dialog-actions .primary,
  .dialog-actions .secondary {
    font-size: 12px;
  }
  .topbar {
    gap: 8px;
  }
  .badge {
    white-space: normal;
  }
  .request-content h2 {
    overflow-wrap: anywhere;
  }
}

/* Commercial workspace, shared AXAL OS surfaces. */
.company-context {
  color: var(--x-tx2);
  font-size: 13px;
  max-width: 220px;
  overflow-wrap: anywhere;
}
.company-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--x-tx2);
  font-size: 12px;
}
.document-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--x-bd);
}
.document-tabs a {
  padding: 12px 16px;
  color: var(--x-tx2);
  border-bottom: 2px solid transparent;
}
.document-tabs a[aria-current] {
  color: var(--x-tx);
  border-color: var(--x-p);
}
.commercial-card {
  padding: 24px;
  border-bottom: 1px solid var(--x-bd);
  min-width: 0;
}
.commercial-card:last-child {
  border-bottom: 0;
}
.commercial-card h2 {
  font-size: 19px;
  margin: 6px 0;
}
.commercial-card p,
.commercial-card small {
  color: var(--x-tx2);
}
.commercial-head,
.commercial-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.commercial-head .grow {
  min-width: 120px;
  overflow-wrap: anywhere;
}
.commercial-actions {
  margin-top: 18px;
}
.money-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.money-grid dt {
  color: var(--x-tx2);
  font-size: 12px;
  margin-bottom: 8px;
}
.money-grid dd {
  font-size: 18px;
  margin: 0;
  overflow-wrap: anywhere;
}
.referral-balance {
  background: var(--x-bg2);
  border: 1px solid var(--x-bd);
  padding: 28px;
  margin-bottom: 20px;
}
.referral-balance > strong {
  display: block;
  font-size: clamp(25px, 4vw, 42px);
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.referral-balance p {
  color: var(--x-tx2);
}
.credit-history {
  list-style: none;
  padding: 0;
}
.credit-history li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--x-bd);
  flex-wrap: wrap;
}
.credit-history li span {
  color: var(--x-tx2);
  overflow-wrap: anywhere;
}
.commercial-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.commercial-overview:empty {
  display: none;
}
.commercial-overview a {
  border: 1px solid var(--x-bd);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-wrap: anywhere;
}
.commercial-overview span {
  color: var(--x-tx2);
}
@media (max-width: 700px) {
  .company-context {
    max-width: 130px;
    font-size: 12px;
  }
  .company-switch {
    font-size: 0;
  }
  .company-switch select {
    font-size: 12px;
  }
  .money-grid,
  .commercial-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .commercial-card,
  .referral-balance {
    padding: 18px;
  }
  .commercial-card h2 {
    font-size: 17px;
  }
  .money-grid dd {
    font-size: 16px;
  }
  .commercial-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .commercial-actions .secondary {
    text-align: center;
  }
  .commercial-overview {
    grid-template-columns: minmax(0, 1fr);
  }
}
