:root {
  --app-bg: #f2f5f9;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --line: #dfe5ee;
  --line-strong: #b5c0cf;
  --text: #202633;
  --muted: #667085;
  --primary: #2857d7;
  --primary-dark: #1f45af;
  --accent: #f97316;
  --success: #168a4a;
  --danger: #c2410c;
  --canvas-bg: #e5e9ef;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(25, 35, 58, 0.14);
  --soft-shadow: 0 10px 28px rgba(25, 35, 58, 0.08);
  --site-font-body: Inter, Arial, sans-serif;
  --site-font-heading: Inter, Arial, sans-serif;
  --site-primary: #2563eb;
  --site-accent: #f97316;
  --site-ink: #172033;
  --site-muted: #64748b;
  --site-surface: #ffffff;
  --site-soft: #f4f7fb;
  --site-warm: #fff6ed;
  --site-success: #16a34a;
  --site-heading-size: 48px;
  --site-base-size: 16px;
  --site-line-height: 1.55;
  --site-letter-spacing: 0px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8fafc 0%, var(--app-bg) 48%, #e9edf3 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-slot {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: currentColor;
}

.icon-slot svg {
  width: 16px;
  height: 16px;
}

.icon-slot i {
  display: none;
}

.icon-fallback {
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.icons-ready .icon-fallback {
  display: none;
}

.btn-text {
  line-height: 1;
}

.app-shell {
  display: grid;
  grid-template-columns: 304px minmax(420px, 1fr) 348px;
  min-height: 100vh;
}

.sidebar,
.inspector {
  background: var(--panel);
  border-right: 1px solid var(--line);
  min-height: 100vh;
  overflow: auto;
  scrollbar-width: thin;
}

.inspector {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #172033, #2857d7);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 87, 215, 0.22);
}

.brand-mark .icon-slot,
.brand-mark .icon-slot svg {
  width: 19px;
  height: 19px;
}

.brand-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.panel-section {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #364152;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tiny {
  color: var(--muted);
  font-size: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field label,
.field-label {
  color: #364152;
  font-size: 12px;
  font-weight: 700;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--text);
  padding: 9px 10px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.45;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.button-row,
.toolbar-group,
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolbar-group,
.segmented {
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(215, 222, 232, 0.72);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.88);
}

.device-btn {
  min-width: 104px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 7px 10px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.btn:hover {
  border-color: var(--line-strong);
  background: var(--panel-soft);
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.btn.danger {
  border-color: #fed7aa;
  background: #fff7ed;
  color: var(--danger);
}

.btn.ghost {
  background: transparent;
}

.btn.icon {
  width: 36px;
  min-width: 36px;
  padding: 0;
}

.btn.icon .icon-slot,
.btn.icon .icon-slot svg {
  width: 17px;
  height: 17px;
}

.btn.small {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 12px;
}

.btn.with-icon {
  padding-left: 9px;
}

.btn.active,
.chip.active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(40, 87, 215, 0.09);
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #364152;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.chip:hover {
  border-color: var(--line-strong);
  background: var(--panel-soft);
}

.page-list,
.block-list {
  display: grid;
  gap: 8px;
}

.page-item,
.block-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.page-item {
  display: grid;
  gap: 4px;
  text-align: left;
}

.page-item:hover,
.block-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}

.page-item.active {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(40, 87, 215, 0.08);
}

.page-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.block-card {
  cursor: grab;
}

.block-card:active {
  cursor: grabbing;
}

.block-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-weight: 800;
}

.block-card-title .btn {
  opacity: 0.72;
}

.block-card:hover .block-card-title .btn {
  opacity: 1;
}

.block-card-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: var(--canvas-bg);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.site-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.site-name input {
  max-width: 220px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  outline: none;
  padding: 5px 0;
}

.site-name input:focus {
  border-bottom-color: var(--primary);
}

.workspace {
  overflow: auto;
  padding: 28px;
}

.viewport {
  width: min(100%, 1200px);
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(174, 185, 200, 0.48);
  border-radius: 8px;
  overflow: hidden;
  transition: width 160ms ease;
}

.viewport.tablet {
  width: 768px;
}

.viewport.mobile {
  width: 390px;
}

