/* Telas fiéis do app (chat 01, prefixo t-). Tudo em `em`: o celular parte de 3.85cqw (15 px numa tela de 390 px, como o
   app) e o computador herda a letra da moldura (ms-app__g). Assim o mesmo HTML serve em qualquer tamanho de aparelho.
   Só tokens semânticos do design system. Etapa sem cor; estado com ícone + texto. */

/* ---------- bases ---------- */
.t-cel { position: relative; flex: 1; display: flex; flex-direction: column; gap: .7em; min-height: 0; overflow: hidden; padding: .2em .95em 1.9em; font-size: 3.85cqw; line-height: var(--leading-snug); color: var(--text); background: var(--bg); text-align: left; }
.t-cel--fundo { padding: 0; gap: 0; background: transparent; }
.t-pc { position: relative; flex: 1; display: flex; flex-direction: column; gap: .9em; min-height: 0; min-width: 0; }
.ms-app__main:has(.t-pc) { position: relative; padding: 1.1em 1.3em; }
.t-cel .icon, .t-pc .icon { width: 1.15em; height: 1.15em; flex: none; }
.t-cel small, .t-pc small { display: block; font-size: .8em; color: var(--text-muted); line-height: 1.3; }
.t-cel b, .t-pc b { font-weight: var(--weight-semibold); }
.t-cel .money, .t-pc .money { font-weight: var(--weight-semibold); }
.t-cel .money__cur, .t-pc .money__cur { margin-right: .15em; font-size: .78em; }
.t-cel img, .t-pc img { display: block; }

/* notebook com a tela em 16:10 (telas: notebook) */
.t-nb__tela { position: relative; display: flex; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.t-nb .ms-app__g { font-size: var(--t-pc-letra, 1.32cqw); }
@container (max-width: 459px) { .t-nb .ms-app__g { font-size: 2.1cqw; } }

/* placa em em (a placa do design system cresce por --plate-size) */
.t-pl { --plate-size: 1.85em; box-shadow: none; }
.t-pl .plate__band { font-size: 0; }
.t-pl--m { --plate-size: 2.3em; }
.t-pl--m .plate__band { font-size: calc(var(--plate-size) * .17); }
.t-pl--g { --plate-size: 4.1em; box-shadow: var(--shadow-paper); }
.t-pl--g .plate__band { font-size: calc(var(--plate-size) * .17); }

/* carimbo do sistema, na escala da tela */
.t-carimbo { padding: .3em .6em; border-width: .14em; outline-offset: -.32em; background: var(--surface); }
.t-carimbo .stamp__word { font-size: 1.05em; }
.t-carimbo .stamp__when { font-size: .62em; }
.t-carimbo[data-tom="ok"] { color: var(--success-text); }

/* ---------- peças pequenas ---------- */
.t-selo { display: inline-flex; align-items: center; gap: .3em; flex: none; max-width: 100%; padding: .12em .5em; border-radius: var(--radius-full); background: var(--surface-sunken); color: var(--text-muted); font-size: .78em; font-weight: var(--weight-semibold); line-height: 1.35; white-space: nowrap; }
.t-selo .icon { width: 1em; height: 1em; }
.t-selo[data-tom="danger"] { background: var(--danger-soft); color: var(--danger-text); }
.t-selo[data-tom="warning"] { background: var(--warning-soft); color: var(--warning-text); }
.t-selo[data-tom="success"] { background: var(--success-soft); color: var(--success-text); }
.t-selo[data-tom="accent"] { background: var(--accent-soft); color: var(--accent-text); }
.t-tempo { display: inline-flex; align-items: center; gap: .25em; flex: none; padding: .1em .45em; border-radius: var(--radius-sm); background: var(--surface-sunken); color: var(--text-muted); font-size: .78em; font-weight: var(--weight-medium); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-tempo .icon { width: 1em; height: 1em; }
.t-tempo[data-l="warn"] { background: var(--warning-soft); color: var(--warning-text); font-weight: var(--weight-semibold); }
.t-tempo[data-l="warn"] .icon { color: var(--warning); }
.t-tempo[data-l="bad"] { background: var(--danger-soft); color: var(--danger-text); font-weight: var(--weight-semibold); }
.t-tempo[data-l="bad"] .icon { color: var(--danger); }
.t-av { display: inline-grid; place-items: center; flex: none; width: 1.9em; height: 1.9em; border-radius: var(--radius-full); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); font-size: .8em; font-weight: var(--weight-semibold); color: var(--text); }
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; flex: none; min-height: 2.5em; padding: 0 .9em; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font-weight: var(--weight-semibold); font-size: .9em; white-space: nowrap; }
.t-btn[data-tipo="pri"] { border-color: var(--accent); background: var(--accent); color: var(--text-on-accent); box-shadow: var(--shadow-accent); }
.t-btn[data-tipo="fant"] { border-color: transparent; background: transparent; color: var(--text-muted); padding-inline: .5em; }
.t-cel > .t-btn[data-tipo="pri"] { min-height: 3em; font-size: 1em; }
.t-assunto { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: var(--radius-md); background: var(--topic-neutral-soft); color: var(--topic-neutral); }
.t-assunto .icon { width: 1.25em; height: 1.25em; }
.t-assunto[data-topico="car"] { background: var(--topic-car-soft); color: var(--topic-car); }
.t-assunto[data-topico="customer"] { background: var(--topic-customer-soft); color: var(--topic-customer); }
.t-assunto[data-topico="money"] { background: var(--topic-money-soft); color: var(--topic-money); }
.t-assunto[data-topico="date"] { background: var(--topic-date-soft); color: var(--topic-date); }
.t-assunto[data-topico="parts"] { background: var(--topic-parts-soft); color: var(--topic-parts); }
.t-x { display: grid; place-items: center; flex: none; width: 2em; height: 2em; margin-left: auto; border-radius: var(--radius-full); background: var(--surface-sunken); color: var(--text-muted); }
.t-nota { display: flex; gap: .45em; align-items: flex-start; margin: 0; font-size: .82em; color: var(--text-muted); line-height: 1.35; }
.t-nota .icon { width: 1.1em; height: 1.1em; margin-top: .05em; }
.t-cursor { display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: var(--accent); }

