/* Professional interface preview frames (screenshot-style) */

.figure-shot {
  margin: 22px 0 8px;
}

.figure-shot figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}

.shot-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.shot-img-wrap img.shot-real {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.shot-img-wrap img.shot-real.loaded + .browser { display: none; }

.browser {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.browser-top {
  background: linear-gradient(180deg, #e8ecf2, #dfe4eb);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #d0d7e2;
}

.browser-top .dot { width: 11px; height: 11px; border-radius: 50%; }
.browser-top .dot.r { background: #ff5f57; }
.browser-top .dot.y { background: #febc2e; }
.browser-top .dot.g { background: #28c840; }

.browser-url {
  flex: 1;
  margin-inline-start: 10px;
  background: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-app {
  display: flex;
  min-height: 200px;
  font-size: 11px;
}

.mock-side {
  width: 168px;
  flex-shrink: 0;
  background: #1a2035;
  color: #9aa3b2;
  padding: 10px 0;
}

.mock-side .item {
  padding: 7px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-side .item.on {
  background: rgba(21, 114, 232, 0.2);
  color: #fff;
  border-inline-start: 3px solid #1572e8;
  padding-inline-start: 9px;
}

.mock-side .item i { margin-inline-end: 6px; opacity: 0.7; }

.mock-main {
  flex: 1;
  background: #f4f6f9;
  padding: 14px;
  min-width: 0;
}

.mock-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e2329;
  margin-bottom: 12px;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #e2e8f0;
}

.mock-card .lbl { color: #94a3b8; font-size: 9px; text-transform: uppercase; }
.mock-card .val { font-size: 16px; font-weight: 700; color: #1572e8; margin-top: 4px; }

.mock-table {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.mock-table .row {
  display: grid;
  grid-template-columns: 1fr 80px 70px;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}

.mock-table .row.head {
  background: #f8fafc;
  font-weight: 600;
  color: #64748b;
  font-size: 9px;
  text-transform: uppercase;
}

.mock-btn {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  margin: 4px 4px 0 0;
}

.mock-btn.primary { background: #1572e8; color: #fff; }
.mock-btn.success { background: #22c55e; color: #fff; }
.mock-btn.outline { background: #fff; border: 1px solid #1572e8; color: #1572e8; }

.mock-form .field {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 10px;
}

.mock-form .field.filled { color: #334155; }

.mock-plugin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-plugin {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.mock-plugin h4 { margin: 0 0 6px; font-size: 11px; color: #1e2329; }
.mock-plugin .toggle { width: 36px; height: 18px; background: #22c55e; border-radius: 9px; }

.mock-ai-box {
  background: linear-gradient(135deg, #f0f7ff, #e8f2ff);
  border: 1px dashed #1572e8;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}

.mock-ai-box .title { color: #1572e8; font-weight: 700; font-size: 11px; margin-bottom: 8px; }

@media (max-width: 600px) {
  .mock-cards { grid-template-columns: 1fr; }
  .mock-side { width: 120px; }
  .mock-plugin-grid { grid-template-columns: 1fr; }
}
