:root {
  --ut-control-height-standard: 2.5rem;
  --ut-textbox-height: var(--ut-control-height-standard);
  --ut-select-height: var(--ut-control-height-standard);
  --ut-button-height-compact: 2rem;
  --ut-button-height-utility: 2.25rem;
  --ut-button-height-standard: var(--ut-control-height-standard);
  --ut-button-padding-inline: 1.25rem;
  --ut-button-radius-standalone: 999px;
  --ut-button-radius-inline: 0.75rem;
  --ut-button-radius-standard: var(--ut-button-radius-standalone);
  --ut-button-font-size-standard: 0.95rem;
  --ut-button-font-weight-standard: 400;
  --ut-button-line-height-standard: normal;
  --ut-select-indicator-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%238b949e'/%3E%3C/svg%3E");
  --ut-select-indicator-size: 0.625rem 0.375rem;
  --ut-select-indicator-offset: 0.75rem;
  --ut-select-padding-inline-end: 1.75rem;
  --ut-checkbox-size: 1rem;
  --ut-switch-width: 2rem;
  --ut-switch-height: 1.125rem;
  --ut-switch-thumb-size: 0.875rem;
  --ut-switch-thumb-inset: 0.0625rem;
  --ut-switch-thumb-travel: 0.875rem;
}


/* Canonical public/new-page foundations. No selectors that restyle Core/NFC. */
:root {
  --ut-font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ut-text-caption: 0.75rem;
  --ut-text-label: 0.875rem;
  --ut-text-ui: 0.95rem;
  --ut-text-body: 1rem;
  --ut-leading-body: 1.7;
  --ut-space-0: 0;
  --ut-space-1: 0.25rem;
  --ut-space-2: 0.5rem;
  --ut-space-3: 0.75rem;
  --ut-space-4: 1rem;
  --ut-space-5: 1.25rem;
  --ut-space-6: 1.5rem;
  --ut-space-8: 2rem;
  --ut-container-form: 37.5rem;
  --ut-container-content: 50rem;
  --ut-container-editorial: 54.75rem;
  --ut-container-wide: 70rem;
  --ut-focus-width: 2px;
  --ut-focus-offset: 2px;
}


.ut-button {
  box-sizing: border-box;
  height: var(--ut-button-height-standard);
  margin: 0;
  padding: 0 var(--ut-button-padding-inline);
  border: 1px solid transparent;
  border-radius: var(--ut-button-radius-standard);
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-size: var(--ut-button-font-size-standard);
  font-weight: var(--ut-button-font-weight-standard);
  line-height: var(--ut-button-line-height-standard);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    opacity 0.16s ease,
    transform 0.12s ease;
}

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

.ut-button--primary:hover:not(:disabled),
.ut-button--primary:focus-visible {
  border-color: var(--ut-action-primary-hover);
  background: var(--ut-action-primary-hover);
  color: #ffffff;
}

.ut-button--primary:active:not(:disabled) {
  border-color: var(--ut-action-primary-active);
  background: var(--ut-action-primary-active);
  transform: translateY(1px);
}

.ut-button:focus-visible {
  outline: 2px solid var(--ut-action-primary-hover);
  outline-offset: 2px;
}

.ut-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .ut-button {
    transition: none;
  }

  .ut-button--primary:active:not(:disabled) {
    transform: none;
  }
}


/* - - - - - - - - - - - - - - - */


.topbar-inner{
  justify-content: space-between;
}

.topbar-actions{
  display:flex;
  align-items:center;
  gap:0.4rem;
  flex-wrap:wrap;
  justify-content:flex-end;
}

#session-menu-wrap{
  position:relative;
  display:inline-flex;
}

#notif-menu-wrap{
  position:relative;
  display:inline-flex;
}

#notif-menu-wrap[hidden]{
  display:none;
}

#notif-menu-btn,
#session-menu-btn{
  margin-top:0;
  width:40px;
  height:32px;
  padding:0;
  border-radius:999px;
  border:1px solid var(--border-subtle);
  background:color-mix(in srgb, var(--bg) 80%, transparent);
  color:var(--fg);
  font:inherit;
  font-size:0.9rem;
  cursor:pointer;
  opacity:0.9;
  backdrop-filter:blur(8px);
  -webkit-tap-highlight-color:transparent;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none;
  filter:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

#notif-menu-btn{
  position:relative;
}

#notif-menu-btn svg{
  width:17px;
  height:17px;
  display:block;
}

