/* Styles für Erweiterung „studio“ – Vollbild im Stil von Lovable: Chat links, App/Code rechts, Bearbeiten-Fenster */
body.studio-full .sidebar, body.studio-full .topbar, body.studio-full .sidebar-backdrop { display: none !important; }
body.studio-full .main { padding: 0; max-width: none; height: 100vh; height: 100dvh; overflow: hidden; }
body.studio-full { overflow: hidden; }

.lv { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--bg); }
.lv-top { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; position: relative; z-index: 3; }
.lv-name { font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 2px; }
.lv-seg button { border: 0; background: transparent; color: var(--text-2); padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--fs-sm); cursor: pointer; font-weight: 600; }
.lv-seg button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.lv-urlbar { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 2px 6px; }
.lv-devs { display: inline-flex; gap: 2px; }
.lv-dev { border: 0; background: transparent; color: var(--text-3); width: 28px; height: 26px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.lv-dev.is-on, .lv-dev:hover { background: var(--surface); color: var(--text); }
.lv-path { flex: 1 1 auto; min-width: 0; font-family: var(--mono); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; }
.lv-actions { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.lv-edit.is-on { background: var(--accent-solid); color: var(--on-accent); border-color: var(--accent-solid); }
.lv-mobile-only { display: none; }
.lv-loading, .lv-empty { margin: auto; padding: 40px; text-align: center; max-width: 520px; }

.lv-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
.lv-chat { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--border); background: var(--surface); }
.lv-log { flex: 1 1 auto; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.lv-intro { text-align: center; padding: 16px 6px; }
.lv-intro-ic { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--accent-solid), #c04fe0); }
.lv-intro p { margin: 0 0 8px; }
.lv-sugg { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.lv-chip { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); border-radius: var(--radius-pill); padding: 5px 11px; font-size: var(--fs-sm); text-align: left; cursor: pointer; }
.lv-chip:hover, .lv-chip.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.lv-msg { display: flex; gap: 8px; min-width: 0; }
.lv-msg.is-user { justify-content: flex-end; flex-direction: column; align-items: flex-end; gap: 3px; }
.lv-msg.is-user .lv-bubble { background: var(--accent-solid); color: var(--on-accent); border-radius: 14px 14px 4px 14px; max-width: 88%; }
.lv-avatar { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--accent-solid), #c04fe0); }
.lv-avatar.is-busy { animation: lv-pulse 1.2s ease-in-out infinite; }
@keyframes lv-pulse { 50% { opacity: .45; } }
.lv-ai { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lv-bubble { padding: 8px 11px; border-radius: 4px 14px 14px 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; background: var(--surface-2); border: 1px solid var(--border); }
.lv-msg.is-error .lv-bubble { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.lv-sel-mini { font-size: var(--fs-xs); color: var(--text-3); }
.lv-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lv-steps { display: flex; flex-direction: column; gap: 4px; }
.lv-step { margin: 0; font-size: var(--fs-sm); }
.lv-step summary { cursor: pointer; list-style: none; display: flex; gap: 6px; align-items: center; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.lv-step summary::-webkit-details-marker { display: none; }
.lv-step summary code { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.lv-reads summary { color: var(--text-2); border-style: dashed; }
.lv-reads ul { margin: 4px 0 0; padding: 0 0 0 26px; color: var(--text-3); font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; }
.lv-ed-ic { color: var(--accent); font-weight: 700; }
.lv-plus { color: var(--ok); font-weight: 700; font-size: 12px; }
.lv-minus { color: var(--danger); font-weight: 700; font-size: 12px; }
.lv-think { color: var(--text-2); font-style: italic; padding: 0 4px; overflow-wrap: anywhere; }
.lv-warn { color: var(--warn); }
.lv-pkg { color: var(--text-2); overflow-wrap: anywhere; }
.lv-live { color: var(--text-3); display: flex; gap: 6px; align-items: center; }
.lv-run-h { font-size: var(--fs-sm); overflow-wrap: anywhere; }
.lv-diff { margin: 4px 0 0; max-height: 280px; overflow: auto; font-family: var(--mono); font-size: 11px; line-height: 1.5; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.lv-diff span { display: block; white-space: pre; padding-right: 8px; }
.lv-diff i { display: inline-block; width: 34px; text-align: right; padding-right: 6px; color: var(--text-3); font-style: normal; user-select: none; }
.lv-da { background: color-mix(in srgb, var(--ok) 14%, transparent); }
.lv-dr { background: color-mix(in srgb, var(--danger) 14%, transparent); }
.lv-dc { color: var(--text-2); }
.lv-input { flex: none; margin: 8px 10px 10px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.lv-input:focus-within { border-color: var(--accent); }
.lv-input textarea { border: 0; resize: none; min-height: 56px; max-height: 200px; padding: 4px; background: transparent; width: 100%; }
.lv-input textarea:focus { outline: none; box-shadow: none; }
.lv-input-row { display: flex; gap: 6px; align-items: center; }
.lv-input-row select { width: auto; padding: 3px 6px; font-size: var(--fs-sm); }
.lv-grow { flex: 1 1 auto; }
.lv-sel { display: flex; justify-content: space-between; gap: 6px; align-items: center; background: var(--accent-soft); border-radius: 8px; padding: 4px 8px; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.lv-ro { padding: 10px; }

.lv-main { position: relative; min-width: 0; min-height: 0; display: flex; }
.lv-pane { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; }
.lv-pane.is-hidden { display: none; }
.lv-frame-wrap { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; justify-content: center; background: var(--surface-3); }
.lv-frame-wrap iframe { height: 100%; max-width: 100%; border: 0; background: #fff; transition: width .2s var(--ease); }
.lv-frame-wrap.is-device { padding: 16px 0; }
.lv-frame-wrap.is-device iframe { height: calc(100% - 0px); border-radius: 18px; box-shadow: var(--shadow-lg); }
.lv-busy { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 14px; font-size: var(--fs-sm); box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; z-index: 2; }
.lv-busy[hidden] { display: none; }
.lv-edithint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: var(--accent-solid); color: var(--on-accent); border-radius: var(--radius-pill); padding: 6px 14px; font-size: var(--fs-sm); box-shadow: var(--shadow-lg); pointer-events: none; z-index: 2; white-space: nowrap; }
.lv-pop { position: absolute; z-index: 4; width: 320px; max-width: calc(100% - 16px); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.lv-pop-h { display: flex; align-items: center; gap: 6px; }
.lv-pop-h .small { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-pop-l { font-size: var(--fs-xs); color: var(--text-3); margin-bottom: -4px; }
.lv-pop textarea { width: 100%; resize: vertical; font-size: var(--fs-sm); }
.lv-pop-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: var(--fs-xs); color: var(--text-2); }
.lv-pop-row label { display: inline-flex; align-items: center; gap: 4px; }
.lv-pop-row input[type=color] { width: 28px; height: 24px; padding: 0; border: 1px solid var(--border); border-radius: 6px; background: none; }
.lv-pop-size, .lv-pop-align { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lv-pop-size button, .lv-pop-align button, .lv-pop-b { border: 0; background: var(--surface); color: var(--text); min-width: 26px; height: 24px; cursor: pointer; font-size: 12px; }
.lv-pop-size span { min-width: 26px; text-align: center; font-family: var(--mono); }
.lv-pop-b { border: 1px solid var(--border); border-radius: 8px; }
.lv-pop-align button.is-on, .lv-pop-b.is-on { background: var(--accent-soft); color: var(--accent); }
.lv-pop input[type=text] { width: 100%; font-size: var(--fs-sm); }
.lv-pop-f { display: flex; justify-content: flex-end; gap: 6px; }

.lv-code { background: var(--surface); }
.lv-tree { flex: 0 0 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-right: 1px solid var(--border); }
.lv-tree #lv-tree-list { overflow: auto; flex: 1 1 auto; min-height: 0; }
.lv-tree ul { list-style: none; margin: 0; padding: 0; }
.lv-dir { font-size: 12px; color: var(--text-3); padding: 3px 0; font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-file { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: var(--text); font-family: var(--mono); font-size: 12px; padding: 3px 6px; border-radius: 4px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-file:hover { background: var(--surface-2); }
.lv-file.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.lv-file.is-bin { color: var(--text-3); cursor: default; }
.lv-editor-wrap { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: 8px; }
.lv-ehead { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lv-ehead code { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.lv-ehead .row { gap: 4px; }
.lv-editor { flex: 1 1 auto; min-height: 200px; display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.lv-gutter { margin: 0; padding: 8px 6px; min-width: 42px; text-align: right; font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--text-3); background: var(--surface-2); overflow: hidden; user-select: none; border-right: 1px solid var(--border); }
#lv-editor { flex: 1 1 auto; min-width: 0; border: 0; border-radius: 0; resize: none; padding: 8px 10px; font-family: var(--mono); font-size: 12px; line-height: 1.55; tab-size: 2; white-space: pre; overflow: auto; background: var(--surface); color: var(--text); }
#lv-editor:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.lv-nofile { margin: auto; }

#lv-menu-layer { position: relative; z-index: 5; }
.lv-menu { position: absolute; right: 12px; top: 4px; width: 320px; max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.lv-menu-db { right: 150px; }
.lv-menu h3 { margin: 2px 4px 6px; font-size: var(--fs-md); }
.lv-menu p { margin: 0 4px 6px; overflow-wrap: anywhere; }
.lv-mi { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; width: 100%; border: 0; background: transparent; color: var(--text); padding: 8px; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.lv-mi:hover { background: var(--surface-2); }

@media (max-width: 900px) {
  .lv-mobile-only { display: inline-flex; }
  .lv-name { display: none; }
  .lv-urlbar { order: 5; flex-basis: 100%; }
  .lv-actions { margin-left: 0; flex-wrap: wrap; }
  .lv-body { grid-template-columns: minmax(0, 1fr); }
  .lv-body.lv-m-chat .lv-main { display: none; }
  .lv-body.lv-m-app .lv-chat { display: none; }
  .lv-tree { flex-basis: 140px; }
  .lv-menu-db { right: 12px; }
}
/* Live-Vorschau */
.lv-live { display: inline-flex; align-items: center; gap: 6px; }
.lv-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.lv-live.is-running .lv-live-dot, .lv-live.is-reloading .lv-live-dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.lv-live.is-starting .lv-live-dot { background: var(--warn); animation: lv-pulse 1s ease-in-out infinite; }
.lv-live.is-failed .lv-live-dot { background: var(--danger); }
.lv-menu-live { right: 330px; }
.lv-urlbar.is-flash { animation: lv-flash .9s ease-out; }
@keyframes lv-flash { 0% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 45%, transparent); border-color: var(--ok); } 100% { box-shadow: none; } }
@media (max-width: 900px) { .lv-menu-live { right: 12px; } }

/* ================= Studio 2: neues Design + Funktionen ================= */
.lv { background: var(--surface-2); }
.lv-top { gap: 8px; padding: 8px 12px; box-shadow: 0 1px 0 var(--border); border-bottom: 0; }
.lv-proj { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.lv-proj-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--accent-solid), #c04fe0); flex: none; }
.lv-tabs button { display: inline-flex; align-items: center; gap: 5px; }
.lv-badge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; }
.lv-badge[hidden] { display: none; }
.lv-more { font-size: 18px; width: 32px; height: 30px; }
.lv-urlbar { flex-basis: 200px; }
.lv-chat { background: var(--surface); }
.lv-log { padding: 16px 16px 8px; gap: 16px; }
.lv-bubble { box-shadow: var(--shadow-sm); }
.lv-msg.is-user .lv-bubble { box-shadow: none; }
.lv-md { white-space: normal; }
.lv-md p { margin: 0 0 6px; } .lv-md p:last-child { margin: 0; }
.lv-md ul, .lv-md ol { margin: 4px 0; padding-left: 20px; }
.lv-md code { font-size: 12px; }
.lv-next { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-next .lv-chip { font-size: 12px; padding: 4px 10px; }

/* Eingabe wie bei Lovable: großes Feld, Werkzeugleiste unten */
.lv-input { margin: 8px 12px 12px; border-radius: 16px; padding: 10px 10px 8px; gap: 4px; }
.lv-input.is-ask { border-color: var(--info); box-shadow: 0 0 0 3px var(--info-soft); }
.lv-input textarea { min-height: 64px; font-size: var(--fs-md); }
.lv-input-row { gap: 4px; flex-wrap: wrap; }
.lv-modes { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 2px; margin-right: 4px; }
.lv-modes button { border: 0; background: transparent; color: var(--text-2); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; }
.lv-modes button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.lv-input.is-ask .lv-modes button.is-on { color: var(--info); }
.lv-tool { border: 0; background: transparent; width: 30px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--text-2); }
.lv-tool:hover, .lv-tool.is-on { background: var(--accent-soft); color: var(--accent); }
.lv-tool.is-busy { animation: lv-pulse 1s ease-in-out infinite; }
.lv-input-row select { max-width: 150px; }
.lv-attach { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.lv-att { display: inline-flex; align-items: center; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 2px 1px 8px; font-size: 12px; max-width: 100%; overflow: hidden; }
.lv-att .icon-btn { width: 20px; height: 20px; font-size: 10px; }

/* Fehlerleiste in der Vorschau („Mit KI beheben“) */
#lv-errbar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; pointer-events: none; display: flex; justify-content: center; }
.lv-errbar { pointer-events: auto; display: flex; align-items: center; gap: 8px; max-width: 760px; width: 100%; background: var(--surface); border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--border)); border-left: 4px solid var(--danger); border-radius: 12px; padding: 8px 10px; box-shadow: var(--shadow-lg); }
.lv-err-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--danger-soft); color: var(--danger); display: grid; place-items: center; font-weight: 800; }
.lv-err-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.lv-err-main .small { color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lv-edithint { bottom: 78px; }

/* Konsole */
.lv-console { background: var(--surface); }
.lv-con-grid { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0; min-height: 0; }
.lv-con-sec { display: flex; flex-direction: column; min-height: 0; min-width: 0; border-right: 1px solid var(--border); }
.lv-con-sec:last-child { border-right: 0; }
.lv-con-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.lv-con-h b { margin-right: auto; }
.lv-err-list { flex: 1 1 auto; overflow: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; }
.lv-errrow { display: flex; gap: 8px; font-size: var(--fs-sm); overflow-wrap: anywhere; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
.lv-errrow pre { margin: 4px 0; font-size: 11px; white-space: pre-wrap; color: var(--text-2); }
.lv-err-kind { flex: none; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: var(--danger-soft); color: var(--danger); height: fit-content; }
.lv-errrow.is-console .lv-err-kind, .lv-errrow.is-resource .lv-err-kind { background: var(--warn-soft); color: var(--warn); }
.lv-logs { flex: 1 1 auto; margin: 0; overflow: auto; padding: 10px 12px; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; background: #0f1220; color: #d6dbea; white-space: pre-wrap; overflow-wrap: anywhere; }
.lv-log-err { color: #ff8b8b; }
.lv-log-sys { color: #8fb7ff; }
.lv-log-cmd { color: #9ff0c0; font-weight: 700; }
.lv-term { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #0f1220; border-top: 1px solid #262b40; }
.lv-term span { color: #9ff0c0; font-family: var(--mono); }
.lv-term input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; color: #e8ecf8; font-family: var(--mono); font-size: 12px; }
.lv-term input:focus { outline: none; box-shadow: none; }

/* Verlauf (Versionen) */
.lv-history { background: var(--surface); overflow: auto; }
.lv-hist { padding: 16px 20px; max-width: 900px; width: 100%; margin: 0 auto; }
.lv-hist-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.lv-hist-list { list-style: none; margin: 0; padding: 0; position: relative; }
.lv-hist-list::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.lv-ver { position: relative; padding: 6px 0 6px 0; }
.lv-ver-row { display: flex; align-items: center; gap: 10px; }
.lv-ver-dot { position: relative; z-index: 1; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); }
.lv-ver-dot.is-studio { border-color: var(--accent); background: var(--accent-soft); }
.lv-ver.is-current .lv-ver-dot { background: var(--accent-solid); border-color: var(--accent-solid); }
.lv-ver-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.lv-patch { margin: 6px 0 6px 26px; max-height: 420px; overflow: auto; font-family: var(--mono); font-size: 11px; line-height: 1.5; border: 1px solid var(--border); border-radius: 8px; padding: 8px; background: var(--surface-2); white-space: pre; }
.lv-pa { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); display: inline-block; min-width: 100%; }
.lv-pr { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); display: inline-block; min-width: 100%; }
.lv-ph { color: var(--info); font-weight: 700; }
.lv-menu-more { right: 12px; }

@media (max-width: 1100px) { .lv-tabs button { padding: 4px 8px; } .lv-urlbar { flex-basis: 160px; } }
@media (max-width: 900px) {
  .lv-con-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .lv-con-sec { border-right: 0; border-bottom: 1px solid var(--border); }
  .lv-tabs { order: 4; }
  .lv-input-row select { max-width: 110px; }
}
