/* Canonical control surface. This file owns the Pal Explorer geometry used by every catalog. */
@font-face {
  font-family: "Exo";
  src: url("../../Tools/Font/Exo/Exo2-VariableFont_wght.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 900;
}

/* Standalone pages can reuse the same search surface without the catalog command wrapper. */
.atlas-search-control {
  position: relative;
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  width: 100%;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 .78rem;
  color: #eef8f9;
  border: 1px solid rgb(61 104 113 / 33%);
  border-radius: 2px;
  background: rgb(6 20 26 / 56%);
  box-shadow: none;
  clip-path: none;
  overflow: visible;
  font-family: "Exo", system-ui, sans-serif;
  --catalog-surface-active-border: color-mix(in srgb, #70f4ff 68%, rgb(70 96 101 / 54%));
  --catalog-surface-active-background: linear-gradient(105deg, color-mix(in srgb, #70f4ff 13%, #081a22), color-mix(in srgb, #70f4ff 6%, #06151c) 58%, #05141b);
  --catalog-surface-active-shadow: inset 0 0 0 1px var(--catalog-surface-active-border), inset 0 0 10px color-mix(in srgb, #70f4ff 8%, transparent);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.atlas-search-control > svg {
  position: static;
  z-index: auto;
  left: auto;
  grid-column: 1;
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: #78a8ae;
  stroke-width: 1.8;
  pointer-events: none;
  transition: stroke 160ms ease;
}
.atlas-search-control input {
  grid-column: 2;
  justify-self: stretch;
  width: 100%;
  height: 44px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: #eef8f9;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  font: inherit;
  font-size: .83rem;
  font-weight: 580;
  outline: 0;
}
.atlas-search-control input::placeholder { color: #8ea3a6; opacity: .9; }
.atlas-search-control input::-webkit-search-cancel-button { appearance: none; }
.atlas-search-control input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}
.atlas-search-control:is(:hover, :focus-visible, :focus-within) {
  border-color: var(--catalog-surface-active-border);
  background: var(--catalog-surface-active-background);
  box-shadow: var(--catalog-surface-active-shadow);
  outline: 0;
}
.atlas-search-control:focus-within > svg { stroke: var(--cyan); }
.atlas-search-control > .filter-selection-frame,
.atlas-search-control > .app-interaction-frame {
  position: absolute;
  z-index: 4;
  inset: -.22rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.atlas-search-control > .filter-selection-frame i,
.atlas-search-control > .app-interaction-frame i {
  position: absolute;
  width: .62rem;
  height: .62rem;
  color: color-mix(in srgb, #69d9e6 78%, #071820);
}
.atlas-search-control > .filter-selection-frame i:nth-child(1),
.atlas-search-control > .app-interaction-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.atlas-search-control > .filter-selection-frame i:nth-child(2),
.atlas-search-control > .app-interaction-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.atlas-search-control > .filter-selection-frame i:nth-child(3),
.atlas-search-control > .app-interaction-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.atlas-search-control > .filter-selection-frame i:nth-child(4),
.atlas-search-control > .app-interaction-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.atlas-search-control:is(:hover, :focus-within) > .filter-selection-frame,
.atlas-search-control:is(:hover, :focus-within) > .app-interaction-frame { opacity: 1; }
.atlas-search-control:is(:hover, :focus-within) > .filter-selection-frame i,
.atlas-search-control:is(:hover, :focus-within) > .app-interaction-frame i { animation: paldeck-corner-breathe 980ms cubic-bezier(.45, 0, .55, 1) 160ms infinite; }

.catalog-command--atlas {
  --catalog-toolbar-height: 44px;
  --catalog-surface-radius: 2px;
  --catalog-surface-border: rgb(61 104 113 / 33%);
  --catalog-surface-background: rgb(6 20 26 / 56%);
  position: relative;
  width: min(calc(100% - 2rem), 1680px);
  margin: .35rem auto 0;
  padding: .55rem 0 .45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.catalog-page .catalog-main { width: min(calc(100% - 2rem), 1680px); }
.catalog-workspace.catalog-command--atlas,
.tree-command.catalog-command--atlas { width: 100%; padding: .55rem 0 .45rem; }
.tree-command.catalog-command--atlas { top: auto; backdrop-filter: none; }
.catalog-command--atlas > .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.catalog-command--atlas::before { display: none; }
.catalog-command--atlas::after {
  position: absolute; z-index: 0; right: 0; bottom: 0; left: 0; height: 1px;
  background: linear-gradient(90deg, rgb(80 215 224 / 55%), rgb(80 215 224 / 10%) 38%, transparent 82%);
  content: ""; pointer-events: none;
}
.catalog-command--atlas > * { position: relative; z-index: 1; }
.catalog-command--atlas > .catalog-controls--atlas { z-index: 100; }
.catalog-command--atlas .catalog-controls--atlas {
  grid-template-columns: minmax(20rem, 1fr) minmax(16.5rem, 20rem);
  align-items: stretch; gap: .65rem; padding: 0 0 1.23rem;
  border-bottom: 1px solid rgb(104 169 176 / 16%);
}
.catalog-workspace.catalog-command--atlas .catalog-controls--atlas,
.tree-command.catalog-command--atlas .catalog-controls--atlas { grid-template-columns: minmax(20rem, 1fr) minmax(16.5rem, 20rem); }
.catalog-command--atlas .catalog-search-form,
.catalog-command--atlas .atlas-search-control,
.catalog-command--atlas .atlas-search-control input,
.catalog-command--atlas .atlas-sort-control,
.catalog-command--atlas .atlas-sort-menu,
.catalog-command--atlas .atlas-sort-menu > summary,
.catalog-command--atlas .atlas-filter-trigger,
.catalog-command--atlas .atlas-reset {
  height: var(--catalog-toolbar-height); min-height: var(--catalog-toolbar-height); box-sizing: border-box;
}
.catalog-workspace.catalog-command--atlas .catalog-controls--atlas .atlas-reset,
.tree-command.catalog-command--atlas .catalog-controls--atlas .atlas-reset { height: var(--catalog-toolbar-height); min-height: var(--catalog-toolbar-height); }
.catalog-command--atlas .atlas-search-control {
  padding: 0 .78rem; gap: .65rem;
  border: 1px solid var(--catalog-surface-border);
  border-radius: var(--catalog-surface-radius);
  background: var(--catalog-surface-background);
  box-shadow: none;
  clip-path: none;
  overflow: visible;
}
.catalog-command--atlas .atlas-search-control input { color: #eef8f9; font-size: .83rem; font-weight: 580; border: 0; background: transparent; clip-path: none; }
.catalog-command--atlas .atlas-search-control input::placeholder { color: #8ea3a6; opacity: .9; }
.catalog-command--atlas .atlas-sort-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: .4rem; }
.catalog-command--atlas .atlas-sort-menu > summary,
.catalog-command--atlas .atlas-filter-trigger {
  position: relative; overflow: visible;
  border-radius: var(--catalog-surface-radius); border: 1px solid var(--catalog-surface-border);
  background: var(--catalog-surface-background);
  clip-path: none;
}
.catalog-command--atlas .atlas-reset {
  position: relative; padding: 0 .68rem; color: #a9c0c3;
  border: 1px solid var(--catalog-surface-border);
  border-radius: var(--catalog-surface-radius);
  background: var(--catalog-surface-background);
  clip-path: none;
  overflow: visible;
}
.catalog-command--atlas .atlas-reset:is(:hover, :focus-visible) { color: #e8fcfd; outline: 0; }
.catalog-command--atlas :is(
  .atlas-search-control,
  .atlas-search-control input,
  .atlas-sort-menu > summary,
  .atlas-filter-trigger,
  .atlas-reset,
  .inline-filters .atlas-compact-option
) {
  font-family: "Exo", system-ui, sans-serif;
}
.catalog-command--atlas .atlas-sort-copy { gap: .12rem; }
.catalog-command--atlas .atlas-sort-copy small {
  color: #67bdc4;
  font-size: .44rem;
  font-weight: 820;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}
.catalog-command--atlas .atlas-sort-copy > span {
  overflow: hidden;
  color: #e7f8fa;
  font-size: .7rem;
  font-weight: 740;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-command--atlas .inline-filters { margin-top: .35rem; padding: 0 0 .22rem; border: 0; background: transparent; box-shadow: none; }
.catalog-command--atlas .inline-filter-groups { align-items: start; gap: 0; }
.catalog-command--atlas .inline-filter-section { padding: .22rem .62rem .28rem; border: 0; border-left: 1px solid rgb(104 158 164 / 16%); background: transparent; box-shadow: none; }
.catalog-command--atlas .inline-filter-section:first-child { padding-left: 0; border-left: 0; }
.catalog-command--atlas .filter-section-title { min-height: 1.2rem; margin-bottom: .24rem; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.catalog-command--atlas .filter-section-title h3,
.catalog-command--atlas .inline-filter-section > label { margin: 0 0 .24rem; color: #d9e8ea; font-size: .63rem; font-weight: 760; letter-spacing: .02em; }
.catalog-command--atlas .filter-section-title span { color: #6f898d; font-size: .41rem; letter-spacing: .065em; }
.catalog-command--atlas .inline-filters .atlas-compact-option {
  position: relative; min-height: 32px; height: 32px; padding: 2px 5px;
  overflow: visible; grid-template-columns: 20px minmax(0, 1fr) 12px; gap: 1px 5px;
  border: 1px solid var(--catalog-surface-border); border-radius: var(--catalog-surface-radius);
  background: var(--catalog-surface-background); box-shadow: none;
}
.catalog-command--atlas .inline-filters .atlas-compact-option > span { font-size: 9px; font-weight: 630; }
.catalog-command--atlas .inline-filters .filter-selection-frame { position: absolute; z-index: 4; inset: -.22rem; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.catalog-command--atlas .inline-filters .filter-selection-frame i { position: absolute; width: .62rem; height: .62rem; color: color-mix(in srgb, var(--filter-accent) 78%, #071820); }
.catalog-command--atlas .inline-filters .filter-selection-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .inline-filters .filter-selection-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.catalog-command--atlas .inline-filters .filter-selection-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.catalog-command--atlas .inline-filters .filter-selection-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .inline-filters .atlas-compact-option:is(:hover, :focus-visible) .filter-selection-frame { opacity: 1; }

/* Every catalog control shares one base surface and one interaction surface. */
.catalog-command--atlas :is(
  .atlas-search-control,
  .atlas-sort-menu > summary,
  .atlas-filter-trigger,
  .atlas-reset,
  .inline-filters .atlas-compact-option
) {
  --catalog-surface-active-border: color-mix(in srgb, var(--filter-accent, #70f4ff) 68%, rgb(70 96 101 / 54%));
  --catalog-surface-active-background: linear-gradient(105deg, color-mix(in srgb, var(--filter-accent, #70f4ff) 13%, #081a22), color-mix(in srgb, var(--filter-accent, #70f4ff) 6%, #06151c) 58%, #05141b);
  --catalog-surface-active-shadow: inset 0 0 0 1px var(--catalog-surface-active-border), inset 0 0 10px color-mix(in srgb, var(--filter-accent, #70f4ff) 8%, transparent);
}

.catalog-command--atlas :is(
  .atlas-search-control,
  .atlas-sort-menu > summary,
  .atlas-filter-trigger,
  .atlas-reset,
  .inline-filters .atlas-compact-option
):not(:disabled):is(:hover, :focus-visible, :focus-within),
.catalog-command--atlas .atlas-sort-menu[open] > summary,
.catalog-command--atlas .atlas-filter-trigger[aria-expanded="true"],
.catalog-command--atlas .inline-filters .atlas-compact-option[aria-pressed="true"],
.catalog-command--atlas .inline-filters .misc-filter-menu[data-selected="true"] > .atlas-compact-option {
  border-color: var(--catalog-surface-active-border);
  background: var(--catalog-surface-active-background);
  box-shadow: var(--catalog-surface-active-shadow);
  outline: 0;
}

.catalog-command--atlas .atlas-sort-menu > summary .filter-selection-frame { position: absolute; z-index: 4; inset: -.22rem; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.catalog-command--atlas .atlas-sort-menu > summary .filter-selection-frame i { position: absolute; width: .62rem; height: .62rem; color: var(--filter-accent, color-mix(in srgb, #69d9e6 78%, #071820)); }
.catalog-command--atlas .atlas-sort-menu > summary .filter-selection-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .atlas-sort-menu > summary .filter-selection-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.catalog-command--atlas .atlas-sort-menu > summary .filter-selection-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.catalog-command--atlas .atlas-sort-menu > summary .filter-selection-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .atlas-sort-menu > summary:is(:hover, :focus-visible) .filter-selection-frame { opacity: 1; }
.catalog-command--atlas .atlas-sort-menu > summary:is(:hover, :focus-visible) .filter-selection-frame i { animation: paldeck-corner-breathe 980ms cubic-bezier(.45, 0, .55, 1) 160ms infinite; }

.catalog-command--atlas .atlas-search-control .filter-selection-frame { position: absolute; z-index: 4; inset: -.22rem; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.catalog-command--atlas .atlas-search-control .filter-selection-frame i { position: absolute; width: .62rem; height: .62rem; color: var(--filter-accent, color-mix(in srgb, #69d9e6 78%, #071820)); }
.catalog-command--atlas .atlas-search-control .filter-selection-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .atlas-search-control .filter-selection-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.catalog-command--atlas .atlas-search-control .filter-selection-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.catalog-command--atlas .atlas-search-control .filter-selection-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .atlas-search-control:is(:hover, :focus-within) .filter-selection-frame { opacity: 1; }
.catalog-command--atlas .atlas-search-control:is(:hover, :focus-within) .filter-selection-frame i { animation: paldeck-corner-breathe 980ms cubic-bezier(.45, 0, .55, 1) 160ms infinite; }

.catalog-command--atlas .atlas-reset .filter-selection-frame { position: absolute; z-index: 4; inset: -.28rem; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.catalog-command--atlas .atlas-reset .filter-selection-frame i { position: absolute; width: .68rem; height: .68rem; color: var(--filter-accent, color-mix(in srgb, #69d9e6 78%, #071820)); }
.catalog-command--atlas .atlas-reset .filter-selection-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .atlas-reset .filter-selection-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.catalog-command--atlas .atlas-reset .filter-selection-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.catalog-command--atlas .atlas-reset .filter-selection-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.catalog-command--atlas .atlas-reset:is(:hover, :focus-visible) .filter-selection-frame { opacity: 1; }
.catalog-command--atlas .atlas-reset:is(:hover, :focus-visible) .filter-selection-frame i { animation: paldeck-corner-breathe 980ms cubic-bezier(.45, 0, .55, 1) 160ms infinite; }

.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset) > .filter-selection-frame {
  position: absolute;
  z-index: 4;
  inset: -.22rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset) > .filter-selection-frame i {
  position: absolute;
  width: .62rem;
  height: .62rem;
  color: var(--filter-accent, color-mix(in srgb, #69d9e6 78%, #071820));
}
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset) > .filter-selection-frame i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset) > .filter-selection-frame i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset) > .filter-selection-frame i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset) > .filter-selection-frame i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset):is(:hover, :focus-visible, :focus-within) > .filter-selection-frame { opacity: 1; }
.catalog-command--atlas :is(.atlas-search-control, .atlas-sort-menu > summary, .atlas-filter-trigger, .atlas-reset):is(:hover, :focus-visible, :focus-within) > .filter-selection-frame i {
  animation: paldeck-corner-breathe 980ms cubic-bezier(.45, 0, .55, 1) 160ms infinite;
}
.catalog-native-source { display: none !important; }
body.catalog-controls-pending .catalog-command--atlas .catalog-select-shell > select,
body.catalog-controls-pending .catalog-command--atlas .atlas-sort-control > select {
  visibility: hidden;
}
.catalog-select-shell:has(.catalog-native-source) > .atlas-control-chevron { display: none; }
@media (max-width: 860px) {
  .catalog-command--atlas { width: min(calc(100% - 1rem), 1680px); }
  .catalog-page .catalog-main,
  .technology-page main { width: min(calc(100% - 1rem), 1680px); }
  .catalog-workspace.catalog-command--atlas,
  .tree-command.catalog-command--atlas { width: 100%; }
  .catalog-command--atlas .catalog-controls--atlas { grid-template-columns: 1fr; }
  .catalog-workspace.catalog-command--atlas .catalog-controls--atlas,
  .tree-command.catalog-command--atlas .catalog-controls--atlas { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .catalog-command--atlas .inline-filter-groups { grid-template-columns: 1fr; }
  .catalog-command--atlas .inline-filter-section {
    padding: .6rem 0 .72rem;
    border-left: 0;
    border-top: 1px solid rgb(104 158 164 / 16%);
  }
  .catalog-command--atlas .inline-filter-section:first-child { padding-top: .25rem; border-top: 0; }
  .catalog-command--atlas .inline-filters-header { min-height: 1.8rem; margin-bottom: .35rem; }
  .catalog-command--atlas .inline-filters-header h2 { font-size: .78rem; }
}
@media (max-width: 600px) {
  .catalog-command--atlas { margin-top: .15rem; padding-top: .35rem; }
  .catalog-command--atlas .catalog-controls--atlas { gap: .55rem; padding-bottom: .9rem; }
  .catalog-command--atlas .atlas-sort-control { grid-template-columns: minmax(0, 1fr) auto; height: auto; }
  .catalog-command--atlas .atlas-reset { width: auto; min-width: 7.8rem; padding-inline: .62rem; }
  .catalog-command--atlas .inline-filters { margin-top: .42rem; }
  .catalog-command--atlas .inline-filter-section { padding-inline: 0; }
  .catalog-command--atlas .inline-filters .atlas-compact-option { min-height: 2.35rem; height: auto; }
}
@media (max-width: 390px) {
  .catalog-command--atlas .atlas-sort-control { grid-template-columns: 1fr; gap: .4rem; }
  .catalog-command--atlas .atlas-reset { width: 100%; }
}

/* Technology composes the same command surface; only its option inventory differs. */
.technology-page .tree-workspace > .command-brand { display: none; }
.technology-page .tree-command .inline-filter-groups {
  grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
  align-items: end;
}
.technology-page .tree-command .inline-filter-section:nth-child(2) {
  grid-template-columns: minmax(31rem, 1.65fr) minmax(15rem, .6fr);
}
@media (max-width: 1180px) {
  .technology-page .tree-command .inline-filter-groups { grid-template-columns: 1fr; }
  .technology-page .tree-command .inline-filter-section:nth-child(2) { grid-template-columns: minmax(28rem, 1fr) minmax(13rem, .55fr); }
}
@media (max-width: 1080px) {
  .technology-page .tree-command .inline-filter-section:nth-child(2) { grid-template-columns: 1fr; }
}
