/* Big screens (16 Nov 2026): on a monitor wider than a laptop, the whole page is enlarged so it looks the way it
   does on a laptop, instead of a small page in the middle of a lot of empty space.
   --gz is the enlargement. Every size taken from the screen (vh, vw) in the page CSS files is written as calc(100vh / var(--gz,1)),
   so a full-screen section is still exactly one screen tall. Keep writing new vh and vw sizes that way.
   The script big-screens.js goes with this file.
   Loaded last by ~/Views/Shared/Parts/_GeaHead.cshtml and by the admin console. To switch it off, remove that line. */
:root{--gz:1}
@media (min-width:1800px){:root{--gz:1.2}}
@media (min-width:2048px){:root{--gz:1.35}}
@media (min-width:2304px){:root{--gz:1.5}}
@media (min-width:2560px){:root{--gz:1.6667}}
@media (min-width:3072px){:root{--gz:2}}
@media (min-width:3840px){:root{--gz:2.5}}
@media (min-width:1800px){html{zoom:var(--gz)}}

/* The Global Education chat widget (.gc-root, added by the script in ~/Views/Shared/_Layout.cshtml).
   Its size follows the screen by the rule of three (19 Nov 2026). The reference is a 1920 x 1080 monitor, where the
   chat window is 380 wide: on a narrower or shorter screen it is reduced in the same proportion, in steps,
   and never below 75% so the text stays readable. Width and height are both looked at; the smaller one wins.
       screen width    1800 and more  1680-1799  1536-1679  481-1535
       size            100%           87.5%      80%        75%
       screen height   900 and more   800-899    under 800
       size            100%           85%        75%
   Phones (480 and less) are left alone: there the widget opens full screen by its own rule.
   From 1800 wide the page itself is enlarged (--gz above), so the widget gets 1 / --gz to stay at 100%:
   change the two lists together. */
@media (min-width:481px) and (max-width:1799px){.gc-root{zoom:.875}}
@media (min-width:481px) and (max-width:1679px){.gc-root{zoom:.8}}
@media (min-width:481px) and (max-width:1535px){.gc-root{zoom:.75}}
@media (min-width:1680px) and (max-width:1799px) and (max-height:899px){.gc-root{zoom:.85}}
@media (min-width:1536px) and (max-width:1799px) and (max-height:799px){.gc-root{zoom:.75}}
@media (min-width:1800px){.gc-root{zoom:.8333}}
@media (min-width:2048px){.gc-root{zoom:.7407}}
@media (min-width:2304px){.gc-root{zoom:.6667}}
@media (min-width:2560px){.gc-root{zoom:.6}}
@media (min-width:3072px){.gc-root{zoom:.5}}
@media (min-width:3840px){.gc-root{zoom:.4}}
/* 1800-2047 wide but not tall (85% and 75% of the size, divided by --gz 1.2) */
@media (min-width:1800px) and (max-width:2047px) and (max-height:899px){.gc-root{zoom:.7083}}
@media (min-width:1800px) and (max-width:2047px) and (max-height:799px){.gc-root{zoom:.625}}
/* The pages' section class ".sec" adds a tall padding; the widget's microphone button has the same class name. */
.gc-root .gc-btn.sec{padding:1px 6px}
/* Touch screens and wall displays that run the phone/tablet browser (19 Nov 2026): there "100vh" is the screen WITHOUT the
   browser's address bar, so the widget's panel (max-height: 100vh - 120px) was taller than the part you can see and its
   top (the red title bar with the close button) was cut off. "dvh" is the height you really see.
   Not on phones (480px and less), where the widget opens full screen by its own rule. */
@supports (height:100dvh){@media (min-width:481px){.gc-root .gc-panel{max-height:calc(100dvh - 120px)}}}
