/* Área do cliente: mesmo visual do CRM, sem menu lateral. */
.portal-shell { min-height: 100vh; }
.portal-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, calc((100vw - 1100px) / 2)); background: var(--side); color: #fff; }
.portal-top .brand { color: #fff; }
.portal-top .btn.ghost { color: var(--side-ink); }
.portal-top .btn.ghost:hover { background: #ffffff14; color: #fff; }
.portal-main { max-width: 1100px; margin: 0 auto; padding: 28px 16px 64px; display: flex; flex-direction: column; gap: 22px; }
.portal-logo { object-fit: contain; background: #fff; padding: 6px; }
.portal-post { display: flex; align-items: center; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.todo-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.auth-text.small { font-size: 13px; color: var(--faint); }
.sticky-save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 35%); }
@media (max-width: 860px) {
  .portal-main { padding-top: 18px; }
}
.steps { margin: 4px 0 6px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.copy-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.copy-line > span { display: flex; flex-direction: column; gap: 2px; }
.copy-line small { color: var(--faint); font-size: 12.5px; font-weight: 600; }
.copy-line code { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.pass-line { display: flex; gap: 6px; align-items: center; }
.pass-line input { flex: 1; min-width: 0; }
.sent-cred { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }

.days { display: flex; flex-direction: column; gap: 6px; }
.day-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.day-row.off { opacity: 0.55; }
.day-check { min-width: 120px; font-weight: 600; }
.day-times { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.day-times input { width: auto; min-width: 110px; }
.request-kind { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }

/* Cards que abrem e fecham (acessos, link do Drive, preferências) */
.fold { gap: 0; padding: 0; }
.fold-head { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--radius); }
.fold-head::-webkit-details-marker { display: none; }
.fold-head:hover { background: var(--surface-2); }
.fold-head:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fold-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fold-arrow { flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 6px 4px 0; transition: transform 0.2s ease; }
.fold[open] > .fold-head .fold-arrow { transform: rotate(-135deg); margin: 4px 6px 0 0; }
.fold[open] > .fold-head { border-radius: var(--radius) var(--radius) 0 0; }
.fold-body { display: flex; flex-direction: column; gap: 14px; padding: 4px 20px 20px; }
.fold-body > .btn, .reveal-btn { align-self: flex-start; }
.reveal-box { display: flex; flex-direction: column; gap: 14px; }
.reveal-box[hidden] { display: none; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.access-grid > .fold[open] { grid-column: 1 / -1; }
@media (max-width: 760px) { .access-grid { grid-template-columns: minmax(0, 1fr); } }
.reply-box { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.reply-box label { font-size: 13px; font-weight: 600; }

/* "Ver como cliente": faixa que lembra o Nick de que ele está dentro da área do cliente */
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px max(16px, calc((100vw - 1100px) / 2)); background: #ff6b2b; color: #fff; font-weight: 600; font-size: 14px; }
.admin-bar .btn { background: #fff; color: #1a1a1a; border-color: #fff; }
