/* sentinel.css — blocos exclusivos da página .SENTINEL (Views/Home/Sentinel.cshtml). Depende de we.css.
   Os três estados da posição (disponível / ocupado / pausa) são a identidade do produto e mantêm
   as cores reais da barra (lima, vermelho, âmbar) nos dois temas. */
:root { --st-d: #A9CF46; --st-o: #DC2626; --st-p: #D9A441; --st-d-text: #4D6A12; --st-d-text: light-dark(#4D6A12, #A9CF46); --st-o-text: #B91C1C; --st-o-text: light-dark(#B91C1C, #F87171); --st-p-text: #92610D; --st-p-text: light-dark(#92610D, #E4B85A); }

/* ---------- Estados (herói, coluna direita) ---------- */
.estados { display: grid; gap: 10px; }
.est { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-left-width: 3px; border-radius: 12px; padding: 14px 16px; }
.est.d { border-left-color: var(--st-d); } .est.o { border-left-color: var(--st-o); } .est.p { border-left-color: var(--st-p); }
.est .dot { width: 9px; height: 9px; border-radius: 50%; }
.est.d .dot { background: var(--st-d); } .est.o .dot { background: var(--st-o); } .est.p .dot { background: var(--st-p); }
.est .nm { font-family: var(--f-display); font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.est.d .nm { color: var(--st-d-text); } .est.o .nm { color: var(--st-o-text); } .est.p .nm { color: var(--st-p-text); }
.est .tm { font-family: var(--f-mono); font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.est .ds { grid-column: 2 / -1; font-size: .86rem; color: var(--ink-3); margin-top: -6px; }

/* ---------- A barra viva ---------- */
.vitrine { margin-top: clamp(40px, 6vw, 72px); }
.vitrine-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 14px; }
.vitrine-cap h3 { font-size: 1rem; }
.vitrine-cap span { font-size: .9rem; color: var(--ink-3); }
.barra { padding: 0; }
.barra-top { display: flex; align-items: center; gap: 18px; padding: 12px 18px; flex-wrap: wrap; }
.b-marca { font-size: 1rem; flex: none; }
.b-user { line-height: 1.3; flex: none; }
.b-user .nm { font-size: .86rem; font-weight: 600; color: var(--ink); }
.b-user .lg { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.b-estado { display: inline-flex; align-items: center; gap: 9px; flex: none; padding: 7px 14px; border-radius: 8px; font-family: var(--f-display); font-weight: 700; font-size: .8rem; letter-spacing: .09em; transition: background .4s, color .4s; }
.b-estado .pt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.b-estado.d { color: var(--st-d); background: rgba(169,207,70,.16); }
.b-estado.o { color: #F87171; background: rgba(220,38,38,.18); }
.b-estado.p { color: #E4B85A; background: rgba(217,164,65,.18); }
.b-crono { font-family: var(--f-mono); font-size: 1.25rem; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); flex: none; }
.b-bts { display: flex; gap: 7px; margin-left: auto; }
.b-bt { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-3); color: var(--ink-2); display: grid; place-items: center; position: relative; flex: none; }
.b-bt .i { width: 16px; height: 16px; }
.b-bt .bd { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--st-o); color: #fff; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; display: grid; place-items: center; }
.b-term { padding: 0 18px 14px; }
.b-term-tr { height: 22px; border-radius: 6px; background: var(--surface-3); overflow: hidden; position: relative; }
.b-term-fl { height: 100%; width: 34%; background: linear-gradient(90deg, rgba(169,207,70,.5), rgba(217,164,65,.6)); transition: width .9s linear; }
.b-term-tx { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 11px; font-family: var(--f-mono); font-size: .74rem; color: var(--ink); letter-spacing: .02em; }
.legenda { margin-top: 12px; font-size: .86rem; color: var(--ink-3); }
@media (max-width: 720px) { .b-user { display: none; } .b-crono { font-size: 1.05rem; } }

/* ---------- Dores ---------- */
.dor { border-top: 3px solid var(--danger); }
.dor .q { font-style: italic; color: var(--ink); font-size: 1.02rem; line-height: 1.45; }
.dor .a { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .93rem; }
.dor .a b { color: var(--accent); font-weight: 600; display: block; margin-top: 6px; }

/* ---------- Cortina (estação bloqueada) ---------- */
.cortina { text-align: center; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px); box-shadow: inset 0 0 90px rgba(0,0,0,.55); }
.cortina .cad { width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 12px; background: var(--danger-wash); color: #F87171; display: grid; place-items: center; }
.cortina .cad .i { width: 22px; height: 22px; }
.cortina h3 { font-size: 1.4rem; }
.cortina p { color: var(--ink-2); font-size: .95rem; margin: 10px auto 0; max-width: 28em; }
.cortina .mv { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Diferenciais ---------- */
.difs { display: grid; }
.dif { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dif:first-child { padding-top: 0; }
.dif:last-child { border-bottom: 0; }
.dif b { display: block; font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.dif p { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
