/* v2 shell — capture strip + app iframe. Kept intentionally tiny. */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

/* ── Capture strip ── */
.strip {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.strip-btn:hover { background: #eef0f3; color: #111827; }
.strip-btn:active { background: #e2e5ea; }

.strip-spacer { flex: 1 1 auto; }

.strip-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin-right: 4px;
}

/* ── App iframe ── */
.app-frame {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  display: block;
}

/* ── Toast ── */
.toast {
  position: absolute;
  top: 48px;
  left: 8px;
  right: 8px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  background: #111827;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.toast-error { background: #b91c1c; }
.toast-success { background: #047857; }

@media (prefers-color-scheme: dark) {
  html, body { background: #111; }
  .strip { background: #1a1a1a; border-bottom-color: #2a2a2a; }
  .strip-btn { color: #9ca3af; }
  .strip-btn:hover { background: #262626; color: #f3f4f6; }
  .strip-btn:active { background: #303030; }
}
