/* All Studio rules are scoped so the legacy console stays unchanged. */
.ls-root {
  min-height: 100vh;
  background: #f1f2ec;
  color: #222822;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
.ls-root * {
  box-sizing: border-box;
}
/* Neutralize the console's global heading and footer rules inside Studio. */
.ls-root h1,
.ls-root h2,
.ls-root h3 {
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.15;
}
.ls-root p {
  line-height: 1.5;
  margin: 1em 0;
}
.ls-root a {
  color: inherit;
  text-decoration: none;
}
.ls-root button {
  font: inherit;
  cursor: pointer;
}
.ls-root button:focus-visible,
.ls-root a:focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
.ls-root .ls-experience-card:focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
.ls-notice:not(:empty) {
  padding: 12px 4vw;
  color: #7b281e;
}
.ls-header {
  padding: 22px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--ls-border);
}
.ls-brand {
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -1px;
}
.ls-brand span {
  font-size: 12px;
  color: #87917d;
  font-weight: 500;
  letter-spacing: 1px;
}
.ls-badge {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 20px;
  background: #e3e9d7;
  white-space: normal;
}
.ls-main {
  padding: 38px 4vw;
  max-width: 1450px;
  margin: auto;
}
.ls-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
  padding: 6px;
  background: #e6eadf;
  border-radius: 12px;
}
.ls-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  border-radius: 9px;
  padding: 8px 12px;
  color: inherit !important;
  font-size: 12px;
  transition:
    background 0.18s,
    color 0.18s;
}
.ls-nav-link:hover {
  background: #f4f6ef !important;
}
.ls-nav-link.ls-active {
  background: var(--ls-dark);
  color: #e3f5c9 !important;
}
.ls-header .ls-console {
  border: 1px solid #d9ded2;
  background: #fff;
  padding: 11px 15px;
  border-radius: 9px;
}
.ls-header .ls-console:hover {
  border-color: #748666;
}
.ls-eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 750;
  color: #859078;
}
.ls-intro h1 {
  font-size: clamp(35px, 4.7vw, 62px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin: 15px 0;
}
.ls-intro h1 span {
  color: #7b9c44;
}
.ls-intro > p:last-child {
  color: #808b76;
  max-width: 590px;
}
.ls-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 42px 0 18px;
}
.ls-section-title h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 0;
}
.ls-primary {
  background: var(--ls-dark);
  border: 1px solid var(--ls-dark);
  color: #dcf6b5;
  padding: 12px 19px;
  border-radius: 9px;
}
.ls-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ls-experience-card {
  position: relative;
  background: white;
  color: var(--ink);
  border: 1px solid #dfe3d7;
  border-radius: var(--ls-radius);
  padding: 24px;
  display: flex;
  min-height: 195px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.ls-experience-card:hover {
  border-color: #748666;
  transform: translateY(-2px);
}
.ls-experience-card h3 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}
.ls-experience-card small,
.ls-card-code {
  color: #808b76;
}
.ls-card-arrow {
  position: absolute;
  right: 21px;
  bottom: 20px;
  font-size: 22px;
}
.ls-placeholder {
  background: white;
  border: 1px solid #dfe3d7;
  border-radius: var(--ls-radius);
  padding: 35px;
  min-height: 260px;
}
.ls-placeholder h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 5px 0;
}
.ls-placeholder p {
  color: #808b76;
}
.ls-empty {
  padding: 25px;
  background: white;
  border-radius: 12px;
}
.ls-root .ls-footer {
  display: block;
  margin-top: 30px;
  padding: 0;
  border: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #929d86;
}
@media (max-width: 900px) {
  .ls-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .ls-experience-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ls-root * {
    transition: none !important;
    animation: none !important;
  }
}
/* Components reserved for later UI tasks */
.ls-simulated {
  border: 1px dashed #9cae89;
  border-radius: 12px;
  padding: 16px;
}
.ls-stepper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ls-step {
  padding: 8px 12px;
}
.ls-step.ls-current {
  background: #263322;
  color: white;
  border-radius: 9px;
}
.ls-device-phone {
  border: 6px solid #273024;
  border-radius: 35px;
  padding: 20px;
}
.ls-device-screen {
  aspect-ratio: 16/9;
  background: #1b2516;
  color: #fff;
  border-radius: 14px;
  padding: 24px;
}
/* 015: library actions follow preparar's library-actions spacing and typography. */
.ls-root .ls-card-managed {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dfe3d7;
  border-radius: 17px;
}
.ls-root .ls-card-managed .ls-experience-card {
  width: 100%;
  flex: 1;
  border: 0;
  border-radius: 17px;
  background: transparent;
}
.ls-root .ls-card-managed .ls-experience-card:hover {
  transform: none;
}
.ls-root .ls-card-management {
  padding: 0 24px 20px;
}
.ls-root .ls-card-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.ls-root .ls-card-actions button,
.ls-root .ls-card-retry {
  font-size: 10px;
  border: 1px solid #d8dfce;
  border-radius: 9px;
  padding: 9px 13px;
  background: white;
  color: #526745;
}
.ls-root .ls-card-actions button:hover,
.ls-root .ls-card-retry:hover {
  border-color: #748666;
  background: #f4f6ef;
}
.ls-root .ls-card-managed button:disabled {
  opacity: 0.5;
  cursor: default;
}
.ls-root .ls-card-managed [aria-busy="true"] {
  cursor: progress;
}
.ls-root .ls-card-message,
.ls-root .ls-card-error {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.ls-root .ls-card-message {
  color: #707e63;
}
.ls-root .ls-card-error {
  color: #9b3329;
}
.ls-root .ls-card-message:empty,
.ls-root .ls-card-error:empty,
.ls-root .ls-card-empty:empty {
  display: none;
}
.ls-root .ls-card-retry[hidden] {
  display: none;
}
.ls-root .ls-card-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.ls-root .ls-card-filter {
  background: #fff;
  border: 1px solid #dce0d3;
  color: #526745;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
}
.ls-root .ls-card-filter[aria-pressed="true"] {
  background: #263322;
  color: #dcf6b5;
  border-color: #263322;
}
.ls-root .ls-card-empty,
.ls-root .ls-card-integration {
  color: #707e63;
  font-size: 12px;
}
.ls-root .ls-card-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  color: #222822;
  border: 1px solid #dce0d3;
  border-radius: 17px;
  padding: 25px;
  box-shadow: 0 20px 80px #17211140;
}
.ls-root .ls-card-dialog::backdrop {
  background: #17211166;
}
.ls-root .ls-card-dialog h2 {
  font-size: 24px;
  margin: 0 0 16px;
}
.ls-root .ls-card-dialog p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.ls-root .ls-card-dialog .ls-card-confirm {
  background: #263322;
  color: #dcf6b5;
}
.ls-root .ls-card-managed :is(button, a):focus-visible,
.ls-root .ls-card-filters button:focus-visible {
  outline: 3px solid #799d46;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .ls-root .ls-card-managed * {
    transition: none !important;
    animation: none !important;
  }
}

