/* ==========================================================================
 * CHANGE LOG
 * File: static/css/proforma_tour.css
 * Purpose: The tour box of the open proforma tour, https://idevelop.nsgia.com/proforma-tour
 *          (Michael, Dec 2 2026).
 * How it works: The same box as the iVerify and ATS2 tours (mh/iverify2 maparea/static/css/relay_tour.css:
 *          fixed at the bottom right, a count, the stop's words, Back / Next / Exit). Sizes and behaviour
 *          are copied from there; the colours are iDevelop's own navy, gold and ink
 *          (static/css/proforma_design.css --navy #1a2744, --gold #b8922a, --ink #2c2c2c), written out
 *          because that stylesheet is not loaded on every tab.
 * Version History:
 *   2026-12-02 v1.0 - Created.
 *   2026-12-02 v1.1 - Tour visitors: staff menus and the notes and documents panels are hidden.
 * ========================================================================== */
.pt-box { position: fixed; right: 22px; bottom: 22px; width: min(360px, calc(100vw - 28px)); z-index: 100000;
  background: #fff; color: #2c2c2c; border: 2px solid #1a2744; border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0,0,0,.28); padding: 16px; font: 16px/1.4 system-ui, sans-serif;
  max-height: calc(100vh - 44px); overflow-y: auto; text-align: left; }
.pt-box[hidden] { display: none; }
.pt-count { font-size: 12px; font-weight: 700; color: #6c757d; margin-bottom: 5px; }
.pt-text { font-size: 17px; font-weight: 600; }
.pt-controls { display: flex; gap: 8px; margin-top: 14px; }
.pt-box button { border: 1px solid #1a2744; background: #fff; color: #1a2744; border-radius: 5px;
  padding: 7px 13px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 15px; }
.pt-box button:disabled { opacity: .45; cursor: default; }
.pt-box button[hidden] { display: none; }
.pt-box .pt-next { background: #1a2744; color: #fff; }
.pt-enter { display: block; margin-top: 12px; background: #b8922a; color: #fff !important; font-weight: 700;
  text-align: center; padding: 9px 12px; border-radius: 6px; text-decoration: none; }
body.pt-on { padding-bottom: 150px; }
/* A tour visitor is not staff: no Workspace or Admin menu, no Logout, no private notes or documents panels. */
body.pt-visitor .nav-right .dropdown, body.pt-visitor .nav-right a[href="/users/logout"],
body.pt-visitor .page-notes-panel, body.pt-visitor .documents-panel { display: none !important; }
@media (max-width: 600px) {
  .pt-box { left: 8px; right: 8px; bottom: 14px; width: auto; padding: 9px 12px 10px; max-height: 45vh; }
  .pt-text { font-size: 14px; line-height: 1.3; }
  .pt-controls { margin-top: 8px; }
  .pt-box button { padding: 5px 12px; font-size: 14px; }
  .pt-enter { margin-top: 8px; padding: 7px 10px; }
}
