/* ==========================================================================
   guide-laporan.css — video modul "Beranda, laporan & wallboard TV" (app/views/guide/laporan/*.php), prefiks mlp-.
   Tiap langkah: teks kiri (.gv-copy, guide.css) + satu grup visual berukuran tetap (.mlp-xx.gv-cam, koordinat anak relatif grup).
   Papan wallboard (_papan.php) dipakai editor & TV: grid 12 × 8 sama dengan aplikasi, ukuran mengikuti wadah. Desktop saja.
   ========================================================================== */

.mlp-bd, .mlp-an, .mlp-rp, .mlp-ed, .mlp-tv { position: absolute; transform-origin: 0 0; }

/* Angka yang mulai berhitung setelah wadahnya tampil: tanpa animasi masuk bawaan (gv-up) supaya angka awalnya terlihat. */
.mlp-num { --an: mlp-hold; }
@keyframes mlp-hold { from { opacity: 1; } to { opacity: 1; } }

/* Cincin sorot saat narasi menyebut bagian layar. */
.mlp-ring { position: absolute; z-index: 4; display: block; border-radius: 22px; pointer-events: none; --an: mlp-ring; --d: 1.5s;
    box-shadow: 0 0 0 4px var(--orange), 0 0 0 14px rgba(254, 127, 45, .16); }