#notif-menu-btn.has-notifications{
  border-color:var(--border-subtle);
}

.notif-badge{
  position:absolute;
  top:-0.45rem;
  right:auto;
  left:-0.45rem;
  min-width:1.15rem;
  height:1.15rem;
  box-sizing:border-box;
  padding:0 0.32rem;
  border-radius:999px;
  background:var(--fg);
  color:var(--bg);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:0.68rem;
  font-weight:500;
  font-variant-numeric:tabular-nums;
  line-height:1;
  text-align:center;
  text-indent:-0.04rem;
}

.notif-badge[hidden]{
  display:none;
}

#session-menu-btn{
  width:auto;
  min-width:54px;
  padding:2px 6px 2px 3px;
  gap:5px;
}

#notif-menu-btn.has-notifications .notif-badge{
  color:var(--bg);
}

#notif-menu{
    position:absolute;
    right:0;
    top:calc(100% + 8px);
    min-width:252px;
  background:var(--bg);
  border:1px solid var(--border-subtle);
  border-radius:14px;
  padding:10px;
  font-size:0.875rem;
  text-align:left;
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
  z-index:999;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

#notif-menu-label{
  font-size:inherit;
  opacity:.85;
  padding:6px 8px;
  word-break:break-word;
}

#notif-menu-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:6px 4px 4px 4px;
}

.notif-item{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.notif-item + .notif-item{
  border-top:1px solid var(--border-subtle);
  padding-top:10px;
}

.notif-text{
  font-size:inherit;
  color:var(--fg);
}

.notif-actions{
  display:flex;
  gap:0.4rem;
}

#session-menu-btn .session-menu-avatar{
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 26px;
  border-radius:50%;
  background:color-mix(in srgb, var(--fg) 12%, var(--bg));
  color:var(--fg);
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.02em;
  line-height:1;
  overflow:hidden;
}

#session-menu-btn .session-menu-chevron{
  width:13px;
  height:13px;
  display:block;
  flex:0 0 13px;
}

#notif-menu-btn:hover,
#session-menu-btn:hover{
  opacity:1;
  filter:none;
}

#notif-menu-btn:hover,
#notif-menu-btn:focus-visible,
#session-menu-btn:hover,
#session-menu-btn:focus-visible{
  border-color:#ffffff;
}

#session-menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  width:min(224px, calc(100vw - 1.5rem));
  min-width:min(224px, calc(100vw - 1.5rem));
  background:var(--bg);
  border:1px solid var(--border-subtle);
  border-radius:14px;
  padding:10px;
  font-size:0.875rem;
  text-align:left;
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
  z-index:999;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

#session-menu-identity{
  min-width:0;
  padding:6px 8px 10px;
  border-bottom:1px solid var(--border-subtle);
  margin-bottom:10px;
}

#session-menu-label{
  min-width:0;
  overflow:hidden;
  color:var(--fg);
  font-size:0.9rem;
  font-weight:650;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#session-menu-email{
  display:block;
  min-width:0;
  overflow:hidden;
  margin-top:3px;
  color:color-mix(in srgb, var(--fg) 62%, transparent);
  font-size:0.76rem;
  line-height:1.3;
  text-decoration:none;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#session-menu-email[hidden]{
  display:none !important;
}

#session-menu .session-menu-link{
  display:flex;
  align-items:center;
  gap:0.65rem;
  width:100%;
  padding:6px 8px;
  color:var(--fg);
  text-decoration:none;
  border-radius:10px;
}

#session-menu button.session-menu-link{
  border:0;
  background:transparent;
  font:inherit;
  font-size:inherit;
  text-align:left;
  cursor:pointer;
}

#session-menu .session-menu-submenu-wrap{
  min-width:0;
  margin-top:8px;
}

#session-menu .session-menu-disclosure{
  justify-content:flex-start;
}

#session-menu .session-menu-disclosure-chevron{
  width:14px;
  height:14px;
  flex:0 0 14px;
  display:block;
  margin-left:auto;
  transition:transform 140ms ease;
}

#session-menu .session-menu-disclosure.is-expanded .session-menu-disclosure-chevron{
  transform:rotate(90deg);
}

#session-menu .session-menu-submenu{
  min-width:0;
  display:grid;
  gap:2px;
  padding-top:3px;
}

#session-menu .session-menu-submenu-option{
  min-width:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:0.5rem;
  padding:5px 8px 5px 38px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--fg);
  font:inherit;
  font-size:0.82rem;
  line-height:1.2;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}

