:root { --brand: #1f5f7a; --ink: #18222b; --slate: #5e6b77; --line: #dde3e8; --soft: #f5f7f9; --ok: #2d7a55; --bad: #a63d30; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 var(--font-b, 'Instrument Sans'), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--soft); }
h1, h2, h3, .brand { font-family: var(--font-h, var(--font-b, 'Instrument Sans')), system-ui, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(680px, 100% - 32px); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 6px; gap: 12px; }
.brand { font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; min-height: 36px; }
.brand img { max-height: 40px; max-width: 180px; object-fit: contain; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang::before { content: ''; position: absolute; left: 12px; width: 16px; height: 16px; pointer-events: none; opacity: .7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6b77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14 14 0 0 1 0 18a14 14 0 0 1 0-18z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lang select { -webkit-appearance: none; appearance: none; width: auto; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 34px 9px 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e6b77' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 11px center / 14px no-repeat;
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lang select:hover { border-color: var(--brand); }
.lang select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tabs a { padding: 10px 12px; color: var(--slate); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-color: var(--brand); font-weight: 600; }
main { padding: 28px 0 10px; }
h1 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 17px; margin: 0 0 10px; }
.lead { color: var(--slate); margin: 0 0 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
label.f { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
label.f small { font-weight: 400; color: var(--slate); }
input[type=text], input[type=email], select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.btn { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 12px 18px; cursor: pointer; font-weight: 600; }
.btn.main { background: var(--brand); border-color: var(--brand); color: #fff; width: 100%; }
.btn.main:hover { filter: brightness(.94); }
.btn:disabled { opacity: .55; cursor: default; }
.actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 6px; }
.msg { padding: 11px 14px; border-radius: 9px; margin: 0 0 14px; font-size: 14px; }
.msg.bad { background: #f7e5e2; color: var(--bad); }
.msg.info { background: #eef3f6; color: var(--ink); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.kv div small { display: block; color: var(--slate); font-size: 12px; }
.items { display: grid; gap: 8px; margin-bottom: 18px; }
.it { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; cursor: pointer; background: #fff; }
.it:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.it input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.it img, .it .ph { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--soft); flex: none; }
.it small { color: var(--slate); display: block; }
.upl { display: grid; gap: 6px; margin-bottom: 16px; }
.upl-t { font-weight: 600; font-size: 14px; }
.upl > small { color: var(--slate); }
label.f input, label.f select, label.f textarea { font-weight: 400; }
.drop { display: block;  border: 1.5px dashed #b9c4ce; border-radius: 11px; padding: 18px; text-align: center; color: var(--slate); cursor: pointer; background: var(--soft); font-weight: 400; }
.drop.over { border-color: var(--brand); background: #fff; }
.files { display: grid; gap: 6px; margin-top: 8px; }
.file { display: flex; justify-content: space-between; align-items: center; font-weight: 400; font-size: 13px; background: var(--soft); padding: 7px 10px; border-radius: 8px; }
.file button { border: 0; background: none; color: var(--bad); cursor: pointer; }
.done { text-align: center; }
.check { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; }
.code { font-size: 26px; font-weight: 700; letter-spacing: .04em; color: var(--brand); margin: 6px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 6px; position: relative; }
.steps::before { content: ''; position: absolute; left: 16%; right: 16%; top: 13px; height: 2px; background: var(--line); }
.step { text-align: center; position: relative; font-size: 13px; color: var(--slate); }
.step i { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-style: normal; font-size: 13px; }
.step.on i { background: var(--brand); border-color: var(--brand); color: #fff; }
.step.on { color: var(--ink); font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: grid; gap: 12px; }
.tl li { position: relative; }
.tl li::before { content: ''; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.tl li:first-child::before { background: var(--brand); border-color: var(--brand); }
.tl small { display: block; color: var(--slate); }
.status { display: inline-block; white-space: nowrap; align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: #eef3f6; font-size: 13px; font-weight: 600; }
.status.ok { background: #e2f1e9; color: var(--ok); }
.modal-bg { position: fixed; inset: 0; background: rgba(24, 34, 43, .5); display: grid; place-items: center; padding: 16px; z-index: 20; }
.modal { background: #fff; border-radius: 14px; width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 22px; }
.rv { display: grid; gap: 10px; margin-bottom: 16px; }
.rv div small { display: block; color: var(--slate); font-size: 12px; }
.faq { padding: 6px 0 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--slate); }
.foot { color: var(--slate); font-size: 13px; padding: 10px 0 40px; text-align: center; }
@media (max-width: 520px) { .actions, .row2 { grid-template-columns: 1fr; } .box { padding: 18px; } }
/* Aba de rastreio: página mais larga, como o ParcelPanel */
body.trk main.wrap { width: min(1040px, 100% - 32px); }
body.trk .faq { display: none; }
.dkt .dkt-lk button { background: var(--brand); }
body.trk { --dkt-card: #fff; }
