* {
  box-sizing: border-box;
}
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #282828;
  font-size: 12px;
  --blue: #4859ee;
  --soft: #ececec;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  min-height: 32px;
}
button:hover {
  background: #e7e7e7;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.3;
  cursor: default;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon {
  width: 32px;
  padding: 6px;
}
.primary {
  background: var(--blue) !important;
  color: white;
}
.pill {
  border-radius: 22px;
  padding: 0 16px;
  font-weight: 600;
  background: #ebebeb;
}
.muted {
  color: #777;
}
header {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  background: white;
  position: relative;
  z-index: 20;
}
.logo {
  background: #09273b;
  color: #79b6f4;
  font-size: 22px;
  font-weight: bold;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin: 0 4px;
}
.header-spacer {
  flex: 1;
}
#document-name {
  border: 0;
  background: transparent;
  width: 158px;
  font-size: 12px;
  padding: 5px 0;
}
#save-status {
  display: flex;
  margin-left: 4px;
}
.header-divider {
  height: 24px;
  border-left: 1px solid #ddd;
  margin: 0 3px;
}
.avatar {
  border-radius: 50%;
  background: #a94120;
  color: white;
  width: 25px;
  height: 25px;
  min-height: 25px;
  margin-left: 4px;
}
#zoom-button {
  padding: 0 8px;
}
#workspace {
  height: calc(100dvh - 56px);
  background: #e9e9e9;
  position: relative;
  overflow: hidden;
}
#canvas-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 480px;
  box-shadow: 0 0 0 1px #00000003;
  background: repeating-conic-gradient(#ddd 0 25%, white 0 50%) 0/16px 16px;
  touch-action: none;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
#selection {
  position: absolute;
  border: 1px dashed white;
  outline: 1px dashed #222;
  pointer-events: none;
  display: none;
}
.panel {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 9px #00000015;
  z-index: 5;
}
#tools {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 48px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 8px 0;
  gap: 8px;
  background: white;
  border-radius: 9px;
  box-shadow: 0 2px 7px #0002;
  z-index: 7;
}
#tools button {
  width: 32px;
  height: 32px;
  padding: 5px;
}
#tools button.active {
  background: var(--blue);
  color: #fff;
}
#tools hr {
  width: 24px;
  border: 0;
  border-top: 1px solid #ddd;
  margin: 0;
}
#tools .color {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 1px solid #444;
  min-height: 24px;
  padding: 0;
  margin: 1px 0;
}
#foreground {
  background: black;
}
#background {
  background: white;
}
#tool-panel {
  position: absolute;
  top: 4px;
  left: 56px;
  width: 258px;
  max-height: calc(100% - 12px);
  overflow: auto;
  padding: 12px 8px 10px;
}
h2 {
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 33px;
  margin-bottom: 8px;
  padding: 0 0 0 0;
}
.panel-head .icon {
  width: 24px;
}
.panel-head svg {
  width: 17px;
}
.tool-row {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 7px 10px;
  min-height: 40px;
  border-radius: 7px;
}
.tool-row.active {
  background: var(--blue);
  color: white;
  min-height: 32px;
}
.tool-row small {
  margin-left: auto;
  color: #888;
}
.options {
  padding: 12px 8px;
  background: #f8f8f8;
  border-radius: 6px;
  margin-bottom: 4px;
}
label.caption,
.caption {
  display: block;
  font-size: 11px;
  margin: 4px 0 9px;
}
select,
.field {
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: #eaeaea;
  padding: 9px 10px;
  height: 33px;
}
input.field {
  background: #fff;
  border: 1px solid #ddd;
}
.align-buttons {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}
.align-buttons button {
  width: 30px;
}
.align-buttons svg {
  width: 18px;
}
details {
  margin-top: 8px;
}
summary {
  cursor: pointer;
  padding: 10px 0;
}
.range-line {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}
.range-line input[type="number"] {
  width: 100%;
  height: 31px;
  border: 1px solid #d4d4d4;
  box-shadow: 0 0 0 2px #eee;
  border-radius: 7px;
  padding: 6px 9px;
  background: white;
}
input[type="range"] {
  width: 100%;
  accent-color: #555;
  height: 4px;
  cursor: pointer;
}
hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 8px 0;
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0;
}
.preset-grid button {
  padding: 0;
  height: 48px;
  overflow: hidden;
}
.preset-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.preset-grid button:hover {
  outline: 2px solid var(--blue);
}
#layers-panel {
  position: absolute;
  right: 56px;
  top: 4px;
  width: 350px;
  min-height: 441px;
  padding: 12px 16px;
}
.handle {
  position: absolute;
  top: 8px;
  left: calc(50% - 14px);
  height: 4px;
  border-radius: 2px;
  width: 28px;
  background: #b4b4b4;
}
#layers-panel .panel-head {
  margin-bottom: 0;
}
#layers-panel .panel-head h2 {
  gap: 12px;
}
.layer-toolbar {
  display: flex;
  justify-content: space-between;
  margin: 4px -8px 14px;
}
.layer-toolbar button {
  width: 30px;
}
.layer-toolbar svg {
  width: 18px;
}
.layer-settings {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 8px;
  margin-bottom: 16px;
}
.layer-settings input {
  width: 100%;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 7px;
  height: 33px;
  padding: 6px;
}
.layer-list {
  border-top: 1px solid #d5d5d5;
  padding-top: 17px;
  margin: 0 -16px;
}
.layer {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  cursor: pointer;
}
.layer.selected {
  background: #e9effc;
}
.layer .eye {
  width: 32px;
  flex-shrink: 0;
}
.layer .eye svg {
  width: 17px;
}
.thumb {
  height: 54px;
  width: 54px;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: 0 0 0 1px #ddd;
  border-radius: 7px;
  background: repeating-conic-gradient(#ddd 0 25%, white 0 50%) 0/14px 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.selected .thumb {
  outline: 2px solid #5966ed;
  outline-offset: -1px;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.adjust {
  background: #e8e8e8;
  color: var(--blue);
}
.layer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.mask {
  width: 54px;
  height: 54px;
  background: white;
  border: 4px solid #eee;
  border-radius: 6px;
  flex-shrink: 0;
}
.layer .properties {
  width: 24px;
}
#right-tools {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 48px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  background: white;
  border-radius: 9px;
  box-shadow: 0 2px 7px #0002;
  z-index: 7;
}
#right-tools button.active {
  background: #303030;
  color: white;
}
#context-bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  background: white;
  box-shadow: 0 2px 10px #0002;
  border-radius: 10px;
  z-index: 4;
}
#context-bar:before {
  content: "";
  width: 4px;
  height: 28px;
  background: #ccc;
  border-radius: 4px;
  margin-right: 7px;
}
#context-bar button {
  background: #eee;
  padding: 6px 10px;
}
#context-bar svg {
  width: 18px;
}
#popover {
  position: absolute;
  top: 50px;
  padding: 8px;
  z-index: 40;
  min-width: 190px;
}
#popover button {
  width: 100%;
  justify-content: flex-start;
  padding: 8px 12px;
}
#popover .shortcut {
  margin-left: auto;
  font-size: 11px;
  color: #999;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 24px;
  width: 420px;
  box-shadow: 0 15px 70px #0003;
}
dialog::backdrop {
  background: #0004;
}
dialog h2 {
  font-size: 19px;
  margin-bottom: 20px;
}
dialog p {
  line-height: 1.7;
  color: #666;
}
dialog .actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
dialog .actions button {
  padding: 8px 18px;
}
dialog label {
  display: block;
  margin-top: 14px;
}
dialog textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
}
#toast {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: #282828;
  color: white;
  border-radius: 8px;
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 60;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%);
}
#drop-zone {
  display: none;
  position: absolute;
  inset: 16px;
  background: #ffffffdd;
  border: 2px dashed var(--blue);
  border-radius: 15px;
  z-index: 50;
  place-items: center;
  font-size: 24px;
}
.help-note {
  font-size: 12px;
  color: #707070;
  line-height: 1.6;
  padding: 5px 8px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.color-field {
  width: 100%;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
}
.history-row {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
}
.history-row:last-child {
  background: #e9effc;
  border-radius: 5px;
}
.badge {
  background: #eee;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
  color: #777;
}
@media (max-width: 1000px) {
  #layers-panel {
    width: 280px;
  }
  .mask {
    display: none;
  }
  #browser-app {
    display: none;
  }
}
@media (max-width: 760px) {
  #layers-panel {
    width: 240px;
    right: 52px;
    top: 4px;
  }
  #tool-panel {
    width: 220px;
  }
  #document-name {
    width: 125px;
  }
  #help,
  #apps,
  .header-divider,
  #save-status {
    display: none;
  }
  #context-bar {
    bottom: 14px;
  }
  header {
    padding: 0 5px;
  }
  #tools {
    gap: 4px;
  }
  #canvas-wrap {
    max-width: none;
  }
  #layers-panel .layer-settings {
    grid-template-columns: 1fr 66px;
  }
}
@media (max-height: 730px) {
  #tools {
    gap: 2px;
  }
  #tools button {
    height: 29px;
    min-height: 29px;
  }
  #context-bar {
    bottom: 12px;
  }
}

