/* يبقى المحتوى كله داخل إطار العرض دون تمرير داخلي. */
.slide[data-screen-fit]{height:var(--sh)!important;min-height:0!important;overflow:hidden!important}
.slide[data-screen-fit] .sin{max-height:none!important;overflow:visible!important;flex-shrink:0}
.slide[data-screen-fit].screen-compact{padding:18px 26px}
.slide[data-screen-fit].screen-compact .k{margin-bottom:8px}
.slide[data-screen-fit].screen-compact .ask{margin-bottom:10px}
.slide[data-screen-fit].screen-compact .txt>.li{line-height:1.55;margin:6px 0}
.slide[data-screen-fit].screen-compact .shd{margin-top:10px;padding:9px 12px}
.slide[data-screen-fit].screen-compact .shd .li{line-height:1.5}
.slide[data-screen-fit].screen-compact .v5-item{padding:calc(12px * var(--fs))}
.slide[data-screen-fit].screen-compact .v5-eyebrow{margin-bottom:12px}
.slide[data-screen-fit].screen-compact .v5-photo img{height:calc(255px * var(--fs))}
.slide[data-screen-fit].screen-compact .sin:not(:has(.split))>.li:not(.ask){padding:5px 12px;margin:6px 0;line-height:1.6}
.slide[data-screen-fit].door-wrap .door{min-height:0!important}

/* وضع القاعة: حين تُفتح الشاشة كاملةً أثناء عرض شريحة، يُفرَّغ الشريط العلوي
   والهوامش لمصلحة الشريحة وحدها — فيكبر المقياس ويكبر الخط معه. لا يمسّ
   المحتوى ولا ترتيب الشرائح، ويعود كل شيء كما كان عند الخروج من ملء الشاشة. */
body.fs-present header{display:none}
body.fs-present #app.wrap:has(.slide[data-ax]){padding:4px 6px;max-width:none}
body.fs-present .slide[data-screen-fit]{padding:calc(22px*var(--fs))}
