/* sol-stage.css: animated screens on the solution pages (gate 14c). Engine in /sol-stage.js.
   The figure keeps .page-shot (border, radius, shadow); its height follows the world's aspect ratio,
   the world is scaled to the figure width. */
figure.ss { position: relative; overflow: hidden; }
.ss-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.ss-world img { display: block; height: auto; }
.ss-rv { position: absolute; display: block; pointer-events: none; background: #fff; }

/* xml: the invoice PDF and its embedded factur-x.xml (from the hero of gate 13) */
.ss-xml .ss-world { background: #EEF1F6; }
.ss-paperwrap { position: absolute; left: 555px; top: -120px; width: 1440px; height: 1518px; z-index: 2;
                -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 260px), transparent calc(100% - 20px)); mask-image: linear-gradient(to bottom, #000 calc(100% - 260px), transparent calc(100% - 20px));
                -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ss-paper { position: absolute; left: 120px; top: 180px; width: 1200px; height: 1697px; transform-origin: 50% 40%; will-change: transform;
            box-shadow: 0 0 0 3px #DDE2EA, 0 60px 120px -60px rgba(14,24,48,.45); background: #fff; border-radius: 8px; overflow: hidden; }
.ss-paper img { width: 1200px; height: 1697px; }
.ss-xmlcard { position: absolute; left: 675px; top: 120px; width: 1200px; z-index: 1; opacity: 0; background: #fff; border-radius: 24px;
              box-shadow: 0 0 0 3px #DDE2EA, 0 60px 120px -60px rgba(14,24,48,.45); }
.ss-xmlcard .ss-xh { display: flex; align-items: baseline; gap: 22px; padding: 30px 40px 26px; border-bottom: 3px solid #EEF1F5; font: 400 30px/1 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif; color: var(--text-2); }
.ss-xmlcard .ss-xh b { font-weight: 600; color: var(--text); }
.ss-xmlcard .ss-xb { padding: 22px 0 28px; font: 400 27px/50px ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; white-space: pre; }
.ss-xmlcard .ss-xl { display: grid; grid-template-columns: 96px 1fr; overflow: hidden; }
.ss-xmlcard .ss-xl i { font-style: normal; text-align: right; padding-right: 26px; color: #B3BAC6; }
.ss-xmlcard .ss-xl span { overflow: hidden; }
.ss-xmlcard .ss-xf span { color: #B3BAC6; }
.ss-xmlcard .ss-xt { color: #5B6B86; }
.ss-xmlcard .ss-xv { color: var(--text); font-weight: 600; }

/* xml in the hero of the e-invoice page (gate 15: .mk-vis, below title and lede over the full width) */
.mk-vis figure.ss { margin: 0; max-width: none; }

/* slack: the window frame plus the message pane that scrolls to the buttons */
.ss-slack .ss-world { background: #EEF1F6; }
.ss-app { position: absolute; border-radius: 30px; overflow: hidden; background: #fff;
          box-shadow: 0 0 0 3px #DDE2EA, 0 60px 120px -60px rgba(14,24,48,.45); }
.ss-slvp { position: absolute; left: 596px; top: 252px; width: 1396px; height: 708px; overflow: hidden; background: #fff; }
.ss-slpan { position: absolute; left: 0; top: 0; width: 1396px; will-change: transform; }
.ss-slpan img { width: 1396px; }

/* tax: the Kontor window (sidebar and header as chrome over the page), the page pans down */
.ss-tax .ss-world { background: #fff; }
.ss-vp { position: absolute; overflow: hidden; background: #fff; }
.ss-pan { position: absolute; left: 0; top: 0; will-change: transform; }
.ss-chrome { position: absolute; left: 0; top: 0; pointer-events: none; }

/* mail: the approval email, a click on its button, the review page */
.ss-mail .ss-world { background: #FCFBFC; }
.ss-layer { position: absolute; left: 0; top: 0; transform-origin: 50% 40%; }
.ss-press { position: absolute; display: block; pointer-events: none; opacity: 0; background: rgba(0,0,0,.22); border-radius: 18px; }
.ss-cursor { position: absolute; left: 0; top: 0; width: 64px; height: 64px; pointer-events: none; z-index: 5; will-change: transform;
             filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }

/* bill: the Kontor window with the recognised bill; one zoom layer from the header to the Kontierung (hero of gate 13) */
.ss-bill .ss-world { background: #fff; }
/* the lower part of the window is empty in the ledger view: the scene fades out towards the bottom */
.ss-bill { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 72%, transparent 100%); }
.ss-zl { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }   /* width inline, from the capture */
.ss-zl img.ss-zl-top { position: absolute; left: 0; top: 0; }

/* bs and rec: the Kontor window with the consolidated balance sheet or the bridge to the group (Dual GAAP page) */
.ss-bs .ss-world, .ss-rec .ss-world { background: #fff; }
/* bs: the page title and the position column stay while the company columns glide, like a frozen first column */
.ss-freeze img { max-width: none; }
/* bs: the company columns re-sliced from the same screen into alphabetical order (2026-11-08): each .ss-col shows
   one source column at its new place; the images are the screen itself, so nothing is re-encoded. */
.ss-col { position: absolute; overflow: hidden; background: #fff; }
.ss-col img { position: absolute; max-width: none; }
/* Two bands (2026-11-11): the position column ends at 620px; above the table (title, status and filter row,
   down to 265px) the frozen part reaches 760px, so the filter row with the hint "nur Monatsenden" and the
   companies button stays whole while the table glides. */
.ss-freeze { position: absolute; left: 0; top: 0; width: 760px; height: 100%; overflow: hidden; background: #fff;
             -webkit-mask-image: linear-gradient(90deg, #000 560px, transparent 620px), linear-gradient(90deg, #000 720px, transparent 760px);
             mask-image: linear-gradient(90deg, #000 560px, transparent 620px), linear-gradient(90deg, #000 720px, transparent 760px);
             -webkit-mask-size: 100% 100%, 100% 265px; mask-size: 100% 100%, 100% 265px;
             -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* Phones and touch devices: no GPU layers inside the scaled world, as in the hero (hero-stage.css,
   2026-10-11). Safari rasters a layer at its layout size, not at the size the world's scale shows it at.
   The query must stay the same as FLAT_Q in sol-stage.js and hero-stage.js. */
@media (max-width: 1000px), (pointer: coarse) {
  .ss-paper, .ss-slpan, .ss-pan, .ss-cursor, .ss-zl { will-change: auto; }
}
