/* Ferramentas: checklists, Meu voo e gerador de reclamação */
.progress { display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.progress-txt { display: flex; align-items: baseline; gap: 8px; }
.progress-txt b { font-size: 1.375rem; }
.progress-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--verde); transition: width .3s var(--ease); }

.checklist { display: grid; gap: 18px; }
.check-group { display: grid; gap: 8px; }
.check-row { display: flex; align-items: center; position: relative; }
.check-row + .check-row { border-top: 1px solid var(--line); }
.check-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-row label { flex: 1; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px; cursor: pointer; line-height: 1.4; }
.check-row label:hover { background: var(--surface-2); }
.check-row .box {
  width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--text-muted); display: grid; place-items: center; flex: none;
  transition: background .15s, border-color .15s;
}
.check-row .box .i { opacity: 0; color: #fff; stroke-width: 2.5; }
.check-row input:checked + label .box { background: var(--verde-escuro); border-color: var(--verde-escuro); }
.check-row input:checked + label .box .i { opacity: 1; }
.check-row.done label > span:last-child { color: var(--text-muted); text-decoration: line-through; }
.check-row input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 8px; }
.check-row > .icon-btn { flex: none; margin-right: 4px; color: var(--text-muted); }
ul.list { list-style: none; margin: 0; padding: 0; }

.checklist.preview .checks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }

.add-item { display: flex; gap: 8px; }
.add-item .input { flex: 1; }
.add-item .btn { flex: none; min-height: 52px; }
.small-link { font-size: .875rem; justify-self: start; min-height: var(--touch); display: inline-flex; align-items: center; }

/* Formulários */
.form { display: grid; gap: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-weight: 700; font-size: .875rem; padding: 0; margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { min-width: 0; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea.input { padding: 14px 16px; min-height: 110px; line-height: 1.5; resize: vertical; }
textarea.output { font-family: var(--font-mono); font-size: .8125rem; background: var(--surface-2); min-height: 320px; }
.form-error { color: var(--danger-fg); font-weight: 600; }
.form-error:empty { display: none; }

.pass-static .pass { box-shadow: var(--shadow); }
