/* Sertalia — Freelancer */
h1:focus, h2:focus, h3:focus { outline: none; }
:root { --marca: #0f766e; --marca-escuro: #115e59; --marca-claro: #e6f4f2; }

.text-marca { color: var(--marca); }
.text-marca-claro { color: #5eead4; }
.btn-marca { background: var(--marca); border-color: var(--marca); color: #fff; }
.btn-marca:hover, .btn-marca:focus { background: var(--marca-escuro); border-color: var(--marca-escuro); color: #fff; }
.btn-marca:disabled { background: #7fb8b2; border-color: #7fb8b2; color: #fff; }

.lateral { display: block; padding: .65rem 1.1rem; color: #495057; text-decoration: none; border-left: 4px solid transparent; font-weight: 500; }
.lateral:hover { background: var(--marca-claro); color: var(--marca); }
.lateral.activo { background: var(--marca-claro); color: var(--marca); border-left-color: var(--marca); font-weight: 600; }

.campo-label { font-size: .75rem; color: #6c757d; margin-bottom: 2px; display: block; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Cartões de resumo */
.kpi { background: #fff; border-radius: 8px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); border: 1px solid #e9ecef; }
.kpi .valor { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .rotulo { font-size: .78rem; color: #6c757d; }

/* Pontuação */
.pont { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 50%;
        font-weight: 700; font-size: 1rem; color: #fff; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.pont-alta { background: #15803d; }
.pont-media { background: #ca8a04; }
.pont-baixa { background: #9ca3af; }
.pont-nada { background: #e5e7eb; color: #6b7280; font-size: .75rem; }

/* Lista de oportunidades */
.op-card { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 12px 14px; transition: box-shadow .15s; }
.op-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.op-titulo { font-weight: 600; color: #212529; text-decoration: none; }
.op-titulo:hover { color: var(--marca); }
.op-meta { font-size: .8rem; color: #6c757d; }
.op-meta span + span::before { content: "·"; margin: 0 6px; color: #ced4da; }
.chip { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 10px; background: #f1f3f5; color: #495057; margin: 2px 4px 2px 0; }
.chip-ok { background: var(--marca-claro); color: var(--marca-escuro); }
.plat { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 2px 6px; border-radius: 4px; }
.plat-freelancer { background: #e0f2fe; color: #0369a1; }
.plat-upwork { background: #dcfce7; color: #15803d; }
.plat-manual { background: #f3f4f6; color: #4b5563; }

.descricao { white-space: pre-wrap; font-size: .9rem; color: #343a40; max-height: 520px; overflow-y: auto; }
textarea.proposta { font-family: inherit; font-size: .92rem; min-height: 300px; }
.secao { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.secao h5 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.tabela-edit td { vertical-align: middle; padding: 4px; }
.tabela-edit input, .tabela-edit select, .tabela-edit textarea { font-size: .85rem; }