#session-menu-language-options .session-menu-submenu-option{
  min-height:28px;
  height:auto;
  font-size:0.95rem;
  padding-top:6px;
  padding-bottom:6px;
  overflow:visible;
  line-height:normal;
}

.notif-view-all{
  display:block;
  margin-top:6px;
  padding:9px 8px 4px;
  border-top:1px solid var(--border-subtle);
  color:var(--fg);
  font-weight:600;
  text-align:center;
  text-decoration:none;
}

.notif-view-all:hover,
.notif-view-all:focus-visible{
  text-decoration:underline;
}

#session-menu-language-options .session-menu-option-check{
  flex-basis:1em;
  font-size:0.95rem;
  line-height:1;
}

#session-menu-btn .session-menu-avatar img{
  width:100%;
  height:100%;
  max-width:26px;
  max-height:26px;
  display:block;
  object-fit:cover;
  border-radius:50%;
}

#session-menu .session-menu-submenu-option > span:first-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#session-menu-language-options .session-menu-submenu-option > span:first-child{
  display:inline-block;
  overflow:visible;
  line-height:normal;
}

#session-menu .session-menu-submenu-option:hover,
#session-menu .session-menu-submenu-option:focus-visible,
#session-menu .session-menu-submenu-option.is-active,
#session-menu .session-menu-submenu-option[aria-current="page"]{
  background:color-mix(in srgb, var(--fg) 8%, transparent);
  outline:none;
}

#session-menu .session-menu-option-check{
  flex:0 0 14px;
  color:var(--fg);
  opacity:0;
  text-align:center;
}

#session-menu .session-menu-submenu-option[aria-checked="true"] .session-menu-option-check{
  opacity:1;
}

#session-menu .session-menu-link-icon{
  width:15px;
  height:15px;
  flex:0 0 15px;
  display:block;
}

#session-menu .session-menu-link[hidden]{
  display:none !important;
}

@media (max-width: 768px){
  #session-menu #session-menu-dashboard{
    display:none;
  }

  #session-menu #session-menu-dashboard + .session-menu-link{
    margin-top:0;
  }
}

#session-menu .session-menu-submenu[hidden],
#session-menu .session-menu-submenu-wrap[hidden]{
  display:none !important;
}

#session-menu .session-menu-link + .session-menu-link,
#session-menu .session-menu-submenu-wrap + .session-menu-link{
  margin-top:8px;
}

#session-menu #session-menu-panel{
  color:#7c3aed;
}

#session-menu .session-menu-link:hover{
  background:color-mix(in srgb, var(--fg) 8%, transparent);
}



.footer-link {
  margin-top: 0.10rem;
  text-align: center;
  font-size: 0.75rem;
}

.legal-footer {
  margin-top: 4.5rem;
  text-align: center;
  font-size: 0.68rem;
  opacity: 0.7;
}

.legal-footer + .footer-link {
  font-size: 0.68rem;
}

.footer-nav-links {
  margin-top: 0.15rem;
  margin-bottom: 1.35rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.footer-nav-links a {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.82;
}

.footer-nav-links a:hover,
.footer-nav-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.footer-nav-links + .legal-footer {
  margin-top: 2.1rem;
}

.legal-footer.footer-disclosure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.page-shell > .legal-footer.footer-disclosure {
  margin-bottom: -1rem;
  transition: margin-bottom 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-shell > .legal-footer.footer-disclosure:has(.footer-disclosure-control.is-opening),
.page-shell > .legal-footer.footer-disclosure:has(.footer-disclosure-control.is-open) {
  margin-bottom: 0;
}

.footer-disclosure-control {
  position: relative;
  width: 3rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 2rem);
  border-radius: 1rem;
  background: transparent;
  padding: 0;
  transition:
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.footer-disclosure-control.is-open {
  width: min(42rem, calc(100vw - 2rem));
  max-height: 30rem;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--bg) 96%, var(--fg) 4%);
  box-shadow: 0 16px 38px color-mix(in srgb, #000 14%, transparent);
  padding: 1.15rem 1.35rem 1.2rem;
}

.footer-disclosure-control.is-opening,
.footer-disclosure-control.is-open,
.footer-disclosure-control.is-closing {
  overflow: hidden;
}

.footer-disclosure-toggle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
  transition:
    top 320ms cubic-bezier(0.22, 1, 0.36, 1),
    left 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms ease,
    background-color 160ms ease;
}

.footer-disclosure-control.is-open .footer-disclosure-toggle {
  top: 1rem;
  left: 1rem;
  transform: translateX(0);
}