.drop-target {
  min-height: calc(100vh - 110px);
  outline: 1px solid transparent;
  border-radius: 8px;
}

.drop-target.dragging {
  outline: 2px dashed var(--primary);
  outline-offset: -10px;
}

.empty-canvas {
  display: grid;
  place-items: center;
  min-height: 520px;
  color: var(--muted);
  text-align: center;
  padding: 40px;
}

.editor-block {
  position: relative;
  border: 2px solid transparent;
}

.editor-block:hover {
  border-color: rgba(37, 99, 235, 0.28);
}

.editor-block.selected {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(40, 87, 215, 0.2);
}

.block-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  display: none;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.editor-block:hover .block-actions,
.editor-block.selected .block-actions {
  display: flex;
}

.preview .editor-block {
  border-color: transparent;
}

.preview .block-actions {
  display: none;
}

.site-page {
  background: var(--site-surface);
  color: var(--site-ink);
  font-family: var(--site-font-body);
  font-size: var(--site-base-size);
  line-height: var(--site-line-height);
  letter-spacing: var(--site-letter-spacing);
}

.site-page h1,
.site-page h2,
.site-page h3 {
  margin: 0;
  color: var(--site-ink);
  font-family: var(--site-font-heading);
  letter-spacing: 0;
}

.site-page p {
  margin: 0;
}

.site-block {
  position: relative;
  overflow: hidden;
  background: var(--block-bg, var(--site-surface));
  color: var(--block-text, var(--site-ink));
}

.site-block-inner {
  width: min(100% - 40px, var(--block-max-width, 1140px));
  margin: 0 auto;
  padding: var(--block-padding, 72px) 0;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--site-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 820px;
  font-size: clamp(34px, 5vw, var(--site-heading-size));
  line-height: 1.04;
}

.align-center .hero-title {
  margin-left: auto;
  margin-right: auto;
}

.hero-text,
.section-lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--site-muted);
  font-size: 18px;
}

.align-center .hero-text,
.align-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.align-center .hero-actions,
.align-center .cta-actions {
  justify-content: center;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
}

.site-btn.primary {
  background: var(--site-primary);
  color: #fff;
}

.site-btn.secondary {
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: #fff;
  color: var(--site-ink);
}

.nav-block .site-block-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.nav-links a,
.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.brand-word {
  color: var(--site-ink);
  font-weight: 900;
}

.split-grid,
.feature-split,
.product-detail,
.cta-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.visual-panel,
.media-panel {
  min-height: 300px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(249, 115, 22, 0.18)),
    var(--site-soft);
  border: 1px solid rgba(100, 116, 139, 0.18);
}

