.floor-action-rail,
.floor-open-orders,
.floor-filter-heading,
.floor-stage-heading,
.floor-table-amount {
  display: none;
}

@media screen and (min-width: 960px) {
  :where(:root:not([data-compact-workspace])) .station-shell .floor-plan {
    --floor-console-rail: clamp(66px,6.2%,92px);
    --floor-console-orders: clamp(225px,26%,420px);
    --floor-console-areas: clamp(134px,15%,206px);
    --floor-console-header: clamp(46px,4.2vw,60px);
    --floor-console-pad: clamp(9px,1.25vw,18px);
    --floor-console-line: color-mix(in srgb,var(--line-strong) 78%,var(--surface));
    --floor-console-text: var(--glass-ink);
    --floor-console-rail-line: var(--glass-rule);
    display: grid;
    flex: 1;
    grid-template-columns: var(--floor-console-rail) var(--floor-console-orders) minmax(0,1fr) var(--floor-console-areas);
    grid-template-rows: var(--floor-console-header) minmax(0,1fr);
    grid-template-areas: "actions orders heading areas" "actions orders map areas";
    min-width: 0;
    min-height: 0;
    width: 100%;
    background: var(--surface);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-toolbar,
  :where(:root:not([data-compact-workspace])) .station-shell .floor-controls {
    display: contents;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-toolbar .page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-toolbar .page-actions {
    display: none;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-action-rail {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    background: var(--glass-rail);
    border-inline-end: 1px solid var(--floor-console-rail-line);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-action {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    flex: none;
    min-height: clamp(53px,4.65vw,68px);
    padding: 6px 4px;
    border: 0;
    border-bottom: 1px solid var(--floor-console-night-line);
    border-radius: 0;
    background: transparent;
    color: var(--floor-console-text);
    font-size: clamp(.67rem,.79vw,.79rem);
    font-weight: 760;
    line-height: 1.16;
    text-align: center;
    overflow-wrap: anywhere;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-action svg {
    color: var(--primary-text);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-action:hover {
    background: var(--glass-hover);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-action:focus-visible {
    outline-offset: -3px;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders {
    grid-area: orders;
    display: grid;
    grid-template-rows: var(--floor-console-header) minmax(0,1fr) auto;
    min-width: 0;
    min-height: 0;
    border-inline-end: 1px solid var(--floor-console-line);
    background: var(--surface);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > header,
  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    padding: 6px var(--floor-console-pad);
    min-width: 0;
    line-height: 1.2;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > header {
    border-bottom: 1px solid var(--floor-console-line);
    color: var(--primary-text);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > header h2 {
    font-size: clamp(.91rem,1.25vw,1.16rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > header span {
    display: grid;
    place-items: center;
    min-width: 25px;
    min-height: 25px;
    padding-inline: 5px;
    border-radius: 6px;
    background: var(--primary-soft);
    font-size: .8rem;
    font-weight: 800;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list {
    overflow: auto;
    scrollbar-width: thin;
    overscroll-behavior: contain;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list li + li {
    border-top: 1px solid var(--floor-console-line);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list button {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) minmax(0,auto);
    align-items: center;
    gap: clamp(5px,.65vw,9px);
    width: 100%;
    min-height: clamp(49px,4.5vw,65px);
    padding: 5px var(--floor-console-pad);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-align: start;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list button:is(:hover,:focus-visible) {
    background: var(--subtle);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list button:focus-visible {
    outline-offset: -3px;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-icon {
    display: grid;
    place-items: center;
    width: clamp(22px,2.3vw,31px);
    aspect-ratio: 1;
    border-radius: 7px;
    background: var(--mint-soft);
    color: var(--mint-text);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-title,
  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-values {
    display: grid;
    align-content: center;
    gap: 2px;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.18;
    font-variant-numeric: tabular-nums;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-title strong,
  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-values strong {
    font-size: clamp(.78rem,1vw,.97rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-values {
    text-align: end;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-order-list small {
    color: var(--muted);
    font-size: clamp(.65rem,.8vw,.78rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > footer {
    border-top: 1px solid var(--floor-console-line);
    min-height: clamp(54px,5vw,76px);
    font-size: clamp(.75rem,1vw,.93rem);
    font-weight: 720;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-open-orders > footer strong {
    color: var(--primary-text);
    font-size: clamp(1rem,1.6vw,1.4rem);
    overflow-wrap: anywhere;
    text-align: end;
    font-variant-numeric: tabular-nums;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-stage-heading {
    grid-area: heading;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding-inline: var(--floor-console-pad) min(45%,14rem);
    border-bottom: 1px solid var(--floor-console-line);
    background: color-mix(in srgb,var(--primary-soft) 46%,var(--bg));
    color: var(--muted);
    font-size: clamp(.73rem,.95vw,.93rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-stage-heading strong {
    overflow: hidden;
    color: var(--ink);
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-stage-heading > span {
    flex: none;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-summary {
    grid-area: heading;
    align-self: center;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 4px;
    z-index: 1;
    margin-inline-end: var(--floor-console-pad);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-summary .tag {
    min-width: 0;
    gap: 4px;
    padding-inline: 5px;
    font-size: .66rem;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-count-short {
    display: inline;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-count-full {
    display: none;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-areas {
    grid-area: map;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: var(--floor-console-pad);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    background: color-mix(in srgb,var(--primary-soft) 46%,var(--bg));
    container: station-map / inline-size;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-area {
    margin-bottom: var(--floor-console-pad);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-area h2 {
    margin: 0 0 7px;
    color: var(--secondary);
    font-size: clamp(.78rem,.96vw,.98rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: clamp(7px,.85vw,13px);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .table-card {
    align-content: center;
    justify-items: center;
    gap: 5px;
    min-height: clamp(95px,8.5vw,133px);
    padding: 8px 5px;
    border: 1px solid #edf9ff36;
    border-radius: 11px;
    box-shadow: none;
    text-align: center;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .table-card:focus-within {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .table-hit {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 0;
    width: 100%;
    text-align: center;
    font-size: clamp(.81rem,1.17vw,1.08rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .table-hit > .pill-icon {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid :is(.table-details,.floor-table-amount > span) {
    color: #fff;
    font-size: clamp(.65rem,.77vw,.79rem);
    line-height: 1.2;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .floor-table-amount {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(.74rem,.86vw,.9rem);
    line-height: 1.16;
    font-variant-numeric: tabular-nums;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .table-card:has(.floor-table-amount) .table-details {
    display: none;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-grid .table-call-note {
    z-index: 1;
    width: 100%;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-controls > .tabs {
    grid-area: areas;
    display: flex;
    align-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border-inline-start: 1px solid var(--floor-console-rail-line);
    background: var(--glass-rail);
    color: var(--floor-console-text);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-filter-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
    min-height: var(--floor-console-header);
    margin: 0;
    padding: 5px var(--floor-console-pad);
    border-bottom: 1px solid var(--floor-console-rail-line);
    font-size: clamp(.79rem,1.03vw,.98rem);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-filter-heading svg {
    color: var(--primary-text);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-controls .tab {
    flex: none;
    min-height: clamp(45px,4.2vw,55px);
    padding: 6px clamp(8px,1.1vw,16px);
    border: 0;
    border-inline-start: 3px solid transparent;
    border-bottom: 1px solid var(--floor-console-rail-line);
    border-radius: 0;
    background: transparent;
    color: var(--floor-console-text);
    font-size: clamp(.73rem,.92vw,.9rem);
    line-height: 1.25;
    text-align: start;
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-controls .tab:hover {
    background: var(--glass-hover);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-controls .tab.current {
    border-inline-start-color: var(--glass-active-line);
    background: var(--glass-active);
    color: var(--glass-active-ink);
  }

  :where(:root:not([data-compact-workspace])) .station-shell .floor-controls .tab:focus-visible {
    outline-offset: -3px;
  }

  @container station-map (max-width: 365px) {
    .station-shell .floor-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  }

  @container station-map (min-width: 940px) {
    .station-shell .floor-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  }
}