.footer-disclosure-icon {
  width: 2.35rem;
  height: 2.15rem;
  display: block;
  background: currentColor;
  -webkit-mask: url("/static/img/winged-shoe.png") center / contain no-repeat;
  mask: url("/static/img/winged-shoe.png") center / contain no-repeat;
}

.footer-disclosure-toggle:hover,
.footer-disclosure-toggle:focus-visible {
  border-color: transparent;
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  color: var(--fg);
  outline: none;
}

.footer-disclosure-toggle[aria-expanded="true"] {
  border-color: transparent;
  background: transparent;
  color: var(--fg);
}

.footer-disclosure-panel {
  width: auto;
  box-sizing: border-box;
  margin: 0 0 0 4.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: 2rem;
  row-gap: 1.1rem;
  text-align: left;
  opacity: 0;
  transform: translateX(0.9rem);
  transition:
    opacity 180ms ease 100ms,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.footer-disclosure-panel[hidden] {
  display: none;
}

.footer-disclosure-control.is-open .footer-disclosure-panel {
  opacity: 1;
  transform: translateX(0);
}

.footer-disclosure-control.is-closing .footer-disclosure-panel {
  opacity: 0;
  transform: translateX(0.55rem);
  transition: opacity 100ms ease, transform 120ms ease;
}

.footer-disclosure-panel > .footer-nav-links {
  grid-column: 1 / -1;
  justify-content: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.75rem;
}

.footer-disclosure-panel > .footer-nav-links a {
  padding: 0.36rem 0.58rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  opacity: 0.82;
}

.footer-disclosure-panel > .footer-nav-links a:hover,
.footer-disclosure-panel > .footer-nav-links a:focus-visible {
  background: color-mix(in srgb, var(--fg) 10%, transparent);
  opacity: 1;
  text-decoration: none;
}

.footer-disclosure-identity,
.footer-disclosure-meta {
  min-width: 0;
}

.footer-disclosure-brand {
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer-disclosure-panel .footer-disclosure-tagline {
  margin: 0.45rem 0 0;
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
}

.footer-disclosure-panel .footer-disclosure-company {
  margin: 0.65rem 0 0;
  color: color-mix(in srgb, var(--fg) 65%, transparent);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: left;
}

.footer-disclosure-credits-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: color-mix(in srgb, var(--fg) 58%, transparent);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-disclosure-contact-form-link {
  width: 1.45rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.footer-disclosure-contact-form-link:hover,
.footer-disclosure-contact-form-link:focus-visible {
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  outline: none;
}

.footer-disclosure-contact-form-link svg {
  display: block;
  width: 1.2rem;
  height: 1rem;
}

.footer-suggestions-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0 auto;
  color: color-mix(in srgb, var(--fg) 78%, transparent);
  font-size: 0.78rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-suggestions-link[hidden] {
  display: none;
}

.footer-suggestions-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer-suggestions-link:hover,
.footer-suggestions-link:focus-visible {
  color: var(--fg);
  outline: none;
}

.footer-disclosure-tech-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  margin-top: 0.5rem;
}

.footer-disclosure-tech-links a {
  color: var(--fg);
  font-size: 0.75rem;
  line-height: 1.4;
  text-decoration: none;
}

.footer-disclosure-tech-links a:hover,
.footer-disclosure-tech-links a:focus-visible {
  text-decoration: underline;
}

.footer-disclosure-panel .footer-disclosure-tech-note {
  margin: 0.55rem 0 0;
  color: color-mix(in srgb, var(--fg) 68%, transparent);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: left;
}

.footer-disclosure-privacy {
  display: inline;
  margin: 0;
  color: color-mix(in srgb, var(--fg) 78%, transparent);
  font-size: inherit;
  text-decoration: none;
}

.footer-disclosure-privacy:hover,
.footer-disclosure-privacy:focus-visible {
  color: var(--fg);
  text-decoration: underline;
}

.footer-disclosure-panel .footer-disclosure-privacy-row {
  margin: 0.65rem 0 0;
  color: color-mix(in srgb, var(--fg) 72%, transparent);
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: left;
}

.footer-disclosure-panel .footer-disclosure-legal {
  margin: 0.25rem 0 0;
  color: color-mix(in srgb, var(--fg) 62%, transparent);
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: left;
}

.footer-disclosure-company a {
  color: inherit;
  text-decoration: none;
}

.footer-disclosure-company a:hover,
.footer-disclosure-company a:focus-visible {
  color: var(--fg);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .footer-disclosure-control.is-open {
    max-height: 44rem;
    padding: 1rem 1.1rem 1.15rem;
  }

  .footer-disclosure-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
    margin: 3.45rem 0 0;
  }

  .footer-disclosure-control.is-open .footer-disclosure-toggle {
    top: 0.8rem;
    left: 0.8rem;
  }
}

@media (max-width: 768px) {
  .legal-footer.footer-disclosure,
  .footer-link {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell > .legal-footer.footer-disclosure,
  .footer-disclosure-control,
  .footer-disclosure-toggle,
  .footer-disclosure-panel {
    transition: none;
  }
}



.dashboard-workspace,
.dashboard-machine-column {
  min-width: 0;
  width: 100%;
}

.dashboard-group-tree[hidden] {
  display: none;
}

.dashboard-view-menu-item[data-mode="tree"] {
  display: none;
}

@media (min-width: 1280px) {
  .dashboard-view-menu-item[data-mode="tree"] {
    display: grid;
  }

  #dashboard-mount.has-group-tree .dashboard-group-tree,
  #qr-print-mount.has-group-tree .dashboard-group-tree {
    position: fixed;
    top: 75px;
    bottom: 0;
    left: 0;
    z-index: 50;
    width: clamp(228px, calc((100vw - 800px) / 2 - 12px), 320px);
    max-height: none;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 1.5rem 0.75rem 1.5rem 0.3rem;
    border-right: 1px solid transparent;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--fg) 28%, transparent) transparent;
    transition:
      top 260ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 180ms ease;
  }

  #dashboard-mount.has-group-tree .dashboard-group-tree.is-content-scrolled,
  #qr-print-mount.has-group-tree .dashboard-group-tree.is-content-scrolled {
    border-right-color: color-mix(in srgb, var(--fg) 10%, transparent);
  }

  #dashboard-mount.has-group-tree .dashboard-group-tree.is-scroll-position,
  #qr-print-mount.has-group-tree .dashboard-group-tree.is-scroll-position {
    top: var(--dashboard-group-tree-scroll-top, 75px);
  }
}