.mlp-ring.is-ok { box-shadow: 0 0 0 4px #4E8A3A, 0 0 0 12px rgba(78, 138, 58, .18); }
.mlp-ring.is-hot { box-shadow: 0 0 0 4px var(--red), 0 0 0 12px rgba(194, 70, 60, .18); }
@keyframes mlp-ring { 0% { opacity: 0; transform: scale(1.06); } 22% { opacity: 1; transform: none; } 78% { opacity: 1; } 100% { opacity: 0; } }

/* Sakelar (analitik: bandingkan; editor: tautan publik). */
.mlp-switch { position: relative; flex: none; display: block; width: 56px; height: 32px; }
.mlp-sw-track { position: absolute; inset: 0; border-radius: 999px; background: #CFD3CF; --an: mlp-sw-track; }
.mlp-sw-knob { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .28); --an: mlp-sw-knob; }
@keyframes mlp-sw-track { from { background: #CFD3CF; } to { background: var(--teal); } }
@keyframes mlp-sw-knob { from { transform: none; } to { transform: translateX(24px); } }

/* Judul & legenda kartu grafik. */
.mlp-chart-h { display: flex; align-items: center; gap: 20px; margin-bottom: 10px; }
.mlp-chart-h b { margin-right: auto; font-size: 22px; font-weight: 720; letter-spacing: -.015em; }
.mlp-leg { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 17px; font-weight: 600; white-space: nowrap; }
.mlp-leg i { display: block; flex: none; width: 14px; height: 14px; border-radius: 4px; }
.mlp-leg .is-cur, .mlp-leg .is-ontime { background: var(--navy); }
.mlp-leg .is-prev { width: 24px; height: 0; border-radius: 0; border-top: 3px dashed #9AA4AB; }
.mlp-leg .is-late { background: var(--orange); }
.mlp-leg .is-absent { background: #8A6BB0; }

/* --- 1/5 Beranda ---------------------------------------------------------------------------------------------------- */

.mlp-bd { left: 880px; top: 110px; width: 960px; height: 860px; }
.mlp-bd-win { left: 0; top: 0; width: 960px; height: 690px; }
.mlp-role { display: inline-flex; margin-left: auto; }
.mlp-sec { display: flex; align-items: baseline; gap: 14px; height: 40px; margin-bottom: 12px; }
.mlp-sec b { font-size: 25px; font-weight: 750; letter-spacing: -.02em; }
.mlp-sec span { color: var(--ink-3); font-size: 19px; font-weight: 600; }
.mlp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mlp-tile { position: relative; display: grid; align-content: space-between; height: 96px; padding: 14px 18px 12px 22px; overflow: hidden; border-radius: 16px;
    background: #FFFFFF; box-shadow: 0 0 0 1px rgba(27, 35, 41, .07); }
.mlp-tile::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 5px; border-radius: 0 4px 4px 0; background: var(--tone); }
.mlp-tile-l { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 19px; font-weight: 650; white-space: nowrap; }
.mlp-tile-l .icon { width: 21px; height: 21px; color: var(--tone); }
.mlp-tile > b { font-size: 42px; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.mlp-tile.is-present { --tone: #4E8A3A; }
.mlp-tile.is-late { --tone: #D9A621; }
.mlp-tile.is-not_in { --tone: #5B7FA6; }
.mlp-tile.is-absent { --tone: var(--red); }
.mlp-tile.is-leave { --tone: var(--teal); }
.mlp-tile.is-permit { --tone: #8A6BB0; }
.mlp-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.mlp-panel { height: 300px; }
.mlp-ghost { margin-left: auto; color: var(--ink-3); font-size: 18px; font-weight: 650; }
.mlp-q { display: flex; align-items: center; gap: 14px; padding: 13px 22px; }
.mlp-q + .mlp-q { box-shadow: inset 0 1px 0 #F0EFEA; }
.mlp-q > .icon { width: 20px; height: 20px; color: var(--ink-4); }
.mlp-panel .gk-row { padding: 14px 22px; }
.mlp-bd-r1 { left: 16px; top: 68px; width: 928px; height: 224px; }
.mlp-bd-r2 { left: 18px; top: 292px; width: 462px; height: 316px; }
.mlp-bd-r3 { left: 326px; top: 180px; width: 308px; height: 108px; border-radius: 20px; }
.mlp-bd-r4 { left: 480px; top: 292px; width: 462px; height: 316px; }
.mlp-bd-list { z-index: 5; left: 340px; top: 262px; width: 620px; height: 424px;
    box-shadow: 0 0 0 1px rgba(27, 35, 41, .1), 0 12px 24px -10px rgba(27, 35, 41, .3), 0 50px 90px -30px rgba(27, 35, 41, .6); }
.mlp-url { margin-left: auto; font-family: var(--font-mono); font-size: 17px; }
.mlp-chips { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mlp-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 16px; border-radius: 999px; background: var(--acc-bg); color: var(--acc);
    font-size: 19px; font-weight: 600; box-shadow: inset 0 0 0 1.5px #FAD7BF; }
.mlp-chip b { font-weight: 750; }
.mlp-chip .icon { width: 18px; height: 18px; }
.mlp-count { margin-left: auto; color: var(--ink-3); font-size: 18px; font-weight: 600; }
.mlp-bd-cur { --an: mlp-cur-bd; --ae: cubic-bezier(.45, .05, .2, 1); }
@keyframes mlp-cur-bd { 0% { opacity: 0; transform: translate(760px, 600px); } 15% { opacity: 1; } 80% { transform: translate(472px, 198px); }
    88% { transform: translate(472px, 198px) scale(.82); } 100% { opacity: 1; transform: translate(472px, 198px); } }

/* --- 2/5 Analitik periode ------------------------------------------------------------------------------------------- */

.mlp-an { left: 880px; top: 96px; width: 960px; height: 880px; }
.mlp-an-win { left: 0; top: 0; width: 960px; height: 720px; }
.mlp-an-range { margin-left: auto; justify-items: end; color: var(--ink-2); font-size: 19px; font-weight: 650; white-space: nowrap; }
.mlp-pbar { display: flex; align-items: center; gap: 12px; height: 52px; }
.mlp-seg { position: relative; display: grid; grid-template-columns: repeat(5, 116px); height: 52px; padding: 4px; border-radius: 14px; background: #ECEAE3; }
.mlp-seg > span { position: relative; z-index: 1; display: grid; place-items: center; border-radius: 10px; color: var(--ink-2); font-size: 18px; font-weight: 650; white-space: nowrap; }
.mlp-seg-on { position: absolute; left: 4px; top: 4px; width: 116px; height: 44px; border-radius: 10px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(27, 35, 41, .18); }
.mlp-seg-move { --an: mlp-seg-move; --ae: cubic-bezier(.3, .1, .2, 1); }
@keyframes mlp-seg-move { from { transform: none; } to { transform: translateX(116px); } }
.mlp-pbar .gk-btn { height: 52px; }
.mlp-cmp { display: flex; align-items: center; gap: 14px; height: 44px; margin-top: 12px; }
.mlp-cmp b { font-size: 20px; font-weight: 700; white-space: nowrap; }
.mlp-cmp-line { margin-left: auto; color: var(--ink-3); font-size: 18px; font-weight: 600; white-space: nowrap; }
.mlp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.mlp-kpi { display: grid; align-content: start; justify-items: start; gap: 8px; height: 164px; padding: 16px 18px; border-radius: 18px; background: #FFFFFF;
    box-shadow: 0 0 0 1px rgba(27, 35, 41, .07); }
.mlp-kpi-l { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 18px; font-weight: 650; white-space: nowrap; }
.mlp-kpi-l .icon { flex: none; width: 20px; height: 20px; color: var(--teal); }
.mlp-kpi > b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mlp-kpi > b > small { color: var(--ink-3); font-size: 24px; font-weight: 650; letter-spacing: -.01em; }
.mlp-delta { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 17px; font-weight: 750; white-space: nowrap; }
.mlp-delta .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.mlp-delta.is-ok { background: var(--ok-bg); color: var(--ok); }
.mlp-delta.is-hot { background: var(--hot-bg); color: var(--hot); }
.mlp-delta.is-flat { background: #F0F1EF; color: #5A656E; }
.mlp-ring-chip { inset: -7px; border-radius: 999px; }
.mlp-kpi-prev { color: var(--ink-3); font-size: 17px; font-weight: 600; white-space: nowrap; }
.mlp-chart { margin-top: 16px; padding: 18px 26px 16px; }
.mlp-plot { display: block; width: 856px; height: 200px; overflow: visible; }
.mlp-plot-grid { fill: none; stroke: #ECEAE3; stroke-width: 1.5; }
.mlp-plot-area { fill: rgba(35, 61, 77, .09); stroke: none; }
.mlp-plot-line, .mlp-plot-week { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1000; --len: 1000; }
.mlp-plot-prev { fill: none; stroke: #9AA4AB; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 8; }
.mlp-axis { width: 856px; margin-top: 8px; color: var(--ink-3); font-size: 17px; font-weight: 600; }
.mlp-axis > span { display: flex; justify-content: space-between; width: 856px; }
.mlp-axis i { font-style: normal; }
.mlp-an-cur { --an: mlp-cur-an; --ae: cubic-bezier(.45, .05, .2, 1); }
@keyframes mlp-cur-an { 0% { opacity: 0; transform: translate(520px, 430px); } 3.3% { opacity: 1; } 28.3% { transform: translate(206px, 118px); }
    31.7% { transform: translate(206px, 118px) scale(.82); } 35% { transform: translate(206px, 118px); } 55% { transform: translate(206px, 118px); }
    85% { transform: translate(54px, 178px); } 88.3% { transform: translate(54px, 178px) scale(.82); } 91.7% { transform: translate(54px, 178px); }
    100% { opacity: 1; transform: translate(850px, 116px); } }

/* --- 3/5 Laporan ---------------------------------------------------------------------------------------------------- */

.mlp-rp { left: 880px; top: 84px; width: 960px; height: 900px; }
.mlp-rp-nav { position: absolute; left: 120px; top: 170px; width: 360px; padding: 16px; }
.mlp-rp-nav > p { position: relative; z-index: 0; display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; color: var(--ink-2); font-size: 22px; font-weight: 650; }
.mlp-rp-nav > p > .icon { width: 24px; height: 24px; color: var(--ink-3); }
.mlp-rp-nav > .mlp-rp-org { height: 60px; margin-bottom: 8px; padding: 0 4px; box-shadow: inset 0 -1px 0 #F0EFEA; color: var(--ink); font-size: 21px; font-weight: 750; }
.mlp-rp-navon { position: absolute; z-index: -1; inset: 0; border-radius: 12px; background: #E7EEF1; box-shadow: inset 4px 0 0 var(--orange); --an: gv-fade; }
.mlp-rp-cur0 { --an: mlp-cur-rp0; --ae: cubic-bezier(.45, .05, .2, 1); }
@keyframes mlp-cur-rp0 { 0% { opacity: 0; transform: translate(380px, 520px); } 15% { opacity: 1; } 85% { transform: translate(214px, 401px); }
    92% { transform: translate(214px, 401px) scale(.82); } 100% { opacity: 1; transform: translate(214px, 401px); } }
.mlp-rp-cat { left: 0; top: 30px; width: 960px; height: 580px; }
.mlp-rp-desc { max-width: 880px; margin-bottom: 18px; color: var(--ink-2); font-size: 20px; line-height: 1.4; }
.mlp-rp-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mlp-rp-group { padding: 16px 16px 6px; }
.mlp-rp-gh { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mlp-rp-gh b { font-size: 22px; font-weight: 750; letter-spacing: -.015em; }
.mlp-rp-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #FFFFFF; }
.mlp-rp-ico .icon { width: 22px; height: 22px; }
.mlp-rp-group.is-2 .mlp-rp-ico { background: var(--teal); }
.mlp-rp-group.is-3 .mlp-rp-ico { background: var(--orange); }
.mlp-rp-group.is-4 .mlp-rp-ico { background: #3B6A2B; }
.mlp-rp-group.is-5 .mlp-rp-ico { background: #5B7FA6; }
.mlp-rp-group.is-6 .mlp-rp-ico { background: #A3480F; }
.mlp-pro { margin-left: auto; padding: 3px 10px; border-radius: 8px; background: var(--acc-bg); color: var(--acc); font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.mlp-rp-item { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 4px 0; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.2;
    box-shadow: inset 0 1px 0 #F0EFEA; }
.mlp-rp-item span { flex: 1; min-width: 0; }
.mlp-rp-item .icon { flex: none; width: 18px; height: 18px; color: var(--ink-4); }
.mlp-rp-win { left: 0; top: 30px; width: 960px; height: 630px; }
.mlp-tag { padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #E1E3DF; color: var(--ink-3); font-size: 17px; font-weight: 650; }
.mlp-rp-acts { display: inline-flex; gap: 10px; margin-left: auto; }
.mlp-rp-print { position: relative; }
.mlp-ring-btn { inset: -6px; border-radius: 16px; }
.mlp-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mlp-select { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 12px; background: #FFFFFF;
    box-shadow: inset 0 0 0 1.5px #E2E0D8; color: var(--ink); font-size: 19px; font-weight: 600; white-space: nowrap; }
.mlp-select > .icon { flex: none; width: 20px; height: 20px; color: var(--ink-3); }
.mlp-select > .mlp-caret { margin-left: auto; }
.mlp-select > .gk-swap { min-width: 0; }
.mlp-select b { font-weight: 750; }
.mlp-sel-on { position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 4px rgba(254, 127, 45, .18); --an: gv-fade; }
.mlp-rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.mlp-rp-kpis .gk-kpi { padding: 14px 18px; }
.mlp-rp-kpis .gk-kpi b { font-size: 38px; }
.mlp-rp-charts { display: grid; grid-template-columns: 556px minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.mlp-rp-bars, .mlp-rp-donut { height: 318px; padding: 16px 20px; }
.mlp-legs { display: flex; gap: 18px; margin: -2px 0 12px; }
.mlp-stack { position: relative; display: flex; align-items: flex-end; gap: 12px; height: 196px; padding-left: 34px; border-bottom: 2px solid #ECEAE3; }
.mlp-ymax { position: absolute; left: 0; top: -6px; color: var(--ink-3); font-size: 17px; font-weight: 650; }
.mlp-col { display: flex; align-items: flex-end; flex: 1; height: 100%; transform-origin: 50% 100%; }
.mlp-col-h { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: var(--h1); overflow: hidden; border-radius: 7px 7px 2px 2px;
    --an: mlp-colh; --ae: cubic-bezier(.3, .1, .2, 1); }
@keyframes mlp-colh { from { height: var(--h0); } to { height: var(--h1); } }
.mlp-col-h > i { display: block; flex: none; height: var(--p); }
.mlp-col-h > .is-ontime { background: linear-gradient(180deg, #2F5064 0%, #233D4D 100%); }
.mlp-col-h > .is-late { background: var(--orange); }
.mlp-col-h > .is-absent { background: #8A6BB0; }
.mlp-donut { position: relative; width: 214px; height: 214px; margin: 10px auto 0; }
.mlp-donut svg { width: 214px; height: 214px; overflow: visible; rotate: -90deg; }
.mlp-donut circle { fill: none; stroke-width: 17; }
.mlp-donut .is-ontime { stroke: var(--navy); }
.mlp-donut .is-late { stroke: var(--orange); }
.mlp-donut .is-absent { stroke: #8A6BB0; }
.mlp-donut .is-leave { stroke: var(--teal); }
.mlp-donut p { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.mlp-donut p b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.mlp-donut p > span { margin-top: 4px; color: var(--ink-3); font-size: 17px; font-weight: 600; }
.mlp-dd { position: absolute; z-index: 6; display: grid; gap: 2px; padding: 8px; border-radius: 14px; background: #FFFFFF; --an: mlp-dd; --d: .3s;
    box-shadow: 0 0 0 1px rgba(27, 35, 41, .1), 0 20px 40px -16px rgba(27, 35, 41, .45); }
@keyframes mlp-dd { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.mlp-dd > p { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 18px; font-weight: 600; white-space: nowrap; }
.mlp-dd > p.is-hi { background: var(--acc-bg); color: var(--acc); }
.mlp-dd > .mlp-dd-label { height: 30px; color: var(--ink-3); font-size: 17px; }
.mlp-dd-item .icon { width: 22px; height: 22px; color: var(--ink-3); }
.mlp-dd-item:nth-child(2) { background: #EEF6F0; }
.mlp-dd-item:nth-child(2) .icon { color: #1F7244; }
.mlp-dd-loc { left: 26px; top: 82px; width: 296px; }
.mlp-dd-exp { left: 512px; top: -4px; width: 300px; }
.mlp-xl { position: absolute; z-index: 7; left: 400px; top: 452px; width: 560px; overflow: hidden; border-radius: 16px; background: #FFFFFF;
    box-shadow: 0 0 0 1px rgba(27, 35, 41, .1), 0 12px 24px -10px rgba(27, 35, 41, .3), 0 40px 80px -30px rgba(27, 35, 41, .6); }
.mlp-xl-bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; background: #1F7244; color: #FFFFFF; font-size: 17px; font-weight: 650; }
.mlp-xl-bar .icon { flex: none; width: 24px; height: 24px; }
.mlp-xl-bar span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mlp-xl-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 17px; }
.mlp-xl-grid > span { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 42px; padding: 0 8px 0 10px; white-space: nowrap;
    border-right: 1px solid #E6E9E6; border-bottom: 1px solid #E6E9E6; }
.mlp-xl-grid > .h { background: #F2F5F2; font-weight: 750; border-bottom: 2px solid #9DB8A4; }
.mlp-xl-grid > .h .icon { flex: none; width: 15px; height: 15px; color: var(--ink-3); }
.mlp-xl-grid > .n { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.mlp-xl-tabs { display: flex; gap: 2px; padding: 0 10px; background: #F2F5F2; font-size: 17px; font-weight: 650; }
.mlp-xl-tabs span { padding: 8px 16px; color: var(--ink-3); }
.mlp-xl-tabs .is-on { background: #FFFFFF; color: #1F7244; box-shadow: inset 0 -3px 0 #1F7244; }
.mlp-rp-cur { --an: mlp-cur-rp; --ae: cubic-bezier(.45, .05, .2, 1); }
@keyframes mlp-cur-rp {
    0% { opacity: 0; transform: translate(300px, 520px); } 3.2% { opacity: 1; }
    9.6% { transform: translate(104px, 287px); } 11.7% { transform: translate(104px, 287px) scale(.82); } 13.8% { transform: translate(104px, 287px); }
    23.4% { transform: translate(172px, 147px); } 24.5% { transform: translate(172px, 147px) scale(.82); } 26.6% { transform: translate(172px, 147px); }
    31.9% { transform: translate(128px, 300px); } 33% { transform: translate(128px, 300px) scale(.82); } 35.1% { transform: translate(128px, 300px); }
    45.7% { transform: translate(482px, 147px); } 46.8% { transform: translate(482px, 147px) scale(.82); } 48.9% { transform: translate(482px, 147px); }
    70.2% { transform: translate(482px, 147px); }
    74.5% { transform: translate(736px, 64px); } 76.6% { transform: translate(736px, 64px) scale(.82); } 78.7% { transform: translate(736px, 64px); }
    90.4% { transform: translate(742px, 156px); } 92.6% { transform: translate(742px, 156px) scale(.82); } 94.7% { transform: translate(742px, 156px); }
    100% { opacity: 1; transform: translate(640px, 250px); }
}

/* --- Papan wallboard (editor & TV) ----------------------------------------------------------------------------------- */

.mlp-board { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr));
    gap: 8px; padding: 12px; overflow: hidden; color: #FFFFFF;
    background: radial-gradient(620px 380px at 8% 0%, rgba(254, 127, 45, .16), transparent 62%), radial-gradient(720px 440px at 100% 100%, rgba(97, 155, 138, .2), transparent 60%),
        linear-gradient(160deg, #1A2F3B 0%, #0F1B22 100%); }
.mlp-cells { position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(90deg, transparent 0 66.333px, rgba(255, 255, 255, .07) 66.333px 74.333px),
        linear-gradient(180deg, transparent 0 53.875px, rgba(255, 255, 255, .07) 53.875px 61.875px);
    background-size: 74.333px 100%, 100% 61.875px; background-position: 12px 0, 0 12px; }
.mlp-w { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.mlp-board:not(.is-tv) .mlp-w { background: #1D303B; }
.w-brand { grid-column: 1 / span 4; grid-row: 1 / span 2; display: flex; align-items: center; gap: 14px; }
.w-clock { grid-column: 5 / span 4; grid-row: 1 / span 2; display: grid; align-content: center; justify-items: start; }
.w-sum { grid-column: 9 / span 4; grid-row: 1 / span 4; }
.w-feed { grid-column: 1 / span 6; grid-row: 3 / span 5; }
.w-qr { grid-column: 7 / span 2; grid-row: 3 / span 5; display: flex; flex-direction: column; }
.w-leave { grid-column: 9 / span 4; grid-row: 5 / span 3; }
.w-tick { grid-column: 1 / span 12; grid-row: 8; display: flex; align-items: center; gap: 12px; padding: 0 10px; }
.mlp-w-h { display: flex; align-items: center; gap: 8px; height: 26px; margin-bottom: 8px; color: rgba(255, 255, 255, .8); font-size: 17px; font-weight: 650; white-space: nowrap; }
.mlp-w-h .icon { flex: none; width: 18px; height: 18px; color: var(--orange); }
.mlp-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #FF8A80; font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.mlp-live i { width: 8px; height: 8px; border-radius: 50%; background: #FF6B5E; box-shadow: 0 0 0 4px rgba(255, 107, 94, .2); }
.mlp-w-logo { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(180deg, #FF9150 0%, #FE7F2D 100%);
    color: #FFFFFF; font-size: 24px; font-weight: 800; }
.w-brand b { display: block; font-size: 21px; font-weight: 750; line-height: 1.15; letter-spacing: -.015em; }
.w-brand small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .7); font-size: 17px; }
.w-clock b { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.w-clock small { margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: 17px; font-weight: 600; }
.mlp-sum { display: grid; gap: 6px; }
.mlp-sum p { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px 0 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.mlp-sum p::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); }
.mlp-sum b { min-width: 42px; color: var(--c); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mlp-sum p > span { color: rgba(255, 255, 255, .78); font-size: 17px; font-weight: 600; white-space: nowrap; }
.mlp-sum .is-in { --c: #7BD67E; }
.mlp-sum .is-late { --c: #FCCA46; }
.mlp-sum .is-wait { --c: #8CBBF2; }
.mlp-sum .is-off { --c: #FF9A5A; }
.mlp-feed { position: relative; height: 242px; overflow: hidden; }
.mlp-feed-list { display: grid; gap: 6px; }
.mlp-feed-shift { --an: mlp-feed-shift; --ae: cubic-bezier(.3, .1, .2, 1); }
@keyframes mlp-feed-shift { from { transform: translateY(-62px); } to { transform: none; } }
.mlp-feed-row { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px; overflow: hidden; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.mlp-feed-row .gk-av, .mlp-leave .gk-av { width: 36px; height: 36px; font-size: 14px; }
.mlp-feed-who { display: grid; flex: 1; min-width: 0; }
.mlp-feed-who b { overflow: hidden; font-size: 17px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.mlp-feed-who small { overflow: hidden; color: rgba(255, 255, 255, .65); font-size: 17px; white-space: nowrap; text-overflow: ellipsis; }
.mlp-feed-row .mono { flex: none; font-size: 19px; font-weight: 750; }
.mlp-pill { flex: none; padding: 3px 10px; border-radius: 999px; background: rgba(123, 214, 126, .18); color: #92E295; font-size: 17px; font-weight: 700; white-space: nowrap; }
.mlp-feed-row.is-new { background: rgba(254, 127, 45, .18); box-shadow: inset 0 0 0 1.5px rgba(254, 127, 45, .6); }
.mlp-shine { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    --an: mlp-shine; --ae: ease-in-out; }
@keyframes mlp-shine { from { transform: none; } to { transform: translateX(380%); } }
.mlp-qr { position: relative; display: grid; flex: 1; place-items: center; }
.mlp-qr > span { position: relative; display: grid; grid-area: 1 / 1; justify-items: center; gap: 10px; }
.mlp-qr-svg { width: 104px; height: 104px; border-radius: 8px; }
.mlp-qr-bar { display: block; width: 104px; height: 5px; border-radius: 3px; background: var(--orange); transform-origin: 0 50%; }
.mlp-drain { --an: mlp-drain; --ae: linear; }
@keyframes mlp-drain { from { transform: none; } to { transform: scaleX(0); } }
.mlp-leave { display: flex; align-items: center; gap: 10px; height: 54px; }
.mlp-leave b { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; }
.mlp-leave small { display: block; color: rgba(255, 255, 255, .66); font-size: 17px; white-space: nowrap; }
.mlp-tick-pill { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--orange); color: #FFFFFF;
    font-size: 17px; font-weight: 750; }
.mlp-tick-pill .icon { width: 18px; height: 18px; }
.mlp-tick-lane { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.mlp-tick-text { display: inline-block; font-size: 22px; font-weight: 700; white-space: pre; }
.mlp-tick-move { --an: mlp-tick; --ae: linear; }
@keyframes mlp-tick { from { transform: none; } to { transform: translateX(-900px); } }
.mlp-refresh { position: absolute; z-index: 3; left: 0; top: 0; width: 100%; height: 4px; background: var(--orange); transform-origin: 0 50%; }

/* --- 4/5 Editor wallboard -------------------------------------------------------------------------------------------- */

.mlp-ed { left: 880px; top: 64px; width: 960px; height: 900px; }
.mlp-ed-win { left: 0; top: 0; width: 960px; height: 730px; }
.mlp-ed-acts { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.mlp-ed-state { margin-right: 4px; justify-items: end; }
.mlp-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 17px; font-weight: 650; white-space: nowrap; }
.mlp-state i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.mlp-state.is-saved { color: var(--ok); }
.mlp-state .icon { width: 18px; height: 18px; }
.mlp-ed-canvas { position: relative; width: 908px; height: 511px; overflow: hidden; border-radius: 16px; background: #0F1B22; }
.mlp-ed-drop { position: absolute; z-index: 5; left: 606.667px; top: 259.5px; width: 289.333px; height: 115.75px; border-radius: 14px; background: rgba(254, 127, 45, .14);
    box-shadow: inset 0 0 0 2px rgba(254, 127, 45, .85); }
.mlp-ed-new { position: absolute; z-index: 6; left: 606.667px; top: 259.5px; width: 289.333px; height: 177.625px; color: #FFFFFF; }
.mlp-ed-new-box { position: relative; height: 177.625px; --an: mlp-ed-grow; --ae: cubic-bezier(.3, .1, .2, 1); }
@keyframes mlp-ed-grow { from { height: 115.75px; } to { height: 177.625px; } }
.mlp-w.is-ed { position: absolute; inset: 0; background: #22394A; }
.mlp-sel { position: absolute; inset: -3px; border-radius: 16px; box-shadow: 0 0 0 2.5px var(--orange); }
.mlp-sel > i { position: absolute; width: 14px; height: 14px; border-radius: 4px; background: #FFFFFF; box-shadow: 0 0 0 2.5px var(--orange); }
.mlp-sel .h-tl { left: -7px; top: -7px; } .mlp-sel .h-tc { left: 50%; top: -7px; margin-left: -7px; } .mlp-sel .h-tr { right: -7px; top: -7px; }
.mlp-sel .h-ml { left: -7px; top: 50%; margin-top: -7px; } .mlp-sel .h-mr { right: -7px; top: 50%; margin-top: -7px; }
.mlp-sel .h-bl { left: -7px; bottom: -7px; } .mlp-sel .h-bc { left: 50%; bottom: -7px; margin-left: -7px; } .mlp-sel .h-br { right: -7px; bottom: -7px; }
.mlp-size { position: absolute; right: 10px; bottom: 10px; justify-items: end; }
.mlp-size > span { padding: 3px 10px; border-radius: 8px; background: var(--orange); color: #FFFFFF; font: 750 17px/1.2 var(--font-mono); }
.mlp-ed-dock { margin-top: 18px; }
.mlp-ed-dock-h { display: flex; align-items: baseline; gap: 12px; height: 28px; margin-bottom: 10px; }
.mlp-ed-dock-h b { font-size: 20px; font-weight: 750; }
.mlp-ed-dock-h span { color: var(--ink-3); font-size: 17px; font-weight: 600; }
.mlp-ed-pal { display: flex; gap: 10px; }
.mlp-pal { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; background: #FFFFFF; color: var(--ink); font-size: 18px; font-weight: 650;
    white-space: nowrap; box-shadow: 0 0 0 1px rgba(27, 35, 41, .1); }
.mlp-pal:first-child { min-width: 240px; }
.mlp-pal .icon { width: 20px; height: 20px; color: var(--orange); }
.mlp-ed-ghost { position: absolute; z-index: 8; left: 21px; top: 655px; display: inline-flex; align-items: center; gap: 8px; width: 250px; height: 52px; padding: 0 16px;
    border-radius: 12px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 18px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 0 0 2px var(--orange), 0 24px 40px -14px rgba(27, 35, 41, .55); --an: mlp-ghost; --ae: cubic-bezier(.45, .05, .2, 1); }
.mlp-ed-ghost .icon { width: 20px; height: 20px; color: var(--orange); }
@keyframes mlp-ghost { 0% { opacity: 0; transform: none; } 10% { opacity: 1; transform: rotate(-2deg); } 100% { opacity: 1; transform: translate(631px, -272px) rotate(-2deg); } }
.mlp-ed-pub { position: absolute; z-index: 7; left: 470px; top: 556px; width: 470px; padding-bottom: 20px;
    box-shadow: 0 0 0 1px rgba(27, 35, 41, .1), 0 12px 24px -10px rgba(27, 35, 41, .3), 0 50px 90px -30px rgba(27, 35, 41, .6); }
.mlp-ed-pub .gk-card-title .icon { width: 24px; height: 24px; color: var(--teal); }
.mlp-ed-sw { display: flex; align-items: flex-start; gap: 16px; padding: 6px 22px 0; }
.mlp-ed-sw b { display: block; font-size: 20px; font-weight: 700; }
.mlp-ed-sw small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 17px; line-height: 1.3; }
.mlp-ed-url { margin: 12px 22px 0; padding: 0 14px; height: 48px; overflow: hidden; border-radius: 12px; background: #F4F3EE; box-shadow: inset 0 0 0 1.5px #E2E0D8;
    font: 600 18px/48px var(--font-mono); white-space: nowrap; text-overflow: ellipsis; }
.mlp-ed-btns { display: flex; align-items: center; gap: 10px; margin: 12px 22px 0; }
.mlp-ok { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--ok); font-size: 17px; font-weight: 700; white-space: nowrap; }
.mlp-ok .icon { width: 18px; height: 18px; }
.mlp-ed-cur { --an: mlp-cur-ed; --ae: cubic-bezier(.45, .05, .2, 1); }
@keyframes mlp-cur-ed {
    0% { opacity: 0; transform: translate(360px, 820px); } 1.5% { opacity: 1; }
    8.5% { transform: translate(146px, 681px); } 10.8% { transform: translate(146px, 681px) scale(.82); } 12.3% { transform: translate(146px, 681px) scale(.9); }
    29.2% { transform: translate(777px, 409px) scale(.9); } 30.8% { transform: translate(777px, 409px); }
    37.7% { transform: translate(777px, 467px); } 39.2% { transform: translate(777px, 467px) scale(.82); } 41.5% { transform: translate(777px, 467px) scale(.9); }
    52.3% { transform: translate(777px, 529px) scale(.9); } 53.8% { transform: translate(777px, 529px); }
    63.8% { transform: translate(520px, 638px); } 65.4% { transform: translate(520px, 638px) scale(.82); } 66.9% { transform: translate(520px, 638px); }
    80.8% { transform: translate(542px, 786px); } 82.3% { transform: translate(542px, 786px) scale(.82); } 83.8% { transform: translate(542px, 786px); }
    94.6% { transform: translate(871px, 34px); } 96.2% { transform: translate(871px, 34px) scale(.82); } 97.7% { transform: translate(871px, 34px); }
    100% { opacity: 1; transform: translate(871px, 34px); }
}

/* --- 5/5 Wallboard di TV --------------------------------------------------------------------------------------------- */

.mlp-tv { left: 880px; top: 120px; width: 960px; height: 820px; }
.mlp-tv-set { position: absolute; left: 0; top: 0; width: 960px; }
.mlp-tv-screen { position: relative; height: 552px; overflow: hidden; border: 14px solid #0B141A; border-radius: 20px; background: #0F1B22;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 12px 24px -10px rgba(15, 27, 34, .4), 0 60px 110px -40px rgba(15, 27, 34, .75); }
.mlp-tv-stand { display: block; width: 200px; height: 40px; margin: 0 auto; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #1A2A33 0%, #2C3C45 100%); }
.mlp-ring-tick { left: 6px; top: 450px; width: 920px; height: 68px; border-radius: 18px; }
.mlp-tv-url { position: absolute; right: 0; top: 618px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 18px; border-radius: 999px;
    background: #FFFFFF; color: var(--ink-2); font: 600 18px/1 var(--font-mono); box-shadow: 0 0 0 1px rgba(27, 35, 41, .08), 0 14px 30px -18px rgba(27, 35, 41, .45); }
.mlp-tv-url > .icon { width: 20px; height: 20px; color: var(--teal); }
.mlp-tv-full { display: inline-flex; align-items: center; gap: 8px; height: 38px; margin-left: 6px; padding: 0 14px; border-radius: 999px; background: var(--navy); color: #FFFFFF;
    font: 650 17px/1 var(--font-sans); }
.mlp-tv-full .icon { width: 17px; height: 17px; }
.mlp-tv-punch { position: absolute; left: 0; top: 612px; width: 360px; }
.mlp-tv-punch .gk-wa-head .icon { color: var(--orange); }
