/* ---------- Portal do cliente (tema claro dentro do celular: é a cara que o cliente vê) ---------- */
.pt-screen { background: #F6F3F2; color: #1b181b; display: flex; flex-direction: column; }
.pt-top { display: flex; justify-content: space-between; align-items: center; padding: 44px 16px 10px; background: #0E0C0F; border-bottom: 3px dashed #E10600; }
.pt-top img { width: 74px; }
.pt-lock { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: #9be7b8; } .pt-lock svg { width: 11px; height: 11px; }
.pt-body { flex: 1; overflow-y: auto; padding: 16px 14px 14px; scrollbar-width: none; display: grid; gap: 12px; align-content: start; }
.pt-body.pt-in { animation: ph-in .45s var(--ease) both; }
.pt-hi { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.pt-sub { font-size: 12px; color: #6b6468; margin-top: -8px; } .pt-sub .mono { color: #1b181b; }
.pt-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px -16px rgba(0,0,0,.35); display: grid; gap: 4px; font-size: 12.5px; }
.pt-card > b { font-size: 13.5px; } .pt-card > span { color: #6b6468; }
.pt-status { grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.pt-status small { font-size: 10.5px; color: #8a8286; text-transform: uppercase; letter-spacing: .08em; } .pt-status b { display: block; font-size: 15px; } .pt-status span { font-size: 11.5px; color: #6b6468; }
.pt-ring { --p: 50; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#E10600 calc(var(--p) * 1%), #eee7e7 0); animation: ring-in 1s var(--ease) both; }
.pt-ring span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; }
.pt-alert { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #E10600, #8B0000); color: #fff; box-shadow: 0 10px 24px -12px #E10600; animation: pt-pulse 2.4s infinite; }
@keyframes pt-pulse { 50% { box-shadow: 0 10px 34px -6px #E10600; } }
.pt-alert svg { width: 18px; height: 18px; flex: none; } .pt-alert div { flex: 1; } .pt-alert b { display: block; font-size: 13px; } .pt-alert span { font-size: 11px; opacity: .9; }
.pt-h { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a8286; margin-bottom: -4px; }
.pt-tl { list-style: none; margin: 0; padding: 4px 0 0; display: grid; }
.pt-tl li { position: relative; display: flex; gap: 10px; padding-bottom: 12px; font-size: 12.5px; }
.pt-tl li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background-image: linear-gradient(#d8d1d2 0 4px, transparent 4px 8px); background-size: 2px 8px; }
.pt-tl li:last-child::before { display: none; }
.pt-tl li.done::before { background-image: linear-gradient(#1fae62 0 4px, transparent 4px 8px); }
.pt-tl li > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ece6e6; color: #9a9296; flex: none; position: relative; z-index: 1; }
.pt-tl li > span svg { width: 14px; height: 14px; }
.pt-tl li.done > span { background: #1fae62; color: #fff; }
.pt-tl li.now > span { background: #E10600; color: #fff; box-shadow: 0 0 0 5px rgba(225, 6, 0, .15); animation: pulse-red 1.8s infinite; }
.pt-tl b { font-weight: 500; display: block; } .pt-tl li:not(.done):not(.now) b { color: #9a9296; } .pt-tl small { font-size: 10.5px; color: #8a8286; }
.pt-chips { display: flex; gap: 6px; margin-top: 6px; } .pt-chips span { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: #fbe9e8; color: #b30500; }
.pt-wa { display: flex; justify-content: center; align-items: center; gap: 8px; height: 44px; border-radius: 14px; background: #25D366; color: #06240F; font-weight: 600; font-size: 13px; cursor: pointer; }
.pt-wa svg { width: 17px; height: 17px; }
.pt-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-gal figure { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px -14px rgba(0,0,0,.5); }
.pt-gal img { width: 100%; aspect-ratio: 1; object-fit: cover; } .pt-gal figcaption { font-size: 11px; padding: 6px 8px; color: #6b6468; }
.pt-go { width: 100%; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #FF2210, #C80400); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 24px -12px #E10600; }
.pt-go svg { width: 17px; height: 17px; } .pt-go.ghost { background: #fff; color: #1b181b; box-shadow: inset 0 0 0 1px #ddd5d6; }
.pt-fine { font-size: 10.5px; color: #8a8286; display: flex; gap: 6px; align-items: flex-start; } .pt-fine svg { width: 13px; height: 13px; flex: none; }
.pt-ok { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: #e5f7ec; color: #11703d; animation: rise .5s var(--ease) both; }
.pt-ok svg { width: 26px; height: 26px; flex: none; } .pt-ok b { display: block; font-size: 14px; } .pt-ok span { font-size: 12px; }
.pt-pix { justify-items: center; text-align: center; gap: 6px; }
.pt-qr { width: 170px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #eee; } .pt-qr svg { width: 100%; height: auto; display: block; }
.pt-pix b { font-size: 22px; }
.pt-copy { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 10px; background: #f3eeee; } .pt-copy svg { width: 14px; height: 14px; }
.pt-parc { grid-template-columns: 1fr 1fr; gap: 10px; } .pt-parc div { display: grid; } .pt-parc span { font-size: 10.5px; color: #8a8286; } .pt-parc b { font-size: 13px; }
.pt-care b { display: flex; align-items: center; gap: 6px; } .pt-care b svg { width: 15px; height: 15px; color: #E10600; }
.pt-care ul { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 3px; color: #4b4447; }
.pt-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); gap: 6px; margin-top: 8px; }
.pt-grade label { display: grid; text-align: center; gap: 2px; } .pt-grade small { font-size: 10px; color: #8a8286; }
.pt-grade input { width: 100%; height: 34px; border-radius: 8px; border: 1px solid #ddd5d6; background: #faf8f8; text-align: center; font-weight: 600; color: #1b181b; }
.pt-nps { justify-items: center; text-align: center; } .pt-stars { display: flex; gap: 4px; }
.pt-stars button { color: #d8d1d2; } .pt-stars button svg { width: 28px; height: 28px; } .pt-stars button.on { color: #F6A723; } .pt-stars button.on svg { fill: #F6A723; }
.pt-tabs { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid #ece6e6; padding: 6px 4px 14px; }
.pt-tabs button { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 9.5px; color: #8a8286; padding: 4px 0; }
.pt-tabs button svg { width: 19px; height: 19px; } .pt-tabs button.on { color: #E10600; font-weight: 600; }
.pt-dot { position: absolute; top: 2px; right: 22%; width: 8px; height: 8px; border-radius: 50%; background: #E10600; box-shadow: 0 0 0 2px #fff; }
.pt-who { display: grid; gap: 8px; }
.pt-who button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--line); transition: all var(--t-fast); }
.pt-who button.on { border-color: var(--red-line); background: var(--red-soft); }
.pt-who b { display: block; font-weight: 500; font-size: var(--fs-sm); } .pt-who small { font-size: 11px; color: var(--tx-3); }
.pt-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-feat li { display: flex; gap: 12px; } .pt-feat li > svg { width: 18px; height: 18px; color: var(--red-tx); flex: none; margin-top: 2px; }
.pt-feat b { display: block; font-weight: 500; font-size: var(--fs-sm); } .pt-feat small { font-size: 12px; color: var(--tx-3); }
.pt-sec { display: flex; gap: 12px; align-items: flex-start; } .pt-sec > svg { width: 22px; height: 22px; color: var(--ok); flex: none; }
.pt-sec > div { flex: 1; display: grid; gap: 4px; } .pt-sec b { font-weight: 500; } .pt-sec small { font-size: 12px; color: var(--tx-3); } .pt-sec .mono { font-size: 12px; color: var(--tick); }

/* ---------- Configurações ---------- */
.perm th.c span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 10.5px; letter-spacing: .06em; max-height: 150px; }
.perm th, .perm td { padding: 8px 6px; } .perm td.c, .perm th.c { text-align: center; }
.perm tbody td:first-child { white-space: nowrap; padding-left: 14px; } .perm b { font-weight: 500; }
.pm { width: 32px; height: 32px; border-radius: 9px; display: inline-grid; place-items: center; transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.pm svg { width: 14px; height: 14px; } .pm:not([disabled]):hover { transform: scale(1.12); } .pm[disabled] { cursor: default; opacity: .85; }
.pm.v2 { background: var(--red-soft); color: var(--red-tx); box-shadow: inset 0 0 0 1px var(--red-line); }
.pm.v1 { background: var(--info-soft); color: var(--info); } .pm.v0 { background: var(--s2); color: var(--tx-4); }
.perm-leg { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--tx-2); }
.perm-leg span { display: inline-flex; align-items: center; gap: 8px; } .perm-leg .pm { width: 24px; height: 24px; }
.integ { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.integ__c { display: flex; gap: 14px; align-items: center; } .integ__c > div { flex: 1; min-width: 0; display: grid; } .integ__c b { font-weight: 500; font-size: var(--fs-sm); } .integ__c small { font-size: 12px; }
.integ__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-tx); flex: none; } .integ__ic.off { background: var(--s3); color: var(--tx-4); }
.integ__ic svg { width: 19px; height: 19px; }
.cfg-cap { display: flex; align-items: center; gap: 8px; } .cfg-cap .input { width: 90px; text-align: right; }
.cfg-link { display: flex; align-items: center; gap: 14px; } .cfg-link > svg { width: 20px; height: 20px; color: var(--red-tx); } .cfg-link > svg:last-child { margin-left: auto; color: var(--tx-3); }
.cfg-link b { display: block; font-weight: 500; } .cfg-link small { font-size: 12px; }
.cfg-brand { display: grid; gap: 14px; }
.cfg-logo { display: grid; place-items: center; padding: 22px; border-radius: var(--r-md); background: #0E0C0F; border: 1px dashed var(--line-3); } .cfg-logo img { width: 170px; }
.cfg-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cfg-sw span { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; align-items: center; padding: 8px; border-radius: 10px; background: var(--bg-2); }
.cfg-sw i { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); } .cfg-sw b { font-size: 12px; font-weight: 500; } .cfg-sw small { font-size: 10.5px; color: var(--tx-3); }
