/* InspecFrota — visual claro azul e branco, pensado para usar no sol, de luva e no tablet */
:root {
  --pri: #1D4ED8; --pri2: #2563EB; --pril: #DBEAFE; --pril2: #EFF6FF; --navy: #0B1F44;
  --bg: #F2F5FA; --card: #FFFFFF; --line: #E3E8F0; --line2: #CBD5E1; --tx: #0F172A; --mu: #5B6B82; --mu2: #94A3B8;
  --ok: #15803D; --okb: #DCFCE7; --okl: #22C55E; --warn: #B45309; --warnb: #FEF3C7; --warnl: #F59E0B; --bad: #DC2626; --badb: #FEE2E2;
  --r: 16px; --sh: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px -6px rgba(15, 23, 42, .12);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --f: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 15px/1.45 var(--f); min-height: 100vh; overscroll-behavior-y: none; }
body.lock { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 800; } h2 { font-size: 20px; font-weight: 800; } h3 { font-size: 15.5px; font-weight: 750; }
p { margin: 0; }
a { color: var(--pri); }
.i { width: 22px; height: 22px; flex: none; } .i.sm { width: 17px; height: 17px; } .i.xs { width: 14px; height: 14px; vertical-align: -2px; }
.xs { font-size: 12px; } .sm { font-size: 13.5px; } .b { font-weight: 700; }
.mu { color: var(--mu); } .mu2 { color: var(--mu2); } .ok-t { color: var(--ok); } .warn-t { color: var(--warn); } .bad-t { color: var(--bad); }
.center { text-align: center; } .tl { text-align: left; } .tr { text-align: right; }
.row { display: flex; align-items: center; } .between { justify-content: space-between; } .gap { gap: 12px; } .gap-s { gap: 8px; } .gap-l { gap: 18px; } .wrap { flex-wrap: wrap; }
.f1 { flex: 1; min-width: 0; } .w100 { width: 100%; } .mt { margin-top: 16px; } .mt-s { margin-top: 8px; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; } .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lnk { color: var(--pri); font-weight: 650; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.lnk.on { color: var(--bad); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 14px; white-space: nowrap; border-radius: 13px; font-weight: 700; font-size: 15px; transition: transform .08s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.pri { background: var(--pri); color: #fff; box-shadow: 0 6px 16px -8px rgba(29, 78, 216, .7); }
.btn.sec { background: var(--card); border: 1.5px solid var(--line2); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--mu); }
.btn.bad { background: var(--bad); color: #fff; }
.btn.whats { background: #128C4B; color: #fff; }
.btn.big { min-height: 56px; font-size: 16.5px; border-radius: 15px; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 13.5px; border-radius: 11px; }
.btn.light { color: #fff; }
.btns { display: flex; gap: 10px; } .btns > .btn { flex: 1; }
.ib { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--navy); }
.ib.s { width: 34px; height: 34px; } .ib.xs { width: 26px; height: 26px; border-radius: 8px; } .ib.xs .i { width: 15px; height: 15px; }
.ib.dark { background: rgba(0, 0, 0, .45); color: #fff; }
.ib.mic { background: var(--pril); color: var(--pri); } .ib.mic.on { background: var(--bad); color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, .15); } }

/* formulários */
.fld { display: block; margin-top: 12px; } .fld > span { display: block; font-size: 13px; font-weight: 650; color: var(--mu); margin-bottom: 5px; } .fld em { font-style: normal; font-weight: 500; }
.lbl { font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--mu); margin: 14px 0 6px; }
.inp { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line2); background: #fff; outline: none; font-size: 16px; }
.inp:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
textarea.inp { resize: vertical; min-height: 64px; }
select.inp { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 36px; }
.inp.sm-in { min-height: 42px; font-size: 14px; padding: 8px 12px; }
.inp.big-in { font-size: 22px; font-weight: 700; letter-spacing: .02em; min-height: 58px; }
.pinf { letter-spacing: .4em; font-size: 20px; }
.search { position: relative; } .search .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--mu2); } .search .inp { padding-left: 42px; }
.err { color: var(--bad); font-weight: 650; font-size: 14px; margin-top: 8px; }
.ck { cursor: pointer; } .ck input { width: 22px; height: 22px; accent-color: var(--pri); margin: 0 6px 0 0; }

