/* ═══════════════════════════════════════════════════════════════════════
   A Windows 11 laptop, built the way the Mac was.

   One logical screen of 1120 × 700, scaled to the page; a taskbar at the
   bottom with a centred Start; windows with their controls on the right;
   Settings with the left navigation; a console; the Management snap-ins
   (gpedit, lusrmgr) with their tree-and-detail layout; and the dialogs a
   support tech lives in - folder Properties with its Sharing and Security
   tabs, UAC, SmartScreen.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --page: #0b0d10; --panel: #15181d; --line: rgba(255,255,255,.09); --ink: #e9edf2; --ink-dim: #98a1ad; --accent: #0a84ff; --good: #30d158;
    --w-bg: #202020; --w-win: #272727; --w-card: #2d2d2d; --w-card2: #333333; --w-sep: rgba(255,255,255,.08); --w-ink: #f3f3f3; --w-dim: #a6a6a6; --w-blue: #4cc2ff; --w-accent: #0067c0; --w-red: #ff5c5c; --w-green: #6ccb5f; --w-yellow: #fce100;
    --taskbar: rgba(32,32,32,.86);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page); color: var(--ink); min-height: 100%; font-family: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, 'Noto Sans Arabic', sans-serif; }
body { background: radial-gradient(1000px 680px at 16% -8%, #18212e 0%, transparent 60%), radial-gradient(900px 600px at 96% 108%, #1a1b26 0%, transparent 60%), var(--page); }

.lab { max-width: 1320px; margin: 0 auto; padding: 22px 20px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.lab.wide { grid-template-columns: minmax(0, 1fr); } .lab.wide .side { display: none; }
.lab-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lab-head h1 { margin: 0; font-size: 1.22rem; font-weight: 650; letter-spacing: -.01em; }
.lab-head .tag { font-size: .74rem; padding: 4px 10px; border-radius: 980px; background: rgba(10,132,255,.14); border: 1px solid rgba(10,132,255,.32); color: #6cb6ff; font-weight: 600; }
.lab-head .spacer { flex: 1; }
.minibtn { text-decoration: none; display: inline-block; background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: 980px; padding: 7px 14px; font-size: .8rem; font-weight: 600; cursor: pointer; font-family: inherit; }
.minibtn:hover { border-color: rgba(255,255,255,.22); }
.minibtn[aria-pressed="true"] { background: rgba(10,132,255,.18); border-color: rgba(10,132,255,.45); color: #8ec8ff; }
.minibtn.other { border-color: rgba(48,209,88,.35); color: #7ee2a0; }

/* ── the laptop ───────────────────────────────────────────────────── */
.stage { padding: 6px 0 10px; user-select: none; -webkit-user-select: none; }
.laptop { position: relative; width: 100%; }
.lid { position: relative; border-radius: 14px 14px 4px 4px; padding: 12px 12px 22px; background: linear-gradient(160deg, #2f3238 0%, #1d1f24 40%, #15171b 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 24px 60px rgba(0,0,0,.55); }
.lid::after { content: ''; position: absolute; left: 50%; top: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #0a0c10; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.base { height: 16px; margin: 0 -16px; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #3a3e45 0%, #22252b 55%, #15171b 100%); box-shadow: 0 10px 28px rgba(0,0,0,.5); position: relative; }
.base::before { content: ''; position: absolute; left: 50%; top: 0; width: 110px; height: 6px; margin-left: -55px; border-radius: 0 0 8px 8px; background: #111317; }
.powerkey { position: absolute; right: 30px; top: 5px; width: 18px; height: 6px; border-radius: 3px; background: #0d0f12; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.powerkey:hover { background: #1a1d22; }
.screenwrap { position: relative; width: 100%; aspect-ratio: 1120 / 700; overflow: hidden; border-radius: 6px; background: #000; }
.screen { position: absolute; top: 0; left: 0; width: 1120px; height: 700px; transform-origin: 0 0; background: var(--w-bg); color: var(--w-ink); font-size: 13px; overflow: hidden; direction: ltr; text-align: left; cursor: default; }
.screen.off { background: #000; } .screen.off > * { display: none; }
.wall { position: absolute; inset: 0; background: #0a1a3a url(wall-default.svg?v=2) center / cover no-repeat; }
.wall.safe { background: #000 !important; }
.safetag { position: absolute; color: #fff; font-size: 14px; font-weight: 600; z-index: 4; opacity: .9; }
.safetag.tl { top: 8px; left: 10px; } .safetag.tr { top: 8px; right: 10px; } .safetag.bl { bottom: 58px; left: 10px; } .safetag.br { bottom: 58px; right: 10px; }
.safetag.tc { top: 8px; left: 50%; transform: translateX(-50%); font-weight: 400; font-size: 12px; }

/* boot / lock / login / recovery */
.boot { position: absolute; inset: 0; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; z-index: 90; }
.boot .logo { width: 70px; height: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; } .boot .logo i { background: #0078d4; display: block; }
.boot .spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: #fff; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lockscr { position: absolute; inset: 0; z-index: 85; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(6,12,30,.55); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); }
.lockscr .avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #0078d4, #00bcf2); display: flex; align-items: center; justify-content: center; font-size: 44px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.lockscr .name { font-size: 22px; font-weight: 600; margin-top: 6px; }
.lockscr .pw { display: flex; gap: 0; } .lockscr input { width: 240px; padding: 9px 12px; border: 0; border-bottom: 2px solid #fff; background: rgba(255,255,255,.14); color: #fff; font-size: 14px; outline: none; } .lockscr input::placeholder { color: rgba(255,255,255,.65); }
.lockscr .go { border: 0; background: rgba(255,255,255,.14); color: #fff; padding: 0 12px; cursor: default; }
.lockscr .hint { font-size: 12px; color: rgba(255,255,255,.7); } .lockscr .shake { animation: shake .35s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.lockscr .foot { position: absolute; bottom: 24px; right: 24px; display: flex; gap: 18px; font-size: 18px; }
.lockscr .foot span { cursor: default; } .lockscr .clock { position: absolute; left: 34px; bottom: 80px; font-size: 76px; font-weight: 300; letter-spacing: -.03em; } .lockscr .date { position: absolute; left: 36px; bottom: 56px; font-size: 20px; font-weight: 500; }
.recovery { position: absolute; inset: 0; background: #1c4fa0; z-index: 88; padding: 60px 90px; color: #fff; }
.recovery h1 { font-weight: 300; font-size: 34px; margin: 0 0 28px; } .recovery .opt { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.1); margin-bottom: 10px; padding: 12px 16px; width: 480px; cursor: default; }
.recovery .opt:hover { background: rgba(255,255,255,.2); } .recovery .opt .i { font-size: 26px; width: 32px; text-align: center; } .recovery .opt b { display: block; font-size: 15px; font-weight: 600; } .recovery .opt span { font-size: 12px; opacity: .85; }
.recovery .back { position: absolute; left: 40px; top: 30px; font-size: 22px; cursor: default; } .recovery pre { font-family: inherit; font-size: 14px; line-height: 1.8; margin: 0; }
.recovery .k { display: inline-block; width: 22px; }

/* ── taskbar, start, tray ─────────────────────────────────────────── */
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; z-index: 70; background: var(--taskbar); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-top: .5px solid rgba(255,255,255,.08); display: flex; align-items: center; padding: 0 10px; }
.tb-center { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; align-items: center; }
.tb-btn { width: 40px; height: 40px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: default; position: relative; }
.tb-btn:hover { background: rgba(255,255,255,.08); } .tb-btn.on { background: rgba(255,255,255,.12); }
.tb-btn.run::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 6px; height: 3px; margin-left: -3px; border-radius: 2px; background: #a6a6a6; }
.tb-btn.focus::after { width: 16px; margin-left: -8px; background: var(--w-blue); }
.tb-btn .tip { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); background: #2b2b2b; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; white-space: nowrap; display: none; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.tb-btn:hover .tip { display: block; }
.start-ico { width: 22px; height: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; } .start-ico i { background: #4cc2ff; display: block; border-radius: 1px; }
.tb-search { height: 36px; width: 220px; border-radius: 18px; background: rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--w-dim); font-size: 13px; cursor: default; }
.tray { margin-left: auto; display: flex; align-items: center; gap: 2px; font-size: 12px; }
.tray .ti { padding: 4px 6px; border-radius: 4px; cursor: default; display: flex; gap: 6px; align-items: center; }
.tray .ti:hover { background: rgba(255,255,255,.08); }
.tray .clock { text-align: right; line-height: 1.25; padding: 2px 8px; } .tray .clock small { display: block; color: var(--w-dim); }
.tray .nbadge { width: 18px; height: 18px; border-radius: 50%; background: var(--w-accent); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }

.flyout { position: absolute; bottom: 58px; z-index: 75; background: rgba(36,36,36,.96); backdrop-filter: blur(24px); border: .5px solid rgba(255,255,255,.1); border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.55); }
.start { left: 50%; transform: translateX(-50%); width: 640px; padding: 26px 30px 0; }
.start .srch { background: var(--w-card2); border-radius: 6px; padding: 9px 14px; color: var(--w-dim); font-size: 13px; margin-bottom: 22px; }
.start h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.start h4 button { border: .5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--w-ink); border-radius: 4px; padding: 2px 10px; font-size: 11px; }
.start .pins { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px 4px; margin-bottom: 24px; }
.start .pin { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 6px; font-size: 11.5px; text-align: center; cursor: default; }
.start .pin:hover { background: rgba(255,255,255,.08); } .start .pin .ic { font-size: 26px; }
.start .rec { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-bottom: 18px; }
.start .rec .r { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 12.5px; cursor: default; } .start .rec .r:hover { background: rgba(255,255,255,.08); }
.start .rec .r .ic { font-size: 20px; } .start .rec .r small { display: block; color: var(--w-dim); font-size: 11px; }
.start .foot { margin: 0 -30px; padding: 12px 40px; background: rgba(0,0,0,.25); border-radius: 0 0 10px 10px; display: flex; align-items: center; justify-content: space-between; }
.start .foot .u { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 6px 10px; border-radius: 6px; cursor: default; } .start .foot .u:hover { background: rgba(255,255,255,.08); }
.start .foot .u .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #0078d4, #00bcf2); display: flex; align-items: center; justify-content: center; }
.start .foot .pw { width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: default; } .start .foot .pw:hover { background: rgba(255,255,255,.08); }
.pmenu { position: absolute; right: 30px; bottom: 60px; background: #2b2b2b; border: .5px solid rgba(255,255,255,.12); border-radius: 8px; padding: 4px; min-width: 170px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.pmenu .it { padding: 7px 12px; border-radius: 4px; font-size: 13px; cursor: default; display: flex; gap: 10px; } .pmenu .it:hover { background: rgba(255,255,255,.1); }
.qs { right: 10px; width: 360px; padding: 16px; }
.qs .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.qs .q { height: 52px; border-radius: 6px; background: var(--w-card2); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; cursor: default; }
.qs .q .i { font-size: 16px; } .qs .q.on { background: var(--w-accent); color: #fff; }
.qs .sl { height: 20px; border-radius: 10px; background: var(--w-card2); position: relative; overflow: hidden; margin: 10px 0; cursor: pointer; } .qs .sl i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--w-blue); }
.qs .row { display: flex; align-items: center; gap: 10px; font-size: 13px; } .qs .row .i { width: 20px; }
.qs .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: var(--w-dim); }
.nc { right: 10px; width: 360px; padding: 12px; }
.nc .n { background: var(--w-card2); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; font-size: 12.5px; position: relative; }
.nc .n b { display: block; } .nc .n span { color: var(--w-dim); } .nc .n .x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--w-dim); cursor: default; }
.nc .cal { background: var(--w-card2); border-radius: 6px; padding: 10px 12px; font-size: 13px; }
.netfly { right: 10px; width: 340px; padding: 10px; }
.netfly .nw { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; cursor: default; font-size: 13px; } .netfly .nw:hover { background: rgba(255,255,255,.08); } .netfly .nw.on { background: rgba(76,194,255,.14); }
.netfly .nw small { display: block; color: var(--w-dim); font-size: 11px; }
.netfly .btn { margin: 6px 0 0; }
.ctxmenu { position: absolute; z-index: 80; background: #2b2b2b; border: .5px solid rgba(255,255,255,.12); border-radius: 8px; padding: 4px; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.ctxmenu .it { padding: 6px 12px; border-radius: 4px; font-size: 13px; cursor: default; } .ctxmenu .it:hover { background: rgba(255,255,255,.1); }

/* desktop icons */
.desk-icons { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.dicon { width: 80px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 4px; cursor: default; }
.dicon:hover { background: rgba(255,255,255,.1); } .dicon .ic { font-size: 34px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); } .dicon .nm { font-size: 11.5px; color: #fff; text-shadow: 0 1px 2px #000; text-align: center; }

/* ── windows ─────────────────────────────────────────────────────── */
.win { position: absolute; z-index: 20; border-radius: 8px; overflow: hidden; background: var(--w-win); box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 .5px rgba(255,255,255,.12); display: flex; flex-direction: column; min-width: 420px; min-height: 260px; }
.win.min { display: none; } .win.max { left: 0 !important; top: 0 !important; width: 1120px !important; height: 652px !important; border-radius: 0; }
.titlebar { height: 34px; flex: none; display: flex; align-items: center; padding: 0 0 0 12px; gap: 10px; background: var(--w-win); cursor: default; font-size: 12.5px; }
.win.focus .titlebar { background: #323232; }
.titlebar .ti { font-size: 14px; } .titlebar .ttl { flex: 1; color: var(--w-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win:not(.focus) .titlebar .ttl { color: var(--w-dim); }
.wc { display: flex; height: 100%; } .wc span { width: 46px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: default; }
.wc span:hover { background: rgba(255,255,255,.1); } .wc span.x:hover { background: #c42b1c; color: #fff; }
.body { flex: 1; min-height: 0; display: flex; }
.nav { width: 230px; flex: none; background: var(--w-win); overflow-y: auto; padding: 6px 8px; }
.nav .me { display: flex; align-items: center; gap: 10px; padding: 10px 8px 14px; } .nav .me .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #0078d4, #00bcf2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.nav .me b { display: block; font-size: 13px; } .nav .me span { font-size: 11.5px; color: var(--w-dim); }
.nav .srch { background: var(--w-card); border-radius: 4px; padding: 7px 10px; font-size: 12px; color: var(--w-dim); margin: 2px 2px 10px; border-bottom: 1px solid rgba(255,255,255,.25); }
.nav .ni { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 4px; font-size: 13px; cursor: default; white-space: nowrap; position: relative; }
.nav .ni:hover { background: rgba(255,255,255,.06); } .nav .ni.on { background: rgba(255,255,255,.08); }
.nav .ni.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--w-blue); }
.nav .ni .i { width: 18px; text-align: center; font-size: 14px; }
.pane { flex: 1; min-width: 0; overflow-y: auto; padding: 18px 28px 28px; background: var(--w-bg); }
.pane h1 { font-size: 26px; font-weight: 600; margin: 0 0 16px; } .pane h1 small { font-size: 13px; font-weight: 400; color: var(--w-dim); display: block; margin-bottom: 4px; }
.pane h1 .bk { border: 0; background: none; color: var(--w-ink); font-size: 16px; cursor: default; margin-right: 6px; border-radius: 4px; padding: 2px 6px; } .pane h1 .bk:hover { background: rgba(255,255,255,.08); }
.pane h2 { font-size: 13.5px; font-weight: 600; margin: 18px 0 8px; }
.card { background: var(--w-card); border-radius: 6px; border: .5px solid rgba(255,255,255,.06); margin-bottom: 4px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 56px; font-size: 13px; }
.card.link:hover { background: var(--w-card2); } .card .ci { width: 28px; text-align: center; font-size: 18px; flex: none; }
.card .ct { flex: 1; min-width: 0; } .card .ct b { display: block; font-weight: 400; } .card .ct span { display: block; font-size: 12px; color: var(--w-dim); margin-top: 2px; }
.card .cr { color: var(--w-dim); font-size: 12.5px; flex: none; max-width: 50%; text-align: right; display: flex; align-items: center; gap: 10px; }
.card .chev { color: var(--w-dim); } .card.sub { margin-left: 0; background: var(--w-card2); }
.sw { width: 40px; height: 20px; border-radius: 10px; border: 1px solid var(--w-dim); position: relative; flex: none; cursor: default; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--w-dim); transition: left .15s; }
.sw.on { background: var(--w-blue); border-color: var(--w-blue); } .sw.on::after { left: 23px; background: #000; }
.swl { font-size: 12.5px; }
select, input[type=text], input[type=password], input[type=number], input:not([type]) { background: var(--w-card2); border: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.4); color: var(--w-ink); border-radius: 4px; padding: 6px 10px; font-size: 12.5px; font-family: inherit; min-width: 150px; }
input:focus, select:focus { outline: none; border-bottom: 2px solid var(--w-blue); }
.btn { border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 6px 16px; font-size: 12.5px; font-family: inherit; background: var(--w-card2); color: var(--w-ink); cursor: default; }
.btn:hover { background: #3a3a3a; } .btn.acc { background: var(--w-blue); color: #000; border-color: var(--w-blue); font-weight: 600; } .btn.acc:hover { filter: brightness(1.08); }
.btn.red { background: #c42b1c; color: #fff; border-color: #c42b1c; } .btn[disabled] { opacity: .4; }
.btns { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 0 2px; }
.note { font-size: 12px; color: var(--w-dim); line-height: 1.5; margin: 6px 2px 14px; } .note.warn { color: #ffd166; } .note.bad { color: #ff8a80; } .note.good { color: #8fe3a2; }
.prog { height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; margin: 8px 0; } .prog i { display: block; height: 100%; background: var(--w-blue); transition: width .3s; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; font-size: 12.5px; } .kv dt { color: var(--w-dim); } .kv dd { margin: 0; }
.radio { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12.5px; cursor: default; } .radio i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--w-dim); display: inline-block; } .radio.on i { border: 5px solid var(--w-blue); }
.chk { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 12.5px; cursor: default; } .chk i { width: 16px; height: 16px; border-radius: 3px; border: 1px solid var(--w-dim); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-style: normal; } .chk.on i { background: var(--w-blue); border-color: var(--w-blue); color: #000; }

/* dialogs */
.dlg { position: absolute; inset: 0; z-index: 45; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.dlg .box { width: 440px; background: #2b2b2b; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 .5px rgba(255,255,255,.14); overflow: hidden; }
.dlg .box .hd { padding: 16px 20px 6px; font-size: 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.dlg .box .bd { padding: 4px 20px 12px; font-size: 12.5px; color: var(--w-dim); line-height: 1.5; }
.dlg .box .bd input { width: 100%; margin-top: 8px; } .dlg .box .ft { padding: 12px 20px; background: #202020; display: flex; gap: 8px; justify-content: flex-end; }
.dlg.uac .box { width: 460px; background: #1f1f1f; } .dlg.uac .hd { background: var(--w-accent); color: #fff; padding: 12px 20px; font-size: 13px; } .dlg.uac .big { padding: 14px 20px 0; font-size: 16px; font-weight: 600; }
.dlg.ss .box { width: 500px; background: #0f4d8f; color: #fff; } .dlg.ss .hd { color: #fff; } .dlg.ss .bd { color: rgba(255,255,255,.85); } .dlg.ss .ft { background: #0b3d73; }
.dlg.ss a, .dlg a { color: var(--w-blue); cursor: default; text-decoration: underline; }
/* properties dialog with tabs */
.props .tabs { display: flex; gap: 2px; padding: 8px 10px 0; background: #242424; } .props .tab { padding: 6px 12px; font-size: 12.5px; border-radius: 4px 4px 0 0; cursor: default; background: #242424; } .props .tab.on { background: #2b2b2b; border-bottom: 2px solid var(--w-blue); }
.props .tabbody { padding: 14px 18px; min-height: 260px; font-size: 12.5px; }
table.acl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0; } table.acl th { text-align: left; color: var(--w-dim); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--w-sep); } table.acl td { padding: 4px 6px; border-bottom: 1px solid rgba(255,255,255,.04); } table.acl tr.sel td { background: rgba(76,194,255,.2); }
.toast { position: absolute; right: 14px; bottom: 60px; z-index: 82; width: 340px; background: #2b2b2b; border-radius: 8px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 .5px rgba(255,255,255,.12); display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; animation: toastIn .2s ease-out; }
.toast .ti { font-size: 20px; } .toast b { display: block; } .toast span { color: var(--w-dim); }
@keyframes toastIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* explorer */
.ex-tb { display: flex; gap: 6px; padding: 6px 10px; background: var(--w-win); border-bottom: 1px solid var(--w-sep); align-items: center; }
.ex-tb .btn { padding: 4px 10px; } .ex-tb .addr { flex: 1; background: var(--w-card2); border-radius: 4px; padding: 5px 10px; font-size: 12.5px; color: var(--w-dim); }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, 100px); gap: 8px; padding: 10px; }
.fi { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 4px; cursor: default; text-align: center; }
.fi:hover { background: rgba(255,255,255,.06); } .fi.sel { background: rgba(76,194,255,.22); } .fi .ic { font-size: 36px; } .fi .nm { font-size: 11.5px; word-break: break-word; }
.status { font-size: 11.5px; color: var(--w-dim); padding: 4px 10px; border-top: 1px solid var(--w-sep); }

/* console */
.con { flex: 1; background: #0c0c0c; color: #cccccc; font-family: Consolas, 'Cascadia Mono', Menlo, monospace; font-size: 12.5px; padding: 6px 8px; overflow-y: auto; white-space: pre-wrap; line-height: 1.4; cursor: text; }
.con.ps { background: #012456; color: #eeedf0; }
.con .in { color: #fff; } .con .dim { color: #8a8a8a; } .con .err { color: #ff8a80; } .con .ok { color: #8fe3a2; }
.con input { background: none; border: 0; color: #fff; font: inherit; outline: none; width: 70%; padding: 0; }

/* mmc: tree + details */
.mmc { display: flex; flex: 1; min-height: 0; }
.tree { width: 270px; flex: none; border-right: 1px solid var(--w-sep); overflow-y: auto; padding: 6px 4px; background: var(--w-win); font-size: 12.5px; }
.tree .t { padding: 4px 6px; border-radius: 3px; cursor: default; white-space: nowrap; display: flex; gap: 6px; align-items: center; } .tree .t:hover { background: rgba(255,255,255,.06); } .tree .t.on { background: rgba(76,194,255,.22); }
.tree .t .tw { width: 12px; color: var(--w-dim); font-size: 10px; }
.det { flex: 1; min-width: 0; overflow-y: auto; padding: 8px 10px; background: var(--w-bg); font-size: 12.5px; }
table.lst { width: 100%; border-collapse: collapse; font-size: 12.5px; } table.lst th { text-align: left; color: var(--w-dim); font-weight: 600; padding: 5px 8px; border-bottom: 1px solid var(--w-sep); } table.lst td { padding: 5px 8px; border-bottom: 1px solid rgba(255,255,255,.04); cursor: default; } table.lst tr:hover td { background: rgba(255,255,255,.04); } table.lst tr.sel td { background: rgba(76,194,255,.22); } table.lst tr.hot td:nth-child(3) { color: var(--w-red); font-weight: 600; }
.pol .hd { font-size: 14px; font-weight: 600; margin-bottom: 8px; } .pol .ex { background: var(--w-card); border-radius: 6px; padding: 10px 12px; font-size: 12px; color: var(--w-dim); line-height: 1.5; margin: 10px 0; }

/* edge */
.urlbar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--w-win); border-bottom: 1px solid var(--w-sep); }
.urlbar input { flex: 1; border-radius: 16px; min-width: 0; text-align: left; } .page { padding: 18px 24px; overflow-y: auto; flex: 1; font-size: 13px; line-height: 1.55; } .page h1 { font-size: 20px; margin: 0 0 8px; } .page a { color: var(--w-blue); cursor: default; }

/* mail */
.mail-list { width: 300px; flex: none; border-right: 1px solid var(--w-sep); overflow-y: auto; }
.mail-row { padding: 10px 14px; border-bottom: 1px solid var(--w-sep); cursor: default; font-size: 12.5px; } .mail-row:hover { background: rgba(255,255,255,.05); } .mail-row.on { background: rgba(76,194,255,.2); }
.mail-row b { display: flex; justify-content: space-between; } .mail-row b small { font-weight: 400; color: var(--w-dim); } .mail-row .s { display: block; margin-top: 2px; } .mail-row .p { display: block; color: var(--w-dim); font-size: 11.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frozen { position: absolute; inset: 34px 0 0; background: rgba(255,255,255,.25); z-index: 5; cursor: wait; display: flex; align-items: center; justify-content: center; } .frozen .ring { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #4cc2ff; animation: spin 1s linear infinite; }

/* ── side panel ──────────────────────────────────────────────────── */
.side { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.panel h2 { margin: 0 0 4px; font-size: .98rem; font-weight: 650; } .panel .sub { margin: 0 0 14px; font-size: .78rem; color: var(--ink-dim); line-height: 1.6; }
.progress-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 16px; } .progress-line i { display: block; height: 100%; background: var(--good); width: 0; transition: width .4s ease; }
.task { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); align-items: flex-start; } .task:first-of-type { border-top: 0; }
.task .mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: transparent; margin-top: 1px; }
.task.done .mark { background: var(--good); border-color: var(--good); color: #06310f; }
.task .tx { flex: 1; min-width: 0; } .task .tx b { display: block; font-size: .83rem; font-weight: 600; line-height: 1.4; } .task.done .tx b { color: var(--ink-dim); text-decoration: line-through; }
.task .tx span { display: block; font-size: .75rem; color: var(--ink-dim); margin-top: 3px; line-height: 1.5; } .task .tx code { font-size: .72rem; background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 4px; }
.task .tx .path { display: inline-block; margin-top: 6px; font-size: .71rem; background: rgba(10,132,255,.12); border: 1px solid rgba(10,132,255,.26); color: #6cb6ff; padding: 3px 9px; border-radius: 7px; }
.sheetp table { width: 100%; border-collapse: collapse; font-size: .76rem; } .sheetp td { padding: 6px 0; border-top: 1px solid var(--line); vertical-align: top; } .sheetp td:first-child { color: var(--ink-dim); width: 46%; } .sheetp td:last-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .sheetp tr:first-child td { border-top: 0; }
.keys { font-size: .75rem; color: var(--ink-dim); line-height: 1.9; } .keys kbd { background: #202631; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; font-size: .72rem; color: var(--ink); font-family: inherit; }
.done-banner { background: linear-gradient(135deg, rgba(48,209,88,.2), rgba(48,209,88,.06)); border: 1px solid rgba(48,209,88,.4); color: #7ee2a0; border-radius: 14px; padding: 14px 16px; font-size: .82rem; line-height: 1.6; }
html[dir="rtl"] .lab-head, html[dir="rtl"] .panel { text-align: right; } html[dir="rtl"] .sheetp td:last-child { direction: ltr; text-align: right; }
html.embed { --page: transparent; --panel: #fff; --line: rgba(0,0,0,.09); --ink: #1d1d1f; --ink-dim: #6e6e73; }
html.embed body { background: transparent; } html.embed .lab { padding: 10px 18px 22px; gap: 22px; }
html.embed .lab-head h1, html.embed .lab-head .tag, html.embed #android-btn, html.embed #ios-btn, html.embed #mac-btn { display: none; } html.embed .lab-head { justify-content: flex-end; }
html.embed .minibtn { background: #fff; border-color: rgba(0,0,0,.12); color: #1d1d1f; } html.embed .minibtn[aria-pressed="true"] { background: rgba(0,113,227,.1); border-color: rgba(0,113,227,.4); color: #0071e3; }
html.embed .progress-line { background: rgba(0,0,0,.07); } html.embed .task .mark { border-color: rgba(0,0,0,.18); } html.embed .task.done .mark { color: #fff; }
html.embed .task .tx .path { background: rgba(0,113,227,.08); border-color: rgba(0,113,227,.22); color: #0071e3; } html.embed .task .tx code { background: rgba(0,0,0,.06); }
html.embed .keys kbd { background: #f5f5f7; border-color: rgba(0,0,0,.12); color: #1d1d1f; } html.embed .done-banner { background: rgba(48,209,88,.12); border-color: rgba(48,209,88,.35); color: #1f7a3a; }
@media (min-width: 1081px) { html.embed .side { max-height: 760px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; } }
@media (max-width: 1080px) { .lab { grid-template-columns: minmax(0, 1fr); } }

/* a green power LED on the base: off with the machine, a slow blink while it runs */
.base .led { position: absolute; left: 28px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #1b1f24; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.laptop:has(.screen:not(.off)) .base .led { background: #eaf6ff; box-shadow: 0 0 3px 0 rgba(234,246,255,.55), 0 0 8px 1px rgba(190,230,255,.28); animation: led-blink 2.2s ease-in-out infinite; }
@keyframes led-blink { 0%, 100% { opacity: .85; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .laptop:has(.screen:not(.off)) .base .led { animation: none; } }

/* ═══ full screen: the device and the exercises, nothing else ═══ */
html.fs, html.fs body { height: 100%; overflow: hidden; }
html.fs .lab { max-width: none; height: 100vh; box-sizing: border-box; padding: 8px 16px 10px; gap: 10px 18px; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
html.fs .lab-head { grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }
html.fs .lab-head h1, html.fs .lab-head .tag, html.fs .lab-head .other, html.fs #wide-btn { display: none; }
html.fs .side { position: static; display: flex; min-height: 0; max-height: none; height: auto; align-self: stretch; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding-right: 4px; }
html.fs .stage { touch-action: pan-y; }
html.fs .side .panel:not(:first-child) { display: none; }
html.fs .lab.wide { grid-template-columns: minmax(0, 1fr) 400px; } html.fs .lab.wide .side { display: flex; }
html.fs .stage { min-height: 0; height: 100%; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
html.fs #fs-btn { background: rgba(10,132,255,.18); border-color: rgba(10,132,255,.5); }
@media (max-width: 900px) { html.fs .lab { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; } html.fs .side { max-height: 34vh; } }
html.fs .laptop { width: min(100%, calc((100vh - 120px) * 1.6)); margin: 0 auto; }

/* phones: no full-screen mode; the laptop keeps a legible size and the stage pans sideways */
@media (max-width: 900px), (pointer: coarse) { #fs-btn { display: none !important; } }
@media (max-width: 760px) { .stage { overflow-x: auto !important; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 12px !important; } .laptop { width: 640px !important; min-width: 640px !important; max-width: none !important; } .lab-head { gap: 8px !important; } .lab-head .minibtn { padding: 8px 12px !important; font-size: .8rem !important; } .side { max-height: none !important; } }
#wide-btn { display: none !important; }

/* This PC: section headings and drive tiles with a capacity bar, as Explorer draws them */
.ex-sec { font-size: 12px; color: var(--w-dim); padding: 12px 14px 0; }
.ex-drives { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; padding: 8px 10px; }
.drv { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 4px; cursor: default; }
.drv:hover { background: rgba(255,255,255,.06); } .drv.sel { background: rgba(76,194,255,.22); }
.drv .ic { font-size: 34px; line-height: 1; } .drv .dd { flex: 1; min-width: 0; }
.drv .nm { font-size: 12.5px; color: var(--w-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drv .bar { height: 12px; margin: 4px 0 3px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.drv .bar i { display: block; height: 100%; background: #26a0da; } .drv .bar.low i { background: #da3b01; }
.drv .sz { font-size: 11px; color: var(--w-dim); }

/* the Edge icon is drawn, not a glyph: it takes the size of the text it replaces */
.edge-ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.12em; }
.dicon .ic .edge-ic { width: 38px; height: 38px; }
.tb-btn .edge-ic { width: 24px; height: 24px; }

.net-ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.12em; }
.dicon .ic .net-ic { width: 40px; height: 40px; }

/* the drawn Wi-Fi fan takes the size of the text it replaces */
.wf-svg { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.22em; flex: none; }
.tray .ti .wf-svg { width: 15px; height: 15px; vertical-align: middle; }
.netfly .nwi { display: inline-flex; } .netfly .nwi .wf-svg { width: 20px; height: 20px; }
.fi .ic .wf-svg { width: 40px; height: 40px; }

/* Windows Terminal's icon is drawn, sized like the Edge icon */
.term-ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.12em; }
.dicon .ic .term-ic { width: 38px; height: 38px; }
.tb-btn .term-ic { width: 24px; height: 24px; }

/* Control Panel's icon is drawn, sized like the others */
.cp-ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.12em; }
.dicon .ic .cp-ic { width: 38px; height: 38px; }
.tb-btn .cp-ic { width: 24px; height: 24px; }

/* Outlook's icon is drawn, sized like the others */
.ol-ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.12em; }
.dicon .ic .ol-ic { width: 38px; height: 38px; }
.tb-btn .ol-ic { width: 24px; height: 24px; }

/* Windows Search */
.wsearch { width: 700px; padding: 18px 20px 20px; }
.wsearch #srch-in { width: 100%; box-sizing: border-box; font-size: 14px; padding: 10px 16px; border-radius: 20px; background: var(--w-card2); border: 1px solid rgba(255,255,255,.14); border-bottom: 2px solid var(--w-blue); color: var(--w-ink); outline: none; }
.ws-h { font-size: 12px; font-weight: 600; color: var(--w-dim); margin: 14px 4px 6px; }
.ws-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; min-height: 280px; }
.ws-it { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 6px; cursor: default; font-size: 13px; }
.ws-it:hover, .ws-it.best { background: rgba(255,255,255,.08); }
.ws-it .i { width: 26px; text-align: center; font-size: 19px; flex: none; }
.ws-it b { font-weight: 500; display: block; } .ws-it small { display: block; color: var(--w-dim); font-size: 11px; }
.ws-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 4px; }
.ws-chip { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--w-ink); border-radius: 14px; padding: 5px 12px; font: inherit; font-size: 12px; cursor: default; }
.ws-chip:hover { background: rgba(255,255,255,.12); }
.ws-prev { background: rgba(255,255,255,.05); border-radius: 8px; padding: 26px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; align-self: start; margin-top: 30px; }
.ws-prev .big { font-size: 46px; line-height: 1; } .ws-prev .big .edge-ic, .ws-prev .big .term-ic, .ws-prev .big .cp-ic, .ws-prev .big .ol-ic, .ws-prev .big .rd-svg { width: 48px; height: 48px; }
.ws-prev b { font-size: 15px; font-weight: 600; } .ws-prev small { color: var(--w-dim); font-size: 12px; margin-bottom: 8px; }
.tb-search { cursor: text; }
.start .srch { cursor: text; }
/* Terminal zoom: the console's text size follows --con-fs */
.con { font-size: var(--con-fs, 16px) !important; }
.con-zoom { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; font-size: 11px; color: var(--w-dim); }
.con-zoom .btn { padding: 1px 8px; min-width: 0; }

/* commands inside Arabic task text read left to right, in order, even when they wrap */
.task .tx code { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }

/* dropdown lists: dark rows and light text, as Windows 11 draws them in dark mode */
#screen select { color-scheme: dark; }
#screen select option, #screen select optgroup { background-color: #2b2b2b; color: #ffffff; }
#screen select option:disabled { color: #8a8a8a; }

/* drawn icons */
.xi { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex: none; overflow: visible; }
.tb-btn > .xi { width: 26px; height: 26px; }
.tb-btn > .xi[class*="xi-g-"] { width: 20px; height: 20px; }
.tb-search .xi, .start .srch .xi { width: 16px; height: 16px; }
.tray .ti .xi { width: 16px; height: 16px; vertical-align: middle; }
.start .pin .ic .xi { width: 32px; height: 32px; }
.start .r .ic .xi { width: 28px; height: 28px; }
.qs .q .i .xi, .qs .row .i .xi, .qs .foot .xi { width: 18px; height: 18px; }
.dicon .ic .xi { width: 44px; height: 44px; }
.titlebar .ti .xi { width: 16px; height: 16px; }
.nav .ni .i .xi { width: 18px; height: 18px; }
.nav .ni .i .xi[class*="xi-g-"] { width: 17px; height: 17px; }
.fi .ic .xi { width: 46px; height: 46px; }
.drv .ic .xi { width: 42px; height: 42px; }
.toast .ti .xi { width: 28px; height: 28px; }
.dlg .hd .xi { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.dlg .big .xi { width: 48px; height: 48px; }
.ws-it .i .xi { width: 24px; height: 24px; }
.ws-prev .big .xi { width: 48px; height: 48px; }
.card .ic .xi { width: 28px; height: 28px; }
.recovery .opt .i .xi { width: 28px; height: 28px; }
.nc .n b .xi { width: 16px; height: 16px; vertical-align: -3px; }
/* Task Manager: each process with its app's icon */
.lst td > svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 7px; }
/* Quick Settings: long names wrap inside their tile instead of pushing the grid past the panel */
.qs .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qs .q { min-width: 0; overflow: hidden; line-height: 1.2; }
.qs .q .ql { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* window edges and corners: the resize cursor wins over every element's own */
.screen.rz-ns, .screen.rz-ns * { cursor: ns-resize !important; }
.screen.rz-ew, .screen.rz-ew * { cursor: ew-resize !important; }
.screen.rz-nesw, .screen.rz-nesw * { cursor: nesw-resize !important; }
.screen.rz-nwse, .screen.rz-nwse * { cursor: nwse-resize !important; }
.con { overflow-wrap: anywhere; }

/* full screen: the lab sheet stays in the side column - scroll down past the exercises to reach it */
html.fs .side .panel.sheetp { display: block; flex: none; }
