/* ==========================================================================
   Practice computer: a simulated Windows 11 desktop for the Digital
   Functional Skills practice pages. Everything is scoped under .w11root so
   nothing here can change the look of the page that hosts it.
   ========================================================================== */

.w11root { position: fixed; inset: 0; z-index: 9000; display: flex; background: #1b2b44; }
.w11root, .w11root * { box-sizing: border-box; }
body.w11-open { overflow: hidden; }

/* ---- The desktop -------------------------------------------------------- */
.w11 {
  position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 13px; line-height: 1.35; color: #1b1b1b; text-align: left;
  -webkit-user-select: none; user-select: none; cursor: default;
  color-scheme: light;        /* the practice computer is always in light mode, like the real one in the test room */
}
.tp-full, .tp-side { color-scheme: light; }
.w11 button { font: inherit; color: inherit; cursor: default; }
.w11 input, .w11 textarea, .w11 select { font: inherit; color: inherit; }
.w11 p { margin: 0; }
.w11 svg { display: block; flex: 0 0 auto; }
.w11 [hidden] { display: none !important; }
.w11 .sel-ok, .w11 input, .w11 textarea, .w11 [contenteditable="true"] { -webkit-user-select: text; user-select: text; cursor: text; }
.w11 :focus-visible { outline: 2px solid #0067c0; outline-offset: 1px; }

.w11-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 62% 62%, rgba(120, 190, 255, .95) 0%, rgba(120, 190, 255, 0) 60%),
    radial-gradient(45% 60% at 40% 78%, rgba(40, 110, 230, .9) 0%, rgba(40, 110, 230, 0) 62%),
    radial-gradient(40% 55% at 78% 82%, rgba(170, 215, 255, .9) 0%, rgba(170, 215, 255, 0) 60%),
    linear-gradient(160deg, #cfe3f7 0%, #a9cdf2 38%, #5d9de6 70%, #2f6fd0 100%);
}
.w11-dicons { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; }
.dicon {
  width: 84px; padding: 6px 2px 5px; border: 1px solid transparent; border-radius: 4px; background: none;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: #fff !important; font-size: 12px; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}
.dicon:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .25); }
.dicon span { display: block; line-height: 1.2; overflow-wrap: anywhere; }

.w11-wins { position: absolute; inset: 0 0 48px 0; pointer-events: none; }
.w11-wins > * { pointer-events: auto; }
.w11-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5000; }
.w11-layer > * { pointer-events: auto; }
.w11-measure { position: absolute; left: -20000px; top: 0; visibility: hidden; pointer-events: none; }

