/* Session screens (INVENTORY S18, S19) — measured on win2k-pro_screen_logon.png and …_shutting-down.png. Built by
   js/session.js; dialog client coordinates. */
.w2k-session { position: absolute; inset: 0; z-index: 4000000; background: var(--sys-background); overflow: hidden; }   /* above the taskbar, menus, balloons and tooltips */
.w2k-session > .w2k-window { position: absolute; }
.w2k-logon, .w2k-wait { position: relative; flex: 1; font: var(--font-ui); color: var(--sys-btn-text); }
.w2k-wait { font: var(--font-dialog); }   /* MS Sans Serif here, Tahoma on the logon dialog (measured) */
.w2k-logon > *, .w2k-wait > * { position: absolute; }
.w2k-logon > label:not(.w2k-check) { white-space: pre; }
.w2k-logon__banner, .w2k-wait__banner { left: 0; top: 0; }
.w2k-logon__band { left: 0; top: 88px; }
.w2k-wait__band { left: 0; top: 72px; }
.w2k-logon__user-label { left: 9px; top: 111px; }
.w2k-logon__user { left: 84px; top: 108px; width: 243px; height: 20px; }
.w2k-logon__pw-label { left: 9px; top: 139px; }
.w2k-logon__pw { left: 84px; top: 135px; width: 243px; height: 20px; }
.w2k-logon__dialup { left: 84px; top: 166px; }
.w2k-logon > .w2k-button { top: 197px; }
.w2k-logon__ok { left: 83px; }
.w2k-logon__cancel { left: 164px; }
.w2k-logon__shutdown { left: 245px; }
.w2k-logon__options { left: 326px; }
.w2k-wait__text { left: 11px; top: 90px; margin: 0; white-space: pre; }

/* It is now safe to turn off your computer (640×480, 16 colours): a 333×147 box — light/hilight/face on the left, two
   face rows on top, shadow and black on the right and bottom — with a caption bar, the banner and band, the text. */
.w2k-session--safe { background: var(--color-safe-desktop); }
.w2k-safe { position: absolute; width: 333px; height: 147px; font: var(--font-dialog); color: var(--color-safe-dark);
  background:
    linear-gradient(var(--color-safe-dark), var(--color-safe-dark)) right 0 top 1px / 1px calc(100% - 1px) no-repeat,   /* the light top row owns the corner */
    linear-gradient(var(--color-safe-dark), var(--color-safe-dark)) left 0 bottom 0 / 100% 1px no-repeat,
    linear-gradient(var(--color-safe-shadow), var(--color-safe-shadow)) right 1px top 2px / 1px calc(100% - 3px) no-repeat,
    linear-gradient(var(--color-safe-shadow), var(--color-safe-shadow)) left 1px bottom 1px / calc(100% - 2px) 1px no-repeat,
    linear-gradient(var(--color-safe-hilight), var(--color-safe-hilight)) left 1px top 1px / 1px calc(100% - 2px) no-repeat,
    var(--color-safe-face); }
.w2k-safe > * { position: absolute; margin: 0; }
.w2k-safe__caption { left: 3px; top: 2px; width: 327px; height: 17px; background: var(--color-safe-caption); }
.w2k-safe__banner { left: 3px; top: 20px; }
.w2k-safe__band { left: 3px; top: 92px; }
.w2k-safe__text { left: 2px; top: 113px; width: 327px; text-align: center; white-space: pre; }

/* Boot screen (640×480, 16 colours), centred; the grey part fills the rest of the screen below the picture. */
.w2k-session--boot { background: var(--color-safe-dark); }   /* the 640×480 boot mode, black around it on a larger screen */
.w2k-boot { position: absolute; left: 50%; top: 50%; width: 640px; height: 480px; margin: -240px 0 0 -320px; background: var(--color-safe-face); font: var(--font-ui); color: var(--color-safe-dark); }
.w2k-boot > * { position: absolute; }
.w2k-boot__splash { left: 0; top: 0; }
.w2k-boot__status { left: 200px; top: 434px; }
.w2k-boot__bar { left: 273px; top: 436px; width: 165px; height: 10px; box-sizing: border-box; padding: 1px; box-shadow: inset 1px 1px var(--color-boot-frame), inset -1px -1px var(--color-safe-hilight); }   /* the grey owns both corners */
.w2k-boot__fill { height: 8px; background: repeating-linear-gradient(to right, var(--color-boot-block) 0 8px, transparent 8px 9px); }
.w2k-boot__copyright { left: 194px; top: 455px; }

/* Windows Security (knowledge): the logon screen's colour behind, Tahoma; positions in client coordinates. */
.w2k-security { position: relative; flex: 1; font: var(--font-ui); color: var(--sys-btn-text); }
.w2k-security > * { position: absolute; margin: 0; }
.w2k-security__band { left: 0; top: 72px; }
.w2k-security__info { left: 7px; top: 82px; width: 397px; height: 64px; box-sizing: border-box; }
.w2k-security__text { left: 17px; white-space: pre; }
.w2k-security__who { top: 101px; }
.w2k-security__date { top: 120px; }
.w2k-security__hint { left: 7px; top: 158px; }
.w2k-security__btn { width: 120px; }
.w2k-security__lock, .w2k-security__password { left: 21px; }
.w2k-security__logoff, .w2k-security__taskmgr { left: 147px; }
.w2k-security__shutdown, .w2k-security__cancel { left: 273px; }
.w2k-security__lock, .w2k-security__logoff, .w2k-security__shutdown { top: 186px; }
.w2k-security__password, .w2k-security__taskmgr, .w2k-security__cancel { top: 215px; }
.w2k-locked__icon { left: 20px; top: 92px; }
.w2k-locked__text { left: 66px; top: 92px; width: 330px; white-space: pre-wrap; }