/* chips e tags */
.chips { display: flex; gap: 7px; flex-wrap: wrap; } .chips.center { justify-content: center; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; } .chips.scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 650; color: var(--mu); white-space: nowrap; }
.chip .i { width: 16px; height: 16px; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on.parada { background: var(--bad); border-color: var(--bad); } .chip.on.atencao { background: var(--warnl); border-color: var(--warnl); color: #1F1300; } .chip.on.ok { background: var(--ok); border-color: var(--ok); }
.chip-sep { flex: none; width: 1px; background: var(--line2); margin: 6px 2px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; background: #EEF2F7; color: var(--mu); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tag.bad { background: var(--badb); color: var(--bad); }
.tag.f-gestor { background: var(--pril); color: var(--pri); } .tag.f-mecanico { background: var(--warnb); color: var(--warn); } .tag.f-operador { background: var(--okb); color: var(--ok); }
.st { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 750; white-space: nowrap; flex: none; }
.st .i { width: 14px; height: 14px; stroke-width: 2.6; }
.st.ok { background: var(--okb); color: var(--ok); } .st.warn { background: var(--warnb); color: var(--warn); } .st.bad { background: var(--badb); color: var(--bad); }
em.crit { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--bad); text-transform: uppercase; letter-spacing: .03em; }

/* entrada */
body[data-v="auth"] { background: linear-gradient(180deg, #E8EFFC 0%, #F6F8FC 55%); }
.auth { min-height: 100vh; display: flex; justify-content: center; padding: calc(28px + var(--safe-t)) 18px calc(28px + var(--safe-b)); }
.auth-in { width: 100%; max-width: 420px; }
.logo-big { width: 84px; height: 84px; margin: 12px auto 14px; filter: drop-shadow(0 14px 24px rgba(29, 78, 216, .35)); } .logo-big.sm { width: 64px; height: 64px; }
.logo-big .logo { width: 100%; height: 100%; }
.brand { text-align: center; font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; } .brand b { color: var(--pri); } .brand.sm { font-size: 24px; }
.tag-l { text-align: center; color: var(--mu); margin: 8px auto 0; max-width: 330px; }
.feat { margin: 24px 0; display: grid; gap: 10px; }
.feat > div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.feat .i { color: var(--pri); }
.pindots { display: flex; justify-content: center; gap: 14px; margin: 4px 0 4px; }
.pindots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); } .pindots i.on { background: var(--pri); border-color: var(--pri); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.keypad button { height: 64px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 24px; font-weight: 700; color: var(--navy); display: grid; place-items: center; box-shadow: var(--sh); }
.keypad button:active { background: var(--pril); }
.keypad .kok { background: var(--pri); color: #fff; border-color: var(--pri); } .keypad .kc { color: var(--mu); }
.keypad .i { width: 26px; height: 26px; }

/* app */
.hd { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + var(--safe-t)) 16px 10px; background: var(--navy); color: #fff; }
.hd-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hd-l .logo { width: 36px; height: 36px; flex: none; }
.hd-l b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; } .hd-l b span { color: #93C5FD; }
.hd-l small { display: block; font-size: 11.5px; color: #A9B8D6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48vw; }
.hd-r { display: flex; gap: 8px; align-items: center; }
.hd-scan { background: rgba(255, 255, 255, .12); color: #fff; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pri2); color: #fff; font-weight: 800; font-size: 16px; border: 2px solid rgba(255, 255, 255, .3); }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: var(--safe-b); box-shadow: 0 -6px 18px -12px rgba(15, 23, 42, .25); }
.nav button { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 9px; font-size: 11.5px; font-weight: 650; color: var(--mu2); }
.nav button .i { width: 24px; height: 24px; }
.nav button.on { color: var(--pri); } .nav button.on::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--pri); }
.nav em { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--warnl); color: #1F1300; font-style: normal; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.nav em.bad { background: var(--bad); color: #fff; }
.main { padding: 16px 16px calc(96px + var(--safe-b)); max-width: 1180px; margin: 0 auto; }
.pg-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; } .pg-h h1 { white-space: nowrap; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 22px 2px 9px; } .sec-h h3 { display: flex; align-items: center; gap: 6px; } .sec-h h3 .i { width: 18px; height: 18px; color: var(--pri); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--sh); }
.card.tap { width: 100%; text-align: left; }
.li { display: flex; align-items: center; gap: 10px; padding: 11px 0; min-height: 48px; text-align: left; }
.li + .li { border-top: 1px solid var(--line); }
.li.off { opacity: .5; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; } .kv + .kv { border-top: 1px solid var(--line); } .kv span { color: var(--mu); } .kv b { text-align: right; font-weight: 650; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; box-shadow: var(--sh); }
.stat b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); } .stat span { font-size: 11.5px; color: var(--mu); }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--pril2); color: var(--pri-d, #1E3A8A); font-size: 13.5px; line-height: 1.45; border: 1px solid var(--pril); }
.note .i { flex: none; margin-top: 1px; }
.note.warn { background: var(--warnb); color: #7C2D12; border-color: #FDE68A; } .note.bad { background: var(--badb); color: #7F1D1D; border-color: #FECACA; }
.bar { height: 10px; border-radius: 6px; background: #E8EDF5; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--pri); border-radius: 6px; } .bar i.warn { background: var(--warnl); } .bar i.bad { background: var(--bad); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: #E7ECF4; border-radius: 13px; }
.seg button { min-height: 40px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--mu); }
.seg button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(15, 23, 42, .15); }
.seg small { font-weight: 800; color: var(--pri); }
.menu { display: grid; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.menu > button { display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; font-weight: 650; min-height: 56px; }
.menu > button + button { border-top: 1px solid var(--line); }
.menu > button > .i:first-child { color: var(--pri); }
.menu > button > .i:last-child { color: var(--mu2); width: 18px; }
.menu small { display: block; font-weight: 500; color: var(--mu); font-size: 12.5px; margin-top: 1px; }
.empty { text-align: center; padding: 34px 18px; } .empty b { display: block; font-size: 16px; margin-bottom: 4px; }
.eic { width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; background: var(--pril); color: var(--pri); } .eic .i { width: 30px; height: 30px; }
.empty .btns { justify-content: center; flex-wrap: wrap; } .empty .btns .btn { flex: 0 1 auto; }
.dsep { font-size: 12px; font-weight: 800; color: var(--mu); text-transform: uppercase; letter-spacing: .04em; margin: 18px 4px 7px; }
.steps { display: grid; gap: 10px; } .steps > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; } .steps > div > b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--pril); color: var(--pri); display: grid; place-items: center; font-size: 14px; }
.faq details { border-bottom: 1px solid var(--line); } .faq summary { list-style: none; display: flex; justify-content: space-between; gap: 10px; padding: 14px 2px; font-weight: 700; cursor: pointer; } .faq summary::-webkit-details-marker { display: none; } .faq details[open] summary .i { transform: rotate(180deg); } .faq p { padding: 0 2px 14px; }

