#page-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

#annulus-section {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 600px;
  margin-top: 2rem;
}

#table-section {
  position: relative;
  padding: 1rem 1rem 1rem 4em;
  flex: 1;
  padding: 1rem;
  overflow: auto;
  font-family: sans-serif;
  border-left: 1.618px solid #000;
  padding-left: 4em;
}

#table-cutting-border {
  position: absolute;
  left: 0;
  right: 0;
  top: 18rem;
  border-top: 1.618px solid #000;
}

#config-table {
  width: 80%;
  border-collapse: collapse;
}

#config-table th,
#config-table td {
  border: 1px solid #999;
  padding: 0.3rem;
  text-align: left;
}

#config-table td {
  min-width: 80px;
}

#table-controls-title {
  margin-top: 4em;
}

#table-controls {
  display: inline-grid;
  width: max-content;
  grid-template-columns: max-content max-content max-content max-content max-content max-content max-content;
  grid-template-areas:
    "del-row del-col add-col spacer1 set-load-btn spacer2 num-btn"
    "add-row apply-table apply-table spacer1 set-load-btn spacer2 combo-btn";
  column-gap: 0.2em;
  row-gap: 0.2em;
  justify-items: start;
}

#table-controls::before {
  content: "";
  grid-area: spacer1;
  display: block;
  padding: 0.4em;
  aspect-ratio: 1 / 1;
  visibility: hidden;
}

#table-controls::after {
  content: "";
  grid-area: spacer2;
  display: block;
  padding: 0.4em;
  aspect-ratio: 1 / 1;
  visibility: hidden;
}

#table-controls button {
  font-family: 'IBM Plex Mono', monospace;
  font-size: small;
  margin: 0;
  padding: 0.4em 0.7em;
  line-height: 1;
}

#del-row {
  grid-area: del-row;
}

#del-col {
  grid-area: del-col;
}

#add-col {
  grid-area: add-col;
}

#add-row {
  grid-area: add-row;
}

#apply-table {
  grid-area: apply-table;
  justify-self: start;
  width: 15em;
}

#show-numbers {
  grid-area: num-btn;
}

#copy-combo {
  grid-area: combo-btn;
}

#show-numbers,
#copy-combo {
  width: 18em;
  box-sizing: border-box;
}

#del-row,
#add-row {
  width: 6em;
  box-sizing: border-box;
}

#del-col,
#add-col {
  width: 7.34em;
  box-sizing: border-box;
}

#set-load-btn {
  grid-area: set-load-btn;
  align-self: stretch;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0.4em;
}

#show-help {
  width: 6em;
  box-sizing: border-box;
}