/* ===================================================================== Windows 11 desktop shell */
.desktop { position: absolute; inset: 0; overflow: hidden; color: #1b1b1b; }
.desktop .wallpaper { position: absolute; inset: 0; background-size: cover; }
.desk-icons { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 14px; }
.desk-icon { width: 78px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 400 12px/1.25 var(--win-font);
  color: #fff; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 6px rgba(0,0,0,.25); }
.desk-icon img { width: 40px; height: 40px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }

.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: rgba(238, 242, 248, 0.86); backdrop-filter: blur(30px) saturate(150%);
  border-top: 1px solid rgba(255,255,255,.55); box-shadow: 0 -1px 0 rgba(0,0,0,.07); }
.tb-center { position: absolute; left: 50%; top: 0; height: 48px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; }
.tb-btn { position: relative; width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; }
.tb-btn img { width: 24px; height: 24px; }
.tb-btn.hover { background: rgba(255,255,255,.65); }
.tb-btn.active { background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.tb-btn .ind { position: absolute; bottom: 2px; left: 50%; width: 6px; height: 3px; border-radius: 2px; background: #8a8a8a; transform: translateX(-50%); }
.tb-btn.active .ind { width: 16px; background: #005fb8; }
.tb-search { height: 32px; width: 164px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: center; gap: 8px; padding: 0 12px; font: 400 14px var(--win-font); color: #5f5f5f; margin: 0 4px; }
.tb-search .ic { width: 16px; height: 16px; color: #3b3b3b; }
.tb-tray { position: absolute; right: 8px; top: 0; height: 48px; display: flex; align-items: center; gap: 2px; color: #1b1b1b; }
.tb-tray .ic { width: 16px; height: 16px; }
.tb-tray .chev { width: 28px; height: 40px; display: grid; place-items: center; }
.tb-tray .sys { height: 40px; padding: 0 8px; display: flex; gap: 12px; align-items: center; border-radius: 4px; }
.tb-clock { height: 40px; padding: 0 8px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  font: 400 12px/16px var(--win-font); color: #1b1b1b; }
.start-logo { width: 22px; height: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; }
.start-logo i { display: block; background: linear-gradient(135deg, #3ab2f6, #0a6fd6); border-radius: 1px; }

/* ===================================================================== Generic Windows 11 window */
.win { position: absolute; border-radius: 8px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.14), 0 18px 48px rgba(0,0,0,.26), 0 4px 12px rgba(0,0,0,.12); }
.win.inactive { box-shadow: 0 0 0 1px rgba(0,0,0,.10), 0 10px 28px rgba(0,0,0,.18); }
.caption-btns { position: absolute; top: 0; right: 0; display: flex; height: 40px; }
.caption-btns span { width: 46px; height: 40px; display: grid; place-items: center; }
.caption-btns svg { width: 10px; height: 10px; stroke: #1b1b1b; stroke-width: 1; fill: none; }
.win.inactive .caption-btns svg { stroke: #8a8a8a; }

/* ===================================================================== Microsoft Edge */
.edge { display: flex; flex-direction: column; background: #f7f9fc; }
.edge .tabstrip { height: 40px; flex: 0 0 40px; background: #e7ecf3; display: flex; align-items: flex-end; padding: 0 0 0 8px; gap: 2px; position: relative; }
.win.inactive .edge .tabstrip, .win.inactive.edge .tabstrip { background: #eef1f6; }
.edge .tabmenu { width: 32px; height: 30px; margin: 0 4px 4px 0; border-radius: 6px; display: grid; place-items: center; background: rgba(255,255,255,.55); }
.edge .tab { height: 34px; width: 248px; border-radius: 8px 8px 0 0; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px;
  font: 400 12px var(--win-font); color: #1b1b1b; position: relative; }
.edge .tab.on { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.edge .tab .fav { width: 16px; height: 16px; border-radius: 3px; flex: 0 0 auto; }
.edge .tab .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edge .tab .x { width: 16px; height: 16px; color: #3b3b3b; }
.edge .tab:not(.on) + .tab:not(.on)::before { content: ""; position: absolute; left: -2px; top: 9px; height: 16px; width: 1px; background: #c2c8d0; }
.edge .newtab { width: 28px; height: 28px; margin-bottom: 3px; display: grid; place-items: center; color: #3b3b3b; }
.edge .toolbar { height: 40px; flex: 0 0 40px; background: #fff; display: flex; align-items: center; gap: 4px; padding: 0 8px;
  border-bottom: 1px solid #e3e6ea; }
.edge .tbi { width: 32px; height: 32px; display: grid; place-items: center; color: #3b3b3b; border-radius: 4px; }
.edge .tbi .ic { width: 18px; height: 18px; }
.edge .tbi.dim { color: #b7bcc3; }
.edge .omni { flex: 1; height: 32px; border-radius: 16px; background: #f1f3f6; display: flex; align-items: center; gap: 8px; padding: 0 12px;
  font: 400 14px var(--win-font); color: #1b1b1b; margin: 0 6px; }
.edge .omni .ic { width: 14px; height: 14px; color: #3b3b3b; }
.edge .omni .host { color: #1b1b1b; } .edge .omni .path { color: #6b6b6b; }
.edge .page { flex: 1; position: relative; overflow: hidden; background: #fff; }

/* ---------------------------------------------- Edge PDF viewer */
.pdfbar { height: 44px; flex: 0 0 44px; display: flex; align-items: center; gap: 4px; padding: 0 10px; background: #fff; border-bottom: 1px solid #e3e6ea;
  font: 400 14px var(--win-font); color: #1b1b1b; }
.pdfbar .ic { width: 18px; height: 18px; color: #3b3b3b; }
.pdfbar .btn { height: 32px; padding: 0 8px; display: flex; align-items: center; gap: 6px; border-radius: 4px; }
.pdfbar .sep { width: 1px; height: 20px; background: #d6d9de; margin: 0 6px; }
.pdfbar .pg { width: 30px; height: 26px; border: 1px solid #c8ccd1; border-radius: 4px; display: grid; place-items: center; font-size: 13px; }
.pdfpane { position: absolute; inset: 0; background: #e9ebee; overflow: hidden; }
.pdfpage { position: absolute; left: 50%; width: 760px; transform: translateX(-50%); background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
  padding: 54px 70px 60px; font-family: "Source Serif", Georgia, serif; color: #1f2328; }
.pdfpage .doc-top { display: flex; justify-content: space-between; font: 600 11px var(--win-font); letter-spacing: .08em; color: #3d5a73; text-transform: uppercase;
  border-bottom: 1px solid #d8dee5; padding-bottom: 10px; }
.pdfpage h1 { font: 600 30px/1.2 "Source Serif", serif; margin: 22px 0 4px; color: #16202a; }
.pdfpage .sub { font: 400 14px var(--win-font); color: #5a6672; margin-bottom: 22px; }
.pdfpage h2 { font: 600 16px/1.3 var(--win-font); margin: 22px 0 8px; color: #16202a; display: flex; gap: 14px; }
.pdfpage h2 .n { color: #3d5a73; font-family: var(--font-mono); font-size: 13px; font-weight: 400; padding-top: 2px; }
.pdfpage p { font: 400 15px/1.6 "Source Serif", serif; margin: 0 0 10px 48px; }
.pdfpage .pdfhl { background: rgba(255, 214, 10, .45); box-shadow: 0 0 0 2px rgba(255, 214, 10, .45); }
.pdfpage table { margin: 6px 0 0 48px; border-collapse: collapse; font: 400 14px var(--win-font); width: calc(100% - 48px); }
.pdfpage td, .pdfpage th { text-align: left; padding: 7px 10px; border-bottom: 1px solid #e3e7ec; }
.pdfpage th { font-weight: 600; color: #3d5a73; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------------------------------------------- Bank web application: Tarnwell Payment Operations (fictional) */
.bank { position: absolute; inset: 0; font-family: var(--win-font); color: #1c2733; background: #f4f6f9; }
.bank-top { height: 52px; background: #13283f; color: #fff; display: flex; align-items: center; padding: 0 22px; gap: 18px; }
.bank-logo { display: flex; align-items: center; gap: 10px; font: 700 18px var(--win-font); letter-spacing: .01em; }
.bank-logo .mark { width: 24px; height: 24px; border-radius: 4px; background: linear-gradient(135deg, #2d8a7a, #1b5e75); display: grid; place-items: center; font: 700 13px var(--win-font); }
.bank-top .env { font: 400 13px var(--win-font); color: #b9c7d6; border-left: 1px solid #36506b; padding-left: 16px; }
.bank-top .who { margin-left: auto; display: flex; align-items: center; gap: 10px; font: 400 13px var(--win-font); }
.bank-top .av { width: 28px; height: 28px; border-radius: 50%; background: #2c4763; display: grid; place-items: center; font: 600 11px var(--win-font); }
.bank-nav { position: absolute; left: 0; top: 52px; bottom: 0; width: 176px; background: #fff; border-right: 1px solid #e1e6ec; padding: 18px 0; }
.bank-nav .grp { font: 600 11px var(--win-font); letter-spacing: .08em; color: #6a7886; padding: 8px 20px; text-transform: uppercase; }
.bank-nav .it { font: 400 14px var(--win-font); color: #2a3a4a; padding: 8px 20px; }
.bank-nav .it.on { background: #e8f0f7; color: #12324f; font-weight: 600; box-shadow: inset 3px 0 0 #1d6f8f; }
.bank-main { position: absolute; left: 176px; right: 0; top: 52px; bottom: 0; padding: 18px 26px; overflow: hidden; }
.bank-crumb { font: 400 13px var(--win-font); color: #5d6b79; }
.bank-crumb b { color: #1c2733; font-weight: 600; }
.bank-kicker { margin-top: 14px; font: 600 11px var(--win-font); letter-spacing: .12em; color: #5d6b79; text-transform: uppercase; }
.bank-title { font: 600 28px/1.15 var(--win-font); color: #13202d; margin: 4px 0 8px; }
.bank-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c9d6e2; background: #f2f7fb; border-radius: 4px; padding: 3px 9px;
  font: 600 12px var(--win-font); color: #1d4f6e; }
.bank-chip i { width: 6px; height: 6px; border-radius: 50%; background: #d08a10; display: block; }
.bank-chip.ok i { background: #2f8f5b; }
.bank-kpis { display: flex; margin: 16px 0 14px; border-top: 1px solid #dde3ea; border-bottom: 1px solid #dde3ea; background: #fff; }
.bank-kpi { flex: 1; padding: 10px 16px; border-right: 1px solid #e6ebf0; }
.bank-kpi:last-child { border-right: 0; }
.bank-kpi .l { font: 400 12px var(--win-font); color: #5d6b79; }
.bank-kpi .v { font: 600 17px var(--win-font); color: #13202d; margin-top: 2px; }
.bank-kpi .v.warn { color: #a3530b; }
.bank-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #dde3ea; font: 400 13px var(--win-font); }
.bank-table th { text-align: left; font: 600 11px var(--win-font); text-transform: uppercase; letter-spacing: .06em; color: #5d6b79; padding: 8px 10px; border-bottom: 1px solid #dde3ea; background: #f8fafc; }
.bank-table td { padding: 7px 10px; border-bottom: 1px solid #edf1f5; white-space: nowrap; }
.bank-table td.r, .bank-table th.r { text-align: right; font-variant-numeric: tabular-nums; }
.bank-table tr.sel td { background: #fff8e8; }
.bstat { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--win-font); }
.bstat i { width: 7px; height: 7px; border-radius: 50%; display: block; background: #8a97a5; }
.bstat.review i { background: #8a97a5; } .bstat.review { color: #4f5d6b; }
.bstat.ready i { background: #1d6f8f; } .bstat.ready { color: #1d5873; }
.bstat.released i { background: #3a7bd5; } .bstat.released { color: #24569c; }
.bstat.done i { background: #2f8f5b; } .bstat.done { color: #23704a; }
.bstat.amend i { background: #c17a0b; } .bstat.amend { color: #94590a; }
.bstat.held i { background: #c0392b; } .bstat.held { color: #9b2c22; }

/* ===================================================================== New Outlook for Windows */
.outlook { display: flex; flex-direction: column; background: #f5f7fa; font-family: var(--win-font); color: #1b1b1b; }
.ol-title { height: 40px; flex: 0 0 40px; background: #0f6cbd; color: #fff; display: flex; align-items: center; padding: 0 12px; gap: 12px; position: relative; }
.ol-title .app { font: 600 13px var(--win-font); }
.ol-title .search { margin: 0 auto; width: 420px; height: 28px; border-radius: 4px; background: rgba(255,255,255,.88); color: #4a4a4a;
  display: flex; align-items: center; gap: 8px; padding: 0 10px; font: 400 13px var(--win-font); }
.ol-title .search .ic { color: #0f6cbd; width: 14px; height: 14px; }
.ol-title .caption-btns svg { stroke: #fff; }
.ol-ribbon { height: 44px; flex: 0 0 44px; background: #fff; border-bottom: 1px solid #e3e6ea; display: flex; align-items: center; gap: 6px; padding: 0 10px;
  font: 400 13px var(--win-font); color: #242424; }
.ol-ribbon .newmail { height: 32px; padding: 0 12px; border-radius: 4px; background: #0f6cbd; color: #fff; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.ol-ribbon .rb { height: 32px; padding: 0 8px; display: flex; align-items: center; gap: 6px; border-radius: 4px; }
.ol-ribbon .ic { width: 16px; height: 16px; color: #424242; }
.ol-ribbon .newmail .ic { color: #fff; }
.ol-body { flex: 1; display: flex; min-height: 0; }
.ol-rail { width: 48px; background: #f0f2f5; display: flex; flex-direction: column; align-items: center; padding-top: 8px; gap: 6px; border-right: 1px solid #e3e6ea; }
.ol-rail span { width: 36px; height: 36px; border-radius: 4px; display: grid; place-items: center; color: #424242; }
.ol-rail span.on { background: #fff; color: #0f6cbd; box-shadow: inset 2px 0 0 #0f6cbd; }
.ol-rail .ic { width: 20px; height: 20px; }
.ol-folders { width: 196px; background: #fafbfc; border-right: 1px solid #e3e6ea; padding: 10px 0; font: 400 14px var(--win-font); }
.ol-folders .f { padding: 7px 18px; display: flex; justify-content: space-between; color: #242424; }
.ol-folders .f.on { background: #e5eef8; font-weight: 600; }
.ol-folders .f .c { color: #0f6cbd; font-weight: 600; }
.ol-folders .h { padding: 10px 18px 6px; font-weight: 600; font-size: 13px; color: #242424; }
.ol-list { width: 360px; background: #fff; border-right: 1px solid #e3e6ea; }
.ol-list .tabs { display: flex; gap: 18px; padding: 10px 16px 8px; font: 600 13px var(--win-font); border-bottom: 1px solid #edf0f3; }
.ol-list .tabs span.on { color: #0f6cbd; box-shadow: 0 2px 0 #0f6cbd; padding-bottom: 6px; }
.ol-msg { padding: 10px 16px 10px 20px; border-bottom: 1px solid #f0f2f5; position: relative; }
.ol-msg.on { background: #e5eef8; }
.ol-msg.unread::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #0f6cbd; }
.ol-msg .from { display: flex; justify-content: space-between; font: 400 14px var(--win-font); }
.ol-msg.unread .from b { font-weight: 700; }
.ol-msg .from .tm { font-size: 12px; color: #616161; }
.ol-msg .sj { font: 400 13px var(--win-font); color: #242424; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-msg.unread .sj { color: #0f6cbd; font-weight: 600; }
.ol-msg .pv { font: 400 12.5px var(--win-font); color: #616161; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-read { flex: 1; background: #fff; padding: 22px 28px; min-width: 0; }
.ol-read h3 { font: 600 20px/1.3 var(--win-font); margin: 0 0 16px; color: #1b1b1b; }
.ol-sender { display: flex; gap: 12px; align-items: center; }
.ol-sender .av { width: 40px; height: 40px; border-radius: 50%; background: #c5d9ef; color: #0b4e8a; display: grid; place-items: center; font: 600 14px var(--win-font); }
.ol-sender .n { font: 600 14px var(--win-font); }
.ol-sender .e { font: 400 12.5px var(--win-font); color: #616161; }
.ol-sender .acts { margin-left: auto; display: flex; gap: 4px; color: #424242; }
.ol-sender .acts .ic { width: 18px; height: 18px; }
.ol-sender .acts span { width: 32px; height: 32px; display: grid; place-items: center; }
.ol-att { margin: 16px 0 6px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #e0e3e7; border-radius: 4px; padding: 8px 12px; font: 400 13px var(--win-font); }
.ol-att img { width: 22px; height: 22px; }
.ol-att .sz { color: #616161; font-size: 12px; }
.ol-bodytext { font: 400 14.5px/1.6 var(--win-font); color: #242424; margin-top: 14px; }
.ol-bodytext p { margin: 0 0 12px; }
