@charset "utf-8";
/* Royal Pay · painel do time (português): login, setup e app. Celular primeiro; barra lateral navy a partir de 1024 px. */

.cl-page { background: var(--bg); }

/* ===================== LOGIN E SETUP ===================== */
.lg { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: #fff; }
.lg-brand {
  position: relative; overflow: hidden; background: var(--navy-900); color: #fff;
  padding: 22px 20px 40px; border-radius: 0 0 24px 24px;
}
.lg-brand::before {
  content: ""; position: absolute; pointer-events: none; width: 600px; height: 600px; right: -300px; top: -320px;
  background: radial-gradient(closest-side, rgba(201, 168, 76, .22), rgba(201, 168, 76, 0));
}
.lg-brand-inner { position: relative; max-width: 420px; margin: 0 auto; }
.lg-claim { margin-top: 36px; font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; max-width: 16ch; }
.lg-claim em { font-style: normal; color: var(--gold-light); }
.lg-sub { margin-top: 10px; font-size: 14.5px; color: var(--on-navy-2); line-height: 1.55; max-width: 36ch; }
.lg-points { display: none; }
.lg-form-wrap { padding: 32px 20px 48px; }
.lg-form { max-width: 380px; margin: 0 auto; display: grid; gap: 16px; }
.lg-form > fieldset { display: grid; gap: 16px; }
.lg-form h1 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.lg-form .lg-intro { margin-top: -8px; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.lg-form .lg-intro code { font-size: 13px; background: #F1F2F5; border-radius: 6px; padding: 1px 6px; color: var(--ink-2); }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 88px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 36px; min-width: 72px; padding: 0 10px; border: 0; background: transparent; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.pw-toggle:hover { background: rgba(10, 22, 40, .05); }
.lg-foot { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); text-align: center; line-height: 1.5; }

@media (min-width: 960px) {
  .lg { grid-template-columns: 1.05fr 1fr; }
  .lg-brand { border-radius: 0; padding: 48px 64px; display: flex; }
  .lg-brand::before { width: 900px; height: 900px; right: -380px; top: -420px; }
  .lg-brand-inner { margin: 0 0 0 auto; max-width: 460px; width: 100%; display: flex; flex-direction: column; }
  .lg-claim { margin-top: auto; font-size: 40px; }
  .lg-sub { font-size: 16px; }
  .lg-points { display: grid; gap: 14px; margin-top: 36px; margin-bottom: auto; font-size: 14.5px; color: var(--on-navy-2); }
  .lg-points li { display: flex; gap: 12px; align-items: flex-start; }
  .lg-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 1px; }
  .lg-form-wrap { display: grid; align-items: center; padding: 48px 64px; }
  .lg-form { margin: 0 auto 0 0; width: 100%; }
}

/* ===================== APP: casca ===================== */
.app { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.side { display: none; }
.topbar { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-out { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--on-navy-2); font-size: 13.5px; font-weight: 600; border-radius: 8px; }
.topbar-out:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.topbar-tabs { display: flex; gap: 2px; padding: 0 8px; border-top: 1px solid var(--navy-line); overflow-x: auto; }
.topbar-tabs a {
  flex: 1 0 auto; text-align: center; padding: 12px 10px; min-height: 44px; font-size: 14px; font-weight: 500;
  color: var(--on-navy-2); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap;
}
.topbar-tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, #E8D5A0, var(--gold)); color: var(--navy-900); font-weight: 700; font-size: 13px;
}
.test-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: 999px;
  background: rgba(201, 168, 76, .16); color: var(--gold-light); border: 1px solid rgba(201, 168, 76, .45);
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.main { padding: 24px 16px 64px; min-width: 0; }
.main-inner { max-width: 1120px; margin: 0 auto; }

@media (min-width: 1024px) {
  .app { grid-template-columns: 252px minmax(0, 1fr); background: linear-gradient(90deg, var(--navy-900) 252px, var(--bg) 252px); }
  .topbar { display: none; }
  .side {
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
    background: var(--navy-900); color: #fff; padding: 22px 14px 18px; overflow: hidden;
  }
  .side::before {
    content: ""; position: absolute; pointer-events: none; width: 420px; height: 420px; left: -200px; top: -260px;
    background: radial-gradient(closest-side, rgba(201, 168, 76, .16), rgba(201, 168, 76, 0));
  }
  .side > * { position: relative; }
  .side .brand { padding: 0 8px; }
  .side .test-pill { margin: 16px 8px 0; align-self: flex-start; }
  .side-label { margin: 26px 10px 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-3); }
  .side-nav { display: grid; gap: 2px; }
  .side-nav a {
    display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 9px;
    font-size: 14px; font-weight: 500; color: var(--on-navy-2); text-decoration: none;
  }
  .side-nav a svg { width: 18px; height: 18px; color: var(--on-navy-3); }
  .side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .side-nav a[aria-current="page"] { background: rgba(255, 255, 255, .09); color: #fff; box-shadow: inset 2px 0 0 var(--gold); }
  .side-nav a[aria-current="page"] svg { color: var(--gold); }
  .side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 0; border-top: 1px solid var(--navy-line); }
  .side-user p { font-size: 13.5px; font-weight: 600; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .side-user small { display: block; font-size: 12px; font-weight: 400; color: var(--on-navy-3); }
  .side-user button { margin-left: auto; min-height: 36px; padding: 0 8px; border: 0; background: transparent; font-size: 12.5px; color: var(--on-navy-2); text-decoration: underline; text-underline-offset: 3px; border-radius: 6px; }
  .side-user button:hover { color: #fff; }
  .main { padding: 40px 48px 80px; }
}

/* ===================== Cabeçalho de página ===================== */
.ph { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ph h1 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.ph p { margin-top: 4px; font-size: 14.5px; color: var(--ink-3); }
.ph-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); text-decoration: none; }
.ph-back:hover { color: var(--ink); }
.ph-back svg { width: 16px; height: 16px; }
.ph h1:focus-visible { outline-offset: 6px; }
@media (min-width: 1024px) { .ph h1 { font-size: 28px; } }

/* ===================== Lista de cobranças ===================== */
.panel { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); overflow: hidden; }
.panel-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); }
.panel-bar .select { width: auto; min-width: 190px; height: 40px; font-size: 14px; }
.search { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.search .input { height: 40px; padding-left: 36px; font-size: 14px; }
.panel-count { margin-left: auto; font-size: 13px; color: var(--ink-3); }

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 12px 16px; background: #FAFAFB; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #FCFCFA; }
.tbl .t-right { text-align: right; }
.c-name { font-weight: 600; color: var(--ink); text-decoration: none; }
a.c-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-co { font-size: 13px; color: var(--ink-3); }
.c-amt { font-weight: 600; white-space: nowrap; }
.c-sub { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.c-type { color: var(--ink-2); white-space: nowrap; }
.c-date { color: var(--ink-3); white-space: nowrap; }
.act-btn { min-width: 0; }
.td-cli { min-width: 170px; }
.c-hora { display: block; font-size: 12.5px; color: var(--ink-3); }
@media (min-width: 760px) { .panel { overflow-x: auto; } }
.td-date-m { display: none; }
@media (max-width: 759px) { .td-date-m { display: inline; margin-left: 6px; } .td-date-m::before { content: "· "; } }
.mais { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }

@media (max-width: 759px) {
  .panel-bar .select { flex: 1 1 100%; }
  .search { max-width: none; min-width: 0; flex-basis: 100%; }
  .panel-count { margin-left: 0; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl, .tbl tbody { display: block; }
  .tbl tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px;
    border-bottom: 1px solid var(--line);
    grid-template-areas: "cli amt" "meta st" "act act";
  }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { display: block; padding: 0; border: 0; }
  .tbl tbody tr:hover td { background: transparent; }
  .td-cli { grid-area: cli; min-width: 0; } .td-amt { grid-area: amt; text-align: right; }
  .td-type { grid-area: meta; font-size: 13px; white-space: normal; }
  .td-date, .td-closer { display: none !important; }
  .td-st { grid-area: st; justify-self: end; }
  .td-act { grid-area: act; margin-top: 8px; }
  .td-act .btn { width: 100%; }
  .tbl .t-right { text-align: left; }
}

/* Estados */
.state-box { padding: 56px 24px; display: grid; justify-items: center; text-align: center; }
.state-box .medal { margin-bottom: 20px; }
.state-box h2 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.state-box p { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); max-width: 44ch; line-height: 1.55; }
.state-box .btn { margin-top: 22px; }
.state-box .state-help { margin-top: 12px; font-size: 13px; }
.sk-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 24px; align-items: center; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.sk-row:last-child { border-bottom: 0; }
.sk-stack { display: grid; gap: 8px; }
@media (max-width: 759px) { .sk-row { grid-template-columns: 1fr auto; gap: 10px; } .sk-row .sk-hide { display: none; } }
.box-loading { display: grid; gap: 14px; padding: 20px; }

/* ===================== Cartões e formulários ===================== */
.nc { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1100px) { .nc { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); min-width: 0; }
.card + .card { margin-top: 16px; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-h h2 { font-size: 15px; font-weight: 600; }
.card-h .step { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-light); font-size: 12px; font-weight: 700; }
.card-h .card-h-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card-b { padding: 20px; display: grid; gap: 16px; }
.card-b > p.hint { margin-top: -6px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.phone { display: flex; }
.phone .cc { flex: none; display: flex; align-items: center; padding: 0 12px; height: 46px; border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: #F8F9FB; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.phone .input { border-radius: 0 var(--radius) var(--radius) 0; }

.types { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .types { grid-template-columns: 1fr 1fr; } }
.type {
  position: relative; display: grid; gap: 4px; padding: 14px 14px 14px 44px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease; background: #fff;
}
.type:hover { border-color: #AEB6C3; }
.type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type .dot { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; }
.type b { font-size: 14px; font-weight: 600; }
.type small { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.type:has(input:checked) { border-color: var(--navy-900); box-shadow: 0 0 0 1px var(--navy-900); background: #FCFCFA; }
.type:has(input:checked) .dot { border: 5px solid var(--navy-900); }
.type:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.legend { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; padding: 0; }

.calc { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #FAF8F2; border: 1px solid #EFE6CC; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.calc svg { width: 18px; height: 18px; color: var(--gold-ink); flex: none; margin-top: 1px; }
.calc strong { color: var(--ink); }

.more { border-top: 1px dashed var(--line-strong); padding-top: 14px; }
.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.more > summary::-webkit-details-marker { display: none; }
.more > summary svg { width: 14px; height: 14px; transition: transform .2s ease; }
.more[open] > summary svg { transform: rotate(180deg); }
.more-b { margin-top: 12px; display: grid; gap: 16px; }

.form-actions { margin-top: 20px; display: flex; flex-direction: column-reverse; gap: 10px; }
@media (min-width: 640px) { .form-actions { flex-direction: row; justify-content: flex-end; } }
.err-summary { margin-bottom: 16px; }
.err-summary ul { margin-top: 6px; display: grid; gap: 4px; list-style: disc; padding-left: 18px; }
.err-summary a { color: var(--danger-ink); font-weight: 600; text-underline-offset: 3px; }

/* Prévia do checkout (em inglês) */
.pv { position: sticky; top: 24px; }
.pv-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.pv-label span:last-child { letter-spacing: 0; text-transform: none; font-weight: 500; }
.pv-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2), 0 0 0 1px rgba(10, 22, 40, .06); background: #fff; }
.pv-top { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding: 18px 20px 20px; }
.pv-top::before { content: ""; position: absolute; width: 360px; height: 360px; right: -180px; top: -200px; background: radial-gradient(closest-side, rgba(201, 168, 76, .22), rgba(201, 168, 76, 0)); pointer-events: none; }
.pv-top > * { position: relative; }
.pv-top .brand-mark { width: 24px; height: 24px; }
.pv-top .brand-word { font-size: 11px; }
.pv-desc { margin-top: 16px; font-size: 13.5px; color: var(--on-navy-2); line-height: 1.45; overflow-wrap: anywhere; }
.pv-amt { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pv-amt b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.pv-amt i { font-style: normal; font-size: 13px; color: var(--on-navy-2); }
.pv-cur { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold-light); border: 1px solid rgba(232, 213, 160, .38); border-radius: 6px; padding: 2px 6px 1px; align-self: center; }
.pv-type { margin-top: 10px; display: inline-flex; min-height: 26px; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; color: #E6EAF0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.pv-body { padding: 16px 20px 20px; display: grid; gap: 10px; }
.pv-fake { height: 38px; border-radius: 8px; border: 1px solid var(--line); background: #FBFBFC; }
.pv-fake-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-pay { min-height: 44px; padding: 8px 12px; border-radius: 10px; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; text-align: center; }
.pv-to { font-size: 12.5px; color: var(--ink-3); text-align: center; overflow-wrap: anywhere; }
.pv-note { margin-top: 12px; display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.pv-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold-ink); }
@media (max-width: 1099px) { .pv { position: static; } }

/* ===================== Link pronto ===================== */
.ok { max-width: 560px; margin: 8px auto 0; }
.ok-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); padding: 32px 20px 24px; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.ok-card .medal { margin-bottom: 18px; }
.ok-card h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.ok-sub { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }
.ok-sub strong { color: var(--ink); font-weight: 600; }
.ok-sub .num { white-space: nowrap; }
.ok-link { margin-top: 22px; width: 100%; display: flex; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: #FBFBFC; align-items: center; text-align: left; }
.ok-link input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); height: 44px; letter-spacing: -.005em; }
.ok-link input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.ok-actions { margin-top: 12px; width: 100%; display: grid; gap: 10px; }
.ok-msg { margin-top: 22px; width: 100%; text-align: left; }
.ok-msg-h { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.bubble { position: relative; background: #E7F6EC; border: 1px solid #C9EBD5; color: #10301E; border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.ok-meta { margin-top: 18px; width: 100%; display: grid; border: 1px solid var(--line); border-radius: 12px; text-align: left; font-size: 13.5px; }
.ok-meta div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.ok-meta div + div { border-top: 1px solid var(--line); }
.ok-meta dt { color: var(--ink-3); flex: none; }
.ok-meta dd { font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ok-more { margin-top: 18px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 479px) {
  .ok-link { flex-direction: column; align-items: stretch; padding: 6px; }
  .ok-link input { text-align: center; }
  .ok-link .btn { width: 100%; }
}
@media (min-width: 640px) {
  .ok-card { padding: 40px 40px 32px; }
  .ok-actions { grid-template-columns: 1fr 1fr; }
}

/* ===================== Detalhe da cobrança ===================== */
.dt { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1024px) { .dt { grid-template-columns: minmax(0, 1fr) 360px; } }
.dt-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.dt-amt { font-size: 30px; font-weight: 600; letter-spacing: -.025em; }
.dt-amt small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.kv { display: grid; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; }
.kv div + div { border-top: 1px solid var(--line); }
.kv dt { color: var(--ink-3); flex: none; }
.kv dd { font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.link-row { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #FBFBFC; }
.link-row input { flex: 1; min-width: 0; border: 0; background: transparent; height: 40px; font-size: 14px; font-weight: 600; color: var(--ink); }
.dt-actions { display: grid; gap: 10px; }
.dt-actions .btn { width: 100%; }
.tl { display: grid; }
.tl li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding-bottom: 16px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: var(--gold); box-shadow: 0 0 0 3px #FBF6E9; }
.tl li:not(:last-child)::after { content: ""; position: absolute; left: 4.5px; top: 18px; bottom: 2px; width: 1px; background: var(--line-strong); }
.tl p { font-size: 14px; color: var(--ink); line-height: 1.45; }
.tl time { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.empty-line { font-size: 14px; color: var(--ink-3); }

/* ===================== Configuração e usuários ===================== */
.cfg { margin-top: 22px; display: grid; gap: 16px; }
.keys { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; }
.key { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: 14px; flex-wrap: wrap; }
.key + .key { border-top: 1px solid var(--line); }
.key b { font-weight: 600; }
.key small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.opt-list { display: grid; gap: 14px; }
.opt-list .switch + .switch, .opt-list > * + * { padding-top: 14px; border-top: 1px solid var(--line); }
.checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.result { font-size: 14px; }
.tbl-plain { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl-plain th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FAFAFB; }
.tbl-plain td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl-plain tr:last-child td { border-bottom: 0; }
.tbl-plain .t-right { text-align: right; white-space: nowrap; }
.tbl-plain .is-off td { color: var(--ink-3); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 639px) {
  .tbl-plain thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl-plain, .tbl-plain tbody, .tbl-plain tr, .tbl-plain td { display: block; }
  .tbl-plain tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
  .tbl-plain tr:last-child { border-bottom: 0; }
  .tbl-plain td { padding: 0; border: 0; }
  .tbl-plain .t-right { text-align: left; margin-top: 6px; }
  .tbl-plain .t-right .btn { width: 100%; }
}
.inline-form { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #FBFBFC; display: grid; gap: 14px; }

/* ===================== Diálogo de confirmação ===================== */
.dlg { border: 0; padding: 0; border-radius: 18px; max-width: min(440px, calc(100vw - 32px)); width: 100%; box-shadow: var(--shadow-3); color: var(--ink); }
.dlg::backdrop { background: rgba(6, 14, 28, .55); }
.dlg-b { padding: 24px; display: grid; gap: 10px; }
.dlg h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.dlg p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.dlg-actions { display: flex; flex-direction: column-reverse; gap: 10px; margin-top: 10px; }
@media (min-width: 480px) { .dlg-actions { flex-direction: row; justify-content: flex-end; } }