/* cabeçalho da aba (selo do assunto + título + situação) e topo do celular */
.t-cab { display: flex; align-items: center; gap: .7em; min-width: 0; }
.t-cab__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.t-cab__txt > b { font: var(--weight-bold) 1.6em/1.1 var(--font-display); }
.t-cab__txt small, .t-topo small { display: flex; align-items: center; gap: .4em; font-size: .9em; }
.t-cab i[data-tom], .t-topo i[data-tom] { width: .55em; height: .55em; flex: none; border-radius: var(--radius-full); background: var(--accent); }
.t-cab i[data-tom="hot"], .t-topo i[data-tom="hot"] { background: var(--danger); }
.t-ferr { display: flex; gap: .2em; margin-left: auto; }
.t-topo { display: flex; flex-direction: column; gap: .1em; }
.t-h1 { font: var(--weight-bold) 1.65em/1.1 var(--font-display); }
.t-cel .t-topo small { font-size: .82em; }

/* cartões e títulos de bloco */
.t-card { display: flex; flex-direction: column; gap: .55em; min-width: 0; padding: .85em .95em; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.t-card__t { display: flex; align-items: center; gap: .45em; font: var(--weight-bold) 1.05em/1.2 var(--font-display); }
.t-card__link { margin-left: auto; color: var(--accent-text); font: var(--weight-semibold) .78em/1 var(--font-sans); white-space: nowrap; }
.t-abas { display: flex; gap: .25em; flex: none; padding: .2em; border-radius: var(--radius-md); background: var(--surface-sunken); overflow: hidden; }
.t-abas__i { display: inline-flex; align-items: center; justify-content: center; gap: .35em; flex: 1; min-width: 0; padding: .45em .6em; border-radius: var(--radius-sm); color: var(--text-muted); font-size: .85em; font-weight: var(--weight-semibold); white-space: nowrap; }
.t-abas__i b { padding: 0 .4em; border-radius: var(--radius-full); background: var(--surface); font-size: .85em; }
.t-abas__i[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
.t-abas__i[aria-selected="true"] b { background: var(--accent-soft); color: var(--accent-text); }

/* cápsula do celular (DS-50) */
.t-doca { position: absolute; left: .7em; right: .7em; bottom: 1.3em; display: flex; align-items: center; gap: .4em; z-index: 2; }
.t-doca__barra { flex: 1; display: flex; justify-content: space-around; padding: .35em .3em; border-radius: var(--radius-full); background: var(--glass-white); border: 1px solid var(--border); box-shadow: var(--shadow-raised); backdrop-filter: blur(var(--space-2)); }
.t-doca__i { display: flex; flex-direction: column; align-items: center; gap: .1em; min-width: 0; padding: .25em .35em; border-radius: var(--radius-full); color: var(--text-muted); font-size: .62em; font-weight: var(--weight-semibold); white-space: nowrap; }
.t-doca__i .icon { width: 1.7em; height: 1.7em; }
.t-doca__i[aria-current="page"] { color: var(--accent-text); background: var(--accent-faint); padding-inline: .7em; }
.t-doca__add { display: grid; place-items: center; flex: none; width: 2.9em; height: 2.9em; border-radius: var(--radius-full); background: var(--accent); color: var(--text-on-accent); box-shadow: var(--shadow-accent); }
.t-doca__add .icon { width: 1.4em; height: 1.4em; }

/* folha que sobe de baixo (celular) e diálogo no computador */
.t-folha { flex: 1; display: flex; flex-direction: column; min-height: 0; margin-top: 1em; border-radius: 1.4em 1.4em 0 0; background: var(--surface); box-shadow: var(--shadow-sheet); }
.t-folha__alca { width: 2.6em; height: .28em; margin: .55em auto .1em; flex: none; border-radius: var(--radius-full); background: var(--border-strong); }
.t-folha__cab { display: flex; align-items: center; gap: .7em; padding: .6em 1em .4em; }
.t-folha__cab > span:nth-child(2) { flex: 1; min-width: 0; }
.t-folha__cab b { display: block; font: var(--weight-bold) 1.2em/1.15 var(--font-display); }
.t-folha__corpo { flex: 1; display: flex; flex-direction: column; gap: .7em; min-height: 0; padding: .4em 1em .8em; overflow: hidden; }
.t-folha__pe { display: flex; flex-direction: column; padding: .7em 1em 1.6em; border-top: 1px solid var(--border); }
.t-folha__pe .t-btn { min-height: 3em; font-size: 1em; }
.t-passos-barra { display: grid; grid-template-columns: 1fr 1fr; gap: .3em; padding: 0 1em .3em; }
.t-passos-barra i { height: .25em; border-radius: var(--radius-full); background: var(--border); }
.t-passos-barra i[data-on] { background: var(--accent); }
.t-veu { position: absolute; inset: 0; z-index: 3; background: var(--scrim); }
.t-dialogo { position: absolute; z-index: 4; top: 50%; left: 50%; translate: -50% -50%; width: min(26em, 86%); max-height: 92%; display: flex; }
.t-dialogo .t-folha { margin: 0; border-radius: var(--radius-xl); }
.t-dialogo .t-folha__alca { display: none; }
.t-dialogo .t-folha__pe { padding-bottom: 1em; }

/* ---------- campos ---------- */
.t-campo { display: flex; flex-direction: column; gap: .3em; }
.t-campo > small { font-weight: var(--weight-semibold); color: var(--text); }
.t-input { display: flex; align-items: center; min-height: 2.7em; padding: .5em .75em; border: 1px solid var(--border-field); border-radius: var(--radius-md); background: var(--surface-field); box-shadow: var(--shadow-field); }
.t-input em { font-style: normal; color: var(--text-subtle); }
.t-input--area { align-items: flex-start; min-height: 4.6em; }
.t-dica { font-size: .78em; color: var(--text-muted); }
.t-placa-in { display: grid; place-items: center; padding: .8em; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.t-aviso { display: flex; gap: .5em; align-items: flex-start; padding: .65em .75em; border-radius: var(--radius-md); background: var(--accent-faint); color: var(--text); font-size: .88em; }
.t-aviso .icon { color: var(--accent-text); }
.t-aviso[data-tom="ok"] { background: var(--success-soft); }
.t-aviso[data-tom="ok"] .icon { color: var(--success-text); }
.t-chips, .t-quem, .t-formas { display: flex; flex-wrap: wrap; gap: .4em; }
.t-chip { display: inline-flex; align-items: center; gap: .35em; padding: .35em .75em; border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--surface); font-size: .85em; font-weight: var(--weight-semibold); white-space: nowrap; }
.t-chip .t-av { width: 1.6em; height: 1.6em; }
.t-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-faint); color: var(--accent-text); }
.t-seg { display: flex; padding: .2em; border-radius: var(--radius-md); background: var(--surface-sunken); }
.t-seg span { flex: 1; padding: .4em; border-radius: var(--radius-sm); text-align: center; font-size: .85em; font-weight: var(--weight-semibold); color: var(--text-muted); }
.t-seg span[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
.t-chave { position: relative; flex: none; width: 2.3em; height: 1.35em; margin-left: auto; border-radius: var(--radius-full); background: var(--border-strong); }
.t-chave::after { content: ""; position: absolute; top: .15em; left: .15em; width: 1.05em; height: 1.05em; border-radius: var(--radius-full); background: var(--surface); box-shadow: var(--shadow-card); }
.t-chave[data-on] { background: var(--accent); }
.t-chave[data-on]::after { left: auto; right: .15em; }

/* ---------- HOJE ---------- */
.t-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5em, 1fr)); gap: .6em; }
.t-cel .t-nums { grid-template-columns: 1fr 1fr; gap: .5em; }
.t-num { --tom: var(--topic-neutral); --tom-soft: var(--topic-neutral-soft); display: flex; flex-direction: column; gap: .3em; min-width: 0; padding: .7em .8em; border-radius: var(--radius-lg); background: var(--tom-soft); }
.t-num[data-tom="dinheiro"] { --tom: var(--topic-money); --tom-soft: var(--topic-money-soft); }
.t-num[data-tom="carro"] { --tom: var(--topic-car); --tom-soft: var(--topic-car-soft); }
.t-num[data-tom="cliente"] { --tom: var(--topic-customer); --tom-soft: var(--topic-customer-soft); }
.t-num[data-tom="perigo"] { --tom: var(--danger); --tom-soft: var(--danger-soft); }
.t-num[data-tom="pronto"] { --tom: var(--success); --tom-soft: var(--success-soft); }
.t-num__t { display: flex; align-items: center; gap: .35em; font-size: .8em; font-weight: var(--weight-semibold); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-num__t .icon { color: var(--tom); }
.t-num__v { font: var(--weight-bold) 1.65em/1 var(--font-display); font-variant-numeric: tabular-nums; }
.t-num__v .money__cur { font-family: var(--font-sans); font-size: .5em; }
.t-num__d { display: flex; align-items: flex-end; min-height: 1.2em; font-size: .78em; color: var(--text-muted); }
.t-num__nota, .t-num__nada { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-barras { display: flex; align-items: flex-end; gap: .2em; height: 1.4em; }
.t-barras i { width: .55em; height: calc(var(--v) * 100%); min-height: .15em; border-radius: .15em; background: var(--tom); opacity: .35; }
.t-barras i[data-hoje] { opacity: 1; }
.t-pilha { display: flex; gap: .15em; width: 100%; height: .45em; }
.t-pilha i { flex: var(--v); border-radius: var(--radius-full); background: var(--tom); opacity: .55; }
.t-pilha i:nth-child(even) { opacity: .3; }
.t-pontos { display: flex; gap: .3em; }
.t-pontos i { width: .6em; height: .6em; border-radius: var(--radius-full); background: var(--warning); }
.t-pontos i[data-l="bad"] { background: var(--danger); }
.t-meio { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .8em; align-items: start; }
.t-fila { gap: .2em; }
.t-fila__l { display: flex; align-items: center; gap: .65em; padding: .55em 0; border-top: 1px solid var(--border); }
.t-card__t + .t-fila__l { border-top: 0; }
.t-fila__ic { display: grid; place-items: center; flex: none; width: 2.1em; height: 2.1em; border-radius: var(--radius-md); background: var(--warning-soft); color: var(--warning-text); }
.t-fila__ic[data-l="bad"] { background: var(--danger-soft); color: var(--danger-text); }
.t-fila__txt { flex: 1; min-width: 0; }
.t-fila__txt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-fila__acao { flex: none; padding: .35em .65em; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .82em; font-weight: var(--weight-semibold); white-space: nowrap; }
.t-fila__l[data-primeira] .t-fila__acao { border-color: var(--accent); background: var(--accent); color: var(--text-on-accent); }
.t-cel .t-fila__acao { display: none; }
.t-cel .t-fila__l { flex-wrap: wrap; }
.t-cel .t-fila__l[data-primeira] .t-fila__acao { flex-basis: 100%; margin-left: 2.75em; text-align: center; }
.t-cel .t-etps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35em; }
.t-cel .t-etp { padding: .4em .5em; font-size: .9em; }
.t-cel .t-patio-agora .t-card__link { display: none; }
.t-cel .t-fila__l[data-primeira] .t-fila__acao { display: block; }
.t-fila__rodape { display: flex; align-items: center; gap: .5em; padding-top: .55em; border-top: 1px solid var(--border); font-size: .88em; color: var(--text-muted); }
.t-fila__rodape .icon:last-child { margin-left: auto; }
.t-lado { display: flex; flex-direction: column; gap: .8em; min-width: 0; }
.t-prom { display: flex; align-items: center; gap: .6em; font-size: .9em; }
.t-prom > b { width: 3em; font: var(--weight-bold) 1.05em/1 var(--font-display); font-variant-numeric: tabular-nums; }
.t-prom > span:nth-child(2) { flex: 1; min-width: 0; font-weight: var(--weight-semibold); }
.t-eqs { display: flex; flex-wrap: wrap; gap: .5em 1em; }
.t-eq { display: flex; align-items: center; gap: .45em; font-size: .9em; }
.t-patio-agora { display: flex; flex-direction: column; gap: .5em; }
.t-etps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .45em; }
.t-etp { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .1em .45em; padding: .55em .7em; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.t-etp .icon { grid-row: span 2; color: var(--text-muted); }
.t-etp b { font: var(--weight-bold) 1.3em/1 var(--font-display); }
.t-etp i { position: absolute; top: .45em; right: .45em; width: .5em; height: .5em; border-radius: var(--radius-full); background: var(--warning); }
.t-etp i[data-l="bad"] { background: var(--danger); }
.t-passos { gap: .45em; }
.t-passo { display: flex; align-items: center; gap: .65em; padding: .5em 0; border-top: 1px solid var(--border); }
.t-passo__n { display: grid; place-items: center; flex: none; width: 1.8em; height: 1.8em; border-radius: var(--radius-full); border: 1.5px solid var(--border-strong); font: var(--weight-bold) .9em/1 var(--font-display); }
.t-passo__txt { flex: 1; min-width: 0; }
.t-passos > .t-btn { align-self: flex-start; margin-top: .3em; }
.t-vazio { align-items: center; text-align: center; padding-block: 1.4em; }
.t-vazio > .icon { width: 2em; height: 2em; color: var(--text-muted); }

.t-mes__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 1em; align-items: end; }
.t-mes__g b { display: block; font: var(--weight-bold) 1.35em/1.1 var(--font-display); }
.t-mes__g em { display: block; font-style: normal; font-size: .75em; color: var(--success-text); font-weight: var(--weight-semibold); }
.t-mes__meta { display: flex; flex-direction: column; gap: .3em; }
.t-mes__meta i { position: relative; height: .5em; border-radius: var(--radius-full); background: var(--surface-sunken); overflow: hidden; }
.t-mes__meta i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--accent); }
.t-mes__meta em { color: var(--text-muted); }