/* máquinas */
.mlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; } .mc-b { min-width: 0; } .mc-f { flex-wrap: wrap; }
.mcard { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--okl); border-radius: 14px; padding: 12px 12px 12px 11px; box-shadow: var(--sh); }
.mcard.s-atencao { border-left-color: var(--warnl); } .mcard.s-parada { border-left-color: var(--bad); background: #FFFBFB; }
.mc-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--pril); color: var(--pri); display: grid; place-items: center; }
.mc-ic.lg { width: 54px; height: 54px; border-radius: 15px; } .mc-ic.lg .i { width: 28px; height: 28px; }
.mc-ic.xl { width: 84px; height: 84px; border-radius: 24px; margin: 8px auto 12px; } .mc-ic.xl .i { width: 42px; height: 42px; }
.mc-ic.sm { width: 36px; height: 36px; border-radius: 10px; } .mc-ic.sm .i { width: 19px; height: 19px; }
.mc-t { font-size: 16.5px; font-weight: 800; }
.mc-f { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; font-size: 12px; font-weight: 600; color: var(--mu); } .mc-f span { display: inline-flex; align-items: center; gap: 4px; }
.md-h { display: flex; gap: 12px; align-items: center; padding-right: 36px; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 650; color: var(--mu); text-align: center; line-height: 1.15; }
.tbtn.on { border-color: var(--pri); background: var(--pril2); color: var(--pri); }
.qrbox { text-align: center; padding: 6px 0 12px; } .qr { width: 240px; max-width: 70vw; margin: 0 auto 12px; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--line); } .qr svg { width: 100%; height: auto; display: block; }
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qm { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-align: left; border-top: 4px solid var(--okl); }
.qm.s-atencao { border-top-color: var(--warnl); } .qm.s-parada { border-top-color: var(--bad); }
.qm b { font-size: 17px; }
.hello { margin: 4px 2px 16px; } .hello h1 { font-size: 28px; }
.scanbig { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 18px; border-radius: 20px; background: linear-gradient(135deg, #1D4ED8, #2563EB 60%, #3B82F6); color: #fff; text-align: left; box-shadow: 0 16px 30px -14px rgba(29, 78, 216, .8); }
.scanbig .i { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .18); box-sizing: content-box; }
.scanbig b { display: block; font-size: 18px; } .scanbig small { display: block; font-size: 13px; opacity: .9; margin-top: 2px; }
.draftc { border: 1.5px dashed var(--pri); background: var(--pril2); } .draftc .i:first-child { color: var(--pri); }

/* pendências e checklists */
.plist { display: grid; gap: 8px; }
.prow { display: flex; gap: 11px; align-items: center; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--sh); }
.prow.crit { border-color: #FECACA; background: #FFFBFB; }
.pthumb { flex: none; width: 54px; height: 54px; border-radius: 11px; object-fit: cover; background: #EEF2F7; }
.pthumb.ph { display: grid; place-items: center; color: var(--mu2); }
.pst { flex: none; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 7px; } .pst.aberta { background: var(--badb); color: var(--bad); } .pst.andamento { background: var(--warnb); color: var(--warn); } .pst.resolvida { background: var(--okb); color: var(--ok); }
.card.cl { padding: 2px 12px; }
.crow { display: flex; gap: 10px; align-items: center; width: 100%; padding: 11px 0; min-height: 54px; } .crow + .crow { border-top: 1px solid var(--line); } .crow > .i:last-child { color: var(--mu2); width: 18px; }
.cdot { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--okb); color: var(--ok); } .cdot .i { width: 18px; height: 18px; stroke-width: 2.6; }
.r-restricao .cdot { background: var(--warnb); color: var(--warn); } .r-bloqueada .cdot { background: var(--badb); color: var(--bad); }
.tl-l { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; padding-left: 14px; }
.tl-l > div { position: relative; padding: 6px 0; display: flex; flex-direction: column; } .tl-l i { position: absolute; left: -20px; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--pri); border: 2px solid #fff; }
.fotos { display: flex; gap: 8px; flex-wrap: wrap; }
.ft { position: relative; width: 86px; height: 86px; border-radius: 12px; overflow: hidden; background: #EEF2F7; flex: none; }
.ft img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--line2); background: #fff; color: var(--pri); font-size: 12px; font-weight: 700; }
.ft-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; } .ft-x .i { width: 15px; height: 15px; }
.fotos.sm-f { margin-top: 6px; } .fotos.sm-f .ft { width: 58px; height: 58px; border-radius: 9px; }
.fbig { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 16px; } .fbig img { max-width: 100%; max-height: 100%; border-radius: 10px; } .fbig .ib { position: absolute; top: calc(14px + var(--safe-t)); right: 14px; }
.li.ans { align-items: flex-start; } .li.ans .st { margin-top: 2px; }
.sign-img { width: 100%; max-width: 360px; height: 120px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.qty { display: flex; align-items: center; gap: 6px; } .qty b { min-width: 22px; text-align: center; }
.pk { display: grid; } .pk .li { border-top: 1px solid var(--line); }
.tbl-w { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tbl { border-collapse: collapse; width: 100%; font-size: 12.5px; } .tbl th, .tbl td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; } .tbl th { background: #F5F8FC; font-weight: 750; color: var(--mu); } .tbl tr.err td { background: #FFF5F5; color: var(--bad); }

/* painel */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; box-shadow: var(--sh); border-top: 4px solid var(--pril); }
.kpi b { display: block; font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; } .kpi b small { font-size: 15px; color: var(--mu); font-weight: 700; }
.kpi span { display: block; font-size: 12.5px; color: var(--mu); font-weight: 650; margin-top: 2px; } .kpi > small { display: block; font-size: 11.5px; color: var(--mu2); margin-top: 3px; font-weight: 600; }
.kpi.ok { border-top-color: var(--okl); } .kpi.warn { border-top-color: var(--warnl); } .kpi.bad { border-top-color: var(--bad); } .kpi.bad b { color: var(--bad); }
.kpis.k4 { grid-template-columns: repeat(4, 1fr); gap: 8px; } .kpis.k4 .kpi { padding: 10px 8px; text-align: center; } .kpis.k4 .kpi b { font-size: 22px; }
.card.al { padding: 2px 12px; }
.alr { gap: 12px; } .alr > .i:last-child { color: var(--mu2); width: 18px; }
.ali { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--pril); color: var(--pri); } .ali .i { width: 19px; height: 19px; }
.alr.lv2 .ali { background: var(--warnb); color: var(--warn); } .alr.lv3 .ali { background: var(--badb); color: var(--bad); }
.chart { width: 100%; height: auto; display: block; } .chart text { font-size: 10px; fill: var(--mu); font-family: var(--f); }
.kd { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin: 0 4px 0 8px; vertical-align: 0; } .kd.ok { background: var(--okl); } .kd.bad { background: var(--bad); }
.hb { display: flex; align-items: center; gap: 10px; padding: 7px 0; } .hb + .hb { border-top: 1px solid var(--line); }
.hbar { width: 32%; height: 8px; border-radius: 5px; background: #EEF2F7; overflow: hidden; flex: none; } .hbar i { display: block; height: 100%; background: var(--pri); border-radius: 5px; }
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .fl { padding: 10px 6px; border-radius: 12px; text-align: center; } .fl b { display: block; font-size: 22px; font-weight: 800; } .fl span { font-size: 11.5px; font-weight: 650; }
.fl.s-ok { background: var(--okb); color: var(--ok); } .fl.s-atencao { background: var(--warnb); color: var(--warn); } .fl.s-parada { background: var(--badb); color: var(--bad); }
.fbar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin-top: 12px; gap: 2px; } .fbar i.s-ok { background: var(--okl); } .fbar i.s-atencao { background: var(--warnl); } .fbar i.s-parada { background: var(--bad); }
.me { display: flex; gap: 12px; align-items: center; } .av { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--pri); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; } .av.sm { width: 36px; height: 36px; font-size: 15px; }
.msec { margin-top: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFD; }
.mit { display: flex; align-items: center; gap: 6px; margin-top: 6px; } .mit .inp { min-height: 42px; font-size: 14px; padding: 8px 10px; } .mv { display: flex; flex-direction: column; } .mv .ib.xs { height: 21px; } .mv .i { transform: rotate(90deg); }
.mit .tag { height: 30px; cursor: pointer; }

