:root { --orb-primary: #0D6EFD; }
.text-orb { color: var(--orb-primary) !important; }
.bg-orb { background: var(--orb-primary) !important; color: #fff; }
.btn-orb { background: var(--orb-primary); border-color: var(--orb-primary); color: #fff; }
.btn-orb:hover, .btn-orb:focus { filter: brightness(.92); color: #fff; background: var(--orb-primary); }
.btn-outline-orb { border-color: var(--orb-primary); color: var(--orb-primary); }
.btn-outline-orb:hover { background: var(--orb-primary); color: #fff; }

.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04); }
.stat-card .stat { font-size: 1.6rem; font-weight: 700; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: #eef1f5; }
.app-icon-lg { width: 88px; height: 88px; border-radius: 20px; object-fit: cover; background: #eef1f5; }
.table td, .table th { vertical-align: middle; }
.form-hint { font-size: .82rem; color: #6c757d; }

.hero { background: linear-gradient(135deg, var(--orb-primary), #172554); color: #fff; border-radius: 1rem; }
.hero .form-control { border: 0; }

/* phone preview frame */
.phone { width: 340px; max-width: 100%; height: 680px; border: 12px solid #111; border-radius: 42px; position: relative; overflow: hidden; background: #fff; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #111; border-radius: 12px; z-index: 3; }
.phone .statusbar { height: 34px; }
.phone iframe { width: 100%; height: calc(100% - 34px); border: 0; }

pre.build-log { background: #0f172a; color: #d1fae5; font-size: .78rem; max-height: 460px; overflow: auto; padding: 1rem; border-radius: .5rem; white-space: pre-wrap; word-break: break-all; }
.feature-toggle { border: 1px solid #e5e7eb; border-radius: .6rem; padding: .7rem .9rem; height: 100%; background: #fff; }
.color-swatch { width: 42px; padding: 2px; }
.code-box { position: relative; }
.code-box pre { background: #f6f8fa; border: 1px solid #e5e7eb; padding: .8rem; border-radius: .5rem; font-size: .8rem; max-height: 320px; overflow: auto; }
.code-box .copy-btn { position: absolute; top: .4rem; right: .4rem; }
@media print { nav, footer, .no-print { display: none !important; } body { background: #fff !important; } }
