:root {
  font-family: "Inter", Arial, sans-serif;
  color: #000;
  background: #fff;
  font-synthesis: none;
  --page-inline: clamp(24px, 4.93vw, 71px);
  --column-gap: clamp(18px, 3.82vw, 55px);
}

* { box-sizing: border-box; }
html, body { width: 100%; min-width: 320px; min-height: 100%; margin: 0; }
body { overflow-x: hidden; }
button, a, input { font: inherit; color: inherit; }
button { border: 0; }
[hidden] { display: none !important; }

#global-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  border-bottom: 1px solid #dadada;
  background: #fff;
}

.header-left, .header-right { display: flex; align-items: center; }
#global-header-logo { width: 34px; height: 32px; display: inline-flex; align-items: center; text-decoration: none; }
#global-header-logo img { width: 32px; height: 32px; object-fit: contain; }
.nav-trigger { height: 32px; padding: 0; background: transparent; font-size: 16px; font-weight: 500; cursor: pointer; }
#global-nav-explore { margin-left: 43px; }
#global-nav-tools, #global-nav-search { margin-left: 46px; }
.header-right { gap: 14px; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#global-account-button { min-width: 111px; height: 35px; padding: 0 14px; border-radius: 6px; color: #fff; background: #588bff; font-size: 14px; font-weight: 500; cursor: pointer; }

#nav-placeholder {
  position: absolute;
  z-index: 60;
  top: 59px;
  left: 165px;
  padding: 7px 11px;
  border: 1px solid #dadada;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

.workspace-local-header {
  position: relative;
  height: 86px;
  display: flex;
  align-items: flex-start;
  padding-top: 18px;
}

#workspace-menu-back {
  position: absolute;
  top: 16px;
  left: 11px;
  width: 55px;
  height: 30px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
#workspace-menu-back img { width: 55px; height: 17px; display: block; object-fit: contain; }

#workspace-menu-title {
  min-width: 11px;
  max-width: min(55vw, 720px);
  height: 29px;
  margin: 0 0 0 calc(var(--page-inline) - 1px);
  overflow: hidden;
  font-size: clamp(20px, 1.67vw, 24px);
  font-weight: 600;
  line-height: 29px;
  text-overflow: ellipsis;
  white-space: nowrap;
  outline: none;
}

#workspace-menu-title[contenteditable="true"] { font-weight: 500; overflow: visible; text-overflow: clip; }

#workspace-menu-helper {
  position: absolute;
  top: 49px;
  left: var(--page-inline);
  margin: 0;
  color: #989898;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

#workspace-structure-controls {
  position: absolute;
  top: 26px;
  right: var(--page-inline);
  display: flex;
  align-items: center;
  gap: 9px;
}

#workspace-structure-mode-label, #workspace-structure-save {
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
#workspace-structure-mode-label { width: 116px; border-radius: 6px; background: #1e1e1e; }
#workspace-structure-save { width: 77px; padding: 0; border-radius: 6px; background: #588bff; cursor: pointer; }

#workspace-menu-columns {
  width: calc(100% - var(--page-inline) - var(--page-inline));
  min-height: 691px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 396px));
  justify-content: start;
  column-gap: var(--column-gap);
  margin: 0 var(--page-inline);
}

.workspace-menu-column {
  position: relative;
  width: 100%;
  height: 691px;
  padding: 15px 11px;
  background: #fff;
  transition: background-color 160ms ease, transform 160ms ease;
}

body.is-structure-mode .workspace-menu-column { background: #f4f4f4; }
.workspace-menu-column.is-column-drop { background: #c0ffbf !important; }

.column-handle {
  position: absolute;
  z-index: 3;
  top: -22px;
  left: 0;
  width: 28px;
  height: 14px;
  padding: 0;
  background: transparent;
  color: #747474;
  font-size: 17px;
  line-height: 10px;
  letter-spacing: 2px;
  cursor: grab;
}

.inline-rename-input {
  width: min(100%, 520px);
  height: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

#workspace-menu-title:focus-visible,
.column-handle:focus-visible,
.workspace-group-title:focus-visible,
.workspace-page:focus-visible,
.add-item:focus-visible,
#workspace-menu-title.is-renaming,
.workspace-group-title.is-renaming,
.workspace-page.is-renaming {
  border-radius: 6px;
  background: #cdcdcdcd;
  outline: none;
}

.column-content { display: flex; flex-direction: column; align-items: flex-start; }
.workspace-page {
  min-height: 18px;
  padding: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 500;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
}
.workspace-page + .workspace-page { margin-top: 12px; }

.workspace-section-divider {
  width: 100%;
  height: 1px;
  flex: 0 0 1px;
  margin: 18px 0;
  background: #cdcdcdcd;
}

.workspace-group { width: 100%; margin-top: 28px; }
.workspace-group:first-child { margin-top: 0; }
.workspace-group-title {
  min-height: 24px;
  margin: 0;
  color: #747474;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  outline: none;
}
.workspace-group-pages { display: flex; flex-direction: column; align-items: flex-start; margin-top: 21px; }

.add-item {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 12px;
  padding: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  cursor: pointer;
}
.workspace-group-pages:empty + .add-item { margin-top: 21px; }

.workspace-page[draggable="true"], .workspace-group[draggable="true"] { cursor: grab; }
#workspace-dragged-item { width: 125px; min-height: 30px; display: grid; place-items: center; border-radius: 6px; background: #faf6b1; }
#workspace-drop-target { min-height: 30px; border-radius: 6px; background: #c0ffbf; }

.workspace-context-menu {
  position: fixed;
  z-index: 100;
  width: 184px;
  min-height: 0;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 18px;
  background: #1e1e1e;
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}

.context-option {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font: 500 14px/20px "Inter", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.context-option + .context-option { margin-top: 2px; }
.context-option:hover, .context-option:focus-visible {
  border-radius: 6px;
  color: #fff;
  background: rgb(255 255 255 / 8%);
  outline: none;
}

#workspace-feedback {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  padding: 10px 14px;
  border: 1px solid #dadada;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

@media (max-width: 1400px) {
  #workspace-menu-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  #global-header { padding: 0 20px; }
  #global-nav-explore { margin-left: 24px; }
  #global-nav-tools, #global-nav-search { margin-left: 20px; }
  .nav-trigger { font-size: 14px; }
  #global-account-button { min-width: 44px; width: 44px; padding: 0; font-size: 0; }
  #global-account-button::before { content: "Conta"; font-size: 12px; }
  #workspace-menu-columns {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(300px, 78vw));
    justify-content: start;
  }
}

@media (max-width: 520px) {
  #global-nav-tools, #global-nav-search { display: none; }
  #workspace-structure-mode-label { display: none; }
  #workspace-menu-helper { right: 18px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-menu-column { transition: none; }
}