/* ---- Taskbar ------------------------------------------------------------ */
.w11-taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px; z-index: 4000;
  background: rgba(238, 242, 248, .92); border-top: 1px solid rgba(255, 255, 255, .6);
  display: flex; align-items: center; justify-content: center;
}
.tb-mid { display: flex; align-items: center; gap: 3px; }
.tb-btn {
  position: relative; width: 42px; height: 40px; border: 1px solid transparent; border-radius: 5px;
  background: none; display: grid; place-items: center; padding: 0;
}
.tb-btn:hover { background: rgba(255, 255, 255, .7); border-color: rgba(0, 0, 0, .05); }
.tb-btn.on { background: rgba(255, 255, 255, .85); border-color: rgba(0, 0, 0, .06); }
.tb-btn i { position: absolute; left: 50%; bottom: 1px; width: 6px; height: 3px; margin-left: -3px; border-radius: 2px; background: #8a8a8a; display: none; }
.tb-btn.run i { display: block; }
.tb-btn.on i { width: 16px; margin-left: -8px; background: #0067c0; }
.tb-search {
  height: 34px; width: 170px; border-radius: 17px; border: 1px solid rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .75);
  display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #5b5b5b; margin: 0 4px;
}
.tb-tray { position: absolute; right: 6px; top: 0; height: 100%; display: flex; align-items: center; gap: 2px; }
.tb-sys { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 8px; border-radius: 5px; }
.tb-clock { height: 40px; padding: 0 8px; border-radius: 5px; font-size: 12px; line-height: 1.3; text-align: right; display: flex; flex-direction: column; justify-content: center; }
.tb-sys:hover, .tb-clock:hover { background: rgba(255, 255, 255, .7); }

.startmenu {
  position: absolute; left: 50%; bottom: 58px; width: 520px; max-width: calc(100% - 20px); transform: translateX(-50%);
  background: rgba(243, 246, 251, .98); border: 1px solid rgba(0, 0, 0, .12); border-radius: 9px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28); padding: 22px 26px 0; z-index: 4500;
}
.sm-search { height: 34px; border-radius: 17px; border: 1px solid #d0d0d0; border-bottom: 2px solid #0067c0; background: #fff; display: flex; align-items: center; gap: 9px; padding: 0 14px; color: #666; }
.sm-h { font-weight: 600; margin: 20px 4px 10px; }
.sm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.sm-app { border: 0; background: none; border-radius: 5px; padding: 10px 2px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.sm-app:hover { background: rgba(0, 0, 0, .06); }
.sm-foot { margin: 22px -26px 0; padding: 12px 34px; background: rgba(0, 0, 0, .04); border-top: 1px solid rgba(0, 0, 0, .07); border-radius: 0 0 9px 9px; display: flex; align-items: center; gap: 10px; }
.sm-av { width: 30px; height: 30px; border-radius: 50%; background: #0067c0; color: #fff; display: grid; place-items: center; font-weight: 600; }

/* ---- Windows ------------------------------------------------------------ */
.win {
  position: absolute; display: flex; flex-direction: column; min-width: 300px; min-height: 180px;
  background: #f3f3f3; border: 1px solid rgba(0, 0, 0, .28); border-radius: 8px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}
.win.active { box-shadow: 0 14px 44px rgba(0, 0, 0, .36); border-color: rgba(0, 0, 0, .42); }
.win.max { border-radius: 0; border-width: 0; }
.win.min { display: none; }
.win-bar { flex: 0 0 32px; display: flex; align-items: center; background: var(--bar, #f3f3f3); color: var(--barink, #1b1b1b); }
.win:not(.active) .win-bar { color: #7a7a7a; }
.win-title { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding-left: 10px; height: 100%; font-size: 12px; white-space: nowrap; overflow: hidden; }
.win-title span { overflow: hidden; text-overflow: ellipsis; }
.win-ctl { display: flex; height: 100%; }
.win-ctl button { width: 46px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.win-ctl button:hover { background: rgba(0, 0, 0, .08); }
.win-ctl button.x:hover { background: #c42b1c; color: #fff; }
.win-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; background: #fff; position: relative; }
.win-rz { position: absolute; z-index: 5; }
.win.max .win-rz { display: none; }
.win-rz[data-d="n"] { left: 8px; right: 8px; top: -2px; height: 6px; cursor: ns-resize; }
.win-rz[data-d="s"] { left: 8px; right: 8px; bottom: -2px; height: 6px; cursor: ns-resize; }
.win-rz[data-d="w"] { top: 8px; bottom: 8px; left: -2px; width: 6px; cursor: ew-resize; }
.win-rz[data-d="e"] { top: 8px; bottom: 8px; right: -2px; width: 6px; cursor: ew-resize; }
.win-rz[data-d="nw"] { left: -2px; top: -2px; width: 10px; height: 10px; cursor: nwse-resize; }
.win-rz[data-d="se"] { right: -2px; bottom: -2px; width: 12px; height: 12px; cursor: nwse-resize; }
.win-rz[data-d="ne"] { right: -2px; top: -2px; width: 10px; height: 10px; cursor: nesw-resize; }
.win-rz[data-d="sw"] { left: -2px; bottom: -2px; width: 10px; height: 10px; cursor: nesw-resize; }

/* ---- Buttons, inputs, menus, dialogs ------------------------------------ */
.wbtn { min-width: 76px; height: 30px; padding: 0 14px; border-radius: 4px; border: 1px solid #c6c6c6; border-bottom-color: #a9a9a9; background: #fbfbfb; }
.wbtn:hover { background: #f1f1f1; }
.wbtn.pri { background: #0067c0; border-color: #0067c0; color: #fff !important; }
.wbtn.pri:hover { background: #1975c5; }
.wbtn:disabled { opacity: .45; }
.winput { height: 30px; padding: 0 9px; border: 1px solid #c6c6c6; border-bottom: 1px solid #868686; border-radius: 4px; background: #fff; min-width: 0; }
.winput:focus { outline: none; border-bottom: 2px solid #0067c0; }

.ctxmenu {
  position: absolute; min-width: 190px; max-width: 320px; max-height: 70%; overflow: auto; padding: 4px; z-index: 6000;
  background: #f9f9f9; border: 1px solid rgba(0, 0, 0, .16); border-radius: 7px; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.ctxmenu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 4px 12px; border: 0; background: none; border-radius: 4px; text-align: left; }
.ctxmenu button:hover:not(:disabled) { background: rgba(0, 0, 0, .07); }
.ctxmenu button:disabled { opacity: .4; }
.ctxmenu button.on { font-weight: 600; }
.ctxmenu hr { border: 0; border-top: 1px solid #e2e2e2; margin: 4px 0; }
.ctxmenu .mh { padding: 5px 12px 3px; font-size: 11.5px; color: #666; }
.ctxmenu label { display: flex; align-items: center; gap: 8px; padding: 4px 12px; }
.ctxmenu .mrow { display: flex; gap: 6px; padding: 6px 10px; justify-content: flex-end; }

.dlg-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .22); display: grid; place-items: center; z-index: 5500; }
.dlg { background: #f3f3f3; border: 1px solid rgba(0, 0, 0, .3); border-radius: 8px; box-shadow: 0 18px 54px rgba(0, 0, 0, .4); overflow: hidden; display: flex; flex-direction: column; max-width: calc(100% - 24px); max-height: calc(100% - 24px); }
.dlg-h { padding: 9px 12px; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.dlg-b { padding: 6px 22px 18px; background: #fff; font-size: 14px; max-width: 460px; }
.dlg-b h4 { margin: 12px 0 8px; font-size: 18px; font-weight: 600; }
.dlg-b p { margin: 0 0 8px; }
.dlg-f { padding: 14px 22px; display: flex; justify-content: flex-end; gap: 8px; background: #f3f3f3; border-top: 1px solid #e3e3e3; }
.dlg-fields { display: grid; grid-template-columns: auto 1fr; gap: 9px 12px; align-items: center; margin-top: 10px; }

.w11-toast {
  position: absolute; right: 12px; bottom: 60px; width: 320px; padding: 13px 15px; z-index: 5200;
  background: #f4f6fa; border: 1px solid rgba(0, 0, 0, .18); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  display: flex; gap: 11px; align-items: flex-start;
}
.w11-toast b { display: block; margin-bottom: 2px; }

/* ---- Ribbon (Word, PowerPoint, Excel) ----------------------------------- */
.rb-tabs { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 2px; padding: 0 8px; background: #f3f3f3; height: 32px; }
.rb-tab { height: 28px; padding: 0 11px; border: 0; background: none; border-radius: 4px 4px 0 0; position: relative; }
.rb-tab:hover { background: rgba(0, 0, 0, .05); }
.rb-tab.on { font-weight: 600; }
.rb-tab.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 3px; border-radius: 2px; background: var(--app, #185abd); }
.rb-tab.file { background: var(--app, #185abd); color: #fff !important; border-radius: 4px; margin-bottom: 3px; height: 25px; }
.rb-tab.ctx { color: var(--app, #185abd) !important; font-weight: 600; }
.rb {
  flex: 0 0 auto; display: flex; align-items: stretch; gap: 0; margin: 0 8px 6px; padding: 5px 4px; min-height: 76px;
  background: #fff; border: 1px solid #e1e1e1; border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); overflow-x: auto; overflow-y: hidden;
}
.rb-grp { display: flex; flex-direction: column; padding: 0 9px; border-right: 1px solid #e4e4e4; }
.rb-grp:last-child { border-right: 0; }
.rb-grp > div { flex: 1 1 auto; display: flex; align-items: center; gap: 3px; flex-wrap: nowrap; }
.rb-grp > div.col { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.rb-grp > div.col > div { display: flex; gap: 3px; align-items: center; }
.rb-grp > small { flex: 0 0 auto; text-align: center; font-size: 11px; color: #666; padding-top: 2px; white-space: nowrap; }
.rb-btn { min-width: 28px; height: 27px; padding: 0 5px; border: 1px solid transparent; border-radius: 4px; background: none; display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.rb-btn:hover:not(:disabled) { background: #ededed; }
.rb-btn.on { background: #dcdcdc; border-color: #c4c4c4; }
.rb-btn:disabled { opacity: .38; }
.rb-btn.big { flex-direction: column; height: 60px; min-width: 52px; padding: 3px 6px; gap: 3px; font-size: 12px; line-height: 1.15; }
.rb-btn.big span { display: block; text-align: center; white-space: normal; max-width: 74px; }
.rb-dd { height: 25px; padding: 0 20px 0 7px; border: 1px solid #b9b9b9; border-radius: 3px; background: #fff; text-align: left; position: relative; white-space: nowrap; overflow: hidden; }
.rb-dd::after { content: ""; position: absolute; right: 6px; top: 9px; border: 4px solid transparent; border-top-color: #555; }
.rb-dd:hover { border-color: #777; }
.rb-num { width: 74px; height: 25px; padding: 0 6px; border: 1px solid #b9b9b9; border-radius: 3px; background: #fff; }
.rb-lbl { font-size: 12px; color: #444; min-width: 44px; }
.swatches { display: grid; grid-template-columns: repeat(5, 22px); gap: 4px; padding: 8px 10px; }
.swatches button { width: 22px; height: 22px; min-height: 0; padding: 0; border: 1px solid rgba(0, 0, 0, .25); border-radius: 3px; }
.swatches button:hover { outline: 2px solid #0067c0; }
.app-status { flex: 0 0 22px; display: flex; align-items: center; gap: 18px; padding: 0 12px; background: #f3f3f3; border-top: 1px solid #e1e1e1; font-size: 11.5px; color: #555; }

.backstage { position: absolute; inset: 0; z-index: 20; display: flex; background: #fff; }
.bs-nav { flex: 0 0 150px; background: var(--app, #185abd); display: flex; flex-direction: column; padding: 8px 0; }
.bs-nav button { height: 38px; padding: 0 18px; border: 0; background: none; color: #fff !important; text-align: left; font-size: 14px; }
.bs-nav button:hover { background: rgba(255, 255, 255, .16); }
.bs-main { flex: 1 1 auto; padding: 26px 34px; overflow: auto; }
.bs-main h3 { margin: 0 0 14px; font-size: 24px; font-weight: 300; }
.bs-main p { margin: 0 0 10px; color: #444; }

/* ---- Pictures and screenshots ------------------------------------------- */
.pic { display: block; width: 100%; height: 100%; overflow: hidden; }
.pic svg { width: 100%; height: 100%; }
.shot-view { position: relative; overflow: hidden; background: #789; }
.shot-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.rt-img { display: inline-block; max-width: 100%; vertical-align: bottom; border: 1px solid #c8c8c8; -webkit-user-select: all; user-select: all; }
.rt-img.lib { border: 0; }

/* ---- File Explorer and the Open / Save window --------------------------- */
.ex-tool { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 5px 10px; background: #f9f9f9; border-bottom: 1px solid #e5e5e5; }
.ex-tool .rb-btn { height: 30px; padding: 0 9px; }
.ex-addr { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 6px 10px; background: #fff; border-bottom: 1px solid #ececec; }
.ex-crumbs { flex: 1 1 auto; min-width: 0; height: 28px; border: 1px solid #dcdcdc; border-radius: 4px; display: flex; align-items: center; gap: 2px; padding: 0 6px; overflow: hidden; white-space: nowrap; }
.ex-crumbs button { border: 0; background: none; height: 22px; padding: 0 5px; border-radius: 3px; }
.ex-crumbs button:hover { background: #e9f2fb; }
.ex-crumbs em { color: #888; font-style: normal; }
.ex-main { flex: 1 1 auto; min-height: 0; display: flex; }
.ex-nav { flex: 0 0 168px; overflow: auto; padding: 8px 6px; border-right: 1px solid #ececec; background: #fff; }
.ex-nav button { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 8px; border: 0; background: none; border-radius: 4px; text-align: left; white-space: nowrap; overflow: hidden; }
.ex-nav button:hover { background: #f0f0f0; }
.ex-nav button.on { background: #e5f1fb; }
.ex-list { flex: 1 1 auto; min-width: 0; overflow: auto; background: #fff; }
.ex-head, .ex-row { display: grid; grid-template-columns: minmax(150px, 1fr) 132px 150px; align-items: center; }
.ex-head { position: sticky; top: 0; background: #fff; color: #5b5b5b; font-size: 12px; border-bottom: 1px solid #eee; height: 26px; }
.ex-head span { padding: 0 10px; border-right: 1px solid #eee; }
.ex-row { height: 30px; border: 1px solid transparent; border-radius: 3px; margin: 0 4px; }
.ex-row:hover { background: #f2f7fc; }
.ex-row.on { background: #cce8ff; border-color: #99d1ff; }
.ex-row > span { padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #555; font-size: 12px; }
.ex-row > span.n { display: flex; align-items: center; gap: 8px; color: #1b1b1b; font-size: 13px; }
.ex-row > span.n b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.ex-row input { height: 22px; width: 100%; border: 1px solid #0067c0; padding: 0 4px; }
.ex-empty { padding: 26px; text-align: center; color: #777; }
.fd { width: 720px; height: 470px; }
.fd .ex-main { background: #fff; }
.fd-foot { flex: 0 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; padding: 12px 16px; background: #f3f3f3; border-top: 1px solid #e3e3e3; }
.fd-foot .btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }

/* ---- Edge and the practice web sites ------------------------------------ */
.eg-tabs { flex: 0 0 auto; display: flex; align-items: flex-end; height: 36px; padding: 0 8px; background: #dfe3ea; }
.eg-tab { height: 30px; min-width: 180px; max-width: 260px; padding: 0 10px; background: #fff; border-radius: 8px 8px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.eg-tab span { overflow: hidden; text-overflow: ellipsis; }
.eg-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #fff; border-bottom: 1px solid #e3e3e3; }
.eg-bar .rb-btn { width: 30px; height: 30px; border-radius: 50%; }
.eg-addr { flex: 1 1 auto; min-width: 0; height: 30px; border-radius: 15px; background: #f0f2f5; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid transparent; }
.eg-addr:focus-within { background: #fff; border-color: #0067c0; }
.eg-addr input { flex: 1 1 auto; min-width: 0; border: 0; background: none; outline: none; height: 26px; }
.eg-sec { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #444; white-space: nowrap; }
.eg-page { flex: 1 1 auto; min-height: 0; overflow: auto; background: #fff; font-size: 14px; position: relative; -webkit-user-select: text; user-select: text; cursor: auto; }
.eg-page a { color: #1a0dab; cursor: pointer; text-decoration: none; }
.eg-page a:hover { text-decoration: underline; }
.eg-page h1, .eg-page h2, .eg-page h3 { margin: 0 0 10px; line-height: 1.25; }
.eg-page p { margin: 0 0 12px; line-height: 1.55; }

.se-home { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 9% 20px 40px; }
.se-logo { font-size: 54px; font-weight: 700; letter-spacing: -2px; margin-bottom: 22px; }
.se-logo b:nth-child(1) { color: #2b6cb0; } .se-logo b:nth-child(2) { color: #2f855a; } .se-logo b:nth-child(3) { color: #b7791f; }
.se-logo b:nth-child(4) { color: #2b6cb0; } .se-logo b:nth-child(5) { color: #6b46c1; } .se-logo b:nth-child(6) { color: #2f855a; }
.se-box { display: flex; width: min(560px, 100%); height: 44px; border: 1px solid #cfd4dc; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .12); }
.se-box input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; padding: 0 18px; font-size: 16px; }
.se-box button { width: 56px; border: 0; background: #2b6cb0; color: #fff !important; display: grid; place-items: center; cursor: pointer; }
.se-top { display: flex; align-items: center; gap: 18px; padding: 14px 22px 10px; border-bottom: 1px solid #e8e8e8; flex-wrap: wrap; }
.se-top .se-logo { font-size: 26px; letter-spacing: -1px; margin: 0; cursor: pointer; }
.se-kinds { display: flex; gap: 4px; padding: 0 22px; border-bottom: 1px solid #e8e8e8; }
.se-kinds button { border: 0; background: none; padding: 9px 12px; border-bottom: 3px solid transparent; cursor: pointer; color: #555; }
.se-kinds button.on { border-bottom-color: #2b6cb0; color: #111; font-weight: 600; }
.se-res { padding: 14px 22px 30px; max-width: 760px; }
.se-count { color: #70757a; font-size: 12.5px; margin-bottom: 14px; }
.se-hit { margin-bottom: 22px; }
.se-hit cite { display: block; font-style: normal; font-size: 12.5px; color: #3c4043; }
.se-hit a { display: inline-block; font-size: 19px; margin: 1px 0 3px; }
.se-hit p { margin: 0; color: #4d5156; line-height: 1.5; }
.se-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; padding: 16px 22px 30px; }
.se-img { border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; background: #fff; cursor: context-menu; }
.se-img .pic { height: 128px; }
.se-img span { display: block; padding: 6px 9px; font-size: 12px; color: #444; }
.site { max-width: 820px; margin: 0 auto; padding: 0 26px 40px; }
.site-h { margin: 0 -26px 22px; padding: 16px 26px; color: #fff; font-size: 20px; font-weight: 600; background: var(--sc, #2c5282); }
.site-h small { display: block; font-weight: 400; font-size: 12.5px; opacity: .9; }
.site table { border-collapse: collapse; margin: 0 0 16px; }
.site td, .site th { border: 1px solid #d5d9e0; padding: 7px 12px; text-align: left; }
.site th { background: #f1f4f8; }
.site .fact { background: #eef5ff; border-left: 4px solid #2b6cb0; padding: 12px 16px; margin: 0 0 16px; }
.site figure { margin: 0 0 16px; width: 300px; max-width: 100%; }
.site figure .pic { height: 190px; border-radius: 6px; }
.site figcaption { font-size: 12px; color: #666; margin-top: 4px; }
.errpage { padding: 12% 12% 0; color: #333; }
.errpage h2 { font-size: 26px; font-weight: 600; }

.wform { max-width: 560px; margin: 0 auto; padding: 0 22px 40px; }
.wform .site-h { margin: 0 -22px 20px; }
.wform label, .wform .lab { display: block; font-weight: 600; margin: 14px 0 4px; }
.wform label small { font-weight: 400; color: #666; }
.wform input[type="text"], .wform input[type="password"], .wform select {
  width: 100%; height: 38px; padding: 0 10px; border: 2px solid #8a94a3; border-radius: 4px; background: #fff; font-size: 15px;
}
.wform input:focus, .wform select:focus { outline: 3px solid #ffd54a; outline-offset: 0; border-color: #1b1b1b; }
.wform .pwrow { display: flex; gap: 8px; }
.wform .pwrow button, .wform .sub { height: 38px; padding: 0 16px; border: 0; border-radius: 4px; background: #e2e6ec; cursor: pointer; }
.wform .sub { background: #1d70b8; color: #fff !important; font-weight: 600; font-size: 15px; margin-top: 22px; height: 42px; }
.wform .msg { margin-top: 14px; padding: 11px 14px; border-radius: 4px; background: #fff3d6; border-left: 4px solid #b7791f; }
.wform .msg.ok { background: #e3f4e8; border-left-color: #2f855a; }
.wform .tog { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #e6e6e6; }
.wform .sw { width: 46px; height: 24px; border-radius: 12px; border: 2px solid #5b6472; background: #fff; position: relative; cursor: pointer; padding: 0; flex: 0 0 auto; }
.wform .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #5b6472; transition: left .12s; }
.wform .sw[aria-checked="true"] { background: #1d70b8; border-color: #1d70b8; }
.wform .sw[aria-checked="true"]::after { left: 25px; background: #fff; }
.wform .swl { min-width: 26px; font-size: 12.5px; color: #444; }
.wform h3 { margin: 26px 0 2px; font-size: 17px; border-bottom: 2px solid #1d70b8; padding-bottom: 5px; }
.wform .radios { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.wform .radios label { font-weight: 400; margin: 4px 0; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pdfpage { max-width: 620px; margin: 22px auto; padding: 34px 40px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .2); }
.pdfwrap { background: #525659; min-height: 100%; padding: 1px 12px 22px; }

/* ---- Word --------------------------------------------------------------- */
.wd-wrap { flex: 1 1 auto; min-height: 0; overflow: auto; background: #e9e9e9; padding: 18px 12px 30px; }
.wd-page {
  width: 21cm; max-width: 100%; min-height: 26cm; margin: 0 auto; padding: 2cm 2.2cm; background: #fff; color: #000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2); outline: none;
  font-family: Aptos, Calibri, Arial, sans-serif; font-size: 11pt; line-height: 1.3;
  -webkit-user-select: text; user-select: text; cursor: text; overflow-wrap: break-word;
}
.w11 .wd-page p, .wd-page p { margin: 0 0 8pt; min-height: 1em; }
.wd-page h1 { font-size: 20pt; margin: 0 0 10pt; }
.wd-page ul, .wd-page ol { margin: 0 0 8pt; padding-left: 1.2cm; }
.wd-page table { border-collapse: collapse; width: 100%; margin: 0 0 10pt; }
.wd-page td, .wd-page th { border: 1px solid #000; padding: 5pt 6pt; vertical-align: top; min-height: 1.4em; }
.wd-page td:empty::after { content: "\00a0"; }

/* ---- PowerPoint --------------------------------------------------------- */
.pp-main { flex: 1 1 auto; min-height: 0; display: flex; background: #e6e6e6; }
.pp-thumbs { flex: 0 0 150px; overflow: auto; padding: 10px 8px; background: #f3f3f3; border-right: 1px solid #dadada; }
.pp-thumb { display: flex; gap: 6px; margin-bottom: 10px; align-items: flex-start; }
.pp-thumb em { font-style: normal; font-size: 11px; color: #555; width: 12px; text-align: right; padding-top: 2px; }
.pp-thumb > div { width: 112px; height: 63px; border: 1px solid #c4c4c4; border-radius: 2px; overflow: hidden; position: relative; background: #fff; }
.pp-thumb.on > div { outline: 3px solid #c43e1c; outline-offset: 0; }
.pp-thumb .pp-slide { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.pp-stagewrap { flex: 1 1 auto; min-width: 0; position: relative; overflow: hidden; }
.pp-stage { position: absolute; transform-origin: 0 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.pp-slide {
  position: relative; width: 1280px; height: 720px; overflow: hidden; background: #fff; color: #000;
  font-family: Aptos, Calibri, Arial, sans-serif; font-size: 24pt; line-height: 1.2;
}
.pp-slide[data-theme="navy"] { background: #1f3a5f; color: #fff; }
.pp-slide[data-theme="sky"] { background: linear-gradient(180deg, #dceefc 0%, #f6fbff 100%); }
.pp-slide[data-theme="green"] { background: #e3f1e2; }
.pp-slide[data-theme="sand"] { background: #f6ecd9; }
.pp-slide[data-theme="slate"] { background: #2e3440; color: #f2f2f2; }
.pp-item { position: absolute; }
.pp-item.txt { border: 1px dashed transparent; padding: 0.13cm 0.25cm; }
.pp-edit .pp-item.txt:hover { border-color: #b5b5b5; }
.pp-edit .pp-item.sel { border: 1px solid #7a7a7a; }
.pp-edit .pp-item.img.sel { border: 0; outline: 1px solid #7a7a7a; }
.pp-tx { width: 100%; min-height: 100%; outline: none; overflow-wrap: break-word; -webkit-user-select: text; user-select: text; cursor: text; }
.pp-item[data-t="title"] .pp-tx { font-size: 40pt; }
.pp-tx p, .w11 .pp-tx p { margin: 0 0 .3em; min-height: 1em; }
.pp-tx ul, .pp-tx ol { margin: 0 0 .3em; padding-left: 1.1em; }
.pp-edit .pp-tx:empty::before { content: attr(data-ph); color: #8a8a8a; }
.pp-h { position: absolute; width: 11px; height: 11px; background: #fff; border: 1px solid #555; border-radius: 50%; z-index: 3; }
.pp-mv { position: absolute; z-index: 2; cursor: move; }
.pp-themes { display: flex; gap: 6px; }
.pp-themes button { width: 62px; height: 40px; border: 1px solid #bdbdbd; border-radius: 3px; padding: 0; display: grid; place-items: center; font-size: 11px; }
.pp-themes button.on { outline: 2px solid #c43e1c; }

/* ---- Excel -------------------------------------------------------------- */
.xl-fbar { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 0 8px 6px; background: #f3f3f3; }
.xl-name { width: 70px; height: 24px; border: 1px solid #c9c9c9; background: #fff; padding: 0 6px; display: flex; align-items: center; }
.xl-fx { color: #666; font-style: italic; font-family: Georgia, serif; padding: 0 4px; }
.xl-finput { flex: 1 1 auto; min-width: 0; height: 24px; border: 1px solid #c9c9c9; background: #fff; padding: 0 6px; outline: none; }
.xl-finput:focus { border-color: #107c41; }
.xl-area { flex: 1 1 auto; min-height: 0; overflow: auto; background: #fff; position: relative; }
.xl-in { position: relative; width: max-content; }
table.xl { border-collapse: separate; border-spacing: 0; table-layout: fixed; }
table.xl th, table.xl td { height: 22px; border-right: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; padding: 0 4px; white-space: nowrap; overflow: hidden; font-weight: 400; }
table.xl th { background: #f5f5f5; color: #444; text-align: center; font-size: 12px; position: sticky; z-index: 2; }
table.xl thead th { top: 0; width: 96px; }
table.xl tbody th { left: 0; width: 34px; min-width: 34px; }
table.xl thead th:first-child { left: 0; z-index: 3; width: 34px; }
table.xl th.hot { background: #d3ead9; color: #0d5c31; }
table.xl tbody th.flt { color: #1a56c4; }
table.xl td { width: 96px; max-width: 96px; background: #fff; font-family: Aptos, Calibri, Arial, sans-serif; font-size: 11pt; }
table.xl td.num { text-align: right; }
table.xl td.insel { background: #e4efe7; }
table.xl td.err { color: #8a5a00; }
table.xl td.wide { width: 150px; max-width: 150px; }
table.xl td .fa { float: right; width: 16px; height: 16px; margin: 2px -2px 0 2px; border: 1px solid #b5b5b5; border-radius: 2px; background: #fff; display: grid; place-items: center; padding: 0; }
table.xl td .fa.on { background: #d3ead9; border-color: #107c41; }
.xl-box { position: absolute; border: 2px solid #107c41; pointer-events: none; z-index: 1; }
.xl-fill { position: absolute; width: 8px; height: 8px; background: #107c41; border: 1px solid #fff; z-index: 4; cursor: crosshair; }
.xl-edit { position: absolute; z-index: 5; border: 2px solid #107c41; padding: 0 3px; outline: none; font-family: Aptos, Calibri, Arial, sans-serif; font-size: 11pt; min-width: 96px; background: #fff; }
.xl-chart { position: absolute; z-index: 6; width: 430px; height: 270px; background: #fff; border: 1px solid #b9b9b9; display: flex; flex-direction: column; padding: 6px 8px; cursor: move; }
.xl-chart.sel { border: 2px solid #107c41; }
.xl-chart .ct { text-align: center; font-size: 14pt; color: #444; min-height: 22px; outline: none; cursor: text; }
.xl-chart .cmid { flex: 1 1 auto; min-height: 0; display: flex; align-items: stretch; }
.xl-chart .cy { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 10pt; color: #444; outline: none; cursor: text; padding: 0 2px; }
.xl-chart .cx { text-align: center; font-size: 10pt; color: #444; outline: none; cursor: text; min-height: 16px; }
.xl-chart .cplot { flex: 1 1 auto; min-width: 0; }
.xl-chart .cplot svg { width: 100%; height: 100%; }
.xl-chart [contenteditable]:focus { outline: 1px dashed #107c41; }
.xl-tabs { flex: 0 0 26px; display: flex; align-items: center; padding: 0 30px; background: #f3f3f3; border-top: 1px solid #dcdcdc; }
.xl-tabs span { height: 24px; padding: 0 14px; background: #fff; border-bottom: 3px solid #107c41; display: flex; align-items: center; font-weight: 600; color: #0d5c31; }

/* ---- Outlook ------------------------------------------------------------ */
.ol { flex: 1 1 auto; min-height: 0; display: flex; background: #f5f5f5; }
.ol-rail { flex: 0 0 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 8px; background: #ebebeb; }
.ol-rail button { width: 40px; height: 40px; border: 0; border-radius: 6px; background: none; display: grid; place-items: center; position: relative; }
.ol-rail button:hover { background: #dedede; }
.ol-rail button.on { background: #fff; color: #0f6cbd; }
.ol-rail button.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: #0f6cbd; }
.ol-col { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ol-cmd { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; margin: 8px 8px 0; padding: 6px 8px; background: #fff; border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ol-cmd .new { height: 32px; padding: 0 14px; border: 0; border-radius: 5px; background: #0f6cbd; color: #fff !important; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ol-cmd .new:hover { background: #115ea3; }
.ol-cmd .rb-btn { height: 32px; padding: 0 10px; }
.ol-panes { flex: 1 1 auto; min-height: 0; display: flex; gap: 8px; padding: 8px; }
.ol-folders { flex: 0 0 150px; overflow: auto; }
.ol-folders button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: 5px; background: none; text-align: left; }
.ol-folders button:hover { background: #e6e6e6; }
.ol-folders button.on { background: #cfe4fa; font-weight: 600; }
.ol-folders .acct { padding: 6px 10px 8px; font-weight: 600; font-size: 12px; color: #444; overflow: hidden; text-overflow: ellipsis; }
.ol-list { flex: 0 0 260px; overflow: auto; background: #fff; border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ol-list h5 { margin: 0; padding: 10px 14px 8px; font-size: 15px; font-weight: 600; border-bottom: 1px solid #eee; }
.ol-msg { display: block; width: 100%; padding: 9px 14px; border: 0; border-bottom: 1px solid #f0f0f0; border-left: 3px solid transparent; background: none; text-align: left; }
.ol-msg:hover { background: #f5f5f5; }
.ol-msg.on { background: #cfe4fa; border-left-color: #0f6cbd; }
.ol-msg b, .ol-msg span, .ol-msg small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-msg b { font-weight: 400; }
.ol-msg.unread b, .ol-msg.unread span { font-weight: 700; }
.ol-msg.unread span { color: #0f6cbd; }
.ol-msg small { color: #6b6b6b; }
.ol-read { flex: 1 1 auto; min-width: 0; overflow: auto; background: #fff; border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); display: flex; flex-direction: column; }
.ol-empty { margin: auto; color: #777; text-align: center; padding: 30px; }
.ol-view { padding: 18px 22px; -webkit-user-select: text; user-select: text; cursor: auto; }
.ol-view h4 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.ol-from { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ol-av { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #5b6ea8; color: #fff; display: grid; place-items: center; font-weight: 600; }
.ol-body { white-space: pre-wrap; font-size: 14px; line-height: 1.5; }
.ol-compose { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.ol-crow { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 5px 14px; border-bottom: 1px solid #e6e6e6; position: relative; }
.ol-crow > button.fl { min-width: 54px; height: 26px; border: 1px solid #c6c6c6; border-radius: 4px; background: #fff; }
.ol-crow > span.fl { min-width: 54px; color: #555; }
.ol-crow input { flex: 1 1 auto; min-width: 0; height: 28px; border: 0; outline: none; font-size: 14px; background: none; }
.ol-crow .link { border: 0; background: none; color: #0f6cbd !important; padding: 0 4px; }
.ol-send { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid #e6e6e6; }
.ol-send .send { height: 32px; padding: 0 18px; border: 0; border-radius: 5px; background: #0f6cbd; color: #fff !important; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ol-att { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 14px 0; }
.ol-chip { display: flex; align-items: center; gap: 8px; padding: 5px 8px 5px 10px; border: 1px solid #d1d1d1; border-radius: 5px; background: #fafafa; font-size: 12.5px; }
.ol-chip button { border: 0; background: none; width: 18px; height: 18px; border-radius: 3px; padding: 0; }
.ol-chip button:hover { background: #e2e2e2; }
.ol-text { flex: 1 1 auto; min-height: 120px; border: 0; outline: none; resize: none; padding: 12px 16px; font-size: 14px; line-height: 1.5; font-family: Aptos, Calibri, Arial, sans-serif; }
.ol-sugg { position: absolute; left: 76px; top: 36px; z-index: 30; min-width: 280px; background: #fff; border: 1px solid #c9c9c9; border-radius: 6px; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); padding: 4px; }
.ol-sugg button { display: block; width: 100%; padding: 6px 10px; border: 0; background: none; text-align: left; border-radius: 4px; }
.ol-sugg button:hover { background: #eef4fb; }
.ol-sugg small { display: block; color: #666; }
.ol-people { flex: 1 1 auto; min-height: 0; display: flex; gap: 8px; padding: 8px; }
.ol-clist { flex: 0 0 330px; overflow: auto; background: #fff; border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ol-crowp { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-bottom: 1px solid #f0f0f0; background: none; text-align: left; }
.ol-crowp:hover { background: #f5f5f5; }
.ol-crowp.on { background: #cfe4fa; }
.ol-crowp div { min-width: 0; }
.ol-crowp b, .ol-crowp small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-crowp b { font-weight: 600; }
.ol-crowp small { color: #555; }
.ol-cform { padding: 18px 22px; display: grid; gap: 10px; max-width: 460px; }
.ol-cform label { display: grid; gap: 3px; font-size: 12px; color: #444; }
.ol-cform .winput, .ol-cform select { height: 32px; font-size: 14px; }
.ol-cform select { border: 1px solid #c6c6c6; border-radius: 4px; padding: 0 6px; background: #fff; }
.ol-det { padding: 22px; }
.ol-det h4 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.ol-det dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 16px 0; }
.ol-det dt { color: #666; } .ol-det dd { margin: 0; -webkit-user-select: text; user-select: text; }

/* ---- Snipping Tool, Photos, Notepad ------------------------------------- */
.sn-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f3f3f3; border-bottom: 1px solid #e2e2e2; }
.sn-bar .new { height: 32px; padding: 0 14px; border-radius: 5px; border: 1px solid #c6c6c6; background: #fff; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sn-body { flex: 1 1 auto; min-height: 0; overflow: auto; background: #fafafa; display: grid; place-items: center; padding: 14px; }
.sn-body p { color: #666; text-align: center; max-width: 320px; }
.snip-ov { position: absolute; inset: 0; z-index: 7000; cursor: crosshair; background: rgba(0, 0, 0, .28); }
.snip-ov div { position: absolute; border: 2px solid #fff; background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 1px #0067c0; }
.snip-ov span { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: #202020; color: #fff; padding: 8px 16px; border-radius: 6px; font-size: 13px; }
.ph-body { flex: 1 1 auto; min-height: 0; overflow: auto; background: #202020; display: grid; place-items: center; padding: 14px; }
.np-text { flex: 1 1 auto; border: 0; outline: none; resize: none; padding: 8px 10px; font-family: Consolas, "Courier New", monospace; font-size: 14px; }

/* ---- The side panel that holds the task or the test --------------------- */
.w11side {
  flex: 0 0 390px; max-width: 46vw; display: flex; flex-direction: column; min-height: 0;
  background: var(--ground, #f5f5f5); color: var(--ink, #1a1a1a);
  border-left: 1px solid var(--line-strong, #b4bec8);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 16px; line-height: 1.5;
}
.w11side.shut { flex-basis: 40px; }
.w11side-top { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; background: var(--mast-bg, #4a90e2); color: var(--mast-ink, #fff); }
.w11side-top b { flex: 1 1 100%; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w11side-top button { flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: bold; cursor: pointer; padding: 5px 10px; border-radius: 6px; border: 1px solid currentColor; background: transparent; color: inherit; }
.w11side-top button:hover { background: rgba(255, 255, 255, .18); }
.w11side.shut .w11side-top { flex: 1 1 auto; flex-direction: column; padding: 8px 4px; }
.w11side.shut .w11side-top b, .w11side.shut .w11side-top .xtra, .w11side.shut .w11side-body { display: none; }
.w11side.shut .w11side-top button { writing-mode: vertical-rl; padding: 10px 5px; }
.w11side-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 16px 16px 40px; }
.w11side-body > section > h2 { font-size: 19px; }
.w11side .row { gap: 8px; margin-top: 16px; }
.w11side button.btn { padding: 9px 13px; font-size: 15px; }
.w11side .board { display: none; }
.sidecard { background: var(--surface, #fff); border: 1px solid var(--line, #d2d8de); border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.sidecard h4 { margin: 0 0 8px; font-size: 15px; }
.sidecard .kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.sidecard .kv span:nth-child(odd) { color: var(--ink-faint, #6e7a88); font-size: 13.5px; }
.sidecard .kv span:nth-child(even) { font-weight: bold; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
.sidecard ul { margin: 0; padding-left: 20px; }
.sidecard li { margin-bottom: 5px; }
.sidecard input[type="text"] { font: inherit; width: 110px; padding: 7px 9px; border: 2px solid var(--line, #d2d8de); border-radius: 8px; background: var(--ground, #f5f5f5); color: inherit; }
.sidecard .chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1000px) { .w11side { flex-basis: 320px; } }
/* On a narrow screen the task goes underneath the computer instead of beside it. */
@media (max-width: 760px) {
  .w11root { flex-direction: column; }
  .w11 { flex: 1 1 58%; min-height: 0; }
  .w11side { flex: 0 0 42%; max-width: none; border-left: 0; border-top: 1px solid var(--line-strong, #b4bec8); }
  .w11side.shut { flex-basis: 46px; }
  .w11side.shut .w11side-top { flex-direction: row; }
  .w11side.shut .w11side-top button { writing-mode: horizontal-tb; padding: 5px 10px; }
}

/* ---- Test player (the mock exam) ---------------------------------------- */
.tp-full { position: absolute; inset: 0; z-index: 8000; display: flex; flex-direction: column; background: #fff; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 16px; }
.tp-main { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 34px 6% 30px; }
.tp-main h1 { font-size: 24px; margin: 0 0 22px; }
.tp-main h2 { font-size: 17px; margin: 20px 0 6px; }
.tp-main ul { margin: 0 0 8px; padding-left: 26px; }
.tp-main li { margin-bottom: 4px; }
.tp-main p { margin: 0 0 12px; }
.tp-start { display: block; margin: 34px auto 0; padding: 9px 22px; border: 1px solid #b85f00; background: #f08a1c; color: #111; font: inherit; font-weight: bold; cursor: pointer; border-radius: 2px; }
.tp-start:hover { background: #ffa033; }
.tp-pre { margin: 0 0 14px; }
.tp-q { display: inline-flex; gap: 22px; align-items: center; padding: 8px 12px; border: 1px solid #555; border-radius: 5px; background: #dcdcdc; font-size: 16px; }
.tp-q b { white-space: nowrap; }
.tp-how { margin: 14px 0 26px; }
.tp-opts { display: grid; gap: 16px; justify-items: start; padding-left: 9%; }
.tp-opt { min-width: 220px; padding: 9px 26px; border: 2px solid transparent; border-radius: 20px; background: #dcdcdc; font: inherit; cursor: pointer; text-align: center; }
.tp-opt:hover { background: #cfcfcf; }
.tp-opt[aria-pressed="true"] { background: #ffe680; border-color: #b58a00; font-weight: bold; }
.tp-fig { margin: 0 0 10px 6%; }
.hs { border: 3px solid transparent; border-radius: 8px; background: none; font: inherit; cursor: pointer; padding: 6px; text-align: left; color: inherit; }
.hs:hover { border-color: #c9c9c9; }
.hs[aria-pressed="true"] { border-color: #e6c200; background: #fff8cc; }
.fig-set { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px 18px; max-width: 860px; }
.fig-set .hs { display: flex; gap: 10px; align-items: flex-start; }
.fig-set .hs b { display: block; font-weight: 600; font-size: 14px; }
.fig-set .hs small { display: block; color: #666; font-size: 12px; line-height: 1.3; }
.fig-call { width: 560px; max-width: 100%; background: #20262e; border-radius: 8px; overflow: hidden; }
.fig-call .scr { height: 190px; display: grid; place-items: center; color: #cfd6df; }
.fig-call .bar { display: flex; justify-content: center; gap: 8px; padding: 8px; background: #11161c; }
.fig-call .hs { width: 54px; height: 50px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.fig-call .hs[aria-pressed="true"] { background: #e6c200; color: #111; }
.fig-rows { width: 470px; max-width: 100%; border: 3px solid #333; }
.fig-rows .hd { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 2px solid #999; font-weight: bold; }
.fig-rows .hs { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px 14px; border-radius: 0; background: #e9e9e9; font-weight: bold; }
.fig-rows .hs[aria-pressed="true"] { background: #fff3a6; }
.fig-rows .hs span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #333; padding: 3px 9px; font-weight: bold; min-width: 108px; }
.fig-bar { display: flex; gap: 6px; padding: 8px; background: #f3f3f3; border: 1px solid #bbb; border-radius: 6px; width: max-content; max-width: 100%; flex-wrap: wrap; }
.fig-bar .hs { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 74px; font-size: 13px; }
.fig-win { width: 600px; max-width: 100%; border: 1px solid #999; border-radius: 6px; overflow: hidden; }
.fig-win .hs { display: block; width: 100%; border-radius: 0; }
.tp-bar { flex: 0 0 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #58595b; color: #fff; }
.tp-bar .grow { flex: 1 1 auto; }
.tp-ic { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.tp-ic:hover { background: rgba(255, 255, 255, .18); }
.tp-ic[aria-pressed="true"] { background: #f08a1c; color: #111; }
.tp-nav { height: 30px; padding: 0 16px; border: 0; border-radius: 12px; background: #f08a1c; color: #111; font: inherit; font-weight: bold; cursor: pointer; }
.tp-nav:hover { background: #ffa033; }
.tp-nav:disabled { opacity: .45; cursor: default; }
.tp-count { min-width: 70px; height: 30px; display: grid; place-items: center; background: #d97400; color: #fff; font-weight: bold; }
.tp-time { display: flex; align-items: center; gap: 7px; font-weight: bold; font-variant-numeric: tabular-nums; min-width: 84px; }
.tp-time.low { color: #ffd36b; }
.tp-rev { display: grid; grid-template-columns: repeat(auto-fill, 46px); gap: 3px; margin: 18px 0; }
.tp-rev button { height: 40px; border: 0; background: #1f4e79; color: #fff; font: inherit; font-weight: bold; cursor: pointer; position: relative; }
.tp-rev button.done { background: #f08a1c; color: #111; }
.tp-rev button.flag::after { content: "\2691"; position: absolute; right: 3px; top: 0; font-size: 12px; }
.tp-key span { display: inline-block; padding: 1px 8px; margin: 0 4px; font-weight: bold; font-size: 13px; }
.tp-key .a { background: #1f4e79; color: #fff; } .tp-key .b { background: #f08a1c; color: #111; }
.tp-help { position: absolute; left: 12px; bottom: 54px; width: 380px; max-width: calc(100% - 24px); background: #fff; color: #111; border: 2px solid #58595b; border-radius: 6px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); z-index: 20; font-size: 14.5px; }
.tp-help h3 { margin: 0 0 8px; font-size: 16px; }
.tp-help ul { margin: 0; padding-left: 20px; } .tp-help li { margin-bottom: 5px; }
.tp-full.tint { background: #fbf3d0; } .tp-full.tint .tp-main { background: #fbf3d0; }
.tp-full.zoom .tp-main { font-size: 19px; } .tp-full.zoom .tp-q, .tp-full.zoom .tp-opt { font-size: 19px; }

/* The test inside the side panel during Section B */
.tp-side { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: #fff; color: #111; font-family: Arial, Helvetica, sans-serif; }
.tp-side .tp-main { padding: 16px 16px 24px; font-size: 15px; }
.tp-side .tp-main h1 { font-size: 18px; margin-bottom: 10px; }
.tp-side .tp-bar { flex-wrap: wrap; gap: 6px; padding: 6px 8px; flex-basis: auto; }
.tp-side .tp-nav { padding: 0 11px; }
.tp-side .tp-count { min-width: 54px; }
.tp-task { border: 1px solid #555; border-radius: 6px; background: #ececec; padding: 9px 11px; margin: 0 0 12px; }
.tp-task p { margin: 0 0 7px; } .tp-task p:last-child { margin: 0; }
.tp-task ul, .tp-task ol { margin: 0 0 7px; padding-left: 22px; }
.tp-task .mk { float: right; font-weight: bold; margin-left: 10px; }
.tp-task li { clear: right; }
.tp-ev { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; font-style: italic; }
.tp-ev input { width: 22px; height: 22px; flex: 0 0 auto; }
.tp-tbl { border-collapse: collapse; margin: 6px 0 12px; }
.tp-tbl td, .tp-tbl th { border: 1px solid #777; padding: 3px 12px; text-align: center; }
.tp-tbl.kv td { text-align: left; font-family: "Times New Roman", serif; }
.tp-tot { text-align: right; font-weight: bold; margin-top: 14px; }