@media (min-width: 1280px) and (prefers-reduced-motion: reduce) {
  #dashboard-mount.has-group-tree .dashboard-group-tree {
    transition: none;
  }
}

.dashboard-group-tree::-webkit-scrollbar {
  width: 9px;
}

.dashboard-group-tree::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-group-tree::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 26%, transparent);
  background-clip: padding-box;
}

:root[data-theme="light"] .dashboard-group-tree {
  scrollbar-color: #b8bec7 transparent;
}

:root[data-theme="light"] .dashboard-group-tree::-webkit-scrollbar-thumb {
  background: #b8bec7;
  background-clip: padding-box;
}

.dashboard-group-tree-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.65rem 0.2rem;
  padding-right: 0;
}

.dashboard-group-tree-title {
  color: color-mix(in srgb, var(--fg) 58%, transparent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-group-tree-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.dashboard-group-tree-create,
.dashboard-group-tree-preferences {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  color: color-mix(in srgb, var(--fg) 62%, transparent);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dashboard-group-tree-create svg,
.dashboard-group-tree-preferences svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.dashboard-group-tree-preferences svg {
  fill: currentColor;
  stroke: none;
}

.dashboard-group-tree-create:hover,
.dashboard-group-tree-create:focus-visible,
.dashboard-group-tree-preferences:hover,
.dashboard-group-tree-preferences:focus-visible,
.dashboard-group-tree-preferences[aria-expanded="true"] {
  border-color: var(--border-subtle);
  background: color-mix(in srgb, var(--fg) 7%, transparent);
  color: var(--fg);
  outline: none;
}

.dashboard-group-tree-visibility-summary {
  min-height: 1.8rem;
  margin: -0.2rem 0 0.55rem 0.2rem;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  color: color-mix(in srgb, var(--fg) 64%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.25rem 0.35rem 0.25rem 0.55rem;
  font-size: 0.7rem;
}

.dashboard-group-tree-show-all {
  flex: 0 0 auto;
  border: 0;
  border-radius: 0.32rem;
  background: transparent;
  color: var(--fg);
  padding: 0.25rem 0.35rem;
  font: inherit;
  cursor: pointer;
}

.dashboard-group-tree-show-all:hover,
.dashboard-group-tree-show-all:focus-visible {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  outline: none;
}

.dashboard-group-tree-list {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.dashboard-group-tree-empty {
  margin: 0.45rem 0.35rem 0;
  color: color-mix(in srgb, var(--fg) 58%, transparent);
  font-size: 0.75rem;
  line-height: 1.45;
}

.dashboard-group-tree-row {
  position: relative;
  width: 100%;
  min-height: 2rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-left: var(--tree-indent, 0.35rem);
}

.dashboard-group-tree-toggle,
.dashboard-group-tree-toggle-spacer {
  flex: 0 0 1.45rem;
  width: 1.45rem;
  height: 1.45rem;
}

.dashboard-group-tree-toggle {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--fg) 68%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.1rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.dashboard-group-tree-toggle:hover,
.dashboard-group-tree-toggle:focus-visible {
  background: transparent;
  color: var(--fg);
  outline: none;
}

.dashboard-group-tree-node {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: color-mix(in srgb, var(--fg) 76%, transparent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.5rem 0.3rem 0.48rem;
  font: inherit;
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
}

.dashboard-group-tree-node:hover,
.dashboard-group-tree-node:focus-visible {
  background: color-mix(in srgb, var(--fg) 7%, transparent);
  color: var(--fg);
  outline: none;
}

.dashboard-group-tree-node[aria-selected="true"] {
  background: color-mix(in srgb, var(--fg) 11%, transparent);
  color: var(--fg);
  font-weight: 620;
}

.dashboard-group-tree-row.is-visibility-hidden .dashboard-group-tree-node {
  color: color-mix(in srgb, var(--fg) 48%, transparent);
}

.dashboard-group-tree-row.is-visibility-hidden .dashboard-group-tree-icon {
  color: color-mix(in srgb, var(--fg) 38%, transparent);
}

.dashboard-group-tree-row.is-drop-target .dashboard-group-tree-node {
  background: color-mix(in srgb, #2563eb 13%, var(--bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #2563eb 48%, transparent);
  color: var(--fg);
}

.dashboard-group-tree-row.is-dragging .dashboard-group-tree-node {
  opacity: 0.62;
}

.is-dashboard-tree-dragging .dashboard-group-tree-row[data-tree-drop-type] {
  cursor: move;
}

.dashboard-group-tree-action-slot {
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 1.65rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  margin-left: 0.2rem;
}

.dashboard-group-tree-visibility-toggle,
.dashboard-group-tree-menu-toggle {
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: color-mix(in srgb, var(--fg) 62%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 120ms ease, background 120ms ease, color 120ms ease;
}

.dashboard-group-tree-visibility-toggle svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-group-tree-visibility-toggle.is-hidden,
.dashboard-group-tree-visibility-toggle.is-mixed,
.dashboard-group-tree-row:hover .dashboard-group-tree-visibility-toggle,
.dashboard-group-tree-row:focus-within .dashboard-group-tree-visibility-toggle,
.dashboard-group-tree-row.is-selected .dashboard-group-tree-visibility-toggle {
  opacity: 1;
}

.dashboard-group-tree-visibility-toggle.is-hidden {
  color: color-mix(in srgb, var(--fg) 52%, transparent);
}

.dashboard-group-tree-visibility-toggle.is-mixed {
  color: color-mix(in srgb, var(--fg) 72%, transparent);
}

.dashboard-group-tree-visibility-toggle:hover,
.dashboard-group-tree-visibility-toggle:focus-visible {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  color: var(--fg);
  outline: none;
}

.dashboard-group-tree-row.has-status .dashboard-group-tree-action-slot {
  border-left: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  padding-left: 0.25rem;
}

.dashboard-group-tree-menu-toggle {
  flex: 0 0 1.55rem;
}

.dashboard-group-tree-menu-toggle svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.dashboard-group-tree-row:hover .dashboard-group-tree-menu-toggle,
.dashboard-group-tree-row:focus-within .dashboard-group-tree-menu-toggle,
.dashboard-group-tree-menu-toggle[aria-expanded="true"] {
  opacity: 1;
}

.dashboard-group-tree-menu-toggle:hover,
.dashboard-group-tree-menu-toggle:focus-visible,
.dashboard-group-tree-menu-toggle[aria-expanded="true"] {
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  color: var(--fg);
  outline: none;
}

.dashboard-group-tree-menu-panel {
  position: fixed;
  z-index: 2100;
  min-width: 10.5rem;
  width: max-content;
  max-width: min(17rem, calc(100vw - 1rem));
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  background: var(--bg);
  box-shadow: 0 12px 28px color-mix(in srgb, #000 16%, transparent);
  padding: 0.25rem;
}

.dashboard-group-tree-menu-action {
  width: 100%;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--fg);
  display: block;
  padding: 0.44rem 0.6rem;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.dashboard-group-tree-menu-action:hover,
.dashboard-group-tree-menu-action:focus-visible {
  background: color-mix(in srgb, var(--fg) 9%, transparent);
  outline: none;
}

.dashboard-group-tree-menu-action.is-checkable {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dashboard-group-tree-menu-action.is-checkable::before {
  content: "";
  flex: 0 0 0.85rem;
  width: 0.85rem;
  height: 0.85rem;
}

.dashboard-group-tree-menu-action.is-checkable.is-checked::before {
  content: "\2713";
  color: var(--fg);
  font-size: 0.8rem;
  line-height: 0.85rem;
  text-align: center;
}

.dashboard-group-tree-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-group-tree-row:not(.is-machine) .dashboard-group-tree-label {
  min-height: 1.2rem;
  line-height: 1.2rem;
  padding-bottom: 0.05rem;
}

.dashboard-group-tree-icon {
  flex: 0 0 1.05rem;
  width: 1.05rem;
  height: 1.05rem;
  color: color-mix(in srgb, var(--fg) 58%, transparent);
}

.dashboard-group-tree-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-group-tree-icon.is-ungrouped {
  color: color-mix(in srgb, var(--fg) 48%, transparent);
}

.dashboard-group-tree-row.is-machine {
  min-height: 1.72rem;
}

.dashboard-group-tree-machine {
  min-height: 1.72rem;
  padding-top: 0.18rem;
  padding-bottom: 0.18rem;
  color: color-mix(in srgb, var(--fg) 68%, transparent);
  font-size: 0.78rem;
}

.dashboard-group-tree-icon.is-machine {
  flex-basis: 0.95rem;
  width: 0.95rem;
  height: 0.95rem;
  color: color-mix(in srgb, var(--fg) 46%, transparent);
}

.dashboard-group-tree-machine-status {
  flex: 0 0 0.46rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
}

.dashboard-group-tree-machine-status.is-down {
  background: #dc2626;
}

.dashboard-group-tree-machine-indicator {
  flex: 0 0 auto;
  min-width: 2rem;
  height: 1.15rem;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 0.32rem;
  color: color-mix(in srgb, var(--fg) 52%, transparent);
  font-size: 0.61rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transform: translateY(-1px);
  white-space: nowrap;
}

.dashboard-group-tree-machine-indicator.is-has-qr {
  border-color: color-mix(in srgb, #15803d 35%, transparent);
  background: color-mix(in srgb, #16a34a 10%, transparent);
  color: color-mix(in srgb, #15803d 82%, var(--fg));
}

.dashboard-group-tree-machine-indicator.is-qr-disabled {
  border-color: rgb(107 114 128 / 35%);
  background: rgb(107 114 128 / 12%);
  color: #6b7280;
}

:root[data-theme="dark"] .dashboard-group-tree-machine-indicator.is-qr-disabled {
  border-color: rgb(156 163 175 / 38%);
  background: rgb(156 163 175 / 14%);
  color: #9ca3af;
}

.dashboard-group-tree-count,
.dashboard-group-tree-badge {
  flex: 0 0 auto;
  min-width: 1.35rem;
  height: 1.35rem;
  box-sizing: border-box;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.dashboard-group-tree-count {
  background: color-mix(in srgb, var(--fg) 9%, transparent);
  color: color-mix(in srgb, var(--fg) 64%, transparent);
}

.dashboard-group-tree-badge.is-pending {
  background: var(--ut-status-warning);
  color: #fff;
}

.dashboard-group-tree-badge.is-down {
  background: #dc2626;
  color: #fff;
}

@media (hover: none) {
  .dashboard-group-tree-visibility-toggle {
    opacity: 1;
  }
}



/* Client light profile. The existing session menu remains a legacy shared recipe.
   Page composition and palette belong here; no Core base/reset is imported. */
.client-area {
  color-scheme: light;
  --bg: #fff;
  --fg: #111111;
  --border-subtle: color-mix(in srgb, var(--fg) 12%, transparent);
  --panel-bg: color-mix(in srgb, var(--bg) 92%, transparent);
  --client-muted: color-mix(in srgb, var(--fg) 65%, transparent);
  --client-canvas: color-mix(in srgb, var(--fg) 8%, var(--bg));
  --client-link: #2563eb;
  --ut-action-primary: #111111;
  --ut-action-primary-hover: #262626;
  --ut-action-primary-active: #000000;
  --ut-button-radius-standard: var(--ut-button-radius-inline);
  margin: 0;
  padding-top: 75px;
  background: var(--client-canvas);
  color: var(--fg);
  font: var(--ut-text-ui)/1.6 var(--ut-font-sans);
}
.client-area *, .client-area *::before, .client-area *::after { box-sizing: border-box; }
/* Required hidden-state adapter for the ID-based legacy session menu. */
.client-area [hidden] { display: none !important; }
.client-area a { color: var(--client-link); text-underline-offset: .2em; }
.client-area a:hover { text-decoration: underline; }
.client-area :where(a, button, input, summary):focus-visible { outline: 2px solid var(--ut-action-primary); outline-offset: 3px; }
.client-area h1, .client-area h2, .client-area p { margin: 0; }
.client-area h1 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.025em; margin-bottom: var(--ut-space-6); }
.client-area h2 { font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
.client-area p { color: var(--client-muted); }
.client-area .topbar { position: fixed; top: 0; left: 0; right: 0; height: 75px; background: var(--bg); border-bottom: 1px solid var(--border-subtle); z-index: 2000; }
.client-area .topbar-inner { height: 100%; display: flex; align-items: center; padding: 0 var(--ut-space-6); gap: var(--ut-space-4); }
.client-area .topbar-logo-group { display: flex; align-items: center; gap: var(--ut-space-3); min-width: 0; }
.client-area .topbar-logo-link { display: flex; flex-shrink: 0; }
.client-area .topbar-logo { width: 52px; height: 52px; }
.client-area .topbar-title { font-size: 1.1rem; }
.client-area .topbar-status:empty { display: none; }
.client-area .client-layout { min-height: calc(100svh - 75px); }
.client-area .client-sidebar { width: 100%; max-width: 800px; margin: 0 auto; padding: 24px 24px 0; }
.client-area .client-nav-link { text-decoration: none; color: color-mix(in srgb, var(--fg) 76%, transparent); }
.client-area .client-nav-link svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; color: color-mix(in srgb, var(--fg) 58%, transparent); }
.client-area .client-nav-link:hover { text-decoration: none; color: var(--fg); }
.client-area .client-nav-link[aria-current="page"] { color: var(--fg); background: color-mix(in srgb, var(--fg) 11%, transparent); font-weight: 620; }
.client-area .client-nav-link:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.client-area .client-main { min-width: 0; width: 100%; max-width: 800px; margin: 0 auto; padding: 35px 24px 40px; }
.client-area .client-panel { background: var(--panel-bg); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 18px; margin: var(--ut-space-6) 0; }
.client-area .client-panel p { margin: var(--ut-space-2) 0 var(--ut-space-4); }
.client-area .client-service { display: flex; align-items: flex-start; gap: var(--ut-space-5); }
.client-area .client-service img { flex-shrink: 0; }
.client-area .client-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ut-space-4); margin-top: var(--ut-space-5); }
.client-area .ut-button--primary { color: #fff; }
.client-area .client-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.client-area .client-skip { position: fixed; top: -100px; left: 16px; z-index: 3000; background: white; padding: 12px; }
.client-area .client-skip:focus { top: 12px; }
/* Select the routed card; NFC owns its narrow-screen border, heading, collapse
   behavior and padding, plus the borderless desktop form at 1280px. */
.client-area .profile-card { display: none; }
.client-area .profile-card.is-active { display: block; }
.client-area .profile-card-body input { font: inherit; }
.client-area .profile-avatar-upload { cursor: pointer; }
.client-area #profile-mount[inert] { visibility: hidden; }
@media (min-width: 1280px) {
  .client-area .client-sidebar { position: fixed; top: 75px; bottom: 0; left: 0; width: clamp(228px, calc((100vw - 800px) / 2 - 12px), 320px); padding: 1.5rem .75rem 1.5rem .3rem; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; }
  .client-area .client-main { min-height: calc(100svh - 75px); display: flex; flex-direction: column; }
  .client-area #client-content { flex: 1 0 auto; }
}
@media (max-width: 700px) {
  .client-area .profile-card-body input { font-size: 1rem; }
  .client-area .topbar-inner { padding: 0 var(--ut-space-4); }
}
@media (prefers-reduced-motion: reduce) {
  .client-area *, .client-area *::before, .client-area *::after { scroll-behavior: auto; transition: none; animation: none; }
}