/* Mock cloud service workflows */
#cloud-dialog {
  width: min(620px, calc(100vw - 24px));
  max-height: 90dvh;
  padding: 24px;
  overflow: auto;
}
#cloud-dialog h2 {
  margin: 0;
}
#cloud-dialog h3 {
  margin: 18px 0 10px;
}
.cloud-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cloud-heading button {
  font-size: 24px;
}
.cloud-banner {
  background: #eef0ff;
  color: #4651aa;
  border-radius: 6px;
  padding: 9px 12px;
  margin: 12px 0;
  font-size: 11px;
}
.cloud-note {
  line-height: 1.6;
  color: #656565;
  font-size: 12px;
}
.cloud-button {
  border: 1px solid #ddd;
  border-radius: 7px;
  padding: 7px 12px;
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  background: #f8f8f8;
  margin: 4px 5px 4px 0;
  font-size: 12px;
}
.cloud-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.cloud-card {
  border: 1px solid #e5e5e5;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.cloud-card > span {
  display: block;
  font-size: 11px;
  color: #777;
  margin: 7px 0;
}
.cloud-card p {
  white-space: pre-wrap;
}
.cloud-card.resolved {
  opacity: 0.65;
}
.cloud-footer {
  border-top: 1px solid #eee;
  margin-top: 16px;
  padding-top: 10px;
}
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cloud-grid img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #eee;
}
.cloud-grid b {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.cloud-preview {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: repeating-conic-gradient(#ddd 0 25%, white 0 50%) 0/16px 16px;
  margin-top: 15px;
}
#cloud-status {
  font-size: 12px;
  color: #425ec0;
  min-height: 18px;
}
#cloud-status.error {
  color: #b33333;
}
#cloud-dialog .cloud-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
#cloud-dialog .field {
  margin-top: 5px;
}
#cloud-dialog[aria-busy="true"] {
  cursor: progress;
}
#save-status {
  cursor: pointer;
}

