/* Rigapplo homepage stage, scoped to prevent cross-product style changes.
   Sizes use container units so the whole illustration scales without clipping.
   Colours and composition follow website/rigapplo/static/site.css in the Univertica repository. */
.rigapplo-scene { margin: 0; width: 100%; color: #151513; font: 400 16px/1.4 "Helvetica Neue", Arial, sans-serif; }
.rigapplo-scene :is(p, strong, small, b, span, time) { margin: 0; }
.rigapplo-scene .rg-frame { container-type: inline-size; }
.rigapplo-scene .rg-stage { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 31cqw; gap: 3.4cqw; align-items: start; padding: 5.4cqw 4.4cqw 0; border-radius: 5cqw; background: linear-gradient(135deg, #f9d568 0%, #eeb427 42%, #dd7d15 100%); }
.rigapplo-scene .rg-chevron { position: absolute; right: -8cqw; top: -16cqw; width: 78cqw; height: 84cqw; max-width: none; color: #fff; opacity: .16; pointer-events: none; }

.rigapplo-scene .rg-window { position: relative; min-width: 0; margin-bottom: 5cqw; padding: 3cqw; border-radius: 3cqw; background: #fffefb; box-shadow: 0 4.4cqw 7.6cqw -3.4cqw rgba(74, 34, 0, .65); }
.rigapplo-scene .rg-window-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1cqw; }
.rigapplo-scene .rg-window-head strong { font-size: 2.7cqw; letter-spacing: -.02em; }
.rigapplo-scene .rg-window-head span { font-size: 1.6cqw; font-weight: 600; white-space: nowrap; }
.rigapplo-scene .rg-meta { margin: .7cqw 0 1.8cqw; font-size: 1.6cqw; color: #625e56; }
.rigapplo-scene .rg-rows { border-top: 1px solid #e9e1d3; }
.rigapplo-scene .rg-row { display: grid; grid-template-columns: 4.8cqw minmax(0, 1fr) auto; gap: 1.6cqw; align-items: center; padding: 1.5cqw 0; }
.rigapplo-scene .rg-row + .rg-row { border-top: 1px solid #e9e1d3; }
.rigapplo-scene .rg-row > i { display: grid; place-items: center; width: 4.8cqw; height: 4.8cqw; border-radius: 1.4cqw; background: #fff3d6; color: #6b3e00; font-size: 2cqw; font-style: normal; font-weight: 800; }
.rigapplo-scene .rg-row strong { display: block; font-size: 1.95cqw; line-height: 1.25; letter-spacing: -.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rigapplo-scene .rg-row small { display: block; margin-top: .3cqw; font-size: 1.55cqw; color: #625e56; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rigapplo-scene .rg-row time { font-size: 1.5cqw; font-weight: 700; color: #9a5900; white-space: nowrap; }
.rigapplo-scene .rg-row:first-child time { padding: .55cqw 1.2cqw; border-radius: 999px; background: #fff3d6; color: #6b3e00; }

.rigapplo-scene .rg-pulse { position: relative; min-width: 0; margin: 3cqw 0 5cqw; padding: 3cqw 2.8cqw; border-radius: 3.6cqw; background: #17150f; color: #fff; box-shadow: 0 4.8cqw 6.6cqw -3cqw rgba(50, 22, 0, .8); }
.rigapplo-scene .rg-pulse > * { display: block; }
.rigapplo-scene .rg-pulse-title { font-size: 1.95cqw; letter-spacing: -.01em; }
.rigapplo-scene .rg-pulse-where { margin-top: .3cqw; font-size: 1.5cqw; color: #cfc5ae; }
.rigapplo-scene .rg-pulse-big { margin-top: 2.2cqw; font-size: 7cqw; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #f8d266; }
.rigapplo-scene .rg-pulse-cap { margin-top: .9cqw; font-size: 1.6cqw; line-height: 1.35; color: #e9e2d2; }
.rigapplo-scene .rg-bars { width: 100%; height: 10cqw; max-width: none; margin-top: 2.2cqw; border-bottom: 1px solid #4a4433; }
.rigapplo-scene .rg-bars rect { fill: #e7a91c; }
.rigapplo-scene .rg-sectors { display: grid; gap: .9cqw; margin-top: 2.2cqw; }
.rigapplo-scene .rg-sectors > div { display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr auto; gap: 1cqw; align-items: center; font-size: 1.5cqw; color: #e9e2d2; }
.rigapplo-scene .rg-sectors span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rigapplo-scene .rg-sectors i { display: block; height: .6cqw; border-radius: .6cqw; background: #3a3527; overflow: hidden; }
.rigapplo-scene .rg-sectors u { display: block; height: 100%; background: #e7a91c; }
.rigapplo-scene .rg-sectors b { color: #fff; text-align: right; }

.rigapplo-scene figcaption { margin-top: 12px; text-align: center; font-size: 11px; color: #77716b; }
