/* Painel do dono — visual próprio, em cima das cores do app. */
html, body.owner { background: #EEF0F5; min-height: 100%; }
.o-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.o-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.o-mark svg { width: 18px; height: 18px; }

/* ---------- login / primeiro acesso ---------- */
.o-auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.o-auth-side { flex: 1 1 420px; background: var(--navy); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.o-auth-side .o-brand { color: #fff; }
.o-auth-side h2 { font-size: 40px; line-height: 1.1; max-width: 460px; }
.o-auth-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; color: #C9CFE0; font-size: 16px; }
.o-auth-side li { display: flex; gap: 12px; align-items: flex-start; }
.o-auth-side li span { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--navy-3); color: #9DB0FF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.o-auth-main { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #fff; }
.o-auth-form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.o-auth-form h1 { font-size: 28px; }
.o-err { color: var(--bad); font-size: 14px; min-height: 20px; }

/* ---------- topo ---------- */
.o-top { background: #fff; border-bottom: 1px solid var(--line); }
.o-top-in { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.o-user { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.o-tabs { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: flex; gap: 4px; overflow-x: auto; }
.o-tabs a { padding: 14px 14px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.o-tabs a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.o-page { max-width: 1120px; margin: 0 auto; padding: 32px 20px 64px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- assistente ---------- */
.o-wizard { max-width: 1040px; margin: 0 auto; padding: 32px 20px 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.o-steps { flex: 1 1 240px; max-width: 280px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.o-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 600; }
.o-steps li .n { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #C5CAD6; display: flex; align-items: center; justify-content: center; font-size: 14px; background: #fff; }
.o-steps li.done { color: var(--ink); }
.o-steps li.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.o-steps li.now { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.o-steps li.now .n { border-color: var(--accent); background: var(--accent); color: #fff; }
.o-card { flex: 999 1 520px; min-width: 0; background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 1px 2px rgba(16,22,43,.06), 0 8px 24px rgba(16,22,43,.06); display: flex; flex-direction: column; gap: 20px; }
.o-kicker { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.o-card h1 { font-size: 30px; line-height: 1.15; }
.o-card p.o-lead { margin: 0; color: #4A5060; font-size: 16px; line-height: 1.55; }
.o-help { background: #F5F7FF; border: 1px solid #DCE3FF; border-radius: 14px; padding: 18px 20px; }
.o-help strong { display: block; margin-bottom: 8px; }
.o-help ol { margin: 0; padding-left: 20px; line-height: 1.8; color: #2A2F3A; }
.o-fields { display: grid; gap: 16px; }
.o-input { min-height: 50px; padding: 0 14px; border: 1.5px solid var(--input); border-radius: 12px; font-size: 16px; background: #fff; width: 100%; }
.o-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #2443D622; }
.o-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line-2); margin-top: 4px; }
.o-actions .right { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.btn.lg { min-height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.o-copy { display: flex; gap: 8px; }
.o-copy code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 14px; min-height: 50px; border-radius: 12px; background: #F1F3F7; color: var(--ink); font-size: 14px; overflow-x: auto; white-space: nowrap; }
.o-copy .btn { min-width: 96px; }
.o-label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
.o-confirm { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; cursor: pointer; }
.o-confirm input { width: 20px; height: 20px; }
.o-big-step { display: flex; gap: 14px; align-items: flex-start; }
.o-big-step > span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-top: 2px; }
.o-big-step > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.o-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #F1F3F7; font-weight: 600; font-size: 13px; }
.o-done-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0; }
.o-done-hero .o-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; }

/* ---------- painel ---------- */
.o-hero { background: var(--navy); color: #fff; border-radius: 20px; padding: 28px 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.o-hero h1 { font-size: 26px; }
.o-hero p { margin: 6px 0 0; color: #C9CFE0; }
.o-hero .o-copy code { background: var(--navy-2); color: #fff; }
.o-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.o-status div { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-weight: 600; }
.o-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
@media (max-width: 760px) { .o-status { grid-template-columns: 1fr 1fr; } .o-card { padding: 24px; } .o-auth-side { padding: 40px 24px; } .o-auth-side h2 { font-size: 30px; } }