/* ---------- PÁTIO no computador ---------- */
.t-placar { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); align-items: center; gap: 1em; padding: .65em 1em; border-radius: var(--radius-lg); background: var(--surface-inverse); color: var(--text-inverse); }
.t-placar small { color: var(--text-inverse-muted); }
.t-placar b { display: block; font: var(--weight-bold) 1.35em/1.1 var(--font-display); white-space: nowrap; }
.t-placar em { font: var(--weight-semibold) .6em/1 var(--font-sans); font-style: normal; color: var(--danger-on-dark); }
.t-placar__ag { display: inline-flex; align-items: center; gap: .4em; color: var(--text-inverse-muted); font-size: .75em; font-weight: var(--weight-semibold); letter-spacing: var(--tracking-micro); text-transform: uppercase; white-space: nowrap; } /* ds-ignore uppercase: rótulo do placar, como na home atual */
.t-regua { position: relative; flex: none; height: 2.6em; margin-inline: .3em; }
.t-regua::before { content: ""; position: absolute; left: 0; right: 0; top: 1.15em; height: 1px; background: var(--border-strong); }
.t-regua__h { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: .72em; color: var(--text-muted); }
.t-regua__agora { position: absolute; top: .1em; bottom: 1.1em; left: calc(var(--at) * 100%); width: 2px; background: var(--accent); }
.t-regua__agora b { position: absolute; top: 0; left: 50%; translate: -50% -15%; padding: .05em .55em; border-radius: var(--radius-full); background: var(--accent); color: var(--text-on-accent); font-size: .7em; white-space: nowrap; }
.t-regua__prom { position: absolute; top: .85em; left: calc(var(--at) * 100%); width: .65em; height: .65em; translate: -50% 0; border-radius: var(--radius-full); border: 2px solid var(--danger); background: var(--surface); }
.t-regua__prom[data-l="ok"] { border-color: var(--success); background: var(--success); }
.t-regua__prom:not([data-l]):not([data-os="571"]) { border-color: var(--text-muted); }
.t-quadro { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .45em; min-height: 0; }
.t-esc { display: flex; flex-direction: column; gap: .5em; min-width: 0; padding: .55em .45em; border-radius: var(--radius-md); background: var(--surface-sunken); border-top: 2px solid var(--border-strong); overflow: hidden; }
.t-esc__c { display: flex; align-items: center; gap: .3em; font-size: .85em; font-weight: var(--weight-semibold); }
.t-esc__c span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-esc__c .icon { color: var(--text-muted); }
.t-esc__c b { margin-left: auto; font: var(--weight-bold) 1.2em/1 var(--font-display); }
.t-esc__vazio { margin: 0; padding: .6em 0; text-align: center; font-size: .8em; color: var(--text-subtle); }
/* a etiqueta de chave em pé (DS-52, compacta): papel chanfrado com furo */
.t-tag { --cut: .7em; --forma: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut)); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .3em; padding: 1.25em .55em .55em; background: var(--surface-paper); clip-path: var(--forma); filter: var(--filter-paper); font-size: .86em; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.t-tag[data-l="warn"] { box-shadow: inset 0 .25em 0 var(--warning); }
.t-tag[data-l="bad"] { box-shadow: inset 0 .25em 0 var(--danger); }
.t-tag[data-destaque], .t-tag[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.t-tag__furo { position: absolute; top: .45em; left: 50%; width: .55em; height: .55em; translate: -50% 0; border-radius: var(--radius-full); background: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--border-paper); }
.t-tag__topo { display: flex; align-items: center; gap: .3em; width: 100%; min-width: 0; }
.t-tag__topo > b { font: var(--weight-bold) 1.25em/1 var(--font-display); color: var(--accent-text); }
.t-tag__topo .t-selo { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .72em; }
.t-tag__m { font-weight: var(--weight-semibold); line-height: 1.15; }
.t-tag__pe { display: flex; align-items: center; gap: .35em; width: 100%; min-width: 0; padding-top: .3em; border-top: 1px dashed var(--border-paper); }
.t-tag__pe small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-tag__pe .t-av { width: 1.6em; height: 1.6em; font-size: .72em; }
.t-tag .t-carimbo { position: absolute; right: .3em; top: 1.6em; font-size: .78em; }
/* folha lateral do computador */
.t-lat { position: absolute; z-index: 4; top: -1.1em; right: -1.3em; bottom: -1.1em; width: min(25em, 46%); display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-sheet); }
.t-lat .t-fos { padding: 1em; }

