/* ---------------------------------------------------------------------------
   TOOD — wizard dos testes
   Ecrã único, sem scroll de página: cabeçalho + cartão + navegação.
   Só actua quando o contentor tem a classe wz-ativo (adicionada pelo JS).
--------------------------------------------------------------------------- */

.teste.wz-ativo {
    --wz-cor: #333;
    --wz-cor-fundo: #eee;
}

.teste.wz-ativo .wz-original {
    display: none !important;
}

/* Botões: repor sobre o reset do tema (que os pinta de rosa) */
.teste.wz-ativo .wz-app button,
.teste.wz-ativo .wz-sheet button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    box-shadow: none;
}

.teste.wz-ativo .wz-app button:focus:not(:focus-visible),
.teste.wz-ativo .wz-sheet button:focus:not(:focus-visible) {
    outline: none;
}

body.wz-aberto {
    overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   Estrutura do ecrã
-------------------------------------------------------------------------- */

.teste.wz-ativo .wz-app {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    background: #f4f4f2;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

.teste.wz-ativo .wz-topo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

.teste.wz-ativo .wz-topo__botao {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #555;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}

.teste.wz-ativo .wz-topo__botao:hover {
    background: #f2f2f2;
    color: #222;
}

.teste.wz-ativo .wz-topo__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0 4px;
}

.teste.wz-ativo .wz-topo__seccao {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teste.wz-ativo .wz-topo__conta {
    font-size: 11px;
    color: #9a9a9a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teste.wz-ativo .wz-topo__estado {
    flex: 0 0 auto;
    font-size: 11px;
    color: #9a9a9a;
    white-space: nowrap;
}

.teste.wz-ativo .wz-topo__estado:empty {
    display: none;
}

.teste.wz-ativo .wz-progresso {
    flex: 0 0 auto;
    height: 3px;
    background: #ececec;
}

.teste.wz-ativo .wz-progresso__barra {
    display: block;
    height: 100%;
    width: 0;
    background: var(--wz-cor);
    transition: width 0.25s ease;
}

.teste.wz-ativo .wz-corpo {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 14px calc(78px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
}

.teste.wz-ativo .wz-cartoes {
    margin: auto;
    width: 100%;
    max-width: 660px;
}

.teste.wz-ativo .wz-fundo {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.teste.wz-ativo .wz-extra {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 246, 244, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid #e8e8e6;
}

.teste.wz-ativo .wz-extra button {
    flex: 1 1 0;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.teste.wz-ativo .wz-extra button:hover {
    background: #fafafa;
}

.teste.wz-ativo .wz-extra button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.teste.wz-ativo .wz-extra__finalizar {
    border-color: var(--wz-cor);
    color: var(--wz-cor);
}

.teste.wz-ativo .wz-extra__finalizar:hover {
    background: var(--wz-cor-fundo);
}

.wz-app:not(.wz-app--teste) .wz-extra {
    display: none;
}



.teste.wz-ativo .wz-fundo button {
    flex: 1 1 0;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #fff;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.teste.wz-ativo .wz-fundo button:hover:not(:disabled) {
    background: #f7f7f7;
}

.teste.wz-ativo .wz-fundo__seguinte {
    border-color: var(--wz-cor) !important;
    background: var(--wz-cor) !important;
    color: #fff !important;
}

.teste.wz-ativo .wz-fundo__seguinte--final {
    font-weight: 700;
}

.teste.wz-ativo .wz-fundo button:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Sem "Seguinte" no ecrã de preparação */
.wz-app:not(.wz-app--teste) .wz-fundo,
.teste.wz-ativo .wz-app:not(.wz-app--teste) .wz-menu-abrir {
    display: none;
}

/* --------------------------------------------------------------------------
   Cartão
-------------------------------------------------------------------------- */

.teste.wz-ativo .wz-cartao {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
}

.teste.wz-ativo .wz-cartao[hidden] {
    display: none !important;
}

.teste.wz-ativo .wz-cartao__cabeca {
    text-align: center;
}

.teste.wz-ativo .wz-cartao__cabeca:empty {
    display: none;
}

.teste.wz-ativo .wz-imagem {
    margin: 0 0 16px;
}

.teste.wz-ativo .wz-imagem a {
    display: inline-block;
}

.teste.wz-ativo .wz-imagem img {
    display: block;
    height: auto;
    max-height: 34vh;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    cursor: zoom-in;
}

.teste.wz-ativo .wz-texto {
    margin: 0 0 18px;
    text-align: center;
    line-height: 1.35;
    color: #1f1f1f;
}

.teste.wz-ativo .wz-texto--palavra {
    font-size: clamp(26px, 4.6vw, 38px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.teste.wz-ativo .wz-texto--frase {
    font-size: clamp(20px, 2.8vw, 26px);
    color: #333;
    max-width: 44ch;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Cartão de instruções (início de cada secção)
-------------------------------------------------------------------------- */

.teste.wz-ativo .wz-cartao--notas {
    text-align: center;
}

.teste.wz-ativo .wz-notas__etiqueta {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wz-cor);
}

.teste.wz-ativo .wz-notas__titulo {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 600;
    color: #1f1f1f;
}

.teste.wz-ativo .wz-notas__corpo {
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.teste.wz-ativo .wz-notas__corpo p {
    margin: 0 0 12px;
}

.teste.wz-ativo .wz-notas__corpo p:last-child {
    margin-bottom: 0;
}

.teste.wz-ativo .wz-notas__corpo img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto !important;
    margin: 14px auto;
    border-radius: 10px;
    cursor: zoom-in;
}

.teste.wz-ativo .wz-notas__corpo strong {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Opções
-------------------------------------------------------------------------- */

.teste.wz-ativo .wz-bloco {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teste.wz-ativo .wz-bloco + .wz-bloco {
    margin-top: 16px;
}

.teste.wz-ativo .wz-opcao {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color 0.12s, background-color 0.12s;
}

.teste.wz-ativo .wz-opcao:hover {
    border-color: #cfcfcf;
    background: #fbfbfb;
}

.teste.wz-ativo .wz-opcao strong {
    flex: 0 0 auto;
    min-width: 1.1em;
    color: var(--wz-cor);
    font-weight: 700;
}

.teste.wz-ativo .wz-opcao input[type="radio"] {
    flex: 0 0 auto;
    order: -1;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    accent-color: var(--wz-cor);
}

.teste.wz-ativo .wz-opcao.is-escolhida {
    border-color: var(--wz-cor);
    background: var(--wz-cor-fundo);
}

/* Cotação (escala 0/1) */
.teste.wz-ativo .wz-bloco--escala {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.teste.wz-ativo .wz-bloco__titulo {
    flex: 1 1 100%;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a9a9a;
    font-weight: 600;
}

.teste.wz-ativo .wz-bloco--escala label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 62px;
    min-height: 46px;
    margin: 0 !important;
    padding: 8px 16px !important;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
}

.teste.wz-ativo .wz-bloco--escala label.is-escolhida {
    border-color: var(--wz-cor);
    background: var(--wz-cor-fundo);
    color: #1f1f1f;
}

.teste.wz-ativo .wz-bloco textarea {
    width: 100%;
    min-height: 92px;
    padding: 12px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.4;
    resize: vertical;
    box-sizing: border-box;
}

.wz-bloco textarea:focus,
.wz-bloco input:focus,
.teste.wz-ativo .wz-cartao select:focus {
    outline: 2px solid var(--wz-cor-fundo);
    outline-offset: 1px;
    border-color: var(--wz-cor);
}

.teste.wz-ativo .wz-cartao__acoes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.teste.wz-ativo .wz-cartao__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
}

.teste.wz-ativo .wz-cartao__instrucoes,
.teste.wz-ativo .wz-cartao__observacoes {
    border: 0;
    background: transparent;
    padding: 6px 4px;
    color: #8f8f8f;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.teste.wz-ativo .wz-cartao__instrucoes:hover,
.teste.wz-ativo .wz-cartao__observacoes:hover {
    color: #444;
}

/* --------------------------------------------------------------------------
   Ecrã de preparação
-------------------------------------------------------------------------- */

.teste.wz-ativo .wz-cartao--prep {
    text-align: center;
    padding: 26px 24px;
}

.teste.wz-ativo .wz-prep__etiqueta {
    margin: 0 auto 6px;
    max-width: 46ch;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wz-cor);
}

.teste.wz-ativo .wz-cartao--prep br {
    display: none;
}

.teste.wz-ativo .wz-prep__campos {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
}

.teste.wz-ativo .wz-prep__campos > p {
    margin: 0;
    font-size: 13px;
    color: #8f8f8f;
    text-align: center;
}

.teste.wz-ativo .wz-prep__campos h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #1f1f1f;
}

.teste.wz-ativo .wz-prep__campos > p:empty {
    display: none;
}

.teste.wz-ativo .wz-prep__campos .link_manual {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 4px;
    padding: 7px 13px;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.teste.wz-ativo .wz-prep__campos .link_manual:hover {
    border-color: #d8d8d8;
    background: #fafafa;
    color: #222;
}

.teste.wz-ativo .wz-prep__campos .link_manual i {
    color: var(--wz-cor);
}

.teste.wz-ativo .wz-prep__campos select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

/* Pesquisa de clientes (administradores) sem a cor da marca */
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca {
    width: 100%;
    max-width: none;
    margin: 0;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__campo,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__campo.tem-cliente {
    background: #fff;
    border-color: #e6e6e6;
    border-radius: 12px;
    box-shadow: none;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__campo:hover {
    border-color: #dcdcdc;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__campo:focus-within {
    border-color: var(--wz-cor);
    box-shadow: none;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__lupa,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__campo:focus-within .tood-cliente-busca__lupa {
    color: #b1b1b1;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__spinner {
    border-color: var(--wz-cor-fundo);
    border-top-color: var(--wz-cor);
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__visto,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__estado svg {
    color: var(--wz-cor);
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__estado {
    justify-content: center;
    color: #8f8f8f;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-trocar,
.teste.wz-ativo .wz-prep__campos .tood-cliente-trocar:hover {
    color: #555;
    border-bottom-color: #cfcfcf;
    font-weight: 500;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-sugestoes {
    text-align: left;
}

/* Campo de pesquisa: ícones fora do fluxo, para o texto centrar no campo todo */
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__campo {
    position: relative;
    display: block;
    padding: 0;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__input,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__input:hover,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__input:focus,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__input:active {
    width: 100%;
    padding: 15px 46px !important;
    text-align: center;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__lupa,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__visto,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__spinner,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__limpar {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__lupa {
    left: 14px;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__spinner,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__limpar {
    right: 12px;
}

/* Nome e idade do cliente: sem caixa, centrados */
.teste.wz-ativo .wz-prep__campos #client-info-container {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}

.teste.wz-ativo .wz-prep__campos #client-info-container p {
    margin: 0;
    color: #8f8f8f;
    font-size: 14px;
    line-height: 1.4;
}

.teste.wz-ativo .wz-prep__campos #client-info-container .tood-cliente-info__nome {
    margin-bottom: 2px;
    color: #1f1f1f;
    font-size: 18px;
    font-weight: 600;
}

.teste.wz-ativo .wz-prep__campos #client-info-container .tood-cliente-info__idade {
    color: #8f8f8f;
    font-size: 14px;
}

.teste.wz-ativo .wz-prep__campos #client-info-container .aviso-idade-normativa {
    margin: 14px 0 0;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background-color: #faf6ec !important;
    border: 1px solid #efe4c8 !important;
    color: #7a6420 !important;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

/* Sem o visto dentro do campo: o nome já lá está */
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__visto {
    display: none !important;
}

/* Texto da pesquisa centrado */
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__input,
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__input::placeholder {
    text-align: center;
}

/* "Cliente selecionado · Escolher outro" sem o visto */
.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__estado svg {
    display: none;
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-busca__estado {
    justify-content: center;
    margin-top: 8px;
}

/* Sugestões na cor do teste */
.teste.wz-ativo .wz-prep__campos .tood-cliente-sugestoes__item:hover,
.teste.wz-ativo .wz-prep__campos .tood-cliente-sugestoes__item.activo {
    background: var(--wz-cor-fundo);
    background: color-mix(in srgb, var(--wz-cor) 12%, #fff);
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-sugestoes__avatar {
    background: var(--wz-cor-fundo);
    background: color-mix(in srgb, var(--wz-cor) 16%, #fff);
    color: var(--wz-cor);
}

.teste.wz-ativo .wz-prep__campos .tood-cliente-sugestoes__item:hover .tood-cliente-sugestoes__avatar,
.teste.wz-ativo .wz-prep__campos .tood-cliente-sugestoes__item.activo .tood-cliente-sugestoes__avatar {
    background: var(--wz-cor);
    color: #fff;
}

.teste.wz-ativo .wz-prep__nota {
    margin: 16px auto 14px;
    max-width: 42ch;
    font-size: 13px;
    line-height: 1.6;
    color: #8f8f8f;
}

.teste.wz-ativo .wz-prep__comecar {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: var(--wz-cor);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.teste.wz-ativo .wz-prep__comecar:hover:not(:disabled) {
    filter: brightness(0.94);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.teste.wz-ativo .wz-prep__comecar:disabled {
    opacity: 0.45;
    box-shadow: none;
    cursor: default;
}

.teste.wz-ativo .wz-prep__aviso {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #b03030;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Painéis (menu, instruções, observações, resumo, saída)
-------------------------------------------------------------------------- */

.teste.wz-ativo .wz-sheet {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(20, 20, 20, 0.45);
    padding: 0;
}

.teste.wz-ativo .wz-sheet[hidden] {
    display: none !important;
}

.teste.wz-ativo .wz-sheet__caixa {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    max-height: 86vh;
    background: #fff;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

.teste.wz-ativo .wz-sheet__topo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.teste.wz-ativo .wz-sheet__topo h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.teste.wz-ativo .wz-sheet__fechar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    line-height: 1;
    border: 0;
    border-radius: 10px;
    background: #f4f4f4;
    color: #555;
    font-size: 15px;
    cursor: pointer;
}

.teste.wz-ativo .wz-sheet__corpo {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

.teste.wz-ativo .wz-sheet__acoes {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid #f0f0f0;
}

.teste.wz-ativo .wz-botao {
    flex: 1 1 auto;
    min-height: 46px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #fff;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 16px;
}

.teste.wz-ativo .wz-botao--principal {
    border-color: var(--wz-cor);
    background: var(--wz-cor);
    color: #fff;
}

.teste.wz-ativo .wz-acao {
    flex: 1 1 100%;
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-size: 15px;
    text-align: left;
    padding: 0 14px;
    cursor: pointer;
}

.teste.wz-ativo .wz-acao:hover {
    background: #f6f6f6;
}

/* Menu de perguntas */

.teste.wz-ativo .wz-menu__seccao + .wz-menu__seccao {
    margin-top: 20px;
}

.teste.wz-ativo .wz-menu__seccao h3 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.teste.wz-ativo .wz-menu__grelha {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    gap: 8px;
}

.teste.wz-ativo .wz-menu__item {
    min-height: 46px;
    padding: 0 4px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.teste.wz-ativo .wz-menu__item.is-respondida {
    background: var(--wz-cor-fundo);
    border-color: var(--wz-cor-fundo);
}

.teste.wz-ativo .wz-menu__item.is-atual {
    background: var(--wz-cor);
    border-color: var(--wz-cor);
    color: #fff;
}

/* Instruções */

.teste.wz-ativo .wz-instrucoes__seccao[hidden] {
    display: none !important;
}

.teste.wz-ativo .wz-instrucoes__corpo h3 {
    display: none;
}

.teste.wz-ativo .wz-instrucoes__corpo {
    text-align: center;
}

.teste.wz-ativo .wz-instrucoes__corpo p {
    margin: 0 0 12px;
}

.teste.wz-ativo .wz-instrucoes__corpo p:last-child {
    margin-bottom: 0;
}

.teste.wz-ativo .wz-instrucoes__corpo img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto !important;
    margin: 14px auto;
    border-radius: 10px;
    cursor: zoom-in;
}

.teste.wz-ativo .wz-instrucoes__corpo strong {
    font-weight: 600;
}

.teste.wz-ativo .wz-vazio {
    color: #8a8a8a;
}

/* Observações */

.teste.wz-ativo .wz-obs__corpo textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px 14px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    resize: vertical;
}

.teste.wz-ativo .wz-obs__estado {
    margin-right: auto;
    align-self: center;
    font-size: 12px;
    color: #8f8f8f;
}

.teste.wz-ativo .wz-obs__nota {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

/* Resumo */

.teste.wz-ativo .wz-resumo__intro {
    margin: 0 0 16px;
    color: #444;
}

.teste.wz-ativo .wz-resumo__linha {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.teste.wz-ativo .wz-resumo__linha strong {
    display: block;
    font-weight: 600;
    color: #222;
}

/* --------------------------------------------------------------------------
   Ampliação da imagem
-------------------------------------------------------------------------- */

.wz-zoom {
    position: fixed;
    inset: 0;
    z-index: 100020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(12, 12, 12, 0.92);
    cursor: zoom-out;
}

.wz-zoom[hidden] {
    display: none !important;
}

.wz-zoom img {
    max-width: 96vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Ecrãs maiores
-------------------------------------------------------------------------- */

@media (min-width: 700px) {

    .teste.wz-ativo .wz-sheet {
        align-items: center;
        padding: 24px;
    }

    .teste.wz-ativo .wz-sheet__caixa {
        border-radius: 18px;
        max-height: 82vh;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    }

    .teste.wz-ativo .wz-sheet__acoes {
        justify-content: flex-end;
        padding-bottom: 14px;
    }

    .teste.wz-ativo .wz-botao {
        flex: 0 1 auto;
        min-width: 150px;
    }

    .teste.wz-ativo .wz-acao {
        flex: 1 1 auto;
        min-width: 200px;
    }

    .teste.wz-ativo .wz-cartao {
        padding: 34px 38px;
    }

    .teste.wz-ativo .wz-imagem img {
        max-height: 46vh;
    }
}

@media (max-width: 520px) {

    .teste.wz-ativo .wz-corpo {
        padding: 12px 10px;
    }

    .teste.wz-ativo .wz-cartao {
        padding: 18px 16px;
    }

    .teste.wz-ativo .wz-cartao--prep {
        padding: 22px 16px;
    }
}

@media (max-height: 620px) {

    .teste.wz-ativo .wz-corpo {
        padding: 10px;
    }

    .teste.wz-ativo .wz-cartao {
        padding: 16px 16px;
    }

    .teste.wz-ativo .wz-imagem img {
        max-height: 26vh;
    }

    .teste.wz-ativo .wz-texto {
        margin-bottom: 12px;
    }

    .teste.wz-ativo .wz-opcao {
        min-height: 46px;
        padding: 9px 14px !important;
    }
}
