.lla-dash, .lla-ed, .lla-ui {
  --lla-ink: #181822;
  --lla-text: #4d4d5b;
  --lla-muted: #8b8b9d;
  --lla-faint: #aeadc1;
  --lla-line: #e8e8fe;
  --lla-line-soft: #f1f1fe;
  --lla-tint: #f1f1fe;
  --lla-ground: #f4f4fb;
  --lla-blue: #2b5ee8;
  --lla-blue-text: #196ef0;
  --lla-grad: linear-gradient(180deg, #4874ef, #1d53e5);
  --lla-font: "Lato", "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  font: 400 12.5px/1.3 var(--lla-font);
  letter-spacing: 0;
  color: var(--lla-ink);
  text-align: left;
}
.lla-i { display: block; flex: none; width: 16px; height: 16px; }

.lla-mark {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 5px;
  background: #000;
}
.lla-mark svg { height: 72%; width: auto; fill: #fff; }
.lla-mark--me { width: 26px; height: 26px; border-radius: 5px; }
.lla-mark--round { width: 24px; height: 24px; border-radius: 50%; }
.lla-mark--round svg { height: 52%; }

.lla-dash {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  grid-template-rows: 50px minmax(0, 1fr);
  background: #fff;
}
.lla-dash--bare { grid-template-rows: 10px minmax(0, 1fr); }

.lla-side {
  grid-row: 1 / -1;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0; min-height: 0; overflow: hidden;
  padding: 12px 8px 10px;
}
.lla-side__top { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 6px 0 6px; margin-bottom: 2px; }
.lla-side__top > .lla-i { width: 17px; height: 17px; color: var(--lla-text); }

.lla-ws {
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 9px 0 6px;
  border: 1px solid var(--lla-line); border-radius: 8px;
  background: #fff;
}
.lla-ws__av {
  width: 20px; height: 20px; flex: none; border-radius: 5px;
  background: linear-gradient(180deg, #fbfcff 15%, #c9dbf8 70%, #a9c5f2);
  box-shadow: inset 0 0 0 1px rgb(24 24 34 / .05);
}
.lla-ws__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lla-ws > .lla-i { width: 14px; height: 14px; stroke-width: 2; }

.lla-create, .lla-publish, .lla-rail__add {
  background: var(--lla-grad); color: #fff;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / .14), 0 1px 2px rgb(29 83 229 / .22);
}
.lla-create {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 29px; border-radius: 7px; white-space: nowrap;
}
.lla-create .lla-i { width: 14px; height: 14px; stroke-width: 2; }

.lla-nav { display: grid; gap: 2px; margin-top: 2px; }
.lla-nav__item {
  display: flex; align-items: center; gap: 9px;
  height: 28px; padding: 0 8px; border-radius: 7px;
  color: var(--lla-text); white-space: nowrap;
}
.lla-nav__item .lla-i { width: 16px; height: 16px; color: var(--lla-text); }
.lla-nav__item.is-on { background: var(--lla-tint); color: var(--lla-blue-text); }
.lla-nav__item.is-on .lla-i { color: var(--lla-blue-text); }
.lla-nav__label {
  margin: 12px 0 4px !important; padding: 0 8px;
  font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lla-faint);
}
.lla-side__foot { display: grid; gap: 2px; margin-top: auto; }
.lla-side__pct {
  margin-left: 2px; padding: 2px 5px; border-radius: 4px;
  background: #e8f6ee; color: #1f8f5a;
  font-size: 9.5px; font-weight: 700;
}

.lla-top { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 12px 0 14px; }
.lla-search {
  display: flex; align-items: center; gap: 7px;
  width: min(290px, 42%); height: 28px; padding: 0 5px 0 9px;
  border: 1px solid var(--lla-line); border-radius: 8px;
  background: #fbfbff; color: var(--lla-faint);
}
.lla-search .lla-i { width: 14px; height: 14px; }
.lla-search kbd {
  margin-left: auto; padding: 2px 5px;
  border: 1px solid var(--lla-line); border-radius: 5px; background: #fff;
  font: 400 9.5px/1.2 var(--lla-font); color: var(--lla-muted);
}
.lla-top__end { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lla-top__sep { width: 1px; height: 16px; margin: 0 3px; background: var(--lla-line); }
.lla-credits {
  display: flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 10px;
  border: 1px solid var(--lla-line); border-radius: 8px;
  color: var(--lla-text); white-space: nowrap;
}
.lla-credits i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #4da4fb; box-sizing: border-box; }
.lla-sq {
  position: relative;
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px;
  border: 1px solid var(--lla-line); border-radius: 8px;
  color: var(--lla-text);
}
.lla-sq .lla-i { width: 15px; height: 15px; }
.lla-sq--bell b {
  position: absolute; top: -5px; right: -5px;
  min-width: 13px; height: 13px; padding: 0 3px; border-radius: 7px;
  background: #f04438; color: #fff;
  font: 700 8.5px/13px var(--lla-font); text-align: center;
  box-shadow: 0 0 0 1.5px #fff;
}

.lla-main {
  min-width: 0; min-height: 0; overflow: hidden;
  padding: 18px 20px;
  background: var(--lla-ground);
  border-top: 1px solid var(--lla-line); border-left: 1px solid var(--lla-line);
  border-top-left-radius: 14px;
}

.lla-h { margin: 0 !important; font: 700 17px/1.2 var(--lla-font); color: var(--lla-ink); }
.lla-sub { margin: 0; font-size: 11px; color: var(--lla-muted); }
.lla-card { min-width: 0; background: #fff; border: 1px solid var(--lla-line); border-radius: 12px; }
.lla-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--lla-line-soft);
  font-weight: 700;
}
.lla-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 8px;
  border: 1px solid var(--lla-line); border-radius: 6px;
  background: #fafaff; color: var(--lla-text);
  font-size: 11px; font-weight: 400; white-space: nowrap;
}
.lla-chip .lla-i { width: 12px; height: 12px; }
.lla-chip--blue { border-color: transparent; background: var(--lla-grad); color: #fff; }
.lla-pct {
  display: inline-block; padding: 3px 6px; border-radius: 5px;
  background: var(--lla-tint); color: var(--lla-ink);
  font-size: 10px; font-variant-numeric: tabular-nums;
}
.lla-pct--up { background: #e8f6ee; color: #1f8f5a; }
.lla-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--lla-tint); border: 1px solid var(--lla-line); }
.lla-seg > span { padding: 4px 8px; border-radius: 6px; color: var(--lla-text); font-size: 11px; white-space: nowrap; }
.lla-seg > .is-on { background: #fff; color: var(--lla-ink); box-shadow: 0 1px 2px rgb(24 24 34 / .07); }
.lla-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lla-table th {
  padding: 9px 12px; text-align: left; white-space: nowrap;
  font-weight: 400; color: var(--lla-ink);
  border-bottom: 1px solid var(--lla-line-soft);
}
.lla-table td { padding: 8px 12px; border-bottom: 1px solid var(--lla-line-soft); color: var(--lla-ink); white-space: nowrap; }
.lla-table tr:last-child td { border-bottom: 0; }
.lla-table .num { text-align: right; }
.lla-table small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--lla-muted); }
.lla-status { display: inline-block; padding: 3px 7px; border-radius: 5px; font-size: 10.5px; background: var(--lla-tint); color: var(--lla-text); }
.lla-status--live { background: #e8f6ee; color: #1f8f5a; }

.lla-ed {
  --lla-rail: 46px;
  display: grid;
  grid-template-columns: var(--lla-rail) minmax(0, 1fr);
  grid-template-rows: 46px minmax(0, 1fr);
  background: #fff;
}
.lla-ed--panel { grid-template-columns: var(--lla-rail) minmax(0, 1fr) var(--lla-panel, 240px); }
.lla-ed--view { grid-template-columns: minmax(0, 1fr); }
.lla-ed--view.lla-ed--panel { grid-template-columns: minmax(0, 1fr) var(--lla-panel, 240px); }

.lla-ebar {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px;
  min-width: 0; padding-right: 10px;
  box-shadow: inset 0 -1px 0 var(--lla-line);
}
.lla-ebar__menu {
  position: relative; z-index: 1;
  display: grid; place-items: center; flex: none;
  width: var(--lla-rail); height: calc(100% + 1px); margin-bottom: -1px;
  background: #fff; border-right: 1px solid var(--lla-line);
  color: var(--lla-ink);
}
.lla-ebar__menu .lla-i { width: 18px; height: 18px; }
.lla-ed--view .lla-ebar__menu { height: 100%; margin-bottom: 0; background: none; border-right: 0; }
.lla-tabs { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9px; background: var(--lla-tint); }
.lla-tabs > span {
  display: flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 8px; border-radius: 7px;
  color: var(--lla-text); white-space: nowrap;
}
.lla-tabs > .is-on { background: #fff; color: var(--lla-ink); box-shadow: 0 1px 2px rgb(24 24 34 / .07); }
.lla-tabs .lla-i { width: 15px; height: 15px; }
.lla-ebar__mid { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.lla-ebar__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lla-text); }
.lla-ebar__ab {
  display: flex; align-items: center; gap: 5px; flex: none;
  height: 26px; padding: 0 9px; border-radius: 7px;
  border: 1px solid var(--lla-line); background: #f8f8ff;
  color: var(--lla-text); white-space: nowrap;
}
.lla-ebar__ab .lla-i { width: 13px; height: 13px; }
.lla-ebar__end { display: flex; align-items: center; gap: 6px; flex: none; }
.lla-ebar__end .lla-mark--round { margin-right: 4px; }
.lla-save, .lla-publish { display: grid; place-items: center; height: 28px; padding: 0 12px; border-radius: 7px; white-space: nowrap; }
.lla-save { background: #eaf4fe; color: #94bdf6; }
.lla-publish { font-weight: 700; }

.lla-rail {
  grid-row: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-height: 0; overflow: hidden;
  padding: 10px 0 8px;
  border-right: 1px solid var(--lla-line);
}
.lla-rail__add { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; }
.lla-rail__add .lla-i { width: 16px; height: 16px; stroke-width: 2; }
.lla-rail__sep { flex: none; width: 22px; height: 1px; background: var(--lla-line); }
.lla-rail__group { display: flex; flex-direction: column; align-items: center; gap: 1px; flex: none; padding: 3px; border-radius: 9px; background: var(--lla-tint); }
.lla-rail__group > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: #605f70; }
.lla-rail__group .lla-i { width: 16px; height: 16px; }
.lla-rail__group > .is-on { background: #fff; color: var(--lla-blue-text); box-shadow: 0 1px 2px rgb(24 24 34 / .07); }
.lla-rail__ai { padding: 5px; }
.lla-rail__ai.is-on { background: #e6e2fb; box-shadow: inset 0 0 0 1px #d6cff8; }
.lla-rail__foot { margin-top: auto; }
.lla-orb {
  position: relative; display: block;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(120% 120% at 22% 22%, #63b6f8 0%, #7a63e8 42%, #5233b8 70%, #1e1a5c 100%);
}
.lla-orb::after {
  content: ""; position: absolute; inset: 27%;
  background: #fff;
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
}

.lla-canvas { position: relative; grid-row: 2; min-width: 0; min-height: 0; overflow: hidden; background: #fff; }
.lla-ed--view .lla-canvas { background: var(--lla-ground); }

.lla-float {
  position: absolute; left: 50%; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 5px; translate: -50% 0;
  border: 1px solid var(--lla-line); border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(24 24 34 / .08);
}
.lla-float > i { width: 1px; height: 16px; margin: 0 2px; background: var(--lla-line); }
.lla-float__grip { width: 12px; height: 14px; color: #b9b8c9; stroke-width: 2.6; }
.lla-float__set, .lla-float__seg { display: flex; gap: 2px; }
.lla-float__seg { padding: 2px; border-radius: 8px; background: var(--lla-tint); }
.lla-float__set > span, .lla-float__seg > span { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; color: var(--lla-muted); }
.lla-float__set > span { color: #c2c1d0; }
.lla-float__seg > .is-on { background: #fff; color: var(--lla-ink); box-shadow: 0 1px 2px rgb(24 24 34 / .08); }
.lla-float .lla-i { width: 14px; height: 14px; }

.lla-panel { grid-row: 2; min-width: 0; min-height: 0; overflow: hidden; border-left: 1px solid var(--lla-line); background: #fff; }
.lla-panel__empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  height: 100%; padding: 0 24px;
  text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--lla-muted);
}
.lla-panel__ring {
  display: grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%;
  background: radial-gradient(circle, #f5f4fe 0 28%, #fff 29% 46%, #f8f7fe 47% 70%, #fff 71%);
  box-shadow: inset 0 0 0 1px #f0effd;
  color: #b3acf2;
}
.lla-panel__ring .lla-i { width: 22px; height: 22px; translate: 6px 6px; fill: #ece9fd; }

.lla-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 42px; padding: 0 14px;
  border-bottom: 1px solid var(--lla-line);
  font-weight: 700;
}

@container lla (max-width: 720px) {
  .lla-ebar__mid > * { display: none; }
  .lla-tabs > span:not(.is-on) { display: none; }
}
@container lla (max-width: 520px) {
  .lla-ebar__end .lla-mark--round, .lla-ebar__end .lla-sq, .lla-save { display: none; }
}
.lla-ed { container: lla / inline-size; }