/* Size & position: editable layer bounds and transactional transforms. */
#transform-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
#transform-overlay[hidden],
#hover-bounds[hidden] {
  display: none;
}
.sp-outline,
.sp-straighten {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.sp-outline polygon {
  fill: none;
  stroke: #667eef;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.sp-straighten line {
  stroke: #ffcb41;
  stroke-width: 2;
}
.sp-handle {
  position: absolute;
  min-height: 0;
  height: 9px;
  width: 9px;
  padding: 0;
  border: 1px solid #637bea;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 3;
}
.sp-handle:hover {
  background: #667eef;
}
.sp-handle-0,
.sp-handle-4 {
  cursor: nwse-resize;
}
.sp-handle-2,
.sp-handle-6 {
  cursor: nesw-resize;
}
.sp-handle-1,
.sp-handle-5 {
  cursor: ns-resize;
}
.sp-handle-3,
.sp-handle-7 {
  cursor: ew-resize;
}
.sp-rotate {
  width: 12px;
  height: 12px;
  cursor: grab;
  background: #eef0ff;
}
.sp-crop-grid {
  position: absolute;
  border: 1px solid white;
  background:
    linear-gradient(
      to right,
      transparent 33%,
      #ffffffa0 33%,
      #ffffffa0 calc(33% + 1px),
      transparent calc(33% + 1px),
      transparent 66%,
      #ffffffa0 66%,
      #ffffffa0 calc(66% + 1px),
      transparent calc(66% + 1px)
    ),
    linear-gradient(
      to bottom,
      transparent 33%,
      #ffffffa0 33%,
      #ffffffa0 calc(33% + 1px),
      transparent calc(33% + 1px),
      transparent 66%,
      #ffffffa0 66%,
      #ffffffa0 calc(66% + 1px),
      transparent calc(66% + 1px)
    );
  box-shadow: 0 0 0 9999px #0002;
  pointer-events: none;
}
#hover-bounds {
  position: absolute;
  border: 1px solid #7a8ced;
  pointer-events: none;
  z-index: 1;
}
.sp-field {
  display: grid;
  grid-template-columns: 66px 80px 24px;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  font-size: 11px;
}
.sp-field input {
  width: 80px;
  border: 1px solid #d5d5d5;
  box-shadow: 0 0 0 1px #eee;
  border-radius: 7px;
  padding: 7px 9px;
  background: white;
}
.sp-field select {
  grid-column: 2/4;
  width: 145px;
}
.sp-dimensions {
  position: relative;
}
.sp-ratio {
  position: absolute;
  left: 163px;
  top: 15px;
}
.sp-ratio[aria-pressed="true"] {
  background: #e4e7f7;
}
.sp-modes {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}
.sp-modes button {
  width: 32px;
  height: 32px;
}
.sp-modes .active {
  background: #333;
  color: white;
}
.sp-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 6px;
  font-size: 12px;
}
.sp-switch input {
  appearance: none;
  width: 26px;
  height: 14px;
  border-radius: 10px;
  background: #bbb;
  position: relative;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.sp-switch input:checked {
  background: #333;
}
.sp-switch input:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: 0.1s;
}
.sp-switch input:checked:after {
  left: 14px;
}
.sp-spacing {
  display: flex;
  gap: 12px;
  margin: 6px 0 14px;
}
.sp-preset {
  display: flex;
  width: 100%;
  justify-content: space-between;
  text-align: left;
  padding: 5px 9px;
}
.sp-preset small {
  font-size: 10px;
  color: #777;
}
.layer.selected {
  box-shadow: inset 2px 0 #6074e8;
}