/* gaveta (sheet) */
#sheet { position: fixed; inset: 0; z-index: 100; display: none; } #sheet.open { display: block; }
.sbd { position: absolute; inset: 0; background: rgba(11, 31, 68, .45); opacity: 0; transition: opacity .2s; } #sheet.vis .sbd { opacity: 1; }
.sh { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: var(--bg); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -16px 40px rgba(11, 31, 68, .25); }
#sheet.vis .sh { transform: none; }
.sh.tall { height: 92vh; }
.grab { width: 44px; height: 5px; border-radius: 9px; background: var(--line2); margin: 9px auto 3px; flex: none; }
.sh-x { position: absolute; top: 10px; right: 10px; z-index: 3; background: #fff; border: 1px solid var(--line); width: 38px; height: 38px; }
.sh-in { overflow-y: auto; padding: 8px 18px calc(22px + var(--safe-b)); flex: 1; -webkit-overflow-scrolling: touch; }
.sh-t { margin: 4px 44px 10px 0; font-size: 19px; }
.sh-foot { position: sticky; bottom: calc(-22px - var(--safe-b)); margin: 16px -18px calc(-22px - var(--safe-b)); padding: 12px 18px calc(16px + var(--safe-b)); background: linear-gradient(180deg, rgba(242, 245, 250, 0), var(--bg) 26%); }
.toast { position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); z-index: 300; transform: translate(-50%, 180%); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 650; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
body[data-v="auth"] .toast, body.lock .toast { bottom: calc(24px + var(--safe-b)); } .toast.bad { background: var(--bad); } .toast .i { flex: none; }

/* checklist do operador */
#run { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: none; flex-direction: column; }
#run.open { display: flex; }
.run-top { display: flex; align-items: center; gap: 8px; padding: calc(8px + var(--safe-t)) 10px 8px; background: var(--navy); color: #fff; }
.run-top .ib { color: #fff; }
.run-tt b { display: block; font-size: 17px; } .run-tt span { display: block; font-size: 12px; color: #A9B8D6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-prog { height: 5px; background: #1E3A6E; } .run-prog i { display: block; height: 100%; background: #60A5FA; transition: width .25s; }
.run-body { flex: 1; overflow-y: auto; padding: 18px 18px 24px; max-width: 680px; width: 100%; margin: 0 auto; }
.run-body.center-b { display: flex; flex-direction: column; align-items: center; text-align: center; }
.run-foot { padding: 12px 16px calc(14px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line); max-width: 680px; width: 100%; margin: 0 auto; }
.run-meta { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 750; color: var(--mu); text-transform: uppercase; letter-spacing: .04em; }
.ritem { margin-top: 14px; padding: 26px 20px; border-radius: 22px; background: #fff; border: 2px solid var(--line); box-shadow: var(--sh); min-height: 160px; display: flex; flex-direction: column; justify-content: center; gap: 12px; transition: border-color .15s, background .15s; }
.ritem h2 { font-size: 25px; line-height: 1.25; }
.ritem.ok { border-color: var(--okl); background: #F4FDF7; } .ritem.nok { border-color: var(--bad); background: #FFF6F6; }
.ritem .tag { align-self: flex-start; height: auto; padding: 5px 9px; white-space: normal; }
.okno { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.okno button { height: 96px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 19px; font-weight: 800; color: #fff; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .5); }
.okno button .i { width: 34px; height: 34px; stroke-width: 2.8; }
.okno .bok { background: var(--ok); } .okno .bno { background: var(--bad); }
.okno button:active { transform: scale(.97); }
.nokbox { margin-top: 14px; }
.mic-l .i { color: var(--pri); }
.res { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--okb); color: var(--ok); text-align: left; }
.res > .i { width: 36px; height: 36px; flex: none; stroke-width: 2.6; } .res b { display: block; font-size: 19px; } .res span { display: block; font-size: 13.5px; color: var(--tx); opacity: .8; }
.res-restricao { background: var(--warnb); color: var(--warn); } .res-bloqueada { background: var(--badb); color: var(--bad); }
.res.big { width: 120px; height: 120px; border-radius: 36px; justify-content: center; margin: 24px auto 16px; padding: 0; } .res.big .i { width: 64px; height: 64px; }
.fim h2 { font-size: 26px; }
.sign { display: block; width: 100%; height: 150px; background: #fff; border: 2px dashed var(--line2); border-radius: 14px; touch-action: none; margin-top: 4px; }
.rl { display: grid; gap: 6px; margin-top: 10px; }
.rl-i { display: flex; gap: 10px; align-items: center; text-align: left; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.rl-i em { font-style: normal; color: var(--bad); font-size: 11px; font-weight: 800; }
.rl-n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #EEF2F7; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--mu); }
.rl-i.ok { border-color: #BBF7D0; } .rl-i.ok > .i { color: var(--ok); } .rl-i.nok { border-color: #FECACA; background: #FFF8F8; } .rl-i.nok > .i { color: var(--bad); }

/* leitor de QR */
#scan { position: fixed; inset: 0; z-index: 120; background: #000; display: none; }
#scan.open { display: block; }
#scan video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(12px + var(--safe-t)) 12px 12px; color: #fff; text-align: center; background: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent); }
.scan-top b { font-size: 14.5px; }
.scan-frame { position: absolute; left: 50%; top: 42%; width: min(68vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); border-radius: 20px; }
.scan-frame.off { display: none; }
.scan-frame i { position: absolute; width: 42px; height: 42px; border: 5px solid #60A5FA; }
.scan-frame i:nth-child(1) { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-radius: 20px 0 0 0; } .scan-frame i:nth-child(2) { top: -3px; right: -3px; border-left: 0; border-bottom: 0; border-radius: 0 20px 0 0; }
.scan-frame i:nth-child(3) { bottom: -3px; left: -3px; border-right: 0; border-top: 0; border-radius: 0 0 0 20px; } .scan-frame i:nth-child(4) { bottom: -3px; right: -3px; border-left: 0; border-top: 0; border-radius: 0 0 20px 0; }
.scan-bot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 16px calc(18px + var(--safe-b)); background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .3) 80%, transparent); color: #fff; }
.scan-bot p { margin-bottom: 8px; opacity: .85; }

/* etiquetas para imprimir */
#print { display: none; }
@media print {
  @page { size: A4; margin: 10mm; }
  body.printing > *:not(#print) { display: none !important; }
  body.printing { background: #fff; }
  body.printing #print { display: block; }
  .labels { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .label { display: flex; gap: 4mm; align-items: center; height: 62mm; padding: 5mm; border: .4mm dashed #94A3B8; border-radius: 4mm; break-inside: avoid; font-family: var(--f); color: #0B1F44; }
  .lq { width: 46mm; flex: none; } .lq svg { width: 100%; height: auto; display: block; }
  .lt b { display: block; font-size: 22pt; line-height: 1.05; margin: 1mm 0; } .lt { font-size: 9pt; } .le { font-size: 8pt; font-weight: 700; color: #1D4ED8; text-transform: uppercase; letter-spacing: .05em; } .lh { margin-top: 3mm; font-size: 8pt; color: #475569; }
}

/* tablet e computador: menu ao lado e detalhe abrindo à direita */
@media (min-width: 900px) {
  body[data-v="app"] { padding-left: 92px; }
  .toast { bottom: 24px; }
  .hd { padding-left: 24px; padding-right: 24px; }
  .nav { top: 0; right: auto; width: 92px; flex-direction: column; justify-content: flex-start; padding-top: 74px; border-top: 0; border-right: 1px solid var(--line); box-shadow: none; }
  .nav button { flex: none; padding: 14px 4px; font-size: 12px; }
  .nav button.on { background: var(--pril2); } .nav button.on::before { top: 20%; bottom: 20%; left: 0; right: auto; width: 4px; height: auto; border-radius: 0 3px 3px 0; }
  .main { padding: 22px 28px 40px; }
  h1 { font-size: 27px; }
  .mlist { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
  .plist { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .qgrid { grid-template-columns: repeat(4, 1fr); }
  .grid2.gap-l { gap: 0 22px; align-items: start; }
  .sbd { background: rgba(11, 31, 68, .25); }
  .sh, .sh.tall { left: auto; top: 0; right: 0; bottom: 0; width: min(560px, 48vw); height: 100vh; max-height: none; border-radius: 22px 0 0 22px; transform: translateX(100%); }
  .sh .grab { display: none; }
  .sh-in { padding-top: 18px; }
  .auth-in { max-width: 460px; }
  .run-body { padding-top: 28px; }
  .tgrid { grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 380px) { .hide-s { display: none; } .okno button { height: 84px; } .ritem h2 { font-size: 22px; } .kpis.k4 { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* aviso de instalar */
.inst { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--pril); box-shadow: var(--sh); }
.inst-ic { flex: none; width: 42px; height: 42px; } .inst-ic .logo { width: 100%; height: 100%; }
.inst b { font-size: 14.5px; } .inst .ib { color: var(--mu2); }

/* v1.1 */
.lastread { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--pril2); color: var(--navy); font-size: 14px; border: 1px solid var(--pril); }
.lastread .i { color: var(--pri); flex: none; }
.rdica { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--mu); line-height: 1.45; } .rdica .i { flex: none; margin-top: 2px; color: var(--pri); }
.vozp { position: fixed; inset: 0; z-index: 140; background: rgba(11, 31, 68, .55); display: flex; align-items: flex-end; justify-content: center; }
.vozp-in { width: 100%; max-width: 520px; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 20px calc(18px + var(--safe-b)); text-align: center; }
.vozp-in b { display: block; font-size: 18px; margin-top: 10px; } .vozp-in p { min-height: 44px; margin: 8px 0 14px; color: var(--mu); font-size: 15px; }
.vozp-mic { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--bad); color: #fff; animation: pulse 1s infinite; } .vozp-mic .i { width: 34px; height: 34px; }
.pickf { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line2); background: #fff; font-size: 14.5px; color: var(--mu); }
.pickf.on { border-color: var(--pri); color: var(--navy); font-weight: 650; background: var(--pril2); } .pickf .i { flex: none; color: var(--mu2); } .pickf.on .i { color: var(--pri); }
.pick-x { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(15, 23, 42, .08); }
.pkl { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; }
.tap-nok { cursor: pointer; } .tap-nok > .i:last-child { color: var(--mu2); flex: none; margin-top: 4px; }
.obsq { font-size: 15px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: 12px; }
.fbigl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; } .fbigl button { display: block; width: 100%; border-radius: 14px; overflow: hidden; background: #EEF2F7; } .fbigl img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.turnob { display: flex; gap: 10px; align-items: flex-start; width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #F5F3FF; border: 1px solid #DDD6FE; color: #3B0764; text-align: left; }
.turnob > .i { color: #7C3AED; flex: none; margin-top: 2px; } .turnob.mine { background: #F8FAFC; border-color: var(--line); color: var(--mu); } .turnob .btns .btn { flex: 1; }
.tl-turno { align-items: flex-start; }
.mit-b { display: grid; gap: 4px; } .obs-in { min-height: 34px !important; font-size: 12.5px !important; padding: 5px 10px !important; color: var(--mu); border-style: dashed !important; }
.fab { position: fixed; right: 16px; bottom: calc(76px + var(--safe-b)); z-index: 29; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border-radius: 27px; background: var(--pri); color: #fff; font-weight: 750; font-size: 15px; box-shadow: 0 12px 26px -10px rgba(29, 78, 216, .85); }
.fab .i { width: 22px; height: 22px; }
.main { padding-bottom: calc(150px + var(--safe-b)); }
.hbtn { color: var(--mu2); } .run-top .ib { color: #fff; }
.man details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
.man summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px; font-weight: 700; cursor: pointer; } .man summary span { flex: 1; } .man summary::-webkit-details-marker { display: none; } .man summary em { font-style: normal; font-size: 11px; font-weight: 750; color: var(--pri); background: var(--pril); padding: 2px 7px; border-radius: 6px; }
.man summary .i { color: var(--mu2); width: 18px; } .man details[open] summary .i { transform: rotate(180deg); }
.man ol { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; } .man ol li::marker { color: var(--pri); font-weight: 800; } .man p { padding: 0 14px 14px; }
@media (min-width: 900px) { .fab { bottom: 24px; right: 28px; } .main { padding-bottom: 100px; } }

.main { overflow-x: clip; }
.toast { width: max-content; }
body.lock .toast { bottom: auto; top: calc(12px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -180%); }
body.lock .toast.show { transform: translate(-50%, 0); }
/* v1.2 · voz mãos livres */
.maosb { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 10px 10px 10px 12px; border-radius: 14px; background: #EEF4FF; border: 1.5px solid #BFD3FB; }
.maosb .mb-mic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; }
.maosb.ouvindo .mb-mic { background: var(--bad); animation: pulse 1s infinite; }
.maosb .mb-m { display: block; font-size: 14px; line-height: 1.25; }
.maosb .mb-h { font-size: 13px; color: var(--mu); min-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.maosb .mb-ler { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10.5px; font-weight: 700; color: var(--pri); padding: 2px 4px; }
.maosb .mb-x { flex: none; height: 38px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line2); font-weight: 750; font-size: 14px; }
.maosb .f1 { min-width: 0; }
.mic-l.on { color: var(--bad); } .mic-l.on .i { color: var(--bad); }
/* v1.3 · tipos próprios */
.tgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tbtn span { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.tbtn.own { border-style: solid; border-color: #C7D7F7; }
.tbtn.add { border-style: dashed; border-color: var(--pri); color: var(--pri); background: transparent; }
@media (min-width: 900px) { .tgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.i.mq, .mq .i { stroke-width: 1.6; }
/* v1.3 · preventiva, tempos do mecânico e pneus */
.mt-xs { margin-top: 5px; } .mb-s { margin-bottom: 8px; }
.tag.prev { background: #E0ECFF; color: #1E40AF; } .tag.ok { background: var(--okb); color: var(--ok); } .tag.warn { background: var(--warnb); color: var(--warn); }
.stat { font: inherit; color: inherit; width: 100%; } button.stat.on { border-color: var(--pri); box-shadow: 0 0 0 2px var(--pril); }
.pvr { gap: 10px; } .pvr .bar { height: 7px; }
.pli { padding: 10px 0; border-bottom: 1px solid var(--line); } .pli:last-child { border-bottom: 0; } .pli label { display: block; } .pli label .inp { margin-top: 3px; } .pli .ib { align-self: flex-end; }
.undo-ok { color: var(--ok); border-color: #BBF7D0; }
input.sw { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 13px; background: #CBD5E1; position: relative; transition: background .2s; margin: 0; }
input.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
input.sw:checked { background: var(--pri); } input.sw:checked::after { transform: translateX(18px); }
.pnmap { display: grid; gap: 12px; padding: 14px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pnx { display: grid; gap: 4px; } .pnx-n { font-size: 11.5px; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: .03em; text-align: center; }
.pnx-r { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pnx-axle { flex: 1; max-width: 90px; min-width: 20px; height: 4px; border-radius: 2px; background: #CBD5E1; }
.pnpos { position: relative; width: 62px; min-height: 74px; border-radius: 12px; border: 1.5px dashed var(--line2); background: #F8FAFC; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 2px; color: var(--mu); }
.pnpos.on { border-style: solid; border-color: #334155; background: #1E293B; color: #fff; } .pnpos.on small { color: #CBD5E1; }
.pnpos.on.warn { border-color: var(--warnl); box-shadow: 0 0 0 2px var(--warnb); } .pnpos.on.bad { border-color: var(--bad); box-shadow: 0 0 0 2px var(--badb); }
.pnpos b { font-size: 13px; } .pnpos small { font-size: 10.5px; line-height: 1.1; text-align: center; }
.pp-l { position: absolute; top: 3px; left: 5px; font-size: 9.5px; font-weight: 800; opacity: .6; }
.pnx-r.d1 .pnpos { width: 54px; }
.pnin { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-top: 10px; } .pnin.bad { border-color: var(--bad); background: #FFFBFB; }
.seg.sm button { min-height: 34px; font-size: 12.5px; }

/* ---------- v1.4 · nuvem ---------- */
.hd-nuv { background: rgba(255, 255, 255, .12); color: #fff; position: relative; }
.hd-nuv.ok { color: #86EFAC; }
.hd-nuv.warn { color: #FCD34D; }
.hd-nuv.bad { color: #FCA5A5; }
.hd-nuv.sync .i { animation: nuvPulse 1.1s ease-in-out infinite; }
@keyframes nuvPulse { 50% { opacity: .35; } }
.nuv-st { display: flex; gap: 12px; align-items: center; }
.nuv-st .nuv-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #E2E8F0; color: #475569; }
.nuv-st .nuv-ic .i { width: 24px; height: 24px; }
.nuv-st.ok .nuv-ic { background: #DCFCE7; color: #15803D; }
.nuv-st.warn .nuv-ic, .nuv-st.sync .nuv-ic { background: #FEF3C7; color: #B45309; }
.nuv-st.bad .nuv-ic { background: #FEE2E2; color: #B91C1C; }
.nuv-cod { font: 800 34px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; color: #0B1F44; margin: 6px 0 8px; padding-left: .18em; }
.nuv-in { text-transform: uppercase; letter-spacing: .2em; font-weight: 700; text-align: center; }
