:root {
  --lr-bg: linear-gradient(135deg, #0a0d11 0%, #0d1b2a 42%, #10273a 100%);
  --lr-brand-grad: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, #a855f7 100%);
  --lr-card: #111c30;
  --lr-card-soft: #17243a;
  --lr-line: rgba(167, 243, 208, 0.22);
  --lr-text: #f8fafc;
  --lr-muted: #cbd5e1;
  --lr-accent: #5eead4;
  --lr-blue: #38bdf8;
  --lr-red: #ff9b9b;
  --lr-paper: #f8f4e6;
  --lr-paper-line: rgba(59, 74, 84, 0.16);
  --lr-ink: #151515;
  --lr-yellow: rgba(255, 232, 71, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.cm-live-resumen-body {
  margin: 0;
  min-height: 100vh;
  background: var(--lr-bg);
  color: var(--lr-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lr-app {
  display: flex;
  min-height: 100dvh;
}

.lr-main {
  flex: 1;
  min-width: 0;
}

.lr-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(12px);
}

.lr-topbar-copy {
  display: block;
  min-width: 0;
}

.lr-topbar-brand {
  display: block;
  background: var(--lr-brand-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  font-weight: 900;
  animation: lr-hue 8s linear infinite alternate;
}

.lr-topbar-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  margin-top: 0.1rem;
}

.lr-topbar-title {
  color: var(--lr-muted);
  font-size: 0.88rem;
}

.lr-beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0 0.42rem;
  border: 1px solid rgba(94, 234, 212, 0.34);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(94, 234, 212, 0.12);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

@keyframes lr-hue {
  to {
    filter: hue-rotate(360deg);
  }
}

.lr-menu-btn,
.lr-panel-link,
.lr-btn {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 12px;
  color: #e9fbff;
  background: rgba(94, 234, 212, 0.12);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.lr-menu-btn {
  display: none;
  min-width: 44px;
  padding: 0;
}

.lr-btn.primary {
  background: linear-gradient(135deg, #0891b2, #2563eb);
  border-color: rgba(255, 255, 255, 0.18);
}

.lr-click-cue {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: lr-click-pulse 1.55s ease-in-out infinite;
}

.lr-click-cue::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -70%;
  z-index: 0;
  width: 58%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  animation: lr-click-sheen 2s ease-in-out infinite;
  pointer-events: none;
}

.lr-btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.lr-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.lr-workspace {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 34px);
}

.lr-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 12px;
  color: #dffdf7;
  background: rgba(20, 184, 166, 0.12);
}

.lr-alert.error {
  border-color: rgba(248, 113, 113, 0.4);
  color: #ffe1e1;
  background: rgba(127, 29, 29, 0.22);
}

.lr-builder {
  display: grid;
  gap: 1rem;
}

.lr-hero,
.lr-card {
  border: 1px solid var(--lr-line);
  border-radius: 16px;
  background: var(--lr-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.lr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.lr-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f8fafc !important;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lr-hero p {
  max-width: 780px;
  margin: 0.8rem 0 0;
  color: #d8e2ef;
  line-height: 1.6;
}

.lr-kicker {
  margin: 0 0 0.7rem !important;
  color: var(--lr-accent) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lr-hero img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.lr-flow {
  display: grid;
  gap: 1rem;
}

.lr-adsense-slot {
  position: relative;
  z-index: 1;
  display: block;
  clear: both;
  isolation: isolate;
  contain: layout paint;
  width: min(900px, 100%);
  min-height: 90px;
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.38);
}

.lr-adsense-slot .adsbygoogle {
  position: relative !important;
  z-index: 0 !important;
  display: block !important;
  width: 100%;
  min-height: 90px;
}

.lr-adsense-slot iframe {
  display: block;
  max-width: 100%;
}

.lr-adsense-slot--between-pages {
  width: min(1080px, 100%);
  min-height: 120px;
  margin: 1.2rem auto 1.4rem;
}

.lr-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.lr-steps span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.78);
  font-size: 0.88rem;
  font-weight: 900;
}

.lr-steps span.is-active {
  color: #06121d;
  border-color: rgba(94, 234, 212, 0.72);
  background: #5eead4;
}

.lr-steps span.is-done {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(22, 101, 52, 0.28);
}

.lr-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.lr-card h2 {
  margin: 0;
  color: #f8fafc !important;
  font-size: 1.2rem;
}

.lr-dropzone {
  position: relative;
  display: grid;
  gap: 0.55rem;
  min-height: 220px;
  padding: 1.2rem;
  border: 2px dashed rgba(125, 211, 252, 0.55);
  border-radius: 14px;
  place-items: center;
  text-align: center;
  color: #e5f6ff;
  background: #0b1425;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.lr-dropzone:hover,
.lr-dropzone.is-dragging {
  border-color: #5eead4;
  background: #0f2437;
  transform: translateY(-1px);
}

.lr-dropzone.has-files {
  border-color: rgba(34, 197, 94, 0.72);
  background: rgba(20, 83, 45, 0.28);
}

.lr-dropzone.has-error {
  border-color: rgba(248, 113, 113, 0.82);
  background: rgba(127, 29, 29, 0.26);
}

.lr-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lr-drop-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #06121d;
  background: #5eead4;
  font-size: 2rem;
  font-weight: 900;
}

.lr-dropzone strong {
  color: #f8fafc;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.lr-dropzone small {
  max-width: 520px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.lr-field span {
  color: #dbeafe;
  font-weight: 800;
}

.lr-field input,
.lr-field select,
.lr-field textarea,
.lr-save-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
  color: #f8fafc;
  background: #0b1220;
}

.lr-field textarea {
  min-height: 86px;
  resize: vertical;
}

.lr-field select option {
  color: #0f172a;
  background: #fff;
}

.lr-field {
  display: grid;
  gap: 0.45rem;
}

.lr-source-ready,
.lr-source-empty {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.lr-source-empty {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.18);
}

.lr-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 12px;
  color: #dffdf7;
  background: rgba(20, 184, 166, 0.1);
}

.lr-plan strong {
  color: #f8fafc;
}

.lr-plan span {
  color: #bff7ed;
  font-weight: 850;
}

.lr-form-actions,
.lr-ready-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.lr-image-form {
  display: grid;
  gap: 0.75rem;
  width: min(560px, 100%);
  margin: 0;
}

.lr-cost-note {
  margin: 0;
  color: var(--lr-muted);
  font-size: 0.9rem;
}

.lr-ready {
  display: grid;
  place-items: center;
  min-height: min(620px, calc(100dvh - 150px));
}

.lr-image-stage {
  display: grid;
  gap: 1rem;
  min-height: min(620px, calc(100dvh - 150px));
}

.lr-ready-card {
  width: min(860px, 100%);
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 16px;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background: #111c30;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.lr-stage-card {
  align-self: center;
  width: min(900px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 16px;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background: #111c30;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.lr-stage-card h1 {
  max-width: 780px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.lr-stage-card p {
  max-width: 760px;
  color: #d8e2ef;
  line-height: 1.6;
}

.lr-ready-card h1 {
  max-width: 760px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.lr-ready-card p {
  max-width: 680px;
  color: #d8e2ef;
  line-height: 1.6;
}

.lr-progress {
  display: grid;
  gap: 0.65rem;
  margin: 1.1rem 0 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(94, 234, 212, 0.26);
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
}

.lr-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lr-progress strong {
  color: #f8fafc;
}

.lr-progress span {
  color: #bff7ed;
  font-weight: 850;
}

.lr-progress b {
  display: block;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
}

.lr-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5eead4, #38bdf8);
}

.lr-ready-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0;
}

.lr-ready-meta span {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.lr-viewer {
  display: grid;
  gap: 1.4rem;
}

.lr-viewer-actions {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.45);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.lr-viewer-actions > * {
  pointer-events: auto;
}

.lr-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
  flex-wrap: wrap;
  min-height: 48px;
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.34);
}

.lr-toolbar-group--appearance,
.lr-toolbar-group--edit {
  flex: 1 1 300px;
}

.lr-toolbar-group--save {
  flex: 1 1 360px;
}

.lr-toolbar-group--actions {
  margin-left: auto;
}

.lr-toolbar-label {
  padding: 0 0.15rem 0 0.25rem;
  color: #b6c6dc;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.lr-move-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 34px;
  padding: 0 0.55rem;
  border: 1px dashed rgba(125, 211, 252, 0.34);
  border-radius: 10px;
  color: #dbeafe;
  background: rgba(14, 165, 233, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.lr-kbd {
  display: inline-grid;
  place-items: center;
  min-width: 2.35em;
  min-height: 1.7em;
  padding: 0 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-width: 3px;
  border-radius: 7px;
  color: #eff6ff;
  background: rgba(15, 23, 42, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
}

.lr-save-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 1 1 260px;
  flex-wrap: wrap;
  margin: 0;
}

.lr-save-form select {
  width: auto;
  min-width: 148px;
}

.lr-like-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lr-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  transition: transform 0.08s ease, filter 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.lr-like-btn:hover {
  filter: brightness(1.08);
}

.lr-like-btn:active {
  transform: scale(0.97);
}

.lr-like-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.lr-like-btn.has-error {
  animation: lr-like-shake 0.26s ease;
}

.lr-like-btn .brain {
  display: inline-block;
  font-size: 1.06rem;
  transform-origin: center;
}

.lr-like-btn.active {
  border-color: rgba(59, 130, 246, 0.48);
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #4338ca 100%);
}

.lr-like-btn.active .brain {
  animation: lr-brain-pop 0.36s ease;
}

.lr-like-count {
  min-width: 1.5ch;
  text-align: right;
}

.lr-like-hint {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: max-content;
  max-width: min(280px, 72vw);
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 12px;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.26), rgba(99, 102, 241, 0.26));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.32);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lr-like-hint.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lr-like-hint.hide {
  opacity: 0;
  transform: translateY(-4px);
}

.lr-highlight-tools {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
}

.lr-ai-tools {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.lr-ai-tools .lr-icon-btn {
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(14, 165, 233, 0.12);
}

.lr-ai-tools .lr-icon-btn:disabled {
  cursor: not-allowed;
}

.lr-highlight-tools button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  cursor: pointer;
}

.lr-highlight-tools button:nth-child(1) { background: #fff176; }
.lr-highlight-tools button:nth-child(2) { background: #a7f3d0; }
.lr-highlight-tools button:nth-child(3) { background: #bfdbfe; }
.lr-highlight-tools button:nth-child(4) { background: #fecaca; }

@keyframes lr-brain-pop {
  0% { transform: scale(1); }
  52% { transform: scale(1.24); }
  100% { transform: scale(1); }
}

@keyframes lr-like-shake {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-3px); }
  70% { transform: translateX(3px); }
}

.lr-sheet-wrap {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.lr-sheet-actions {
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  width: min(1080px, 100%);
}

.lr-sheet-actions > span {
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 800;
}

.lr-icon-btn {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 10px;
  padding: 0 0.65rem;
  color: #e0f2fe;
  background: rgba(94, 234, 212, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.lr-icon-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.lr-icon-btn.has-error {
  border-color: rgba(248, 113, 113, 0.72);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.24);
}

.lr-move-mode-btn.is-active {
  border-color: rgba(94, 234, 212, 0.65);
  color: #06121d;
  background: #5eead4;
}

.lr-move-mode [data-lr-movable="1"] {
  cursor: move !important;
  touch-action: none;
  user-select: none;
}

.lr-layout-block.is-selected {
  outline: 2px dashed rgba(14, 165, 233, 0.74);
  outline-offset: 3px;
  resize: none;
  z-index: 30;
}

.lr-generated-image.is-selected,
.lr-inline-images-loose.is-selected {
  cursor: move !important;
  touch-action: none;
  user-select: none;
}

.lr-layout-block.is-selected [data-lr-editable="1"] {
  cursor: text;
  user-select: text;
}

.lr-layout-block.has-raised-child,
.lr-generated-image.is-moving {
  overflow: visible !important;
}

.lr-move-mode .lr-editable-field {
  cursor: move !important;
}

.lr-move-mode .lr-layout-block,
.lr-layout-block.is-selected {
  overflow: auto;
}

.lr-layout-block.is-selected::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border-right: 3px solid rgba(14, 165, 233, 0.85);
  border-bottom: 3px solid rgba(14, 165, 233, 0.85);
  border-radius: 0 0 3px 0;
  pointer-events: none;
}

[data-lr-movable="1"].is-moving {
  outline: 2px dashed rgba(14, 165, 233, 0.8);
  outline-offset: 3px;
  z-index: 1000 !important;
}

[data-lr-movable="1"].is-resizing {
  outline: 2px solid rgba(94, 234, 212, 0.86);
  outline-offset: 3px;
  z-index: 1000 !important;
}

.lr-theme-switch {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
}

.lr-theme-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  padding: 0 0.75rem;
  color: #dbeafe;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
}

.lr-theme-switch button.is-active {
  color: #06121d;
  background: #5eead4;
}

.lr-text-context-menu {
  position: fixed;
  z-index: 10000;
  display: grid;
  gap: 0.25rem;
  width: 220px;
  padding: 0.35rem;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 12px;
  color: #e5f6ff;
  background: rgba(8, 13, 24, 0.96);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.lr-text-context-menu[hidden] {
  display: none !important;
}

.lr-text-context-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 9px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: left;
}

.lr-text-context-menu button:hover,
.lr-text-context-menu button:focus-visible {
  outline: none;
  background: rgba(94, 234, 212, 0.14);
}

.lr-text-context-menu button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.lr-context-highlight {
  display: grid;
  gap: 0.35rem;
  padding: 0.3rem 0.35rem 0.42rem;
}

.lr-context-highlight[hidden] {
  display: none !important;
}

.lr-context-highlight > span {
  color: #b6c6dc;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.lr-context-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.lr-text-context-menu .lr-context-swatch {
  min-height: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.14);
}

.lr-text-context-menu .lr-context-swatch--yellow { background: #fff176; }
.lr-text-context-menu .lr-context-swatch--green { background: #a7f3d0; }
.lr-text-context-menu .lr-context-swatch--blue { background: #bfdbfe; }
.lr-text-context-menu .lr-context-swatch--red { background: #fecaca; }

.lr-text-context-menu .lr-context-remove-highlight {
  justify-content: center;
  min-height: 32px;
  border: 1px dashed rgba(226, 232, 240, 0.28);
  background: rgba(148, 163, 184, 0.08);
  color: #e5edf8;
  font-size: 0.8rem;
}

.lr-text-context-menu hr {
  width: 100%;
  height: 1px;
  margin: 0.16rem 0;
  border: 0;
  background: rgba(148, 163, 184, 0.22);
}

.lr-sheet {
  position: relative;
  width: min(1080px, 100%);
  aspect-ratio: 4 / 5;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: var(--lr-ink);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(25, 25, 25, 0.18);
  background-color: var(--lr-paper);
  background-image:
    linear-gradient(to bottom, transparent 0, transparent 29px, var(--lr-paper-line) 30px, transparent 31px),
    linear-gradient(180deg, #fdf9eb, var(--lr-paper));
  background-size: 100% 31px, 100% 100%;
  background-repeat: repeat, no-repeat;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  page-break-after: always;
}

.cm-live-resumen-body[data-lr-theme="white"] .lr-sheet {
  --lr-paper: #ffffff;
  --lr-paper-line: transparent;
  background-color: #fff;
  background-image: none;
  border-color: rgba(15, 23, 42, 0.14);
}

.cm-live-resumen-body[data-lr-theme="white"] .lr-sheet-header {
  border-bottom-color: rgba(15, 23, 42, 0.28);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet {
  --lr-paper: #111827;
  --lr-paper-line: rgba(255, 255, 255, 0.09);
  --lr-ink: #f8fafc;
  --lr-yellow: rgba(250, 204, 21, 0.42);
  background-color: #111827;
  background-image:
    linear-gradient(to bottom, transparent 0, transparent 29px, var(--lr-paper-line) 30px, transparent 31px),
    linear-gradient(180deg, #162032, #111827);
  background-size: 100% 31px, 100% 100%;
  background-repeat: repeat, no-repeat;
  border-color: rgba(255, 255, 255, 0.16);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-header,
.cm-live-resumen-body[data-lr-theme="dark"] .lr-synthesis {
  border-color: rgba(255, 255, 255, 0.24);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-header h2 {
  color: #f8fafc !important;
  text-shadow: 0 2px 0 rgba(8, 13, 24, 0.78), 0 0 18px rgba(125, 211, 252, 0.2);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-side {
  border-right-color: rgba(255, 255, 255, 0.24);
  color: #fca5a5;
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-side h3,
.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-side strong {
  color: #fecaca !important;
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-side > span {
  color: #e5e7eb;
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-header p {
  color: #fca5a5;
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-sheet-header small {
  color: #cbd5e1 !important;
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-note-block h3,
.cm-live-resumen-body[data-lr-theme="dark"] .lr-diagram h3 {
  color: #7dd3fc !important;
  text-shadow: 0 1px 0 rgba(8, 13, 24, 0.8);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-note-block h3 span {
  color: #e0f2fe !important;
  border-color: #7dd3fc;
  background: rgba(14, 116, 144, 0.22);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-synthesis h3 {
  color: #6ee7b7 !important;
  text-shadow: 0 1px 0 rgba(8, 13, 24, 0.8);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-summary-table {
  background: #162032;
  border-color: rgba(255, 255, 255, 0.22);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-summary-table td {
  border-color: rgba(255, 255, 255, 0.16);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-generated-image {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.cm-live-resumen-body[data-lr-theme="dark"] mark {
  border-bottom-color: rgba(94, 234, 212, 0.46);
}

.cm-live-resumen-body[data-lr-theme="dark"] .lr-generated-image figcaption {
  color: rgba(248, 250, 252, 0.86);
}

.lr-sheet-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  height: 94px;
  min-height: 94px;
  max-height: 94px;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 20, 20, 0.34);
}

.lr-sheet-header > div {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 12px 18px 10px 26px;
}

.lr-sheet-header h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.lr-sheet-header p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin: 3px 0 0;
  color: #9f2f35;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1rem;
  line-height: 1.12;
}

.lr-sheet-header small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin-top: 2px;
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
  line-height: 1.15;
}

.lr-sheet-header img {
  display: block;
  width: 90px;
  height: 90px;
  max-width: 90px;
  max-height: 90px;
  place-self: center;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
}

.lr-logo-protected {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.lr-sheet-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.lr-sheet-side {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 12px 13px 18px 24px;
  border-right: 2px solid rgba(20, 20, 20, 0.72);
  color: #9f2f35;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 0.88rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.lr-sheet-side h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.lr-sheet-side p {
  margin: 0 0 12px;
}

.lr-sheet-side > span {
  display: none;
}

.lr-sheet-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  grid-auto-flow: dense;
  align-content: start;
  gap: 8px 18px;
  padding: 12px 12px 22px 18px;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 0.98rem;
  line-height: 1.18;
  min-height: 0;
  overflow: hidden;
}

.pattern-overview .lr-sheet-main,
.pattern-mechanism-flow .lr-sheet-main {
  grid-template-columns: 1fr;
}

.pattern-overview .lr-sheet-main {
  gap: 8px;
  padding: 12px 26px 16px;
}

.pattern-overview .lr-note-block {
  grid-column: 1 / -1;
}

.pattern-two-column .lr-sheet-main,
.pattern-clinical-map .lr-sheet-main,
.pattern-diagnostic-grid .lr-sheet-main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pattern-diagnostic-grid .lr-sheet-main,
.pattern-table-heavy .lr-sheet-main {
  padding: 10px 18px 14px;
}

.pattern-diagnostic-grid .lr-note-block,
.pattern-table-heavy .lr-note-block {
  padding: 1px 0 3px;
}

.pattern-table-heavy .lr-sheet-main {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 8px 14px;
}

.pattern-table-heavy .lr-summary-table {
  align-self: start;
  grid-row: span 3;
}

.pattern-table-heavy .lr-summary-table,
.pattern-mechanism-flow .lr-diagram {
  grid-column: 1 / -1;
}

.pattern-table-heavy .lr-summary-table:first-of-type {
  grid-column: 2;
}

.pattern-mechanism-flow .lr-sheet-main {
  gap: 8px;
  padding: 10px 24px 16px;
}

.pattern-mechanism-flow .lr-diagram {
  order: -1;
}

.pattern-mechanism-flow .lr-note-block {
  grid-column: 1 / -1;
}

.pattern-clinical-map .lr-sheet-grid {
  grid-template-columns: 240px minmax(0, 1fr);
}

.lr-note-block {
  position: relative;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding: 2px 0 4px;
}

.lr-note-block.is-overflowing,
.lr-sheet-side.is-overflowing,
.lr-synthesis.is-overflowing {
  font-size: 0.9em;
  line-height: 1.08;
}

.lr-layout-block {
  position: relative;
  justify-self: stretch;
  min-width: 0;
  max-width: 100%;
  min-height: 2.25rem;
}

.lr-editable-field {
  min-width: 0;
  min-height: 1.25em;
  overflow: visible;
  resize: none;
  outline: 1px dashed transparent;
  outline-offset: 2px;
}

.lr-editable-field:focus {
  overflow: visible;
  resize: none;
  outline-color: rgba(56, 189, 248, 0.72);
  background: rgba(56, 189, 248, 0.08);
}

.lr-editable-field[data-lr-editable="1"] {
  cursor: text;
}

.lr-note-block::after {
  content: "";
  display: table;
  clear: both;
}

.lr-note-block.col-right {
  grid-column: 2;
}

.pattern-overview .lr-note-block.col-right,
.pattern-mechanism-flow .lr-note-block.col-right,
.pattern-table-heavy .lr-note-block.col-right {
  grid-column: 1 / -1;
}

.lr-note-block h3,
.lr-diagram h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 5px;
  color: #2586b8;
  font-size: 1.42rem;
  font-weight: 500;
}

.lr-note-block h3 span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 3px solid #2586b8;
  border-radius: 50%;
  color: #174b86;
  font-size: 1.08rem;
}

.lr-note-block p {
  margin: 0 0 3px;
}

.lr-note-block ul {
  margin: 0;
  padding-left: 24px;
  list-style: none;
}

.lr-note-block li {
  position: relative;
  margin-bottom: 2px;
}

.lr-note-block li::before {
  content: "▻";
  position: absolute;
  left: -20px;
}

mark {
  padding: 0 0.22em 1px;
  border-radius: 4px 7px 5px 4px;
  border-bottom: 1px solid rgba(37, 134, 184, 0.24);
  background:
    linear-gradient(180deg, transparent 12%, var(--lr-yellow) 13% 80%, transparent 81%),
    linear-gradient(90deg, rgba(94, 234, 212, 0.08), rgba(255, 232, 71, 0.12));
  color: inherit;
  font-weight: 850;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

mark.lr-user-mark-green { --lr-yellow: rgba(167, 243, 208, 0.56); }
mark.lr-user-mark-blue { --lr-yellow: rgba(191, 219, 254, 0.58); }
mark.lr-user-mark-red { --lr-yellow: rgba(254, 202, 202, 0.58); }
mark.lr-user-mark-yellow { --lr-yellow: rgba(255, 232, 71, 0.62); }

.lr-summary-table {
  margin: 4px 0;
  border: 1px solid #8f9097;
  background: #f1efe7;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
}

.lr-summary-table figcaption {
  padding: 5px 7px;
  color: #fff;
  font-weight: 800;
  background: #73758d;
  overflow-wrap: anywhere;
}

.lr-summary-table table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.lr-summary-table th {
  color: #fff;
  background: #667d96;
}

.lr-summary-table th,
.lr-summary-table td {
  padding: 5px 6px;
  border: 1px solid #c2bfb5;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.lr-diagram {
  padding: 0.4rem 0.6rem;
  border: 2px solid rgba(0, 0, 0, 0.16);
  border-radius: 14px 24px 18px 22px;
}

.lr-diagram > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.lr-diagram span {
  padding: 0 7px;
  background: linear-gradient(180deg, transparent 8%, var(--lr-yellow) 9% 78%, transparent 79%);
}

.lr-inline-images {
  float: right;
  display: grid;
  gap: 6px;
  width: min(168px, 42%);
  max-width: 168px;
  margin: 2px 0 8px 12px;
}

.lr-note-block.col-right .lr-inline-images {
  float: none;
  width: min(158px, 100%);
  max-width: 158px;
  margin: 2px 0 7px auto;
}

.lr-inline-images-loose {
  float: none;
  grid-column: 2;
  justify-self: end;
  width: min(178px, 100%);
  max-width: 178px;
  margin: 0 0 8px;
}

.pattern-overview .lr-inline-images-loose,
.pattern-mechanism-flow .lr-inline-images-loose {
  grid-column: 1;
}

.lr-generated-image {
  position: relative;
  display: block;
  margin: 0;
  align-self: start;
  overflow: hidden;
  min-width: 82px;
  min-height: 82px;
  resize: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 14px 18px 13px 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 6px 14px rgba(31, 41, 55, 0.12);
  transform: rotate(0.25deg);
}

.lr-generated-image.is-selected {
  overflow: hidden !important;
  resize: none;
}

.lr-generated-image[style*="width"],
.lr-inline-images-loose[style*="width"] {
  max-width: none !important;
}

.lr-generated-image::after {
  content: "cerebromedico.com";
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 13, 24, 0.58);
  font-family: Arial, sans-serif;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
}

.lr-user-image::after {
  content: "";
  display: none;
}

.lr-generated-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.lr-generated-image[style*="height"] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lr-generated-image[style*="height"] img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.lr-generated-image figcaption {
  padding: 4px 6px 5px;
  font-family: Arial, sans-serif;
  font-size: 0.66rem;
  line-height: 1.18;
  color: rgba(17, 24, 39, 0.84);
}

.lr-synthesis {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  padding: 10px 26px 12px;
  border-top: 2px solid rgba(20, 20, 20, 0.72);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 0.95rem;
  line-height: 1.16;
}

.lr-synthesis h3 {
  margin: 0 0 5px;
  color: #1c8c69;
  font-size: 1.34rem;
  font-weight: 500;
}

.lr-synthesis ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
  margin: 0;
  padding-left: 1.2rem;
  overflow-wrap: anywhere;
}

.lr-sheet.lr-fit-compact .lr-sheet-side {
  padding: 10px 11px 14px 20px;
  font-size: 0.82rem;
  line-height: 1.14;
}

.lr-sheet.lr-fit-compact .lr-sheet-main {
  gap: 6px 12px;
  padding-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.13;
}

.lr-sheet.lr-fit-compact .lr-note-block h3,
.lr-sheet.lr-fit-compact .lr-diagram h3 {
  font-size: 1.24rem;
}

.lr-sheet.lr-fit-compact .lr-summary-table {
  font-size: 0.65rem;
  line-height: 1.15;
}

.lr-sheet.lr-fit-compact .lr-summary-table th,
.lr-sheet.lr-fit-compact .lr-summary-table td {
  padding: 4px 5px;
}

.lr-sheet.lr-fit-compact .lr-generated-image,
.lr-sheet.lr-fit-compact .lr-inline-images,
.lr-sheet.lr-fit-compact .lr-inline-images-loose {
  max-width: 145px;
}

.lr-sheet.lr-fit-compact .lr-synthesis {
  padding: 8px 22px 10px;
  font-size: 0.86rem;
  line-height: 1.12;
}

.lr-sheet.lr-fit-dense .lr-sheet-side {
  padding: 8px 10px 12px 18px;
  font-size: 0.76rem;
  line-height: 1.1;
}

.lr-sheet.lr-fit-dense .lr-sheet-main {
  gap: 4px 10px;
  padding: 8px 12px 10px 14px;
  font-size: 0.82rem;
  line-height: 1.09;
}

.lr-sheet.lr-fit-dense .lr-note-block {
  padding-bottom: 2px;
}

.lr-sheet.lr-fit-dense .lr-note-block h3,
.lr-sheet.lr-fit-dense .lr-diagram h3 {
  gap: 0.3rem;
  margin-bottom: 3px;
  font-size: 1.08rem;
}

.lr-sheet.lr-fit-dense .lr-note-block h3 span {
  width: 24px;
  height: 24px;
  border-width: 2px;
  font-size: 0.9rem;
}

.lr-sheet.lr-fit-dense .lr-summary-table {
  font-size: 0.58rem;
  line-height: 1.1;
}

.lr-sheet.lr-fit-dense .lr-summary-table figcaption {
  padding: 4px 6px;
}

.lr-sheet.lr-fit-dense .lr-summary-table th,
.lr-sheet.lr-fit-dense .lr-summary-table td {
  padding: 3px 4px;
}

.lr-sheet.lr-fit-dense .lr-generated-image,
.lr-sheet.lr-fit-dense .lr-inline-images,
.lr-sheet.lr-fit-dense .lr-inline-images-loose {
  max-width: 128px;
}

.lr-sheet.lr-fit-dense .lr-synthesis {
  padding: 7px 20px 8px;
  font-size: 0.78rem;
  line-height: 1.08;
}

.lr-sheet.lr-fit-dense .lr-synthesis h3 {
  margin-bottom: 3px;
  font-size: 1.12rem;
}

.lr-sheet.lr-fit-micro .lr-sheet-main,
.lr-sheet.lr-fit-micro .lr-sheet-side,
.lr-sheet.lr-fit-micro .lr-synthesis {
  font-size: 0.72rem;
  line-height: 1.06;
}

.lr-sheet.lr-fit-micro .lr-summary-table {
  font-size: 0.52rem;
}

.lr-sheet.lr-fit-micro .lr-generated-image,
.lr-sheet.lr-fit-micro .lr-inline-images,
.lr-sheet.lr-fit-micro .lr-inline-images-loose {
  max-width: 112px;
}

.lr-sheet.lr-fit-micro .lr-note-block p,
.lr-sheet.lr-fit-micro .lr-note-block li,
.lr-sheet.lr-fit-micro .lr-sheet-side p {
  margin-bottom: 1px;
}

.lr-sheet.lr-fit-micro .lr-note-block h3 {
  margin-bottom: 2px;
}

.lr-loader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  place-items: center;
  padding: 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.9), rgba(8, 13, 24, 0.92));
  backdrop-filter: blur(14px);
}

body.lr-is-loading .lr-loader {
  display: grid;
}

.lr-loader-card {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  width: min(420px, 100%);
  padding: 1.4rem;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 28, 48, 0.97), rgba(11, 18, 32, 0.97));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.lr-loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #fff;
}

.lr-loader-mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(94, 234, 212, 0.2);
  border-top-color: #5eead4;
  border-right-color: #38bdf8;
  border-radius: 24px;
  animation: lr-spin 1.05s linear infinite;
}

.lr-loader-mark img {
  position: relative;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
}

.lr-loader strong,
.lr-loader span {
  display: block;
}

.lr-loader strong {
  color: #f8fafc;
  font-size: 1.04rem;
}

.lr-loader span {
  color: var(--lr-muted);
  max-width: 320px;
  line-height: 1.45;
}

.lr-loader-bars {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.15rem;
}

.lr-loader-bars i {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.32);
  animation: lr-loader-bar 1s ease-in-out infinite;
}

.lr-loader-bars i:nth-child(2) {
  animation-delay: 0.14s;
}

.lr-loader-bars i:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes lr-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lr-loader-bar {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes lr-click-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.34);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(94, 234, 212, 0);
    transform: translateY(-1px);
  }
}

@keyframes lr-click-sheen {
  0% {
    left: -70%;
  }

  45%,
  100% {
    left: 118%;
  }
}

@media (max-width: 1180px) {
  .lr-menu-btn {
    display: inline-grid;
  }
}

@media (max-width: 900px) {
  .lr-sheet-header h2 {
    font-size: 1.7rem;
  }

  .lr-sheet-header p {
    font-size: 0.86rem;
  }

  .lr-sheet-main {
    grid-template-columns: 1fr;
  }

  .lr-note-block.col-right {
    grid-column: auto;
  }

  .lr-sheet-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .lr-workspace {
    padding: 12px;
  }

  .lr-viewer-actions,
  .lr-toolbar-group,
  .lr-save-form {
    align-items: stretch;
  }

  .lr-toolbar-group,
  .lr-toolbar-group--appearance,
  .lr-toolbar-group--edit,
  .lr-toolbar-group--save,
  .lr-toolbar-group--actions {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .lr-save-form select,
  .lr-save-form .lr-btn,
  .lr-toolbar-group--actions .lr-btn {
    width: 100%;
  }

  .lr-hero {
    grid-template-columns: 1fr;
  }

  .lr-steps {
    grid-template-columns: 1fr;
  }

  .lr-plan {
    align-items: flex-start;
    flex-direction: column;
  }

  .lr-hero img {
    width: 84px;
    height: 84px;
  }

  .lr-sheet-header {
    grid-template-columns: minmax(0, 1fr) 60px;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
  }

  .lr-sheet-header > div {
    padding: 7px 9px 6px 13px;
  }

  .lr-sheet-header h2 {
    font-size: 1.2rem;
  }

  .lr-sheet-header p {
    font-size: 0.68rem;
  }

  .lr-sheet-header small {
    font-size: 0.5rem;
  }

  .lr-sheet-header img {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    place-self: center;
    margin: 0;
    border-radius: 0;
    background: transparent;
  }

  .lr-sheet-grid {
    grid-template-columns: 1fr;
  }

  .lr-sheet-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    border-right: 0;
    border-bottom: 2px solid rgba(20, 20, 20, 0.72);
  }

  .lr-sheet-side h3,
  .lr-sheet-side > span {
    grid-column: 1 / -1;
  }

  .lr-sheet-side p {
    margin: 0;
  }

  .lr-sheet-side > span {
    position: static;
    writing-mode: horizontal-tb;
  }

  .lr-inline-images,
  .lr-note-block.col-right .lr-inline-images,
  .lr-inline-images-loose {
    float: none;
    width: min(150px, 100%);
    max-width: 150px;
    margin: 4px 0 8px auto;
  }

  .lr-synthesis ul {
    grid-template-columns: 1fr;
  }
}

@media print {
  .lr-topbar,
  .lr-viewer-actions,
  .lr-sheet-actions,
  .lr-adsense-slot,
  #cm-sidebar,
  #cm-sidebar-overlay,
  .cm-sidebar,
  .cm-menu-float {
    display: none !important;
  }

  .cm-live-resumen-body {
    background: #fff;
  }

  .lr-app,
  .lr-main,
  .lr-workspace,
  .lr-viewer {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .lr-sheet {
    box-shadow: none;
    border: 0;
  }
}