.ls-root .ls-experience-flow {
  margin: 0 0 30px;
}
.ls-root .ls-experience-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}
.ls-root .ls-experience-flow a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #d9ded2;
  border-radius: 14px;
  background: #fff;
}
.ls-root .ls-experience-flow a[aria-current="step"] {
  background: #263021;
  color: #fff;
  border-color: #263021;
}
.ls-root .ls-flow-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
}
.ls-root .ls-experience-flow strong,
.ls-root .ls-experience-flow small {
  display: block;
}
.ls-root .ls-experience-flow small {
  font-size: 11px;
  margin-top: 3px;
}
@media (max-width: 600px) {
  .ls-root .ls-experience-flow ol {
    gap: 6px;
  }
  .ls-root .ls-experience-flow a {
    flex-direction: column;
    align-items: start;
    padding: 10px 8px;
    gap: 8px;
    min-height: 124px;
  }
  .ls-root .ls-experience-flow strong {
    font-size: 12px;
  }
  .ls-root .ls-experience-flow small {
    font-size: 10px;
  }
}

/* The preview canvas and its renderer use one background, never a purple mat around a branded card. */
.ls-root :is(.ls-stage-screen, .ls-out-screen)[data-experience-branding] {
  background: var(--brand-background);
  color: var(--brand-ink);
}
.ls-root
  :is(.ls-stage-screen, .ls-out-screen)[data-experience-branding]
  .presentation-mini
  :is(p, small) {
  color: var(--brand-ink);
}
.ls-root .ls-stage-output-settings {
  grid-column: 1/-1;
  font-weight: 700;
  color: #5834b5;
}
