/* LilamAuto v2 — split layout: photos left, work right */
.lilamauto-flow {
  border: 1px solid #2a3a52;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.la-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid #2a3a52;
  background: var(--bg);
}

.la-toolbar-label {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}

.la-ui-langs { display: flex; gap: 0.3rem; }

.la-ui-lang {
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
  border-radius: 20px;
  border: 1px solid #334155;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.la-ui-lang.active {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--accent);
}

.la-split {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  gap: 0;
  min-height: 420px;
}

.la-photos-col {
  padding: 0.75rem 0.85rem;
  border-right: 1px solid #2a3a52;
  background: var(--bg);
  position: sticky;
  top: 0;
  align-self: start;
}

.la-work-col {
  padding: 0.75rem 0.9rem;
  min-width: 0;
}

.la-content { padding: 1rem 1.1rem; }

.la-photo-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.la-muted-inline { color: #4a5270; font-size: 0.65rem; font-weight: 400; }

.la-big-view {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  border: 1px solid #2a3a52;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.la-big-img { width: 100%; height: 100%; object-fit: cover; }

.la-big-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.5rem;
}

.la-big-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.6rem;
  background: #042C53;
  color: #B5D4F4;
  padding: 2px 7px;
  border-radius: 20px;
}

.la-big-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  pointer-events: none;
}