/* Application menu and view preferences */
#main-menu {
  position: fixed;
  left: 12px;
  top: 49px;
  z-index: 100;
  min-width: 260px;
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 9px;
  padding: 7px;
  box-shadow: 0 8px 30px #0003;
  font-size: 13px;
}
#main-menu[hidden],
#main-menu [hidden] {
  display: none;
}
.menu-entry {
  position: relative;
}
#main-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 5px 9px;
  text-align: left;
  white-space: nowrap;
  color: inherit;
  font-size: 13px;
}
#main-menu button:hover,
#main-menu button:focus-visible,
#main-menu button[aria-expanded="true"] {
  background: #eee;
  outline: none;
}
#main-menu button:disabled {
  opacity: 0.35;
  cursor: default;
}
#main-menu kbd {
  margin-left: auto;
  padding-left: 24px;
  color: #777;
  font: 11px inherit;
}
.menu-check {
  width: 12px;
  display: inline-block;
}
#main-menu [role="separator"] {
  height: 1px;
  background: #ddd;
  margin: 5px;
}
#main-menu .submenu {
  position: absolute;
  left: calc(100% + 1px);
  top: 0;
  min-width: 265px;
  padding: 7px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 25px #0002;
}
#view-overlay {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 3;
}
.document-grid,
.quick-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.document-grid {
  background-image:
    linear-gradient(#8885 1px, transparent 1px),
    linear-gradient(90deg, #8885 1px, transparent 1px);
}
.document-ruler {
  position: absolute;
  background: #f6f6f6;
  color: #444;
  font-size: 9px;
  pointer-events: auto;
  overflow: hidden;
}
.ruler-x {
  left: 0;
  top: -20px;
  height: 20px;
  width: 100%;
}
.ruler-y {
  left: -20px;
  top: 0;
  width: 20px;
  height: 100%;
}
.document-ruler span {
  position: absolute;
  border-left: 1px solid #aaa;
  padding-left: 2px;
}
.ruler-y span {
  writing-mode: vertical-lr;
  border-top: 1px solid #aaa;
  border-left: 0;
}
.document-guide {
  position: absolute;
  pointer-events: auto;
  cursor: crosshair;
}
.document-guide.vertical {
  top: 0;
  width: 1px;
  height: 100%;
}
.document-guide.horizontal {
  left: 0;
  height: 1px;
  width: 100%;
}
.settings-tabs,
.home-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.settings-tabs .active {
  background: #5351e5;
  color: white;
}
#mm-settings {
  min-height: 180px;
}
#dialog input[type="checkbox"] {
  width: auto;
}
.large-thumbnails .thumb {
  width: 54px;
  height: 54px;
}
.large-thumbnails .layer {
  min-height: 65px;
}
body[data-thumb-bounds="layer"] .thumb img {
  object-fit: cover;
}
.toolbar-labels #tools {
  width: 110px;
}
.toolbar-labels #tools button[data-section]::after {
  content: attr(title);
  font-size: 10px;
}
.toolbar-labels #tool-panel {
  left: 124px;
}
body[data-interface-size="Small"] #tools button {
  height: 30px;
}
body[data-interface-size="Large"] #tools button {
  height: 46px;
}
body[data-theme="dark"] {
  background: #242424;
  color: #eee;
}
body[data-theme="dark"] header,
body[data-theme="dark"] .panel,
body[data-theme="dark"] #tools,
body[data-theme="dark"] #layers-panel,
body[data-theme="dark"] #tool-panel,
body[data-theme="dark"] #main-menu,
body[data-theme="dark"] #main-menu .submenu,
body[data-theme="dark"] dialog {
  background: #303030;
  color: #eee;
}
body[data-theme="dark"] #workspace {
  background: #202020;
}
body[data-theme="dark"] #main-menu button:hover {
  background: #555;
}
@media (max-height: 760px) {
  #main-menu {
    top: 45px;
  }
  #main-menu button {
    min-height: 24px;
    padding-top: 3px;
    padding-bottom: 3px;
  }
}
