:root {
  font-family: "Inter", Arial, sans-serif;
  color: #000;
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

button, a { font: inherit; }
button { color: inherit; }

#global-header {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  border-bottom: 2px 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;
  border: 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;
  border: 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: 0;
  border-radius: 6px;
  color: #fff;
  background: #588bff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

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

.welcome {
  height: 83px;
  margin: 139px 0 0 35px;
}

#global-home-greeting, #global-home-help-title {
  width: min(519px, calc(100vw - 70px));
  height: 39px;
  margin: 0;
  font-size: clamp(24px, 2.22vw, 32px);
  font-weight: 500;
  line-height: 39px;
}

#global-home-help-title { margin-top: 5px; }

.destinations {
  position: relative;
  width: 100%;
  height: calc(100vh - 409px);
  min-height: 474px;
  display: flex;
  margin-top: 127px;
}

#global-company-card {
  position: relative;
  width: 49.315%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 50px 0 0;
  background: #79d8ff;
}

#global-company-card-title, #global-personal-card-title {
  position: absolute;
  top: 48px;
  left: 35px;
  width: 155px;
  height: 44px;
  margin: 0;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 44px;
  text-align: left;
}

#global-company-card-title { color: #1e90bf; }

#global-workspace-card {
  position: absolute;
  z-index: 2;
  top: 131px;
  left: 0;
  width: 100%;
  height: auto;
  bottom: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0 50px 0 0;
  background: #bcecff;
  text-align: left;
  cursor: pointer;
  transition: top 240ms ease, height 240ms ease, background-color 240ms ease;
}

#global-workspace-card-title {
  position: absolute;
  top: 32px;
  left: 35px;
  display: block;
  color: #1e90bf;
  font-size: clamp(24px, 2.22vw, 32px);
  font-weight: 500;
  line-height: 39px;
  transition: top 240ms ease;
}

#global-personal-card {
  position: relative;
  width: 50.685%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0 50px 0 0;
  background: #ffd1cc;
  cursor: pointer;
}

#global-personal-card-title { color: #ff503c; }

#global-company-card.is-expanded #global-workspace-card {
  top: 0;
  height: auto;
  bottom: 0;
  background: #bcecff;
}

#global-company-card.is-expanded #global-workspace-card-title {
  top: 40px;
}

#global-workspace-menu-list {
  position: absolute;
  z-index: 3;
  top: 123px;
  left: 35px;
  width: 200px;
}

#global-workspace-menu-list button {
  display: block;
  width: 170px;
  height: 29px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
  text-align: left;
  cursor: pointer;
}

#global-workspace-menu-list #global-workspace-add-menu {
  margin-top: 2px;
  font-weight: 700;
}

.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;
}

.home-workspace-rename-input {
  width: min(300px, calc(100vw - 80px));
  height: 39px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  outline: 0;
  background: #cdcdcdcd;
  color: #1e90bf;
  font: inherit;
  line-height: inherit;
}

#home-workspace-edit-controls {
  position: absolute;
  z-index: 5;
  top: 42px;
  right: 35px;
  display: flex;
  align-items: center;
  gap: 9px;
}

#home-workspace-edit-label,
#home-workspace-edit-save {
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

#home-workspace-edit-label { width: 116px; background: #1e1e1e; }
#home-workspace-edit-save { width: 77px; padding: 0; background: #588bff; cursor: pointer; }

#global-workspace-menu-list .workspace-menu-item[draggable="true"] { cursor: grab; }
#global-workspace-menu-list .workspace-menu-item.is-dragging { opacity: 0.45; }
#global-workspace-menu-list .workspace-menu-item.is-menu-drop,
#global-workspace-menu-list .workspace-menu-item[draggable="true"]:focus-visible {
  border-radius: 6px;
  background: #cdcdcdcd;
  outline: none;
}

.home-menu-rename-input {
  width: 170px;
  height: 29px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  outline: 0;
  background: #cdcdcdcd;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

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

button:focus-visible, a:focus-visible {
  outline: 3px solid #1e90bf;
  outline-offset: 3px;
}

[hidden] { display: none !important; }

@media (max-width: 760px) {
  #global-header {
    height: 60px;
    padding: 0 20px;
  }

  #global-header-logo img { width: 28px; height: 28px; }
  #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; }
  .welcome { height: auto; margin: 72px 20px 0; }
  #global-home-greeting, #global-home-help-title {
    width: 100%;
    height: auto;
    line-height: 1.25;
  }
  #global-home-help-title { margin-top: 8px; }
  .destinations {
    height: auto;
    min-height: 0;
    display: block;
    margin-top: 72px;
  }
  #global-company-card, #global-personal-card {
    width: 100%;
    height: 430px;
  }
  #global-workspace-card { height: 307px; }
  #global-company-card.is-expanded #global-workspace-card { height: auto; }
}

@media (max-width: 520px) {
  #global-nav-tools, #global-nav-search { display: none; }
  #global-company-card-title, #global-personal-card-title { left: 24px; }
  #global-workspace-card-title { left: 24px; }
  #global-workspace-menu-list { left: 24px; }
  #home-workspace-edit-controls { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  #global-workspace-card,
  #global-workspace-card-title { transition: none; }
}