/* ---------- PÁTIO no celular (QuadroDoCelular) ---------- */
.t-trilho { display: flex; gap: .4em; flex: none; margin-inline: -.95em; padding-inline: .95em; overflow: hidden; }
.t-ficha { position: relative; display: inline-flex; align-items: center; gap: .3em; flex: none; padding: .4em .7em; border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--surface); font-size: .82em; font-weight: var(--weight-semibold); }
.t-ficha .icon { color: var(--text-muted); }
.t-ficha b { font-family: var(--font-display); }
.t-ficha[aria-current="true"] { border-color: var(--surface-inverse); background: var(--surface-inverse); color: var(--text-inverse); }
.t-ficha[aria-current="true"] .icon { color: inherit; }
.t-ficha i { position: absolute; top: -.1em; right: -.1em; width: .6em; height: .6em; border-radius: var(--radius-full); border: 1.5px solid var(--bg); background: var(--warning); }
.t-ficha i[data-l="bad"] { background: var(--danger); }
.t-col { display: flex; flex-direction: column; gap: .55em; min-height: 0; }
.t-col__c { display: flex; align-items: center; gap: .4em; font-size: .95em; }
.t-col__c .icon { color: var(--text-muted); }
.t-col__c span { margin-left: auto; font: var(--weight-bold) 1.15em/1 var(--font-display); }
.t-dica-deslize { display: flex; align-items: center; gap: .4em; margin: -.2em 0 0; font-size: .78em; color: var(--text-muted); }
.t-dica-deslize .icon { color: var(--accent-text); }
.t-sairam { display: flex; align-items: center; gap: .6em; padding: .6em .2em; border-top: 1px solid var(--border); color: var(--text-muted); }
.t-sairam b { color: var(--text); }
/* etiqueta deitada */
.t-deit { position: relative; display: flex; flex-direction: column; gap: .35em; padding: .7em .8em .65em 1.1em; border-radius: var(--radius-md); background: var(--surface-paper); filter: var(--filter-paper); transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.t-deit::before { content: ""; position: absolute; left: .4em; top: 50%; width: .4em; height: .4em; translate: 0 -50%; border-radius: var(--radius-full); background: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--border-paper); }
.t-deit[data-l="warn"] { box-shadow: inset .22em 0 0 var(--warning); }
.t-deit[data-l="bad"] { box-shadow: inset .22em 0 0 var(--danger); }
.t-deit[data-destaque] { box-shadow: inset 0 0 0 2px var(--accent); }
.t-deit__topo { display: flex; align-items: center; gap: .4em; min-width: 0; }
.t-deit__topo > b { font: var(--weight-bold) 1.2em/1 var(--font-display); color: var(--accent-text); }
.t-deit__m { flex: 1; min-width: 0; font-weight: var(--weight-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-deit__frase { margin: 0; font-size: .85em; color: var(--text-muted); }
.t-deit__frase b { color: var(--text); }
.t-deit__frase[data-l="warn"] b { color: var(--warning-text); }
.t-deit__frase[data-l="bad"] b { color: var(--danger-text); }
.t-deit__pe { display: flex; align-items: center; gap: .4em; }
.t-deit__pe small { flex: 1; min-width: 0; }
.t-deit__pe .t-av { width: 1.6em; height: 1.6em; font-size: .7em; }
.t-deit .t-carimbo { position: absolute; right: .6em; top: 2.2em; font-size: .8em; }

/* ---------- FICHA DA OS ---------- */
.t-fos { display: flex; flex-direction: column; gap: .7em; min-height: 0; }
.t-fos__cab { display: flex; align-items: center; gap: .7em; }
.t-fos__foto { display: grid; place-items: center; flex: none; width: 4.4em; height: 3.3em; border-radius: var(--radius-md); background: var(--surface-sunken); object-fit: cover; color: var(--text-muted); }
.t-fos__id { display: flex; flex-direction: column; align-items: flex-start; gap: .2em; flex: 1; min-width: 0; }
.t-fos__id b { font: var(--weight-bold) 1.15em/1.1 var(--font-display); }
.t-fos__estado { display: flex; align-items: center; justify-content: space-between; gap: .5em; padding: .55em .7em; border-radius: var(--radius-md); background: var(--surface-sunken); }
.t-fos__et { display: inline-flex; align-items: center; gap: .4em; font-weight: var(--weight-semibold); font-size: .92em; }
.t-fos__fatos { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.t-fos__fatos b { display: flex; align-items: center; gap: .3em; font-size: .9em; }
.t-fos__fatos .t-av { width: 1.5em; height: 1.5em; font-size: .7em; }
.t-prox { display: flex; flex-direction: column; gap: .3em; padding: .75em .85em; border-radius: var(--radius-lg); background: var(--accent-faint); border: 1px solid var(--accent-border); }
.t-prox > small { font-weight: var(--weight-semibold); color: var(--accent-text); }
.t-prox > b { font: var(--weight-bold) 1.1em/1.15 var(--font-display); }
.t-prox p { margin: 0; font-size: .82em; color: var(--text-muted); }
.t-prox .t-btn { align-self: stretch; margin-top: .3em; }
.t-fos__aba { display: flex; flex-direction: column; gap: .6em; min-height: 0; }
.t-res { display: flex; flex-direction: column; }
.t-res__l { display: flex; align-items: center; gap: .65em; padding: .5em 0; border-bottom: 1px solid var(--border); }
.t-res__l > .icon { color: var(--text-muted); }
.t-res__l > span:not(.t-btn):not(.t-selo) { flex: 1; min-width: 0; }
.t-res__l b { display: block; }
.t-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4em; }
.t-foto { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); }
.t-foto--add { display: grid; place-items: center; border: 1.5px dashed var(--border-strong); color: var(--text-muted); }
.t-sit { display: flex; }

/* ---------- ORÇAMENTO: talão (oficina) e link (cliente) ---------- */
.t-papel { position: relative; display: flex; flex-direction: column; gap: .5em; padding: .8em .85em; border-radius: var(--radius-paper); background: var(--surface-paper); filter: var(--filter-paper); }
.t-talao { display: flex; flex-direction: column; }
.t-item { display: grid; grid-template-columns: 3em minmax(0, 1fr) auto; align-items: start; gap: .6em; padding: .55em 0; border-bottom: 1px dashed var(--border-paper); transition: opacity var(--dur-base) var(--ease-out); }
.t-item[data-fora] { opacity: .45; }
.t-item[data-fora] .money { text-decoration: line-through; }
.t-item__foto { width: 3em; height: 3em; object-fit: cover; border-radius: var(--radius-sm); }
.t-item__txt { display: flex; flex-direction: column; align-items: flex-start; gap: .2em; min-width: 0; }
.t-talao__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: .55em; font-weight: var(--weight-semibold); }
.t-talao__total b { font: var(--weight-bold) 1.45em/1 var(--font-display); }
.t-papel > .t-carimbo { position: absolute; right: .9em; bottom: 3em; font-size: 1.15em; }
.t-papel__depois { display: flex; align-items: center; gap: .45em; font-size: .82em; color: var(--text-muted); }
.t-orc { flex: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1em; min-height: 0; }
.t-orc__pr { display: flex; flex-direction: column; gap: .6em; min-width: 0; }
.t-orc__lado { display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.t-orc__cab { display: flex; align-items: center; gap: .7em; }
.t-orc__cab > span:nth-child(2) { flex: 1; min-width: 0; }
.t-orc__cab b { display: block; font: var(--weight-bold) 1.2em/1.1 var(--font-display); }
.t-orc__frase { margin: 0; font-size: .88em; color: var(--text-muted); }
.t-tl { display: flex; flex-direction: column; }
.t-tl__m { position: relative; display: grid; grid-template-columns: 1.1em 1fr auto; align-items: center; gap: .5em; padding: .4em 0; color: var(--text-subtle); }
.t-tl__m i { width: .7em; height: .7em; border-radius: var(--radius-full); border: 2px solid var(--border-strong); background: var(--surface); }
.t-tl__m[data-ok] { color: var(--text); }
.t-tl__m[data-ok] i { border-color: var(--accent); background: var(--accent); }
.t-tl__m b { font-weight: var(--weight-medium); font-size: .9em; }
.t-tl__m small { font-variant-numeric: tabular-nums; }
.t-orc__lado > .t-btn { align-self: stretch; }
.t-balao { display: flex; flex-direction: column; gap: .3em; padding: .7em .8em; border-radius: var(--radius-lg); background: var(--wa-chat); }
.t-balao p { margin: 0; align-self: flex-end; max-width: 92%; padding: .55em .7em; border-radius: .8em .8em .25em .8em; background: var(--wa-out); color: var(--wa-text); font-size: .85em; line-height: 1.35; box-shadow: var(--shadow-paper); }
.t-balao u { color: var(--wa-link); }
.t-cel--orcamento .t-tl { padding: .3em .8em; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.t-cel--orcamento > .t-btn { align-self: stretch; }
.t-loja { display: flex; align-items: center; gap: .6em; padding-top: .2em; }
.t-loja__marca { display: grid; place-items: center; flex: none; width: 2.5em; height: 2.5em; border-radius: var(--radius-md); background: var(--accent); color: var(--text-on-accent); font: var(--weight-bold) 1em/1 var(--font-display); }
.t-loja b { display: block; font: var(--weight-bold) 1.15em/1.1 var(--font-display); }
.t-ci__env { margin-top: -.3em; }
.t-carro { display: flex; align-items: center; gap: .65em; padding: .55em; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.t-carro__foto { width: 4em; height: 3em; flex: none; object-fit: cover; border-radius: var(--radius-sm); }
.t-carro > span { display: flex; flex-direction: column; align-items: flex-start; gap: .15em; min-width: 0; }
.t-cis { display: flex; flex-direction: column; gap: .45em; }
.t-ci { display: grid; grid-template-columns: 1.4em 3.4em minmax(0, 1fr); align-items: start; gap: .55em; padding: .55em; border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.t-ci[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-faint); }
.t-ci[data-fora] { opacity: .5; }
.t-ci__marca { display: grid; place-items: center; width: 1.4em; height: 1.4em; margin-top: .2em; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text-on-accent); }
.t-ci[aria-pressed="true"] .t-ci__marca { border-color: var(--accent); background: var(--accent); }
.t-ci__marca .icon { width: 1em; height: 1em; }
.t-ci__foto { width: 3.4em; height: 3.4em; object-fit: cover; border-radius: var(--radius-md); }
.t-ci__txt { display: flex; flex-direction: column; gap: .15em; min-width: 0; }
.t-ci__txt small { font-size: .78em; }
.t-ci__pe { display: flex; align-items: center; justify-content: space-between; gap: .4em; margin-top: .15em; }
.t-ci__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: .3em; }
.t-ci__total b { font: var(--weight-bold) 1.4em/1 var(--font-display); }
.t-cel--cliente > .t-btn { min-height: 3em; font-size: 1em; }
.t-ci__ok { display: flex; align-items: center; gap: .7em; margin-top: auto; padding: .7em; border-radius: var(--radius-lg); background: var(--success-soft); }
.t-ci__ok .t-carimbo { flex: none; rotate: var(--stamp-tilt); }

/* ---------- PEÇAS e VENDA ---------- */
.t-forns { display: grid; grid-template-columns: repeat(auto-fill, minmax(20em, 1fr)); gap: .7em; align-content: start; }
.t-forn { display: flex; flex-direction: column; gap: .2em; padding: .7em .8em; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.t-forn__c { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .6em; padding-bottom: .35em; }
.t-forn__c b { white-space: nowrap; }
.t-forn__c > span:nth-child(2) { flex: 1; min-width: 0; }
.t-forn__c b { font: var(--weight-bold) 1.05em/1.15 var(--font-display); }
.t-peca { display: flex; align-items: center; gap: .6em; padding: .45em 0; border-top: 1px solid var(--border); }
.t-peca .t-assunto { width: 2em; height: 2em; }
.t-peca__txt { flex: 1; min-width: 0; }
.t-peca__txt b { display: block; }
.t-peca[data-l="bad"] .t-peca__txt small { color: var(--danger-text); font-weight: var(--weight-semibold); }
.t-peca__q { flex: none; min-width: 1.8em; font: var(--weight-bold) 1em/1 var(--font-display); color: var(--text-muted); }
.t-venda { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1em; min-height: 0; align-items: start; }
.t-venda__cat { display: flex; flex-direction: column; gap: .6em; }
.t-busca { display: flex; align-items: center; gap: .5em; min-height: 2.6em; padding: 0 .8em; border: 1px solid var(--border-field); border-radius: var(--radius-md); background: var(--surface-field); color: var(--text-muted); }
.t-busca--on { border-color: var(--accent); box-shadow: 0 0 0 .2em var(--accent-soft); color: var(--text); }
.t-cat { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.t-cat__i { display: flex; align-items: center; gap: .6em; padding: .5em .7em; }
.t-cat__i + .t-cat__i { border-top: 1px solid var(--border); }
.t-cat__i > span:nth-child(2) { flex: 1; min-width: 0; }
.t-cat__i > .icon:last-child { color: var(--accent-text); }
.t-cat__i .t-assunto { width: 2em; height: 2em; }
.t-comanda__c { display: flex; flex-direction: column; padding-bottom: .3em; border-bottom: 1px dashed var(--border-paper); }
.t-comanda__c b { font: var(--weight-bold) 1.15em/1.1 var(--font-display); }
.t-cmd { display: flex; align-items: baseline; gap: .5em; padding: .3em 0; }
.t-cmd__n { flex: 1; min-width: 0; }
.t-comanda .t-btn { align-self: stretch; }
.t-comanda > .t-carimbo { position: static; align-self: center; margin-block: .3em; font-size: 1.2em; }

/* ---------- CARROS E CLIENTES ---------- */
.t-cli { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1em; min-height: 0; }
.t-cli__lista { display: flex; flex-direction: column; gap: .6em; }
.t-lista { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.t-lista__l { display: flex; align-items: center; gap: .65em; padding: .55em .7em; }
.t-lista__l + .t-lista__l { border-top: 1px solid var(--border); }
.t-lista__l > span:nth-child(2) { flex: 1; min-width: 0; }
.t-lista__l[aria-current="true"] { background: var(--accent-faint); box-shadow: inset .2em 0 0 var(--accent); }
.t-lista__l > .icon:last-child { color: var(--text-subtle); }
.t-cel .t-lista__l { padding-inline: 0; border-top: 1px solid var(--border); }
.t-cel > .t-lista__l + .t-lista__l { border-top: 1px solid var(--border); }
.t-voltar { display: flex; align-items: center; gap: .3em; color: var(--accent-text); font-weight: var(--weight-semibold); font-size: .9em; }
.t-voltar b { margin-left: auto; color: var(--text-muted); font-family: var(--font-plate); letter-spacing: .06em; }
.t-fc { display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.t-fc__c { display: flex; align-items: center; gap: .8em; }
.t-fc__foto { width: 6.5em; height: 4.4em; flex: none; object-fit: cover; border-radius: var(--radius-md); }
.t-fc__c > span { display: flex; flex-direction: column; align-items: flex-start; gap: .2em; min-width: 0; }
.t-fc__c b { font: var(--weight-bold) 1.25em/1.1 var(--font-display); }
.t-fc__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.t-fc__nums span { padding: .5em .6em; border-radius: var(--radius-md); background: var(--surface-sunken); }
.t-fc__nums b { font: var(--weight-bold) 1.2em/1.1 var(--font-display); }
.t-depois { flex-direction: row; align-items: flex-start; gap: .6em; border-color: var(--warning-border); background: var(--warning-soft); box-shadow: none; }
.t-depois > .icon { color: var(--warning-text); }
.t-depois em { display: block; font-style: normal; font-size: .82em; color: var(--text-muted); }
.t-folha .t-depois { padding: .55em .7em; border: 1px solid var(--warning-border); border-radius: var(--radius-md); }
.t-hist { display: flex; flex-direction: column; margin-left: .35em; padding-left: 1em; border-left: 1px solid var(--border-strong); }
.t-hist__l { position: relative; display: flex; align-items: center; gap: .65em; padding: .45em 0; }
.t-hist__l > i { position: absolute; left: -1.35em; top: .85em; width: .7em; height: .7em; border-radius: var(--radius-full); border: 2px solid var(--bg); background: var(--border-strong); }
.t-hist__l:first-child > i { background: var(--accent); }
.t-hist__l > span { flex: 1; min-width: 0; }

/* ---------- FINANCEIRO ---------- */
.t-nums--fin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-cel .t-nums--fin { grid-template-columns: 1fr 1fr; }
.t-cel .t-nums--fin .t-num:last-child { grid-column: span 2; }
.t-fin { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1em; min-height: 0; }
.t-fin:has(.t-carne) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.t-fin__l { display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.t-fin__l > .t-abas { align-self: flex-start; }
.t-grupo { display: flex; flex-direction: column; padding: .2em .9em; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.t-grupo > small { padding: .55em 0 .2em; font-weight: var(--weight-semibold); }
.t-mov { display: flex; align-items: center; gap: .7em; padding: .5em 0; border-top: 1px solid var(--border); }
.t-grupo > small + .t-mov { border-top: 0; }
.t-mov > span { flex: 1; min-width: 0; }
.t-mov > span b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-mov__h { flex: none; width: 2.9em; font: var(--weight-bold) .95em/1 var(--font-display); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.t-carne { gap: .3em; }
.t-carne__c { padding-bottom: .35em; border-bottom: 1px dashed var(--border-paper); }
.t-carne__c b { font: var(--weight-bold) 1.15em/1.1 var(--font-display); }
.t-parc { position: relative; display: flex; align-items: center; gap: .7em; padding: .55em 0; border-bottom: 1px dashed var(--border-paper); }
.t-parc > b { flex: none; width: 2.2em; font: var(--weight-bold) 1.15em/1 var(--font-display); color: var(--accent-text); }
.t-parc > span { flex: 1; }
.t-parc .t-carimbo { flex: none; font-size: .72em; }
.t-carne > .t-btn { align-self: stretch; margin-top: .5em; }
.t-fin { align-items: start; }
.t-parc[data-pago] .money { color: var(--text-muted); }

/* ---------- EQUIPE ---------- */
.t-eqp { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1em; min-height: 0; align-items: start; }
.t-eqp > div:first-child { display: flex; flex-direction: column; gap: .7em; }
.t-pessoas { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.t-pessoa { display: flex; align-items: center; gap: .65em; padding: .6em .75em; }
.t-pessoa + .t-pessoa { border-top: 1px solid var(--border); }
.t-pessoa > span:nth-child(2) { flex: 1; min-width: 0; }
.t-pessoa[aria-current="true"] { background: var(--accent-faint); box-shadow: inset .2em 0 0 var(--accent); }
.t-pessoa > .icon { color: var(--text-subtle); }
.t-eqp__vazio { display: grid; place-items: center; min-height: 12em; padding: 1em; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; font-size: .9em; }
.t-perm { display: flex; flex-direction: column; gap: .6em; padding: .9em; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.t-perm__c { display: flex; align-items: center; gap: .6em; }
.t-perm__c .t-av { width: 2.4em; height: 2.4em; }
.t-perm__c b { font: var(--weight-bold) 1.15em/1.1 var(--font-display); }
.t-perm__t { font-weight: var(--weight-semibold); }
.t-perm__l { display: flex; align-items: center; gap: .6em; padding: .4em 0; border-top: 1px solid var(--border); }
.t-perm__l > span { flex: 1; min-width: 0; }
.t-perm__l > .icon { color: var(--text-muted); }

/* ---------- MEUS SERVIÇOS ---------- */
.t-serv { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; padding: .95em; border-radius: var(--radius-lg); background: var(--surface-inverse); color: var(--text-inverse); }
.t-serv > b { font: var(--weight-bold) 1.35em/1.1 var(--font-display); }
.t-serv small { color: var(--text-inverse-muted); }
.t-serv__fase { display: inline-flex; align-items: center; gap: .35em; padding: .15em .6em; border-radius: var(--radius-full); background: var(--surface-inverse-raised); font-size: .8em; font-weight: var(--weight-semibold); }
.t-crono { flex-direction: row; flex-wrap: wrap; align-items: center; }
.t-crono__t { flex: 1; font: var(--weight-bold) 1.9em/1 var(--font-display); font-variant-numeric: tabular-nums; }
.t-crono .t-btn { flex-basis: 100%; }
.t-cel--servicos > .t-card__t { margin-top: .2em; }

/* ---------- MINHA ASSINATURA ---------- */
.t-ass { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1em; align-items: start; }
.t-cel .t-ass { flex: none; grid-template-columns: minmax(0, 1fr); gap: .7em; align-content: start; }
.t-ass__plano { gap: .45em; padding: 1em 1.1em; }
.t-ass__k { display: flex; align-items: center; justify-content: space-between; gap: .5em; font-size: .85em; font-weight: var(--weight-semibold); color: var(--text-muted); }
.t-ass__n { font: var(--weight-bold) 2em/1 var(--font-display); }
.t-ass__lista { display: flex; flex-direction: column; gap: .3em; padding: .6em 0; border-block: 1px dashed var(--border-paper); }
.t-ass__lista span { display: flex; align-items: center; gap: .4em; font-size: .9em; }
.t-ass__lista .icon { color: var(--success); }
.t-ass__plano .t-btn { align-self: flex-start; }
.t-ass__col { display: flex; flex-direction: column; gap: .7em; }
.t-ass__col .t-card b { font-size: .95em; }

/* ---------- celular: ajustes de composição ---------- */
.t-cel .t-meio, .t-cel .t-orc, .t-cel .t-cli, .t-cel .t-eqp, .t-cel .t-venda, .t-cel .t-fin { grid-template-columns: minmax(0, 1fr); }
.t-cel .t-fila .t-card__link { display: none; }
.t-cel--patio, .t-cel--hoje, .t-cel--servicos, .t-cel--clientes, .t-cel--pecas, .t-cel--financeiro { padding-bottom: 5em; }
.t-cel .t-forn { padding: .55em .7em; }
.t-cel .t-forn__c .t-btn { display: none; }
.t-cel .t-peca .t-pl { display: none; }
.t-cel--cliente { gap: .55em; }
.t-cel--cliente .t-carro { padding: .4em; }
.t-cel--fundo .t-folha { margin-top: 2.2em; }
.ms-iphone--folha .t-cel--fundo { background: transparent; }

@media (prefers-reduced-motion: reduce) { .t-tag, .t-deit, .t-ci, .t-item { transition: none; } }
