/* SC365 Approvals Cloud — additions on top of the Approvals Server's app.css (copied as /app.css by cloud/build.mjs). */
.topbar-org { text-align: right; font-weight: 600; color: #c9d6f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-content { max-width: 1180px; padding-bottom: 48px; }
.cloud-page { display: grid; gap: 16px; }
.cloud-page.narrowish { max-width: 820px; margin: 0 auto; }
.head-card { border-top: 4px solid var(--cyan); }
.head-card h1 { margin: 4px 0 2px; overflow-wrap: anywhere; }
.approve-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.approve-side { display: grid; gap: 16px; position: sticky; top: 72px; }
@media (max-width: 900px) {
  .approve-grid { grid-template-columns: minmax(0, 1fr); }
  .approve-side { position: static; } /* phones: read the document first, then decide */
  .pdf-pages { max-height: 70vh; }
}
@media (max-width: 520px) {
  .grid2.tight { grid-template-columns: minmax(0, 1fr); }
  .content { padding: 12px 12px 48px; }
  .card { padding: 16px; }
  h1 { font-size: 1.35rem; }
}
.grid2.tight { gap: 0 12px; }
.decision-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 8px; }
.decision-buttons .btn { min-height: 52px; font-size: 1.05rem; }
.confirm { background: var(--bad-bg); border-radius: 10px; padding: 12px; margin: 12px 0; }
.sig { margin: 4px 0 8px; }
.sig .tabs { margin-bottom: 8px; }
.sig-box { position: relative; background: #fff; border: 1px dashed var(--border); border-radius: 10px; touch-action: none; }
.sig-canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; cursor: crosshair; touch-action: none; }
.sig-line { position: absolute; left: 6%; right: 6%; bottom: 22%; border-top: 1px solid #aab4c8; font-size: .72rem; color: #8a93a6; padding-top: 2px; pointer-events: none; }
.notice { max-width: 560px; margin: 24px auto; text-align: center; display: grid; gap: 8px; justify-items: center; }
.notice h1 { font-size: 1.4rem; }
.notice-body { display: grid; gap: 6px; justify-items: center; }
.notice-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.decided { text-align: center; display: grid; justify-items: center; gap: 4px; }
.decided.ok { border-top: 4px solid var(--good); }
.decided.no { border-top: 4px solid var(--bad); }
.progress .step-dot { background: var(--neutral-bg); color: var(--neutral); }
.progress .dot-done { background: var(--good-bg); color: var(--good); }
.progress .dot-rejected { background: var(--bad-bg); color: var(--bad); }
.progress .dot-now { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-weak); }
.progress .step.me { background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 10%, transparent), transparent); margin: 0 -10px; padding: 10px; border-radius: 10px; }
.bad-text { color: var(--bad); font-weight: 600; }
.info-text { color: var(--info); font-weight: 600; }
.check .hint { display: block; font-weight: 400; }
.alert a.btn-primary { color: var(--accent-fg); }
