/*
 * E-mail temporário — /email-temporario, /app/email-temporario e admin.
 * Fora do Vite de propósito (o servidor não tem Node): usa só os tokens do
 * tema (rgb(var(--pb-*))), então modo claro e escuro seguem o resto do site.
 * Prefixo .tm- para não encostar em nenhuma classe existente.
 */

.tm-app { display: grid; gap: 16px; }

/* ---- Endereço ---------------------------------------------------------- */
.tm-addr { padding: 20px; }
.tm-addr__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--pb-muted)); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tm-addr__row { margin-top: 10px; display: flex; gap: 8px; align-items: stretch; }
.tm-addr__value {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
    border: 1px solid rgb(var(--pb-line)); border-radius: 12px; background: rgb(var(--pb-surface-2));
    padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px; font-weight: 700; color: rgb(var(--pb-fg)); overflow-wrap: anywhere; cursor: pointer;
}
.tm-addr__value:hover { border-color: rgb(var(--pb-accent) / .5); }
.tm-addr__value .tm-skel { height: 22px; width: 70%; border-radius: 6px; background: rgb(var(--pb-line)); animation: tm-pulse 1.2s ease-in-out infinite; }
.tm-copy { flex-shrink: 0; min-width: 116px; }
.tm-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-actions .pb-btn-secondary, .tm-actions .pb-btn-primary { padding: .55rem .9rem; font-size: 13px; }
.tm-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: rgb(var(--pb-muted)); }
.tm-meta b { color: rgb(var(--pb-fg)); font-weight: 600; }
.tm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: rgb(var(--pb-accent)); margin-right: 6px; vertical-align: 1px; }
.tm-dot--busy { animation: tm-pulse 1s ease-in-out infinite; }
.tm-dot--warn { background: rgb(var(--pb-warn)); }