.visual-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.visual-tile {
  min-height: 70px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.pricing-card,
.testimonial-card,
.product-card,
.team-card,
.faq-card,
.blog-card {
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.content-card h3,
.pricing-card h3,
.testimonial-card h3,
.product-card h3,
.team-card h3,
.faq-card h3,
.blog-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.content-card p,
.pricing-card p,
.testimonial-card p,
.product-card p,
.team-card p,
.faq-card p,
.blog-card p {
  color: var(--site-muted);
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--site-primary) 14%, #fff);
  color: var(--site-primary);
  font-weight: 900;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-number {
  color: var(--site-primary);
  font-size: 34px;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.gallery-cell,
.video-frame,
.product-image,
.avatar,
.blog-image {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.16), rgba(37, 99, 235, 0.16)),
    var(--site-soft);
}

.gallery-cell {
  min-height: 150px;
}

.gallery-cell.tall {
  grid-row: span 2;
}

.video-frame {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-top: 30px;
  color: var(--site-primary);
  font-weight: 900;
}

.form-shell {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-top: 28px;
}

.align-center .form-shell {
  margin-left: auto;
  margin-right: auto;
}

.form-shell input,
.form-shell textarea,
.form-shell select {
  width: 100%;
  border: 1px solid rgba(100, 116, 139, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
}

.price {
  margin: 16px 0;
  font-size: 36px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  color: var(--site-muted);
}

.quote {
  color: var(--site-ink);
  font-size: 21px;
  font-weight: 700;
}

.cta-banner {
  border-radius: 8px;
  background: var(--site-ink);
  color: #fff;
  padding: 44px;
}

.cta-banner h2,
.cta-banner p {
  color: #fff;
}

.footer-block {
  border-top: 1px solid rgba(100, 116, 139, 0.18);
}

.footer-block .site-block-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
}

.product-image,
.blog-image {
  min-height: 180px;
  margin-bottom: 16px;
}

.avatar {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.zero-stage {
  position: relative;
  height: var(--zero-height, 560px);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.22);
  background-color: var(--block-bg, #fff);
}

.zero-stage.grid-on {
  background-image:
    linear-gradient(rgba(100, 116, 139, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.13) 1px, transparent 1px);
  background-size: 16px 16px;
}

.zero-element {
  position: absolute;
  min-width: 30px;
  min-height: 24px;
  border: 1px solid transparent;
  user-select: none;
  touch-action: none;
}

.zero-element.selected,
.zero-element:hover {
  border-color: var(--primary);
}

.zero-text {
  color: var(--site-ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}

.zero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--site-primary);
  color: #fff;
  padding: 12px 18px;
  font-weight: 900;
}

.zero-shape {
  width: 140px;
  height: 90px;
  border-radius: 8px;
  background: var(--site-accent);
}

.zero-image {
  display: grid;
  place-items: center;
  width: 180px;
  height: 120px;
  border-radius: 8px;
  background: var(--site-soft);
  color: var(--site-muted);
  font-weight: 800;
}

.anim-fade-up {
  animation: fadeUp 600ms ease both;
}

.anim-zoom {
  animation: zoomIn 520ms ease both;
}

.anim-reveal {
  animation: revealIn 700ms ease both;
}

.anim-parallax {
  transform: translateY(var(--scroll-offset, 0));
}

.hover-lift:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealIn {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 16px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--panel-soft);
  padding: 8px 6px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1;
}

.tab.active {
  border-bottom-color: #fff;
  background: #fff;
  color: var(--primary-dark);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.color-field {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
}

.color-field input[type="color"] {
  width: 32px;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 8px;
  align-items: center;
}

.publish-result {
  display: grid;
  gap: 6px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  padding: 12px;
}

.roadmap {
  display: grid;
  gap: 10px;
}

.phase-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.phase-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.phase-card ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--success);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.48);
  padding: 24px;
}

.modal {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-header,
.modal-body {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.code-preview {
  overflow: auto;
  max-height: 420px;
  border-radius: 8px;
  background: #111827;
  color: #e5e7eb;
  padding: 14px;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 260px minmax(360px, 1fr);
  }

  .inspector {
    grid-column: 1 / -1;
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .sidebar,
  .inspector {
    min-height: auto;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace {
    padding: 14px;
  }

  .viewport,
  .viewport.tablet,
  .viewport.mobile {
    width: 100%;
  }

  .split-grid,
  .feature-split,
  .product-detail,
  .cta-split,
  .card-grid,
  .card-grid.two,
  .stat-row,
  .gallery-grid,
  .footer-block .site-block-inner {
    grid-template-columns: 1fr;
  }

  .footer-block .site-block-inner {
    display: grid;
  }
}

.outline-list {
  display: grid;
  gap: 8px;
}

.outline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.outline-item:hover {
  border-color: var(--line-strong);
  background: var(--panel-soft);
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.outline-item.active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(40, 87, 215, 0.08);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  min-width: 240px;
  max-width: 360px;
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
  animation: toast-in 180ms ease;
}

.toast.success {
  background: linear-gradient(135deg, #166534, #15803d);
}

.toast.error {
  background: linear-gradient(135deg, #9a3412, #c2410c);
}

.shortcut-list {
  display: grid;
  gap: 10px;
}

.shortcut-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.shortcut-list strong {
  font-size: 12px;
}

.shortcut-list span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.publish-result {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
}

.publish-result a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.publish-result a:hover {
  text-decoration: underline;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .app-shell {
    grid-template-columns: 280px minmax(320px, 1fr) 320px;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 280px minmax(320px, 1fr);
  }

  .inspector {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100vh;
    z-index: 40;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -20px 0 40px rgba(15, 23, 42, 0.12);
  }
}
