/* ==========================================================================
   10-nav-auth-video.css  (10 de 18)
   Ajustes do kanban e do calendário, botões Entrar/Criar conta, login com Google e secção de vídeo (.vid-*).
   Não reordenar: a ordem de carga (ver README.md) faz parte da cascata,
   por isso os ficheiros seguintes podem substituir regras dos anteriores.
   ========================================================================== */

#pm .cg {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 4px;
}

#pm .ch0 {
  font: 600 11px IBM Plex Mono,monospace;
  color: var(--graphite);
  text-align: center;
  padding: 6px;
}

#pm .cd0 {
  min-height: 84px;
  border: 1px solid var(--ink-10);
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
}

#pm .cd0.td {
  border-color: var(--amber);
  background: var(--amber-10);
}

#pm .cd0>span {
  font: 10px IBM Plex Mono,monospace;
  color: var(--graphite);
}

.ev {
  font-size: 11.5px;
  padding: 3px 6px;
  margin-top: 3px;
  background: var(--ink-10);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev.lt {
  color: #c83c3c;
}

.ev small {
  color: var(--graphite);
}

.br {
  display: grid;
  grid-template-columns: minmax(80px,140px) 1fr 28px;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  margin: 8px 0;
}

.bx {
  display: block;
  background: var(--ink-10);
  border-radius: 4px;
  height: 8px;
}

.bx i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--amber);
}

.br b {
  text-align: right;
}

.st2 h4 {
  font: 600 11px IBM Plex Mono,monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--graphite);
  margin-bottom: 8px;
}

.st2 .notes-card {
  margin-bottom: 0;
}

.st2 {
  gap: 16px;
}

.client-row.cr:hover {
  background: var(--amber-10);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.na-login {
  border: 1.5px solid var(--ink-20);
  background: none;
  color: var(--ink);
  font: 600 13.5px inherit;
  font-family: inherit;
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
}

.na-login:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.na-login .l-long {
  display: none;
}

.na-signup {
  display: none!important;
}

.nav-right>a.btn-glass {
  display: none;
}

@media(min-width:640px) {
  .na-login .l-long {
    display: inline;
  }
  .na-login .l-short {
    display: none;
  }
  .na-signup {
    display: inline-flex!important;
  }
  .nav-right>a.btn-glass {
    display: inline-flex;
  }
}

.pt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}

.pt-note {
  font-size: 12.5px;
  color: var(--graphite);
  line-height: 1.5;
  max-width: 420px;
}

.au-g {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  border-radius: 100px;
  border: 1.5px solid var(--ink-20);
  background: var(--paper);
  color: var(--ink);
  font: 600 14px inherit;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s,transform .15s;
}

.au-g:hover {
  border-color: var(--amber);
  transform: translateY(-1px);
}

.au-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 4px;
  font: 11px IBM Plex Mono,monospace;
  color: var(--graphite);
  text-transform: uppercase;
}

.au-or:before,
.au-or:after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--ink-10);
}

#auG {
  margin-bottom: 18px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
}

[data-auth=in],
html[data-logged="1"] [data-auth=out] {
  display: none!important;
}

html[data-logged="1"] .acct[data-auth=in] {
  display: inline-flex!important;
  align-items: center;
  justify-content: center;
}

html[data-logged="1"] .na-area[data-auth=in] {
  display: none!important;
}

html[data-logged="1"] .pt-actions[data-auth=in] {
  display: flex!important;
}

html[data-logged="1"] .vid-btn[data-auth=in] {
  display: inline-flex!important;
}

@media(min-width:640px) {
  html[data-logged="1"] .na-area[data-auth=in] {
    display: inline-flex!important;
  }
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 8px;
}

#loginView,
#clientView,
.au,
.lg-wrap {
  min-height: 100dvh;
}

.vid-sec {
  padding: 26px 0 8px;
}

.vid-card {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #0b2630;
  aspect-ratio: 16/9;
  box-shadow: 0 26px 60px #0b263047;
  cursor: pointer;
}

.vid-media {
  position: absolute;
  inset: 0;
}

.vid-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b2630;
}

.vid-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#0b263000 38%,#0b2630e6);
  pointer-events: none;
}

.vid-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(16px,3vw,32px);
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #fff;
}

.vid-eb {
  font: 600 11px IBM Plex Mono,monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7fe0f2;
}

.vid-cta h3 {
  font-size: clamp(22px,3.6vw,34px);
  letter-spacing: -.02em;
  margin: 5px 0;
}

.vid-cta p {
  font-size: clamp(13px,1.6vw,15.5px);
  opacity: .88;
  max-width: 440px;
  line-height: 1.45;
}

.vid-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.vid-chips span {
  font: 11px IBM Plex Mono,monospace;
  padding: 5px 11px;
  border-radius: 100px;
  background: #ffffff24;
  backdrop-filter: blur(6px);
}

.vid-btn {
  border: 0;
  background: #fff;
  color: #0b2630;
  font: 700 14.5px inherit;
  font-family: inherit;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s,box-shadow .15s;
  box-shadow: 0 8px 24px #0000004d;
}

.vid-btn:hover {
  transform: translateY(-2px);
}

.vid-mute {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #0b263099;
  color: #fff;
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vid-mute .i-on {
  display: none;
}

.vid-mute.on .i-on {
  display: block;
}

.vid-mute.on .i-off {
  display: none;
}

.vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-70%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 0;
  background: #ffffffeb;
  color: #0b2630;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  pointer-events: none;
}

.vid-card.paused .vid-play {
  display: flex;
}

.vid-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffffd9;
  background: radial-gradient(circle at 25% 20%,#0e4a5c,#0b2630);
  font: 12px IBM Plex Mono,monospace;
  text-align: center;
  padding: 20px;
}

.vid-fallback b {
  font-size: 16px;
}

.vid-card.novid .vid-fallback {
  display: flex;
}

.vid-card.novid .vid-play,
.vid-card.novid .vid-mute {
  display: none;
}

@media(max-width:640px) {
  .vid-sec {
    padding: 18px 0 4px;
  }
  .vid-card {
    aspect-ratio: auto;
    border-radius: 18px;
  }
  .vid-media {
    position: relative;
    aspect-ratio: 16/9;
  }
  .vid-shade {
    display: none;
  }
  .vid-cta {
    position: static;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .vid-btn {
    width: 100%;
    text-align: center;
  }
  .vid-chips {
    display: none;
  }
  .vid-play {
    width: 56px;
    height: 56px;
    transform: translate(-50%,-50%);
  }
}