/* Escolher nome */
.tm-custom { margin-top: 14px; padding: 14px; border: 1px dashed rgb(var(--pb-line)); border-radius: 12px; background: rgb(var(--pb-surface-2)); }
.tm-custom__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tm-input, .tm-select {
    border: 1px solid rgb(var(--pb-line)); border-radius: 10px; background: rgb(var(--pb-surface));
    color: rgb(var(--pb-fg)); padding: 10px 12px; font-size: 14px; min-width: 0;
}
.tm-input { flex: 1 1 180px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tm-input:focus, .tm-select:focus { outline: 2px solid rgb(var(--pb-accent) / .35); border-color: rgb(var(--pb-accent)); }
.tm-at { font-weight: 700; color: rgb(var(--pb-muted)); }
.tm-hint { margin-top: 8px; font-size: 12.5px; color: rgb(var(--pb-muted)); }
.tm-error { margin-top: 8px; font-size: 13px; color: #b42318; }
html.dark .tm-error { color: #fda29b; }

/* Troca de endereço */
.tm-boxes { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tm-box-chip {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    border: 1px solid rgb(var(--pb-line)); border-radius: 999px; padding: 4px 6px 4px 10px;
    font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: rgb(var(--pb-surface)); color: rgb(var(--pb-fg)); cursor: pointer;
}
.tm-box-chip[aria-current="true"] { border-color: rgb(var(--pb-accent)); background: rgb(var(--pb-accent-soft)); }
.tm-box-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-box-chip button { border: 0; background: none; color: rgb(var(--pb-muted)); padding: 0 4px; font-size: 14px; line-height: 1; cursor: pointer; }
.tm-box-chip button:hover { color: rgb(var(--pb-fg)); }

/* ---- Caixa de entrada ---------------------------------------------------- */
.tm-inbox { overflow: hidden; }
.tm-inbox__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid rgb(var(--pb-line)); }
.tm-inbox__title { font-size: 15px; font-weight: 800; color: rgb(var(--pb-fg)); display: flex; align-items: center; gap: 8px; }
.tm-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; background: rgb(var(--pb-accent)); color: #fff; }
.tm-refresh { border: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface)); color: rgb(var(--pb-fg)); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.tm-refresh:hover { border-color: rgb(var(--pb-accent) / .5); }
.tm-refresh svg.tm-spin { animation: tm-spin .9s linear infinite; }

.tm-list { list-style: none; margin: 0; padding: 0; }
.tm-item { border-bottom: 1px solid rgb(var(--pb-line)); }
.tm-item:last-child { border-bottom: 0; }
.tm-item button.tm-item__open { width: 100%; text-align: left; background: none; border: 0; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; cursor: pointer; color: inherit; }
.tm-item button.tm-item__open:hover { background: rgb(var(--pb-surface-2)); }
.tm-item__from { font-size: 13.5px; font-weight: 600; color: rgb(var(--pb-fg)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-item--unseen .tm-item__from, .tm-item--unseen .tm-item__subject { font-weight: 800; }
.tm-item--unseen .tm-item__from::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: rgb(var(--pb-accent)); margin-right: 8px; vertical-align: 1px; }
.tm-item__time { font-size: 12px; color: rgb(var(--pb-muted)); white-space: nowrap; }
.tm-item__subject { grid-column: 1 / -1; font-size: 14px; color: rgb(var(--pb-fg)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-item__preview { grid-column: 1 / -1; font-size: 13px; color: rgb(var(--pb-muted)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-item__tags { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }

.tm-code {
    display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 3px 4px 3px 10px;
    background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent-dark)); font-weight: 800; font-size: 14px;
}
.tm-code > span:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
html.dark .tm-code { color: rgb(var(--pb-accent)); }
.tm-code button { border: 0; border-radius: 6px; padding: 4px 9px; font-size: 11.5px; font-weight: 700; line-height: 1.2; letter-spacing: 0; background: rgb(var(--pb-accent)); color: #fff; cursor: pointer; }
.tm-tag { font-size: 11.5px; color: rgb(var(--pb-muted)); border: 1px solid rgb(var(--pb-line)); border-radius: 99px; padding: 1px 8px; }

.tm-empty { padding: 34px 20px; text-align: center; color: rgb(var(--pb-muted)); font-size: 14px; }
.tm-empty__icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent)); }
.tm-empty b { display: block; color: rgb(var(--pb-fg)); font-size: 15px; margin-bottom: 4px; }

/* ---- Leitor -------------------------------------------------------------- */
.tm-reader__head { padding: 14px 20px; border-bottom: 1px solid rgb(var(--pb-line)); display: grid; gap: 6px; }
.tm-reader__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.tm-reader__subject { font-size: 17px; font-weight: 800; color: rgb(var(--pb-fg)); overflow-wrap: anywhere; }
.tm-reader__from { font-size: 13px; color: rgb(var(--pb-muted)); overflow-wrap: anywhere; }
.tm-reader__from b { color: rgb(var(--pb-fg)); }
.tm-back { border: 0; background: none; color: rgb(var(--pb-accent)); font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 4px 0; display: inline-flex; gap: 6px; align-items: center; }
.tm-notice { margin: 0 20px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: rgb(var(--pb-navy-soft)); color: rgb(var(--pb-fg)); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tm-frame { display: block; width: 100%; height: 560px; max-height: 75vh; border: 0; background: #fff; border-radius: 0 0 1rem 1rem; }
.tm-files { padding: 12px 20px; border-top: 1px solid rgb(var(--pb-line)); display: flex; flex-wrap: wrap; gap: 8px; }
.tm-file { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgb(var(--pb-line)); border-radius: 10px; padding: 8px 10px; font-size: 13px; color: rgb(var(--pb-fg)); text-decoration: none; background: rgb(var(--pb-surface)); }
.tm-file:hover { border-color: rgb(var(--pb-accent) / .5); }
.tm-file small { color: rgb(var(--pb-muted)); }
.tm-link-btn { border: 0; background: none; color: rgb(var(--pb-accent)); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.tm-danger-btn { border: 0; background: none; color: #b42318; font-weight: 600; font-size: 13px; cursor: pointer; padding: 0; }
html.dark .tm-danger-btn { color: #fda29b; }

/* ---- Aviso flutuante ------------------------------------------------------ */
.tm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; max-width: min(92vw, 460px); padding: 12px 16px; border-radius: 12px; background: rgb(var(--pb-brand)); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgb(0 0 0 / .25); }
html.dark .tm-toast { background: rgb(var(--pb-surface-2)); color: rgb(var(--pb-fg)); border: 1px solid rgb(var(--pb-line)); }

/* ---- Painel: endereços salvos --------------------------------------------- */
.tm-saved { overflow: hidden; }
.tm-saved__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 20px; border-bottom: 1px solid rgb(var(--pb-line)); align-items: center; }
.tm-saved__row:last-child { border-bottom: 0; }
.tm-saved__row[aria-current="true"] { background: rgb(var(--pb-accent-soft) / .55); }
.tm-saved__addr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; font-weight: 700; color: rgb(var(--pb-fg)); overflow-wrap: anywhere; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.tm-saved__label { font-size: 12.5px; color: rgb(var(--pb-muted)); }
.tm-saved__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---- Página pública: texto abaixo da ferramenta --------------------------- */
.tm-steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tm-step { padding: 18px; }
.tm-step__n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent)); }
.tm-step h3 { margin-top: 10px; font-size: 15px; font-weight: 800; color: rgb(var(--pb-fg)); }
.tm-step p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: rgb(var(--pb-muted)); }
.tm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tm-table th, .tm-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgb(var(--pb-line)); vertical-align: top; }
.tm-table th { color: rgb(var(--pb-fg)); font-weight: 700; }
.tm-table td { color: rgb(var(--pb-muted)); }
.tm-offer { padding: 20px; display: grid; gap: 8px; align-content: start; }
.tm-offer h3 { font-size: 16px; font-weight: 800; color: rgb(var(--pb-fg)); }
.tm-offer p { font-size: 14px; line-height: 1.55; color: rgb(var(--pb-muted)); }

/* ---- Admin ---------------------------------------------------------------- */
.tm-worker { max-height: 360px; overflow: auto; margin: 0; padding: 14px; border-radius: 10px; background: #0b1220; color: #e5e7eb; font-size: 12px; line-height: 1.5; }
.tm-secret { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.tm-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.tm-bars span { flex: 1; min-width: 6px; background: rgb(var(--pb-accent) / .75); border-radius: 3px 3px 0 0; }

@keyframes tm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes tm-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
    .tm-addr { padding: 16px; }
    .tm-addr__row { flex-direction: column; }
    .tm-copy { width: 100%; }
    .tm-addr__value { font-size: 16px; }
    .tm-frame { height: 70vh; }
    .tm-item button.tm-item__open, .tm-inbox__head, .tm-reader__head, .tm-saved__row { padding-left: 16px; padding-right: 16px; }
}

/* Utilitários que não existem no CSS compilado (sem Node para recompilar). */
.tm-ol { list-style: decimal; padding-left: 1.25rem; }
.tm-ul { list-style: disc; padding-left: 1.25rem; }
.tm-span-all { grid-column: 1 / -1; }
.tm-btn-sm { padding: .375rem .75rem !important; font-size: 12px !important; }
.tm-addr__value .tm-addr__placeholder { font-family: inherit; font-weight: 600; font-size: 14px; color: rgb(var(--pb-muted)); }

/* ==========================================================================
   Painel (/app/email-temporario): resumo, duas colunas, lista lateral e Pro
   ========================================================================== */
.tm-input--text { font-family: inherit; }
.tm-link-btn--quiet { color: rgb(var(--pb-muted)); font-weight: 600; font-size: 12.5px; text-decoration: underline; text-underline-offset: 2px; }
.tm-link-btn--quiet:hover { color: rgb(var(--pb-fg)); }
.tm-preview { margin-bottom: 16px; border-radius: 12px; border: 1px solid rgb(245 158 11 / .4); background: rgb(245 158 11 / .1); color: #92400e; padding: 12px 16px; font-size: 14px; }
html.dark .tm-preview { color: #fbbf24; }

/* Colunas */
.tm-app__main, .tm-app__side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.tm-app__top { min-width: 0; }
.tm-app__after { min-width: 0; container-type: inline-size; }
@media (min-width: 1180px) {
    .tm-app--split { grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto auto 1fr; align-items: start; gap: 20px; }
    .tm-app--split .tm-app__top { grid-column: 1 / -1; grid-row: 1; }
    .tm-app--split .tm-app__main { grid-column: 1; grid-row: 2; }
    .tm-app--split .tm-app__after { grid-column: 1; grid-row: 3; }
    .tm-app--split .tm-app__side { grid-column: 2; grid-row: 2 / span 2; }
    .tm-app--split .tm-app__side { position: sticky; top: 112px; max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 2px; }
    .tm-app--split .tm-switch { display: none !important; }
}

/* Resumo */
.tm-kpis { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tm-kpi { position: relative; display: grid; gap: 2px; align-content: start; padding: 14px 16px; border: 1px solid rgb(var(--pb-line)); border-radius: 14px; background: rgb(var(--pb-surface)); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
a.tm-kpi[href]:hover { border-color: rgb(var(--pb-accent) / .5); transform: translateY(-1px); }
.tm-kpi__ico { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgb(var(--pb-surface-2)); color: rgb(var(--pb-muted)); }
.tm-kpi__label { padding-right: 34px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--pb-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-kpi__value { margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: rgb(var(--pb-fg)); font-variant-numeric: tabular-nums; }
.tm-kpi__value small { font-size: 14px; font-weight: 700; color: rgb(var(--pb-muted)); letter-spacing: 0; }
.tm-kpi__sub { font-size: 12.5px; color: rgb(var(--pb-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-kpi__bar, .tm-pro__bar, .tm-procard__bar { display: block; height: 6px; border-radius: 99px; background: rgb(var(--pb-line)); overflow: hidden; }
.tm-kpi__bar { height: 4px; margin-top: 8px; }
.tm-kpi__bar span, .tm-pro__bar span, .tm-procard__bar span { display: block; height: 100%; border-radius: inherit; background: rgb(var(--pb-accent)); transition: width .4s ease; }
.tm-kpi--warn .tm-kpi__ico { background: rgb(245 158 11 / .15); color: #d97706; }
.tm-kpi--warn .tm-kpi__value { color: #d97706; }
html.dark .tm-kpi--warn .tm-kpi__value, html.dark .tm-kpi--warn .tm-kpi__ico { color: #fbbf24; }
.tm-kpi--pro { border-color: rgb(var(--pb-accent) / .45); background: linear-gradient(135deg, rgb(var(--pb-accent) / .14), rgb(var(--pb-surface)) 65%); }
.tm-kpi--pro .tm-kpi__ico { background: rgb(var(--pb-accent)); color: #fff; }

/* Primeira vez no painel */
.tm-first { text-align: center; padding: 14px 4px 4px; }
.tm-first__icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent)); box-shadow: 0 0 0 8px rgb(var(--pb-accent) / .06); }
.tm-first__title { margin-top: 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: rgb(var(--pb-fg)); }
.tm-first__lead { margin: 6px auto 0; max-width: 520px; font-size: 14px; line-height: 1.55; color: rgb(var(--pb-muted)); }
.tm-first__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tm-first__steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: left; }
.tm-first__steps li { display: flex; gap: 10px; padding: 12px; border: 1px solid rgb(var(--pb-line)); border-radius: 12px; background: rgb(var(--pb-surface-2)); font-size: 13px; line-height: 1.45; color: rgb(var(--pb-muted)); }
.tm-first__steps li > span { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent)); }
.tm-first__steps b { display: block; font-size: 13.5px; color: rgb(var(--pb-fg)); }

/* Endereço aberto: apelido, prazo e ações */
.tm-addr__nick { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 700; color: rgb(var(--pb-fg)); padding: 2px 9px; border-radius: 99px; border: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface-2)); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-switch { display: block; margin-top: 10px; }
.tm-switch .tm-select { width: 100%; font-size: 13.5px; }
.tm-manage { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgb(var(--pb-line)); }
.tm-manage__row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.tm-manage__exp { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: rgb(var(--pb-muted)); }
.tm-manage__exp--warn { color: #b45309; font-weight: 600; }
html.dark .tm-manage__exp--warn { color: #fbbf24; }
.tm-manage__btns { display: flex; flex-wrap: wrap; gap: 16px; }
.tm-manage__rename { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tm-manage__rename .tm-input { flex: 1 1 220px; }
.tm-empty__icon--wait { animation: tm-ring 2.4s ease-out infinite; }
@keyframes tm-ring { 0% { box-shadow: 0 0 0 0 rgb(var(--pb-accent) / .28); } 70%, 100% { box-shadow: 0 0 0 12px rgb(var(--pb-accent) / 0); } }

/* Coluna lateral: Meus e-mails */
.tm-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px; border: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface-2)); font-size: 11.5px; font-weight: 700; color: rgb(var(--pb-muted)); font-variant-numeric: tabular-nums; }
.tm-icon-btn { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; border: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface)); color: rgb(var(--pb-fg)); cursor: pointer; transition: border-color .15s, color .15s; }
.tm-icon-btn:hover { border-color: rgb(var(--pb-accent) / .5); color: rgb(var(--pb-accent)); }
.tm-icon-btn:disabled { opacity: .5; cursor: default; }
.tm-mybox .pbx-section__head { padding: 14px 16px; }
.tm-mybox__search { display: flex; align-items: center; gap: 8px; margin: 10px 10px 2px; padding: 0 10px; border: 1px solid rgb(var(--pb-line)); border-radius: 10px; background: rgb(var(--pb-surface-2)); color: rgb(var(--pb-muted)); }
.tm-mybox__search:focus-within { border-color: rgb(var(--pb-accent)); }
.tm-mybox__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; font-size: 13px; color: rgb(var(--pb-fg)); outline: none; box-shadow: none; }
.tm-mybox__list { display: grid; gap: 2px; padding: 6px; max-height: 480px; overflow-y: auto; scrollbar-width: thin; }
.tm-sitem { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 11px; background: none; color: inherit; text-align: left; cursor: pointer; transition: background .12s, border-color .12s; }
.tm-sitem:hover { background: rgb(var(--pb-surface-2)); }
.tm-sitem[aria-current="true"] { background: rgb(var(--pb-accent-soft)); border-color: rgb(var(--pb-accent) / .35); }
.tm-sitem__av { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.tm-av--1 { background: rgb(56 189 248 / .15); color: #0284c7; }
.tm-av--2 { background: rgb(168 85 247 / .15); color: #9333ea; }
.tm-av--3 { background: rgb(34 197 94 / .15); color: #16a34a; }
.tm-av--4 { background: rgb(251 146 60 / .16); color: #ea580c; }
.tm-av--5 { background: rgb(99 102 241 / .15); color: #4f46e5; }
.tm-av--6 { background: rgb(236 72 153 / .14); color: #db2777; }
html.dark .tm-av--1 { color: #38bdf8; } html.dark .tm-av--2 { color: #c084fc; } html.dark .tm-av--3 { color: #4ade80; }
html.dark .tm-av--4 { color: #fb923c; } html.dark .tm-av--5 { color: #818cf8; } html.dark .tm-av--6 { color: #f472b6; }
.tm-sitem__body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tm-sitem__title { font-size: 13.5px; font-weight: 700; color: rgb(var(--pb-fg)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-sitem__addr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; color: rgb(var(--pb-muted)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-sitem__meta { flex: none; display: grid; justify-items: end; gap: 3px; }
.tm-sitem__new, .tm-sitem__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tm-sitem__new { background: rgb(var(--pb-accent)); color: #fff; }
.tm-sitem__count { background: rgb(var(--pb-surface-2)); color: rgb(var(--pb-muted)); border: 1px solid rgb(var(--pb-line)); }
.tm-sitem__exp { font-size: 11px; color: rgb(var(--pb-muted)); white-space: nowrap; }
.tm-sitem__exp--warn { color: #b45309; font-weight: 700; }
html.dark .tm-sitem__exp--warn { color: #fbbf24; }
.tm-mybox__none, .tm-mybox__empty { padding: 14px 16px; font-size: 13px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.tm-mybox__foot { display: flex; gap: 8px; align-items: flex-start; padding: 10px 16px; border-top: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface-2)); font-size: 12px; line-height: 1.45; color: rgb(var(--pb-muted)); }
.tm-mybox__foot svg { flex: none; margin-top: 1px; }
.tm-side-note { padding: 10px 16px 6px; font-size: 12.5px; line-height: 1.45; color: rgb(var(--pb-muted)); }
.tm-local { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; border-top: 1px solid rgb(var(--pb-line)); }
.tm-local__addr { min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: rgb(var(--pb-fg)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Coluna lateral: cartão do Pro e dicas */
.tm-procard { display: grid; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid rgb(var(--pb-accent) / .35); background: linear-gradient(140deg, rgb(var(--pb-accent) / .16), rgb(var(--pb-surface)) 70%); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.tm-procard:hover { border-color: rgb(var(--pb-accent) / .7); transform: translateY(-1px); }
.tm-procard__head { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: rgb(var(--pb-accent)); }
.tm-procard__big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: rgb(var(--pb-fg)); }
.tm-procard__text { font-size: 13px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.tm-procard__price { font-size: 13px; color: rgb(var(--pb-muted)); }
.tm-procard__price b { font-size: 17px; color: rgb(var(--pb-fg)); }
.tm-procard__link { margin-top: 2px; font-size: 13px; font-weight: 700; color: rgb(var(--pb-accent)); }
.tm-tips .pbx-section__head { padding: 14px 16px; }
.tm-tips ul { list-style: none; margin: 0; padding: 4px 0; }
.tm-tips li { display: flex; gap: 12px; padding: 10px 16px; font-size: 12.5px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.tm-tips b { display: block; font-size: 13px; color: rgb(var(--pb-fg)); }
.tm-tips__link { display: inline-block; margin-top: 2px; font-weight: 700; color: rgb(var(--pb-accent)); }

/* Email Temporário Pro */
.tm-pro { margin-top: 20px; border: 1px solid rgb(var(--pb-line)); border-radius: 20px; background: rgb(var(--pb-surface)); overflow: hidden; scroll-margin-top: 120px; }
.tm-pro__hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid rgb(var(--pb-line)); background: radial-gradient(120% 160% at 0% 0%, rgb(var(--pb-accent) / .14), transparent 60%); }
.tm-pro__brand { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 420px; min-width: 0; }
.tm-pro__mark { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(var(--pb-accent)); color: #fff; box-shadow: 0 8px 24px rgb(var(--pb-accent) / .35); }
.tm-pro__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--pb-accent)); }
.tm-pro__title { margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: rgb(var(--pb-fg)); }
.tm-pro__lead { margin-top: 4px; max-width: 620px; font-size: 14px; line-height: 1.55; color: rgb(var(--pb-muted)); }
.tm-pro__lead b { color: rgb(var(--pb-fg)); }
.tm-pro__status { flex: 0 1 300px; display: grid; gap: 10px; padding: 14px 16px; border: 1px solid rgb(var(--pb-line)); border-radius: 14px; background: rgb(var(--pb-surface)); }
.tm-pro__days { font-size: 13px; color: rgb(var(--pb-muted)); }
.tm-pro__days b { font-size: 22px; font-weight: 800; color: rgb(var(--pb-fg)); margin-right: 2px; }
.tm-pro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; padding: 22px 24px; align-items: start; }
.tm-pro__benefits { list-style: none; margin: 0; padding: 0; }
.tm-pro__benefits li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 13px 0; border-bottom: 1px solid rgb(var(--pb-line)); }
.tm-pro__benefits li:first-child { padding-top: 2px; }
.tm-pro__benefits li > div > b { display: block; font-size: 14px; color: rgb(var(--pb-fg)); }
.tm-pro__benefits li > div > span { font-size: 13px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.tm-pro__benefits em { font-style: normal; white-space: nowrap; font-size: 11.5px; font-weight: 700; color: rgb(var(--pb-muted)); padding: 3px 8px; border-radius: 99px; border: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface-2)); }
.tm-pro__benefits li.tm-pro__fine { display: block; border-bottom: 0; padding-top: 12px; font-size: 12.5px; line-height: 1.5; color: rgb(var(--pb-muted)); }
.tm-pro__bico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgb(var(--pb-accent-soft)); color: rgb(var(--pb-accent)); }
.tm-pro__buy { border: 1px solid rgb(var(--pb-line)); border-radius: 16px; padding: 18px; background: rgb(var(--pb-surface-2)); }
.tm-pro__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--pb-muted)); }
.tm-plans { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tm-plan { position: relative; display: grid; gap: 2px; text-align: left; padding: 14px 12px 12px; border-radius: 12px; border: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface)); color: rgb(var(--pb-fg)); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tm-plan:hover { border-color: rgb(var(--pb-accent) / .5); }
.tm-plan[aria-checked="true"] { border-color: rgb(var(--pb-accent)); box-shadow: 0 0 0 1px rgb(var(--pb-accent)), 0 8px 20px rgb(var(--pb-accent) / .12); }
.tm-plan__badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: rgb(var(--pb-accent)); color: #fff; }
.tm-pro__from { flex: none; display: grid; justify-items: end; text-align: right; line-height: 1.2; font-size: 12.5px; color: rgb(var(--pb-muted)); }
.tm-pro__from b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: rgb(var(--pb-fg)); margin: 2px 0; }
.tm-plan__radio { position: absolute; top: 12px; right: 10px; width: 16px; height: 16px; border-radius: 99px; border: 2px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface)); }
.tm-plan[aria-checked="true"] .tm-plan__radio { border-color: rgb(var(--pb-accent)); background: radial-gradient(circle, rgb(var(--pb-accent)) 40%, rgb(var(--pb-surface)) 45%); }
.tm-plan__days { font-size: 12.5px; font-weight: 700; color: rgb(var(--pb-muted)); }
.tm-plan__price { font-size: 18px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tm-plan__per { font-size: 11.5px; color: rgb(var(--pb-muted)); }
.tm-toggle { position: relative; display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgb(var(--pb-fg)); cursor: pointer; user-select: none; }
.tm-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tm-toggle__track { flex: none; position: relative; width: 36px; height: 20px; border-radius: 99px; background: rgb(var(--pb-line)); transition: background .15s; }
.tm-toggle__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .15s; }
.tm-toggle input:checked + .tm-toggle__track { background: rgb(var(--pb-accent)); }
.tm-toggle input:checked + .tm-toggle__track::after { transform: translateX(16px); }
.tm-toggle input:focus-visible + .tm-toggle__track { outline: 2px solid rgb(var(--pb-accent) / .5); outline-offset: 2px; }
.tm-toggle input:disabled + .tm-toggle__track { opacity: .6; }
.tm-toggle small { display: block; font-size: 12px; color: rgb(var(--pb-muted)); }
.tm-toggle--block { margin-top: 16px; align-items: flex-start; }
.tm-toggle--block .tm-toggle__track { margin-top: 1px; }
.tm-pro__pay { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-pro__pay .pb-btn-primary { flex: 1 1 220px; justify-content: center; }
.tm-pro__pay .pb-btn-secondary { flex: 0 1 auto; justify-content: center; }
.tm-pro__wallet { margin-top: 10px; font-size: 12.5px; color: rgb(var(--pb-muted)); }
.tm-pro__wallet b { color: rgb(var(--pb-fg)); }
.tm-pro__pixform { margin-top: 12px; padding: 12px; border: 1px dashed rgb(var(--pb-line)); border-radius: 12px; background: rgb(var(--pb-surface)); }
.tm-pro__pixform p { margin-bottom: 8px; font-size: 12.5px; line-height: 1.45; color: rgb(var(--pb-muted)); }
.tm-pro__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 14px 24px; border-top: 1px solid rgb(var(--pb-line)); background: rgb(var(--pb-surface-2)); font-size: 12.5px; color: rgb(var(--pb-muted)); }
.tm-pro__trust span { display: inline-flex; gap: 6px; align-items: center; }
.tm-pro__trust svg { color: rgb(var(--pb-accent)); }
.tm-pix { display: grid; gap: 10px; }
.tm-pix__qr { justify-self: center; display: inline-flex; padding: 10px; border-radius: 16px; border: 1px solid rgb(var(--pb-line)); background: #fff; }
.tm-pix__code { border: 1px solid rgb(var(--pb-line)); border-radius: 12px; background: rgb(var(--pb-surface)); padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.5; color: rgb(var(--pb-muted)); word-break: break-all; max-height: 90px; overflow: auto; }
.tm-pix__wait { font-size: 12.5px; line-height: 1.5; color: rgb(var(--pb-muted)); }

@media (max-width: 1100px) {
    .tm-pro__grid { grid-template-columns: 1fr; }
}
/* O Pro fica na coluna principal: decide as colunas pela largura dela, não da tela. */
.tm-app__after .tm-pro { margin-top: 0; }
@container (max-width: 860px) {
    .tm-pro__grid { grid-template-columns: 1fr; }
}
@container (min-width: 861px) {
    .tm-pro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
}
/* Sem a coluna lateral ao lado (tela menor), o cartão curto do Pro repetiria a seção. */
@media (max-width: 1179px) {
    .tm-app--split .tm-procard { display: none; }
}
@media (max-width: 900px) {
    .tm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .tm-hpill { display: none !important; } /* no celular o cartão "Plano" já leva ao Pro; o cabeçalho não cabe mais um botão */
    .tm-kpi { padding: 12px 14px; }
    .tm-kpi__value { font-size: 21px; }
    .tm-first__steps { grid-template-columns: 1fr; }
    .tm-pro__hero, .tm-pro__grid { padding: 18px 16px; }
    .tm-pro__trust { padding: 12px 16px; }
    .tm-pro__benefits li { grid-template-columns: auto minmax(0, 1fr); }
    .tm-pro__benefits em { grid-column: 2; justify-self: start; }
    .tm-plans { grid-template-columns: 1fr; gap: 10px; }
    .tm-plan { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 14px 40px 12px 14px; }
    .tm-plan__days { grid-column: 1; grid-row: 1; }
    .tm-plan__per { grid-column: 1; grid-row: 2; }
    .tm-plan__price { grid-column: 2; grid-row: 1 / span 2; }
    .tm-plan__radio { top: 50%; transform: translateY(-50%); }
    .tm-plan__badge { left: 12px; transform: none; }
    .tm-pro__from { justify-items: start; text-align: left; }
}

/* Teste grátis único: tela de "teste terminou" e endereço pausado */
.tm-first__icon--pay { background: rgb(245 158 11 / .15); color: #d97706; box-shadow: 0 0 0 8px rgb(245 158 11 / .06); }
html.dark .tm-first__icon--pay { color: #fbbf24; }
.tm-sitem--off .tm-sitem__title, .tm-sitem--off .tm-sitem__addr { opacity: .55; }
.tm-sitem__off { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #b45309; }
html.dark .tm-sitem__off { color: #fbbf24; }
.tm-sitem__trial { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--pb-accent)); }
.tm-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
@media (max-width: 640px) { .tm-plans--4 { grid-template-columns: 1fr; } }
.tm-tg { margin-top: 16px; padding: 14px 16px; border: 1px solid rgb(var(--pb-line)); border-radius: 14px; background: rgb(var(--pb-surface)); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.tm-tg__info { display: flex; gap: 12px; align-items: flex-start; min-width: 0; flex: 1 1 260px; }
.tm-tg__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgb(56 189 248 / .15); color: #0284c7; }
html.dark .tm-tg__ico { color: #38bdf8; }
.tm-tg__info b { display: block; font-size: 14px; color: rgb(var(--pb-fg)); }
.tm-tg__info span { font-size: 12.5px; line-height: 1.45; color: rgb(var(--pb-muted)); }

/* proxybox.es: aviso legal no topo do correo temporal (classe só usada no .es) */
.tm-legal { margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgb(var(--pb-line)); border-radius: 12px; background: rgb(var(--pb-surface-2)); font-size: 12.5px; line-height: 1.55; color: rgb(var(--pb-muted)); }
.tm-legal b { color: rgb(var(--pb-fg)); }
.tm-legal a { color: rgb(var(--pb-accent, 15 118 110)); font-weight: 600; text-decoration: underline; }