.la-nav-btn {
  pointer-events: all;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #2a3a52;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.la-photo-strip {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.la-thumb {
  width: 46px;
  height: 36px;
  border-radius: 5px;
  border: 1px solid #2a3a52;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.la-thumb img { width: 100%; height: 100%; object-fit: cover; }
.la-thumb.active { border: 2px solid var(--accent); }

.la-thumb-add {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}

.la-thumb-cover, .la-thumb-profile, .la-thumb-detail, .la-thumb-dash {
  position: absolute;
  bottom: 1px;
  left: 1px;
  font-size: 0.5rem;
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: 600;
}

.la-thumb-cover { background: #042C53; color: #B5D4F4; }
.la-thumb-profile { background: #0F6E56; color: #B8F0D8; }
.la-thumb-detail { background: #5C3D1E; color: #FAC775; }
.la-thumb-dash { background: #04342C; color: #9FE1CB; }

.la-strip-count { font-size: 0.6rem; color: var(--muted); white-space: nowrap; }

.la-divider { height: 1px; background: #2a3a52; margin: 0.65rem 0; }

.la-mode-label, .la-sec-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.la-mode-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.la-mode-card {
  border: 1px solid #2a3a52;
  border-radius: 6px;
  padding: 0.45rem 0.35rem 0.35rem;
  background: var(--bg);
  cursor: pointer;
  text-align: center;
  color: inherit;
  font-family: inherit;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  position: relative;
}

.la-mode-option-num {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid #334155;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 14px;
  color: var(--muted);
}

.la-mode-card.active .la-mode-option-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.la-step-header {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.la-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.la-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.la-step-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.la-step-hint {
  font-size: 0.6rem;
  color: var(--muted);
  line-height: 1.35;
}

.la-footer-compact.la-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
}

.la-footer-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.la-mode-card:hover { border-color: #4a5270; }
.la-mode-card.active { border: 2px solid var(--accent); background: #0c2d4a; }

.la-mode-icon { font-size: 1rem; color: var(--muted); line-height: 1; }
.la-mode-card.active .la-mode-icon { color: var(--accent); }
.la-mode-title { font-size: 0.65rem; font-weight: 600; color: var(--text); line-height: 1.2; }
.la-mode-sub { font-size: 0.58rem; color: var(--muted); line-height: 1.3; }

.la-panels { margin-top: 0; }
.la-panel { display: none; }
.la-panel.active { display: block; }

.la-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.la-form-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.la-form-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.la-form-grid.g2 { grid-template-columns: 1fr 1fr; }

.la-desc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.la-field { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.la-f-label {
  font-size: 0.6rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-f-input {
  font-size: 0.72rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #334155;
  border-radius: 5px;
  padding: 0.28rem 0.45rem;
  font-family: inherit;
  width: 100%;
  min-height: 1.65rem;
}

.la-f-input:focus { outline: none; border-color: var(--accent); }
.la-f-input.rtl, .rtl-field, .rtl {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

.la-f-input.ltr, .ltr {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

.la-btn-sm {
  font-size: 0.68rem !important;
  padding: 0.28rem 0.55rem !important;
  min-height: unset !important;
}

.la-ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
}

.la-ai-form-col,
.la-ai-preview-col {
  min-width: 0;
}

.la-ai-intro {
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  font-size: 0.68rem;
  line-height: 1.45;
  margin-bottom: 0.55rem;
}

.la-ai-intro.blue { background: #0c2d4a; border: 1px solid #185FA5; color: #85B7EB; }
.la-ai-intro.green { background: #04342C; border: 1px solid #0F6E56; color: #5DCAA5; }

.la-methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.la-method-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid #2a3a52;
  border-radius: 20px;
  padding: 0.25rem 0.5rem;
  background: var(--bg);
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: 0.62rem;
}

.la-method-chip.picked {
  border: 2px solid var(--accent);
  background: #0c2d4a;
}

.la-method-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
}

.la-method-name { font-weight: 600; font-size: 0.62rem; }

.la-method-badge {
  font-size: 0.55rem;
  padding: 1px 5px;
  border-radius: 20px;
}

.badge-blue { background: #0c2d4a; color: #85B7EB; }
.badge-amber { background: #412402; color: #FAC775; }
.badge-teal { background: #04342C; color: #5DCAA5; }

.la-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}

.la-lang-tabs { display: flex; gap: 0.25rem; flex-shrink: 0; }

.la-ltab {
  font-size: 0.6rem;
  padding: 0.15rem 0.4rem;
  border-radius: 20px;
  border: 1px solid #334155;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.la-ltab.active { background: var(--surface2); color: var(--text); border-color: #4a5270; }

.la-preview-desc {
  font-size: 0.7rem;
  line-height: 1.65;
  background: var(--bg);
  border: 1px solid #2a3a52;
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  white-space: pre-line;
}

.la-preview-desc.ltr {
  direction: ltr;
  text-align: left;
}

.la-preview-desc.rtl {
  direction: rtl;
  text-align: right;
}

.la-preview-tall {
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
}

.la-hashtags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.45rem 0; }

.la-htag {
  font-size: 0.58rem;
  background: var(--surface2);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 2px 7px;
  color: var(--muted);
}

.la-smart-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.75rem;
  align-items: start;
}

.la-scan-steps { display: flex; flex-direction: column; gap: 0.28rem; margin-bottom: 0.55rem; }

.la-scan-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--muted);
}

.la-scan-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #04342C;
  border: 1px solid #1D9E75;
  color: #1D9E75;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.la-ai-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.la-ai-fields.g4 { grid-template-columns: repeat(4, 1fr); }

.la-aif {
  background: #0c2d4a;
  border: 1px solid #185FA5;
  border-radius: 5px;
  padding: 0.35rem 0.45rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.la-aif-label { font-size: 0.55rem; color: var(--accent); margin-bottom: 0.05rem; }
.la-aif-val { font-size: 0.7rem; font-weight: 600; color: #85B7EB; }

.la-notice { font-size: 0.62rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.4; }
.la-scan-hint { margin: 0.4rem 0 0; }

.la-footer-compact {
  padding: 0.45rem 0.75rem !important;
  gap: 0.4rem !important;
}

.la-preview-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.85rem;
  border: 1px solid #2a3a52;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.la-preview-img { width: 100%; height: 140px; object-fit: cover; }

.la-preview-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  color: var(--muted);
  font-size: 0.75rem;
}

.la-preview-price { font-size: 1rem; font-weight: 600; color: var(--accent2); }
.la-preview-meta { font-size: 0.72rem; color: var(--muted); margin: 0.15rem 0 0.35rem; }
.la-preview-text { font-size: 0.8rem; color: var(--muted); line-height: 1.55; }

.la-buyer-preview {
  border: 1px solid #2a3a52;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.la-buyer-preview-head {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2a3a52;
  background: var(--bg);
}

.la-buyer-preview-hint {
  margin: 0.25rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.45;
}

.la-buyer-preview-layout {
  display: grid;
  grid-template-columns: minmax(240px, 42%) 1fr;
  gap: 0;
}

.la-buyer-preview-media {
  padding: 0.85rem;
  border-right: 1px solid #2a3a52;
  background: var(--bg);
}

.la-preview-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #334155;
  background: #0f172a;
}

.la-preview-hero-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.la-preview-hero-empty {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.75rem;
}

.la-preview-role {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.55rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
}

.la-preview-role-cover { background: #042C53; color: #B5D4F4; }
.la-preview-role-profile { background: #0F6E56; color: #B8F0D8; }
.la-preview-role-detail { background: #5C3D1E; color: #FAC775; }

.la-preview-thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.55rem;
}

.la-preview-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #1e293b;
}

.la-preview-thumb.active { border-color: var(--accent2); }
.la-preview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.la-preview-thumb .la-preview-role {
  bottom: 1px;
  left: 1px;
  font-size: 0.45rem;
  padding: 1px 2px;
}

.la-preview-side-photo,
.la-preview-detail-grid { margin-top: 0.65rem; }

.la-preview-side-label {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.la-preview-side-photo img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #334155;
}

.la-preview-detail-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.la-preview-detail-imgs img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #334155;
}

.la-buyer-preview-info { padding: 0.85rem 1rem 1rem; }

.la-buyer-title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

.la-buyer-price { margin: 0.35rem 0 0.65rem; font-size: 1.1rem; }

.la-preview-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  background: var(--bg);
  border: 1px solid #2a3a52;
  border-radius: 6px;
}

.la-preview-spec { margin: 0; }
.la-preview-spec dt {
  font-size: 0.58rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.la-preview-spec dd {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
}

.la-buyer-contact {
  font-size: 0.72rem;
  margin: 0 0 0.65rem;
  color: #94a3b8;
}
.la-buyer-contact span { color: var(--muted); margin-right: 0.35rem; }

.la-buyer-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.la-buyer-lang-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.la-buyer-desc {
  min-height: 120px;
  max-height: 280px;
  overflow-y: auto;
  white-space: pre-wrap;
  font-size: 0.78rem;
  line-height: 1.6;
  padding: 0.55rem 0.65rem;
  background: var(--bg);
  border: 1px solid #2a3a52;
  border-radius: 6px;
}

.la-buyer-tags {
  margin: 0.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.la-buyer-tags span {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #1e3a5f;
  color: #93c5fd;
}

.la-validation-banner {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #7f1d1d;
  background: #3b1219;
  color: #fecaca;
  font-size: 0.75rem;
  line-height: 1.45;
}

.la-validation-banner strong { display: block; margin-bottom: 0.25rem; color: #fca5a5; }
.la-validation-banner p { margin: 0.2rem 0; }
.la-validation-fields { font-weight: 600; text-transform: capitalize; }

.la-validation-ok {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.la-workflow-status {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 0.9rem;
  color: #93c5fd;
}

.la-workflow-status.la-workflow-live {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.la-workflow-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.25);
}

.la-category-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.la-category-select {
  max-width: 220px;
  flex: 1;
  min-width: 140px;
}

.la-compliance {
  margin: 0;
  padding: 0.4rem 0.85rem;
  background: #412402;
  border-bottom: 1px solid #6b4a12;
  color: #FAC775;
  font-size: 0.65rem;
}

/* Wider workspace when LilamAuto flow is active */
.workspace-grid.seller-mode.la-wide {
  max-width: none;
  width: 100%;
}

.la-ai-intro.amber { background: #412402; border: 1px solid #6b4a12; color: #FAC775; }

.la-thumb-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.la-del-photo {
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0.85;
}

.la-del-photo:hover {
  opacity: 1;
}

.la-set-cover {
  font-size: 0.55rem;
  line-height: 1;
  padding: 0;
  width: 46px;
  height: 14px;
  border: none;
  background: transparent;
  color: #4a5270;
  cursor: pointer;
  font-family: inherit;
}

.la-set-cover:hover,
.la-set-cover.is-cover { color: #FAC775; }

.la-role-btns {
  display: flex;
  gap: 1px;
  justify-content: center;
  margin-top: 2px;
}

.la-set-role {
  font-size: 0.5rem;
  line-height: 1;
  padding: 0;
  width: 14px;
  height: 12px;
  border: 1px solid #334155;
  border-radius: 2px;
  background: #1e293b;
  color: #94a3b8;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.la-set-role:hover { border-color: #64748b; color: #e2e8f0; }
.la-set-role.cover.active { background: #042C53; color: #B5D4F4; border-color: #185FA5; }
.la-set-role.profile.active { background: #0F6E56; color: #B8F0D8; border-color: #0F6E56; }
.la-set-role.detail.active { background: #5C3D1E; color: #FAC775; border-color: #B45309; }

.la-paste-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
}

.la-paste-text { min-height: 200px; resize: vertical; }

.la-rhetoric-meter { margin: 0.5rem 0; }

.la-rhetoric-row {
  display: grid;
  grid-template-columns: 88px 1fr 36px;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
  font-size: 0.62rem;
}

.la-rhetoric-row.dominant .la-rhetoric-label { color: var(--accent); font-weight: 600; }

.la-rhetoric-bar {
  height: 6px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #334155;
}

.la-rhetoric-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}

.la-rhetoric-ethos { background: #185FA5; }
.la-rhetoric-pathos { background: #B45309; }
.la-rhetoric-logos { background: #0F6E56; }

.la-rhetoric-pct { color: var(--muted); text-align: right; }

.la-paste-detected { font-size: 0.68rem; color: var(--muted); margin-top: 0.4rem; }

@media (max-width: 1024px) {
  .la-mode-cards { grid-template-columns: repeat(2, 1fr); }
  .la-paste-layout { grid-template-columns: 1fr; }
  .la-split { grid-template-columns: 1fr; }
  .la-photos-col {
    border-right: none;
    border-bottom: 1px solid #2a3a52;
    position: static;
  }
  .la-ai-layout,
  .la-smart-layout { grid-template-columns: 1fr; }
  .la-form-grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .la-desc-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .la-mode-cards,
  .la-form-grid,
  .la-form-grid.g3,
  .la-form-grid.g4,
  .la-ai-fields,
  .la-ai-fields.g4 { grid-template-columns: 1fr; }
  .la-preview-card { grid-template-columns: 1fr; }
  .la-buyer-preview-layout { grid-template-columns: 1fr; }
  .la-buyer-preview-media { border-right: none; border-bottom: 1px solid #2a3a52; }
  .la-preview-specs { grid-template-columns: 1fr; }
  .la-big-view { height: 160px; }
}
