/* ATLSX web demo: the panel inside the app, and the gateway's own start and ended pages (ATLSX Visual Identity). */
/* The demo panel sits at the bottom of the app's sidebar, in place of the database line, above the version: what the
   demo is, the countdown, and Buy ATLSX and End demo. */
#demo-panel { margin: 12px 10px 0; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #C5D6D4;
  font: 12px/18px Arial, "Helvetica Neue", Helvetica, sans-serif; }
#demo-panel strong { display: block; color: #C8EAE7; letter-spacing: 1px; text-transform: uppercase; font-size: 11px; margin-bottom: 4px; }
#demo-panel .demo-panel-timer { display: block; margin-top: 6px; font-weight: 700; }
#demo-panel .demo-panel-actions { display: grid; gap: 8px; margin-top: 12px; }
#demo-panel a, #demo-panel button { display: block; width: 100%; box-sizing: border-box; text-align: center; font: inherit; font-size: 13px;
  font-weight: 700; border-radius: 8px; padding: 8px 12px; text-decoration: none; cursor: pointer; }
#demo-panel a { background: #2DA5A2; color: #0C1729; border: 1px solid #2DA5A2; }
#demo-panel button { background: transparent; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .45); }
#demo-panel button:hover { background: rgba(255, 255, 255, .12); }
#demo-panel a:focus-visible, #demo-panel button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
#demo-panel.demo-panel-warn { background: #FFF4D7; color: #6B4D0F; }
#demo-panel.demo-panel-warn strong { color: #6B4D0F; }
#demo-panel.demo-panel-warn button { color: #6B4D0F; border-color: #E4CE93; }

/* Inside the demo app: no signed-in user or sign-out (End demo is in the panel), no license, install, or server controls,
   no setting up integrations or bank feeds (outside services; their pages stay to look at), and no database line (the
   panel replaces it). The features behind them are also refused by the gateway. */
#logout, #signed-in, [data-sage-config], [data-adp-config], [data-harvest-open="connection"], [data-gusto-config], [data-stripe-config],
[data-feed-connect],
[data-page="License"], [data-page="Sage Import"], [data-page="QuickBooks Import"], [data-import-chooser], #top-menu [data-page="Settings"],
[data-settings-tab="database"], [data-settings-tab="email"],
[data-license-activate], [data-license-trial], [data-license-import], [data-license-refresh], [data-license-portal],
[data-license-deactivate], [data-license-buy], [data-update-check], [data-update-download], [data-update-install] { display: none !important; }
.database-status { display: none !important; }
/* No AI assistant or single sign-on in the web demo: they connect the company's own AI provider or Microsoft 365, which a
   demo company doesn't have, and their set-up is refused. Left out: their Integrations menu lines, categories, sections
   and cards, Connect an AI assistant and its key presets under Access keys, Ask ATLSX, and single sign-on on the Security
   tab. Also left out, as server settings: the Server address row there and My settings' Check this computer (passkeys and
   Microsoft sign-in), which would name the demo's internal server. */
[data-page="AI Assistant"], [data-page="Single Sign-On"], #top-menu [data-integration-focus="mcp-panel"],
[data-integration-category="ai"], [data-integration-category="security"],
.integration-section:has(#integrations-ai, #integrations-security),
.integration-card:has([data-page="AI Assistant"], [data-page="Single Sign-On"], [data-integration-focus="mcp-panel"]),
.mcp-panel, .mcp-presets, .help:has(+ .mcp-presets), [data-assistant-open], #assistant-panel,
.settings-row:has([data-page="Single Sign-On"]), .server-address-row, .computer-check { display: none !important; }
/* No screen lock (ATLSX 26.4.12): it unlocks with the person's password, which a visitor doesn't have, and it hides this
   page's demo panel too. The demo companies are built with it off (build_demo.mark_demo) and demo.js turns Lock now off;
   left out here: Lock now (sidebar and Help) and the lock time among the Security tab's sign-in rules. */
[data-lock-now], .rule-grid label:has(> select[name="lock_minutes"]) { display: none !important; }
/* Where Set up or Connect a bank would be: say why it is missing (cards whose set-up works here, like Access keys, keep theirs). */
.integration-card-body:has([data-sage-config], [data-adp-config], [data-harvest-open="connection"], [data-gusto-config], [data-stripe-config])::after,
#bank-feeds > .panel-head::after { content: "Not available in the web demo"; margin-top: auto; padding-top: 16px;
  color: var(--text-muted, #52666B); font-size: 12px; font-weight: 700; }
#bank-feeds > .panel-head::after { margin-top: 0; padding-top: 0; white-space: nowrap; align-self: center; }

.demo-page { margin: 0; min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; padding: 24px;
  background: linear-gradient(135deg, #0C1729, #E2EEED); font: 16px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif; color: #0C1729; }
.demo-card { width: min(520px, 100%); background: #FFFFFF; border-radius: 14px; padding: 32px; box-shadow: 0 24px 70px rgba(12, 34, 32, .27); }
.demo-brand { background: #0C1729; border-radius: 10px; padding: 24px; margin-bottom: 24px; display: flex; justify-content: center; }
.demo-brand img { display: block; height: 48px; width: auto; }
.demo-card h1 { font-size: 28px; line-height: 36px; margin: 0 0 16px; }
.demo-card h1.demo-center { text-align: center; margin-bottom: 24px; }
.demo-card p { margin: 0 0 16px; color: #52666B; }
.demo-card strong { color: #0C1729; }
.demo-points { margin: 0 0 24px; padding-left: 20px; color: #0C1729; }
.demo-points li { margin-bottom: 8px; }
.demo-button { width: 100%; font: inherit; font-weight: 700; border: 0; border-radius: 8px; padding: 12px 16px; background: #2DA5A2; color: #0C1729; cursor: pointer; }
.demo-button:hover { filter: brightness(1.06); }
.demo-button:focus-visible, .demo-card a:focus-visible { outline: 2px solid #0C1729; outline-offset: 2px; }
.demo-card form { margin: 0 0 16px; }
.demo-choice { display: grid; gap: 8px; margin: 0 0 16px; }
.demo-choice form { margin: 0; }
.demo-choice .demo-button { display: grid; gap: 4px; text-align: left; padding: 16px 24px; }
.demo-choice .demo-button strong { font-size: 17px; color: #0C1729; }
.demo-choice .demo-button span { font-size: 13px; font-weight: 400; color: #0C1729; }
.demo-button.secondary { background: #FFFFFF; border: 1px solid #D5E0DE; }
.demo-button.secondary:hover { background: #EEF5F4; filter: none; }
.demo-small { font-size: 13px; }
.demo-card a { color: #1E7A78; }
.demo-foot { margin: 0; font-size: 12px; color: #52666B; }
/* Printing (and Save as PDF) is turned off in the web demo: a printout shows only this note. */
@media print {
  body > * { display: none !important; }
  body::after { content: "Printing is turned off in the ATLSX web demo."; display: block; font: 16px Arial, sans-serif; padding: 40px; }
}

