/* UNEMPLOYED OS — HR has taken over this computer. Brand: kit/IDENTITY.md */
@font-face { font-family: "Anton"; src: url(assets/anton-latin.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "VT323"; src: url(assets/vt323-latin.woff2) format("woff2"); font-display: swap; }

:root {
  --navy: #111923; --night: #0b1018; --paper: #f0f0ec; --steel: #c4cad2; --label: #a8afba;
  --chrome1: #4b515c; --chrome2: #2b303a; --glass1: #dce3ed; --glass2: #b8c4d6;
  --startA: #62738e; --startB: #34465f;
  --red: #d64034; --blue: #346ed6; --yellow: #f6cf5c; --green: #2f8a57;
  --pink: #f6c3d0; --pink2: #f9d5de; --ink: #4a1022;
  --win: #e9e7e1; --winline: #b9b5ab;
  --ui: Tahoma, Verdana, "Segoe UI", system-ui, sans-serif;
  --mono: "Courier New", Courier, ui-monospace, monospace;
  --head: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --lcd: "VT323", "Courier New", monospace;
  --tb: 46px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--night); color: var(--paper); font: 13px/1.4 var(--ui); overflow: hidden; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px dotted #fff; outline-offset: 2px; }
.win :focus-visible, .sheet :focus-visible { outline-color: var(--blue); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- BOOT ---------- */
.boot { position: fixed; inset: 0; z-index: 9000; background: #000; display: grid; place-items: center; cursor: pointer; }
.boot-crt { position: absolute; inset: 0; padding: clamp(20px, 6vw, 72px); background: radial-gradient(120% 90% at 50% 45%, #10161c 0%, #050708 60%, #000 100%); overflow: hidden; animation: crtOn .35s ease-out both; }
.boot-crt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.boot-crt::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(0,0,0,.9); animation: flick 3s steps(1) infinite; }
.boot-text { margin: 0; font: clamp(18px, 2.6vw, 30px)/1.25 var(--lcd); color: #b8f5c8; text-shadow: 0 0 6px rgba(120,255,170,.55), 0 0 1px #fff; white-space: pre-wrap; position: relative; z-index: 1; }
.boot-text .dim { color: #6f9c7c; text-shadow: none; }
.boot-text .bad { color: #ff6a5c; text-shadow: 0 0 8px rgba(255,80,60,.8); }
.boot-verdict { position: relative; z-index: 1; margin-top: .3em; font: clamp(56px, 12vw, 168px)/0.95 var(--head); color: #ff4b3e; letter-spacing: .02em; text-shadow: 0 0 18px rgba(255,60,40,.7), 0 0 2px #fff; animation: verdict .28s cubic-bezier(.2,1.6,.4,1) both; }
.boot-skip { position: absolute; z-index: 1; bottom: 22px; right: 26px; font: 18px var(--lcd); color: #4f7a5d; }
.boot.off { animation: crtOff .42s ease-in forwards; pointer-events: none; }
@keyframes crtOn { 0% { transform: scale(1, .004); filter: brightness(4); } 60% { transform: scale(1, .004); } 100% { transform: none; filter: none; } }
@keyframes crtOff { 0% { opacity: 1; } 55% { transform: scale(1, .006); filter: brightness(5); opacity: 1; } 100% { transform: scale(0, .006); opacity: 0; } }
@keyframes flick { 0%, 100% { opacity: 1; } 47% { opacity: .85; } 48% { opacity: 1; } }
@keyframes verdict { 0% { transform: scale(2.2); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- DESKTOP ---------- */
.desktop, .phone { position: fixed; inset: 0; display: none; }
@media (min-width: 761px) { .desktop { display: block; } }
@media (max-width: 760px) { .phone { display: flex; } }
.wall { position: absolute; inset: 0; background: #0b1220 url(assets/wall-office.webp) 70% 60% / cover no-repeat; }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,10,18,.62), rgba(6,10,18,.15) 34%, transparent 60%), radial-gradient(120% 90% at 60% 40%, transparent 50%, rgba(0,0,0,.4) 100%); }
.wall-logo { position: absolute; right: 120px; bottom: calc(var(--tb) + 22px); width: min(220px, 16vw); opacity: .2; filter: drop-shadow(0 2px 0 #000); z-index: 1; user-select: none; -webkit-user-drag: none; }

.icons { position: absolute; inset: 0 0 var(--tb) 0; z-index: 2; pointer-events: none; }
.ic { position: absolute; width: 96px; padding: 4px 2px 3px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 1px solid transparent; border-radius: 3px; pointer-events: auto; touch-action: none; user-select: none; }
.ic svg { width: 48px; height: 48px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.55)); transition: transform .12s; }
.ic:hover svg { transform: translateY(-2px); }
.ic span { font-size: 12px; line-height: 1.2; color: #fff; text-align: center; text-shadow: 0 1px 2px #000, 0 0 4px #000; padding: 1px 3px; border-radius: 2px; word-break: break-word; }
.ic.sel { background: rgba(52,110,214,.28); border: 1px dotted rgba(255,255,255,.65); }
.ic.sel span { background: #2f62c0; text-shadow: none; }
.ic.drag { opacity: .75; z-index: 5; }
.ic .badge, .pi .badge { position: absolute; top: 0; right: 12px; background: var(--yellow); color: #111; font: 700 9px/1 var(--ui); letter-spacing: .06em; padding: 3px 4px; border: 1px solid #111; border-radius: 3px; box-shadow: 0 1px 0 #000; }
.ic.hot svg { animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: none; } 84% { transform: rotate(-9deg); } 88% { transform: rotate(8deg); } 92% { transform: rotate(-5deg); } 96% { transform: rotate(3deg); } }

/* sticky note: the four steps at a glance */
.sticky { position: absolute; z-index: 3; top: 26px; right: 30px; width: 214px; transform: rotate(2.2deg); }
.sticky-in { display: block; width: 100%; text-align: left; background: linear-gradient(#ffe57a, #f6cf5c 70%, #eec04a); color: #2a2208; border: 0; padding: 16px 16px 14px; box-shadow: 0 14px 22px -10px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.6) inset; font: 700 14px/1.3 var(--mono); position: relative; }
.sticky-in::before { content: ""; position: absolute; top: -10px; left: 50%; width: 86px; height: 22px; margin-left: -43px; background: rgba(255,255,255,.45); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.sticky b { display: block; font: 22px/1 var(--head); letter-spacing: .03em; margin-bottom: 8px; }
.sticky b small { font: 700 11px var(--mono); letter-spacing: 0; opacity: .7; }
.sticky ol { margin: 0; padding: 0 0 0 0; list-style: none; counter-reset: s; }
.sticky li { counter-increment: s; padding: 5px 0 5px 30px; position: relative; border-bottom: 1px dashed rgba(42,34,8,.25); }
.sticky li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border: 2px solid #2a2208; border-radius: 2px; }
.sticky li.done { text-decoration: line-through; text-decoration-thickness: 2px; color: #6b5a1d; }
.sticky li.done::after { content: ""; position: absolute; left: 6px; top: 1px; width: 8px; height: 16px; border: solid var(--red); border-width: 0 4px 4px 0; transform: rotate(40deg); }
.sticky-hint { display: block; margin-top: 10px; font-size: 12px; opacity: .75; }
.sticky-in:hover .sticky-hint { opacity: 1; text-decoration: underline; }

/* ---------- WINDOWS ---------- */
.wins { position: absolute; inset: 0 0 var(--tb) 0; z-index: 10; pointer-events: none; }
.win { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; min-width: 260px; min-height: 160px; pointer-events: auto; background: var(--win); color: #1a1d22; border: 1px solid #06080b; border-radius: 9px 9px 5px 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 26px 60px -12px rgba(0,0,0,.75), 0 6px 14px rgba(0,0,0,.35); overflow: hidden; will-change: transform; contain: layout paint; }
.win.opening { animation: winIn .22s cubic-bezier(.2,.9,.3,1.15) both; }
.win.closing { animation: winOut .16s ease-in forwards; pointer-events: none; }
.win.minning { transition: transform .22s cubic-bezier(.5,0,.8,.4), opacity .22s; opacity: 0; pointer-events: none; }
@keyframes winIn { from { opacity: 0; scale: .86; } to { opacity: 1; scale: 1; } }
@keyframes winOut { to { opacity: 0; scale: .92; } }
.win.max { border-radius: 0; }
.win:focus { outline: none; }
.tb { flex: 0 0 34px; display: flex; align-items: center; gap: 7px; padding: 0 5px 0 9px; background: linear-gradient(#8b919b, #6d737d 48%, #626872 52%, #5c626b); color: #e8ebef; cursor: default; touch-action: none; user-select: none; border-bottom: 1px solid #1d2128; }
.win.active .tb { background: linear-gradient(#69717f 0%, #4b515c 46%, #343a45 54%, #2b303a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); color: #fff; }
.tb svg { width: 18px; height: 18px; flex: 0 0 18px; }
.tb-t { flex: 1; min-width: 0; font-weight: 700; font-size: 13px; letter-spacing: .01em; text-shadow: 0 1px 1px rgba(0,0,0,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-hr { font: 700 9px/1 var(--ui); letter-spacing: .08em; background: var(--pink); color: var(--ink); border: 1px solid #000; padding: 3px 4px; border-radius: 2px; }
.tb-b { width: 26px; height: 22px; display: grid; place-items: center; border: 1px solid #0d1015; border-radius: 4px; background: linear-gradient(var(--glass1), var(--glass2)); color: #1d2433; box-shadow: inset 0 1px 0 #fff; padding: 0; }
.tb-b:hover { filter: brightness(1.08); }
.tb-b:active { filter: brightness(.9); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.tb-b svg { width: 12px; height: 12px; }
.tb-b.x { background: linear-gradient(#ee7b6f, #d64034 55%, #b92c22); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.wb { flex: 1; min-height: 0; overflow: auto; position: relative; background: #f6f5f1; overscroll-behavior: contain; }
.rz { position: absolute; z-index: 3; touch-action: none; }
.rz-e { right: -3px; top: 34px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rz-s { bottom: -3px; left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rz-se { right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.28) 58%, transparent 58%, transparent 70%, rgba(0,0,0,.28) 70%, rgba(0,0,0,.28) 78%, transparent 78%); }
.win.max .rz { display: none; }
.shake { animation: shake .38s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake { 10%, 90% { translate: -2px 1px; } 20%, 80% { translate: 4px -2px; } 30%, 50%, 70% { translate: -7px 2px; } 40%, 60% { translate: 7px -1px; } }

/* shared bits inside apps */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 1px solid #1b2230; border-radius: 4px; background: linear-gradient(#fdfdfd, #dfe3ea); color: #1a1d22; font-weight: 700; text-decoration: none; box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.15); white-space: nowrap; }
.btn:hover { background: linear-gradient(#fff, #e8ecf2); }
.btn:active { box-shadow: inset 0 2px 3px rgba(0,0,0,.25); }
.btn.go { background: linear-gradient(#e2584c, #c3352a); color: #fff; border-color: #6c140d; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 0 #6c140d; text-shadow: 0 1px 0 rgba(0,0,0,.35); }
.btn.go:hover { background: linear-gradient(#ea6357, #cc3a2e); }
.btn.big { min-height: 48px; padding: 10px 22px; font-size: 16px; letter-spacing: .02em; }
.btn.sm { min-height: 26px; padding: 3px 10px; font-size: 12px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.soon { display: inline-block; background: var(--yellow); color: #111; border: 1px solid #111; font: 700 10px/1 var(--ui); letter-spacing: .08em; padding: 3px 5px; border-radius: 3px; vertical-align: middle; }
.toolbar { display: flex; align-items: center; gap: 4px; padding: 5px 8px; background: linear-gradient(#f4f3ef, #e1ded6); border-bottom: 1px solid var(--winline); font-size: 12px; flex-wrap: wrap; }
.toolbar .tbtn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; background: none; padding: 4px 8px; border-radius: 3px; color: #1a1d22; text-decoration: none; }
.toolbar .tbtn:hover { border-color: #9aa3b2; background: linear-gradient(#fff, #e9edf3); }
.toolbar .sep { width: 1px; height: 20px; background: var(--winline); margin: 0 4px; }
.menubar { display: flex; gap: 2px; padding: 2px 6px; background: #f4f3ef; border-bottom: 1px solid #d9d6ce; font-size: 12px; color: #333; }
.menubar span { padding: 2px 6px; }
.menubar span:first-letter { text-decoration: underline; }
.fineprint { font-size: 11px; color: #666; }

/* ---------- APP: MAIL (the pink slip) ---------- */
.mail { display: flex; flex-direction: column; min-height: 100%; }
.mail-h { padding: 8px 16px 8px; background: #fff; border-bottom: 1px solid #ddd9cf; display: grid; grid-template-columns: 64px 1fr auto; gap: 2px 8px; font-size: 13px; }
.mail-h dt { color: #777; text-align: right; grid-column: 1; }
.mail-h dd { grid-column: 2; margin: 0; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-h .when { grid-column: 3; grid-row: 1; color: #777; font-weight: 400; font-size: 12px; }
.mail-h .subj { font-size: 15px; color: var(--red); }
.mail-h .att { grid-column: 2 / 4; margin-top: 4px; }
.att-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px; border: 1px solid #c9c4b8; border-radius: 3px; background: #faf9f6; font-size: 12px; font-weight: 700; color: #1a1d22; }
.att-chip svg { width: 20px; height: 20px; }
.att-chip:hover { border-color: var(--blue); background: #eef3fc; }
.mail-b { flex: 1; padding: 12px 20px 16px; background: #fff; }
.mail-hello { margin: 0 0 12px; font-size: 14px; color: #333; }
.slip { position: relative; background: #f6c3d0; color: var(--ink); padding: 22px 26px 20px; border-radius: 3px; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 22px -12px rgba(74,16,34,.6); background-image: radial-gradient(rgba(74,16,34,.06) 1px, transparent 1px), linear-gradient(transparent 0 0); background-size: 5px 5px; transform: rotate(-.6deg); }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px; background: radial-gradient(circle at 5px -1px, #fff 4px, transparent 4.5px) 0 0 / 14px 6px repeat-x; }
.slip-top { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid rgba(74,16,34,.35); }
.slip-top img { width: 64px; filter: invert(1) sepia(1) saturate(4) hue-rotate(300deg) brightness(.35); }
.slip-top div { flex: 1; font: 700 12px/1.35 var(--mono); letter-spacing: .06em; }
.slip-top div b { display: block; font: 22px/1 var(--head); letter-spacing: .03em; }
.slip-top .ref { text-align: right; flex: 0 0 auto; }
.slip-to { margin: 14px 0 0; font: 700 13px var(--mono); letter-spacing: .12em; }
.slip-h { margin: 2px 0 14px; font: clamp(72px, 7.6vw, 118px)/.86 var(--head); letter-spacing: .01em; color: var(--ink); }
.stamp { position: absolute; width: 47%; max-width: 340px; right: 1%; top: 84px; transform: rotate(-9deg); mix-blend-mode: multiply; opacity: .92; pointer-events: none; }
.stamp.slam { animation: slam .5s cubic-bezier(.2,1.2,.35,1) both; }
@keyframes slam { 0% { transform: rotate(-24deg) scale(3); opacity: 0; } 55% { opacity: .95; } 70% { transform: rotate(-8deg) scale(.94); } 100% { transform: rotate(-9deg) scale(1); opacity: .92; } }
.terms { margin: 0; padding: 12px 0 0; list-style: none; border-top: 2px solid rgba(74,16,34,.35); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 1; }
.terms li { display: flex; flex-direction: column; align-items: stretch; gap: 6px; font: 700 15px/1.15 var(--ui); }
.terms .k { font-family: var(--head); font-weight: 400; font-size: 24px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.terms .eq { display: none; }
.terms .v { background: var(--ink); color: var(--pink); padding: 8px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; white-space: nowrap; }
.terms .v::before { content: "= "; opacity: .6; }
.terms li:last-child .v { background: #fff; color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.mail-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.mail-note { margin: 10px 0 0; font-size: 12px; color: #555; }
.mail-note b { color: #1a1d22; }

/* ---------- APP: PDF handbook ---------- */
.pdf { display: flex; flex-direction: column; height: 100%; background: #525861; }
.pdf .toolbar { background: linear-gradient(#3b4049, #2c3038); border-color: #1a1d22; color: #e8ebef; }
.pdf .toolbar .tbtn { color: #e8ebef; }
.pdf .toolbar .tbtn:hover { background: #4b515c; border-color: #6b717b; }
.pdf-pg { font: 700 12px var(--ui); color: #e8ebef; padding: 0 6px; }
.pdf-main { flex: 1; min-height: 0; display: flex; }
.pdf-thumbs { flex: 0 0 104px; overflow: auto; padding: 12px 10px; background: #43474f; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid #2a2d33; }
.pdf-thumbs button { border: 2px solid transparent; background: #fff; padding: 0; aspect-ratio: .78; border-radius: 2px; display: grid; place-items: center; font: 34px var(--head); color: #1a1d22; position: relative; }
.pdf-thumbs button small { position: absolute; bottom: 6px; left: 2px; right: 2px; font: 700 8px/1.1 var(--mono); letter-spacing: .04em; color: #666; }
.pdf-thumbs button[aria-current="true"] { border-color: #7fb0ff; box-shadow: 0 0 0 2px #2f62c0; }
.pdf-view { flex: 1; min-width: 0; overflow: auto; padding: 18px; display: grid; place-items: start center; }
.page { width: min(100%, 560px); background: #fff; color: #15181d; box-shadow: 0 6px 22px rgba(0,0,0,.45); padding: 26px 30px 22px; display: flex; flex-direction: column; aspect-ratio: .78; min-height: 0; position: relative; animation: pageIn .25s ease-out both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.page-k { display: flex; justify-content: space-between; font: 700 11px var(--mono); letter-spacing: .12em; color: #777; border-bottom: 1px solid #ddd; padding-bottom: 8px; }
.page-n { font: 120px/.8 var(--head); color: var(--red); margin-top: 16px; }
.page-h { font: clamp(40px, 5vw, 58px)/.95 var(--head); margin: 6px 0 10px; letter-spacing: .01em; }
.page-p { font-size: 18px; line-height: 1.35; margin: 0; max-width: 26em; font-weight: 700; color: #222; }
.page-p small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: #555; }
.page-v { flex: 1; display: grid; place-items: center; min-height: 140px; padding: 12px 0; }
.page-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: #666; border-top: 1px solid #ddd; padding-top: 10px; flex-wrap: wrap; }
.page-f a { color: var(--blue); font-weight: 700; }
/* page visuals */
.v-slip { width: 260px; height: 150px; background: var(--pink); border-radius: 3px; position: relative; transform: rotate(-4deg); box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); padding: 16px; font: 30px/1 var(--head); color: var(--ink); }
.v-slip small { display: block; font: 700 10px var(--mono); letter-spacing: .1em; margin-bottom: 8px; }
.v-slip img { position: absolute; right: -24px; bottom: 6px; width: 190px; transform: rotate(-10deg); mix-blend-mode: multiply; }
.v-streak { display: flex; gap: 10px; align-items: flex-end; }
.v-cal { width: 92px; border: 2px solid #15181d; border-radius: 6px; overflow: hidden; text-align: center; background: #fff; box-shadow: 0 6px 0 -2px #15181d; }
.v-cal b { display: block; background: var(--red); color: #fff; font: 13px/1 var(--head); letter-spacing: .1em; padding: 6px 0; }
.v-cal span { display: block; font: 54px/1.1 var(--head); }
.v-cal.big { width: 124px; } .v-cal.big span { font-size: 76px; }
.v-cal.dim { opacity: .45; transform: scale(.85); transform-origin: bottom; }
.v-cheque { width: 300px; background: linear-gradient(#e9f4ec, #d8ecdd); border: 2px solid #15181d; border-radius: 4px; padding: 14px 16px; font: 700 12px var(--mono); color: #15181d; position: relative; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); transform: rotate(2deg); }
.v-cheque .row { display: flex; justify-content: space-between; border-bottom: 1px solid #15181d; padding: 6px 0; gap: 10px; }
.v-cheque .amt { font: 30px/1.1 var(--head); letter-spacing: .02em; }
.v-cheque .ex { position: absolute; top: -10px; right: -10px; background: var(--yellow); border: 2px solid #15181d; padding: 3px 6px; font-size: 10px; transform: rotate(6deg); }
.v-fly { position: relative; width: 300px; height: 150px; }
.v-fly .from, .v-fly .to { position: absolute; bottom: 0; width: 86px; text-align: center; font: 700 12px var(--mono); }
.v-fly .from { left: 0; } .v-fly .to { right: 0; }
.v-fly .from i, .v-fly .to i { display: block; width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; background: #d8dde5; border: 2px solid #15181d; position: relative; }
.v-fly .to i::after { content: "FIRED"; position: absolute; left: -10px; right: -10px; top: 18px; font: 14px/1 var(--head); color: var(--red); border: 2px solid var(--red); transform: rotate(-12deg); background: rgba(255,255,255,.85); }
.v-fly .paper { position: absolute; left: 60px; top: 50px; width: 70px; height: 44px; background: var(--pink); border: 2px solid var(--ink); border-radius: 2px; animation: fly 2.4s ease-in-out infinite; }
@keyframes fly { 0% { transform: translate(0, 30px) rotate(-10deg); opacity: 0; } 15% { opacity: 1; } 50% { transform: translate(70px, -40px) rotate(8deg); } 85% { opacity: 1; } 100% { transform: translate(150px, 30px) rotate(20deg); opacity: 0; } }

/* ---------- APP: FIRE SOMEONE ---------- */
.fire { display: grid; grid-template-columns: 300px 1fr; height: 100%; min-height: 0; }
.fire-form { padding: 16px; background: #eceae4; border-right: 1px solid var(--winline); display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.fire-form h3 { margin: 0; font: 30px/1 var(--head); letter-spacing: .02em; color: #1a1d22; }
.fire-form p { margin: 0; color: #444; }
.fld { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 12px; color: #333; }
.fld input, .fld select { font: 15px var(--ui); padding: 9px 10px; border: 1px solid #7d8594; border-radius: 3px; background: #fff; color: #111; box-shadow: inset 0 1px 2px rgba(0,0,0,.15); min-height: 40px; width: 100%; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.fire-out { padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: repeating-conic-gradient(#e2e0da 0 25%, #ebe9e3 0 50%) 0 0 / 22px 22px; min-height: 0; overflow: auto; }
.fire-out img, .fire-out canvas { max-width: 100%; height: auto; box-shadow: 0 12px 28px -12px rgba(0,0,0,.6); border-radius: 3px; }
.fire-ph { text-align: center; color: #555; font: 700 14px var(--mono); max-width: 300px; }
.fire-ph svg { width: 120px; height: 120px; opacity: .8; }
.fire-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.slipwrap { position: relative; max-width: 100%; }

/* ---------- APP: BENEFITS.XLS ---------- */
.xls { display: flex; flex-direction: column; height: 100%; background: #fff; color: #111; }
.fx { display: flex; align-items: stretch; border-bottom: 1px solid #c9c6bd; background: #fff; font: 13px var(--ui); }
.fx .ref { width: 70px; padding: 5px 8px; border-right: 1px solid #c9c6bd; font-weight: 700; background: #f4f3ef; }
.fx .f { padding: 5px 10px; font-style: italic; color: #1a3d7a; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.fx .f::before { content: "fx  "; font-weight: 700; font-style: normal; color: #777; }
.grid-wrap { flex: 1; overflow: auto; min-height: 0; }
.grid { border-collapse: collapse; font-size: 13px; min-width: 100%; table-layout: fixed; }
.grid th { background: linear-gradient(#f6f5f1, #e4e1da); border: 1px solid #c9c6bd; font-weight: 400; color: #555; font-size: 11px; height: 22px; position: sticky; top: 0; z-index: 1; }
.grid th.rn { width: 34px; position: sticky; left: 0; z-index: 2; }
.grid td.rn { background: linear-gradient(90deg, #f6f5f1, #e8e5de); border: 1px solid #c9c6bd; color: #555; font-size: 11px; text-align: center; position: sticky; left: 0; }
.grid td { border: 1px solid #e1ded6; padding: 5px 8px; height: 28px; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: cell; }
.grid td.sel { outline: 2px solid #1f6d3e; outline-offset: -2px; background: #eef7f1; }
.grid td.wrap { white-space: normal; }
.grid .h1 { font: 22px/1.1 var(--head); letter-spacing: .02em; }
.grid .hd { font-weight: 700; background: #f3f1ea; }
.grid .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-weight: 700; }
.grid .ex { background: #fff4c2; color: #6b4d00; font-weight: 700; }
.grid .red { color: var(--red); font-weight: 700; }
.bar { height: 18px; border: 1px solid rgba(0,0,0,.4); border-radius: 2px; min-width: 4px; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); transform-origin: left; animation: grow .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.tabs { display: flex; gap: 0; padding: 0 8px; background: #e4e1da; border-top: 1px solid #c9c6bd; font-size: 12px; overflow-x: auto; }
.tabs button { border: 1px solid #b2ada2; border-top: 0; margin-right: -1px; background: #d8d4ca; padding: 5px 14px 6px; border-radius: 0 0 5px 5px; color: #333; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: #fff; font-weight: 700; color: #111; position: relative; top: -1px; }

/* ---------- APP: MASS LAYOFF slot ---------- */
.slot { height: 100%; background: radial-gradient(80% 60% at 50% 0%, #3a0f12, #160608 70%); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 14px 16px 16px; gap: 12px; overflow: auto; }
.marquee { width: 100%; max-width: 520px; text-align: center; border-radius: 12px; padding: 12px 10px 10px; background: linear-gradient(#c3352a, #7a1a12); border: 3px solid #f6cf5c; box-shadow: 0 0 0 3px #3a0f12, 0 0 24px rgba(246,207,92,.35); position: relative; }
.marquee b { display: block; font: clamp(34px, 5vw, 50px)/1 var(--head); letter-spacing: .04em; color: #fff3c4; text-shadow: 0 3px 0 #5a0e08; }
.marquee small { font: 700 11px var(--mono); letter-spacing: .14em; color: #ffd7cf; }
.bulbs { position: absolute; inset: 4px; pointer-events: none; border-radius: 9px; background: radial-gradient(circle, #fff6b0 2px, transparent 2.5px) 0 0 / 16px 16px; -webkit-mask: linear-gradient(#000 0 0) top/100% 8px no-repeat, linear-gradient(#000 0 0) bottom/100% 8px no-repeat; mask: linear-gradient(#000 0 0) top/100% 8px no-repeat, linear-gradient(#000 0 0) bottom/100% 8px no-repeat; animation: bulbs .6s steps(2) infinite; }
@keyframes bulbs { 50% { background-position: 8px 0; } }
.reels-row { display: flex; align-items: center; gap: 12px; }
.reels { display: flex; gap: 8px; padding: 10px; background: #0d0405; border-radius: 10px; border: 3px solid #f6cf5c; box-shadow: inset 0 0 18px #000; }
.reel { width: 104px; height: 120px; overflow: hidden; border-radius: 6px; background: linear-gradient(#cfcac0, #fff 30%, #fff 70%, #cfcac0); position: relative; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), transparent 30%, transparent 70%, rgba(0,0,0,.35)); pointer-events: none; }
.strip { will-change: transform; }
.sym { height: 120px; display: grid; place-items: center; }
.sym svg { width: 76px; height: 76px; }
.lever { width: 46px; height: 150px; border: 0; background: none; position: relative; padding: 0; }
.lever::before { content: ""; position: absolute; left: 19px; top: 30px; width: 8px; height: 110px; background: linear-gradient(90deg, #888, #eee, #888); border-radius: 4px; transform-origin: bottom; transition: transform .25s; }
.lever::after { content: ""; position: absolute; left: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7e, #c3352a 60%, #6c140d); box-shadow: 0 3px 6px rgba(0,0,0,.5); transition: transform .25s; }
.lever.pull::before { transform: scaleY(-.3); } .lever.pull::after { transform: translateY(100px); }
.slot-msg { min-height: 44px; text-align: center; font: 700 15px/1.35 var(--ui); max-width: 480px; }
.slot-msg .win { all: unset; }
.slot-info { width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-info div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 8px 10px; font-size: 12px; color: #ffd7cf; }
.slot-info b { display: block; color: #fff; font: 22px/1.1 var(--head); letter-spacing: .02em; }
.demo-tag { font: 700 11px var(--mono); letter-spacing: .14em; background: var(--yellow); color: #111; padding: 3px 7px; border-radius: 2px; }

/* ---------- APP: ORG CHART ---------- */
.org { padding: 18px; color: #1a1d22; display: flex; flex-direction: column; gap: 16px; min-height: 100%; background: #f6f5f1 radial-gradient(#d9d6ce 1px, transparent 1px) 0 0 / 16px 16px; }
.org-tree { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.org-row { display: flex; gap: 14px; justify-content: center; position: relative; }
.org-row + .org-row::before { content: ""; position: absolute; top: -12px; left: 15%; right: 15%; height: 2px; background: #9aa3b2; }
.node { width: 128px; padding: 8px; text-align: center; background: #fff; border: 2px dashed #9aa3b2; border-radius: 6px; font-size: 12px; color: #777; position: relative; }
.node::before { content: ""; position: absolute; top: -12px; left: 50%; width: 2px; height: 10px; background: #9aa3b2; }
.org-row:first-child .node::before { display: none; }
.node b { display: block; font: 15px/1.2 var(--head); letter-spacing: .04em; color: #1a1d22; }
.node.ceo { width: 168px; border-style: solid; border-color: #1a1d22; }
.node.ceo b { font-size: 20px; color: var(--red); }
.org-empty { text-align: center; background: #fff; border: 1px solid var(--winline); border-radius: 6px; padding: 14px; }
.org-empty b { display: block; font: 24px/1.1 var(--head); letter-spacing: .02em; margin-bottom: 4px; }
.lb { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.lb th { text-align: left; background: #e4e1da; padding: 6px 8px; font-size: 11px; letter-spacing: .06em; }
.lb td { padding: 7px 8px; border-top: 1px solid #e1ded6; }

/* ---------- LOCKED + small dialogs ---------- */
.locked { padding: 22px; display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start; color: #1a1d22; }
.locked svg { width: 80px; height: 80px; }
.locked h3 { margin: 0 0 6px; font: 30px/1 var(--head); letter-spacing: .02em; }
.locked p { margin: 0 0 10px; font-size: 14px; }
.dlg { padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; color: #1a1d22; font-size: 14px; }
.dlg svg { width: 44px; height: 44px; }
.dlg p { margin: 0 0 12px; }
.dlg-btns { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- RECYCLE BIN / EXPLORER ---------- */
.ex-list { padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; min-height: 100%; background: #fff; }
.ex-item { width: 104px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: 1px solid transparent; background: none; border-radius: 3px; color: #1a1d22; font-size: 12px; text-align: center; }
.ex-item svg { width: 44px; height: 44px; }
.ex-item:hover, .ex-item:focus-visible { background: #e6eefb; border-color: #a9c3ee; }
.status { padding: 4px 10px; font-size: 11px; color: #555; background: #eceae4; border-top: 1px solid var(--winline); }
.doc { padding: 28px 34px; background: #fff; color: #111; font: 15px/1.6 Georgia, "Times New Roman", serif; min-height: 100%; }
.doc h2 { font: 700 28px/1.1 Georgia, serif; margin: 0 0 10px; }
.doc s { color: #777; }
.doc .red { color: var(--red); font-family: var(--mono); font-weight: 700; }

/* ---------- JOB HUNT (minesweeper) ---------- */
.mine { padding: 10px; background: #c9cdd4; display: inline-flex; flex-direction: column; gap: 10px; border: 1px solid #fff; }
.mine-wrap { display: grid; place-items: center; padding: 14px; min-height: 100%; background: #9aa1ab; }
.mine-top { display: flex; justify-content: space-between; align-items: center; padding: 6px; border: 2px solid; border-color: #7b818a #fff #fff #7b818a; }
.lcd { background: #160404; color: #ff3b2b; font: 32px/1 var(--lcd); padding: 0 6px; min-width: 62px; text-align: right; letter-spacing: 2px; text-shadow: 0 0 6px rgba(255,59,43,.6); }
.face { width: 40px; height: 40px; border: 2px solid; border-color: #fff #7b818a #7b818a #fff; background: #d8dbe0; font: 700 15px var(--mono); display: grid; place-items: center; padding: 0; }
.face:active { border-color: #7b818a #fff #fff #7b818a; }
.mine-grid { display: grid; grid-template-columns: repeat(9, 32px); border: 3px solid; border-color: #7b818a #fff #fff #7b818a; touch-action: manipulation; }
.cell { width: 32px; height: 32px; border: 3px solid; border-color: #fff #868c95 #868c95 #fff; background: #d0d4da; padding: 0; font: 20px/1 var(--head); display: grid; place-items: center; user-select: none; }
.cell.open { border: 1px solid #9ba1aa; background: #e3e5e9; }
.cell.boom { background: var(--red); }
.cell svg { width: 22px; height: 22px; }
.mine-cap { font-size: 12px; color: #1a1d22; text-align: center; max-width: 300px; }
.n1 { color: #1d4fc4; } .n2 { color: #1f7a3d; } .n3 { color: #c3352a; } .n4 { color: #1b1f6b; } .n5 { color: #7a1a12; } .n6 { color: #0c7a7a; } .n7, .n8 { color: #111; }

/* ---------- NOTEPAD (Contract.txt) ---------- */
.note { display: flex; flex-direction: column; height: 100%; background: #fff; }
.note pre { flex: 1; margin: 0; padding: 14px 16px; font: 15px/1.55 var(--mono); color: #111; white-space: pre-wrap; word-break: break-all; overflow: auto; }
.note pre b { background: #fff4c2; }
.note-acts { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--winline); background: #eceae4; flex-wrap: wrap; align-items: center; }

/* ---------- BROWSER (Docs / Proof) ---------- */
.web { display: flex; flex-direction: column; height: 100%; }
.addr { flex: 1; min-width: 120px; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #7d8594; border-radius: 3px; padding: 4px 8px; font-size: 12px; color: #333; white-space: nowrap; overflow: hidden; }
.web iframe { flex: 1; border: 0; width: 100%; background: #fff; min-height: 0; }

/* ---------- TASKBAR + START ---------- */
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--tb); z-index: 5000; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 4px; background: linear-gradient(#2e3a4c, #182231 40%, #111923); border-top: 1px solid #5b6a82; box-shadow: 0 -1px 0 #0a0f16, inset 0 1px 0 rgba(255,255,255,.12); }
.start-btn { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 16px 0 8px; border: 1px solid #0d1520; border-radius: 4px 18px 18px 4px; background: linear-gradient(#7f91ad, var(--startA) 40%, var(--startB)); color: #fff; font: 22px/1 var(--head); letter-spacing: .05em; text-shadow: 0 1px 1px #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 2px #000; }
.start-btn img { width: 38px; margin: -4px -2px; filter: drop-shadow(0 1px 1px #000); }
.start-btn:hover, .start-btn[aria-expanded="true"] { filter: brightness(1.15); }
.tasks { flex: 1; min-width: 0; display: flex; gap: 4px; overflow: hidden; }
.task { min-width: 0; max-width: 190px; flex: 1 1 160px; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #0b111a; border-radius: 4px; background: linear-gradient(#3e4b60, #27324a); color: #e8ebef; font-size: 12px; text-align: left; box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.task svg { width: 18px; height: 18px; flex: 0 0 18px; }
.task span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task.on { background: linear-gradient(#1b2437, #263249); box-shadow: inset 0 2px 4px rgba(0,0,0,.6); color: #fff; font-weight: 700; }
.tray { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-left: 1px solid #0b111a; box-shadow: -1px 0 0 rgba(255,255,255,.08); background: rgba(0,0,0,.18); border-radius: 3px; }
.tray-ca { border: 1px solid #5b6a82; background: rgba(255,255,255,.06); border-radius: 3px; padding: 3px 8px; font: 700 11px var(--mono); color: #dfe6f1; letter-spacing: .04em; }
.tray-ca:hover { background: rgba(255,255,255,.14); }
.snd { width: 30px; height: 28px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.snd svg { width: 20px; height: 20px; }
.clock { font: 700 12px var(--ui); color: #e8ebef; min-width: 64px; text-align: right; }
.start { position: absolute; left: 4px; bottom: calc(var(--tb) + 2px); z-index: 5100; width: 380px; max-height: calc(100vh - var(--tb) - 16px); display: flex; flex-direction: column; border: 1px solid #06080b; border-radius: 8px 8px 4px 4px; overflow: hidden; background: #f6f5f1; color: #1a1d22; box-shadow: 0 20px 50px rgba(0,0,0,.7); animation: startIn .16s ease-out both; }
@keyframes startIn { from { opacity: 0; transform: translateY(12px); } }
.start-h { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(#69717f, #2b303a); color: #fff; }
.start-h .av { width: 46px; height: 46px; border-radius: 5px; border: 2px solid #fff; background: var(--pink); display: grid; place-items: center; font: 15px/1 var(--head); color: var(--ink); transform: rotate(-4deg); }
.start-h b { display: block; font-size: 15px; }
.start-h small { font: 700 11px var(--mono); color: #ffb3aa; letter-spacing: .08em; }
.start-l { overflow: auto; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.start-l button, .start-l a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 0; background: none; border-radius: 3px; text-align: left; color: #1a1d22; text-decoration: none; font-size: 12px; min-height: 40px; }
.start-l button:hover, .start-l a:hover, .start-l button:focus-visible, .start-l a:focus-visible { background: #2f62c0; color: #fff; outline: none; }
.start-l svg { width: 28px; height: 28px; flex: 0 0 28px; }
.start-f { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 10px; background: linear-gradient(#3e4b60, #27324a); }
.start-f button { display: flex; align-items: center; gap: 6px; border: 1px solid #0b111a; background: linear-gradient(#5a6b88, #34465f); color: #fff; border-radius: 4px; padding: 6px 10px; font-size: 12px; }
.start-d { padding: 8px 12px 10px; font-size: 10.5px; color: #666; border-top: 1px solid #e1ded6; background: #f6f5f1; }

.ctx { position: absolute; z-index: 5200; min-width: 210px; padding: 3px; background: #f6f5f1; color: #1a1d22; border: 1px solid #06080b; box-shadow: 3px 6px 18px rgba(0,0,0,.5); border-radius: 3px; }
.ctx button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 6px 22px; border-radius: 2px; font-size: 12px; }
.ctx button:hover:not([disabled]), .ctx button:focus-visible { background: #2f62c0; color: #fff; outline: none; }
.ctx button[disabled] { color: #999; cursor: default; }
.ctx hr { border: 0; border-top: 1px solid #d0ccc2; margin: 3px 2px; }

/* ---------- HR assistant ---------- */
.hr { position: absolute; z-index: 4000; right: 22px; bottom: calc(var(--tb) + 16px); display: flex; align-items: flex-end; gap: 6px; animation: hrIn .45s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes hrIn { from { transform: translateY(40px); opacity: 0; } }
.hr-bubble { position: relative; width: 250px; background: #fffbe0; color: #1a1d22; border: 1px solid #1a1d22; border-radius: 10px; padding: 10px 12px 10px; box-shadow: 0 10px 22px rgba(0,0,0,.45); font-size: 13px; margin-bottom: 52px; }
.hr-bubble::after { content: ""; position: absolute; right: -9px; bottom: 18px; width: 16px; height: 16px; background: #fffbe0; border-right: 1px solid #1a1d22; border-bottom: 1px solid #1a1d22; transform: rotate(-45deg); }
.hr-bubble b { font: 700 11px var(--mono); letter-spacing: .1em; color: #777; }
.hr-bubble p { margin: 4px 0 8px; font-weight: 700; }
.hr-x { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 18px; line-height: 1; color: #777; }
.hr-btns { display: flex; justify-content: flex-end; }
.hr-guy { width: 76px; height: 96px; border: 0; padding: 0; background: none; }
.hr-guy svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 6px rgba(0,0,0,.5)); }
.hr-guy:hover svg, .hr.talk .hr-guy svg { animation: bob .5s ease-in-out 2; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }

/* ---------- SCREENSAVER ---------- */
.saver { position: fixed; inset: 0; z-index: 8000; background: #000; cursor: none; overflow: hidden; }
.saver b { position: absolute; left: 0; top: 0; font: clamp(40px, 7vw, 96px)/1 var(--head); letter-spacing: .03em; white-space: nowrap; color: var(--pink); will-change: transform; text-shadow: 0 0 22px currentColor; }
.saver::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.4) 0 1px, transparent 1px 3px); pointer-events: none; }

.saver-h { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font: 20px var(--lcd); color: #555; letter-spacing: .1em; }
.toast { position: fixed; z-index: 8500; left: 50%; bottom: calc(var(--tb) + 20px); transform: translateX(-50%); background: #111923; color: #fff; border: 1px solid #5b6a82; border-radius: 6px; padding: 10px 16px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.6); animation: startIn .2s ease-out both; max-width: calc(100vw - 32px); text-align: center; }

/* ---------- PHONE ---------- */
.phone { flex-direction: column; background: #0b1220 url(assets/wall-office-phone.webp) 60% 50% / cover no-repeat; overflow: hidden; }
.phone::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), transparent 30%, rgba(0,0,0,.35)); pointer-events: none; }
.p-status { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 10px) 20px 6px; font: 700 14px var(--ui); color: #fff; }
.p-time { min-width: 60px; }
.p-carrier { font: 700 11px var(--mono); letter-spacing: .1em; opacity: .85; }
.p-batt { display: flex; align-items: center; gap: 5px; font: 700 11px var(--mono); min-width: 60px; justify-content: flex-end; }
.p-batt i { width: 22px; height: 11px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.p-batt i::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: #fff; border-radius: 0 1px 1px 0; }
.p-batt i::before { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 2px; background: var(--red); }
.p-home { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 12px); gap: 16px; min-height: 0; overflow: auto; }
.p-widget { display: block; text-align: left; border: 0; border-radius: 22px; padding: 16px 18px; background: var(--pink); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); position: relative; overflow: hidden; }
.p-widget::after { content: ""; position: absolute; right: -40px; top: 6px; width: 190px; height: 92px; background: url(assets/stamp-youre-fired-ink.webp) center / contain no-repeat; transform: rotate(-10deg); mix-blend-mode: multiply; opacity: .9; }
.p-w-k { display: block; font: 700 11px var(--mono); letter-spacing: .12em; }
.p-w-h { display: block; font: 46px/1 var(--head); margin: 4px 0 4px; position: relative; z-index: 1; }
.p-w-s { display: block; font: 700 13px var(--ui); position: relative; z-index: 1; }
.p-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-stat button { text-align: left; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 12px 14px; background: rgba(10,14,20,.55); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.p-stat small { display: block; font: 700 10px var(--mono); letter-spacing: .12em; color: var(--label); }
.p-stat b { display: block; font: 30px/1.05 var(--lcd); color: #ff6a5c; text-shadow: 0 0 8px rgba(255,80,60,.5); margin: 2px 0; }
.p-stat span { font-size: 11px; color: #c4cad2; }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.pi { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; padding: 0; color: #fff; text-decoration: none; }
.pi .tile { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.25); box-shadow: 0 8px 18px -8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pi .tile svg { width: 44px; height: 44px; }
.pi > span { font-size: 11px; line-height: 1.15; text-align: center; text-shadow: 0 1px 2px #000; max-width: 76px; }
.pi .badge { top: -4px; right: 2px; }
.pi:active .tile { transform: scale(.92); }
.pi .dot { position: absolute; top: -5px; right: 4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); color: #fff; font: 700 12px/20px var(--ui); text-align: center; border: 2px solid #111923; }
.p-dock { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 10px; border-radius: 26px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.p-dock .pi > span:not(.tile) { display: none; }
.p-notes { position: absolute; z-index: 20; left: 10px; right: 10px; top: calc(env(safe-area-inset-top, 0px) + 40px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.pn { pointer-events: auto; display: grid; grid-template-columns: 38px 1fr auto; gap: 2px 10px; align-items: center; text-align: left; border: 0; width: 100%; padding: 11px 13px; border-radius: 18px; background: rgba(28,32,40,.86); color: #fff; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 12px 30px rgba(0,0,0,.5); animation: noteIn .45s cubic-bezier(.2,1.2,.4,1) both; }
.pn.out { animation: noteOut .3s ease-in forwards; }
@keyframes noteIn { from { transform: translateY(-120%); opacity: 0; } }
@keyframes noteOut { to { transform: translateY(-120%); opacity: 0; } }
.pn .ni { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 9px; background: var(--pink); display: grid; place-items: center; }
.pn .ni svg { width: 30px; height: 30px; }
.pn b { font-size: 13px; }
.pn time { font-size: 11px; opacity: .7; }
.pn p { grid-column: 2 / 4; margin: 0; font-size: 13px; opacity: .95; }

.sheet { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; background: #f6f5f1; color: #1a1d22; animation: sheetIn .32s cubic-bezier(.2,.9,.25,1) both; }
.sheet.out { animation: sheetOut .25s ease-in forwards; }
@keyframes sheetIn { from { transform: translateY(100%) scale(.96); border-radius: 30px; } }
@keyframes sheetOut { to { transform: translateY(100%) scale(.96); opacity: .6; } }
.sheet-h { display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 10px) 10px 10px; background: linear-gradient(#4b515c, #2b303a); color: #fff; box-shadow: 0 1px 0 #000; }
.sheet-h b { text-align: center; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-back:focus:not(:focus-visible) { outline: none; }
.phone .mail .toolbar .fineprint, .phone .mail .toolbar .sep { display: none; }
.sheet-back { border: 0; background: none; color: #ffcad3; font-size: 16px; font-weight: 700; text-align: left; padding: 6px 4px; min-height: 40px; }
.sheet-b { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.homebar { flex: 0 0 auto; height: calc(env(safe-area-inset-bottom, 0px) + 26px); border: 0; background: #f6f5f1; display: grid; place-items: start center; padding-top: 10px; touch-action: none; }
.homebar i { width: 136px; height: 5px; border-radius: 3px; background: #111; }

/* phone versions of apps */
.phone .mail-h { grid-template-columns: 52px 1fr; padding: 10px 12px; }
.phone .mail-h .when { display: none; }
.phone .mail-h .att { grid-column: 1 / 3; }
.phone .mail-b { padding: 14px 12px 22px; }
.phone .slip { padding: 16px 14px 14px; }
.phone .slip-top img { width: 46px; }
.phone .slip-top div b { font-size: 18px; }
.phone .slip-top .ref { display: none; }
.phone .slip-h { font-size: 78px; }
.phone .stamp { width: 40%; right: -4%; top: 104px; }
.sheet-back:focus { outline: none; }
.sheet-back:focus-visible { outline: 2px dotted #fff; }
.phone .terms { grid-template-columns: 1fr; gap: 8px; }
.phone .terms li { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.phone .terms .eq { display: none; }
.phone .terms .k { font-size: 21px; }
.phone .terms .v { font-size: 13px; padding: 6px 8px; }
.phone .mail-cta .btn { flex: 1 1 100%; }
.phone .pdf-thumbs { display: none; }
.phone .pdf .toolbar .pdf-pg + .sep, .phone .pdf .toolbar .sep + .pdf-pg { display: none; }
.phone .pdf-view { padding: 10px; }
.phone .page { aspect-ratio: auto; min-height: calc(100vh - 170px); padding: 18px 18px 14px; }
.phone .page-n { font-size: 96px; }
.phone .fire { grid-template-columns: 1fr; height: auto; }
.phone .fire-form { border-right: 0; border-bottom: 1px solid var(--winline); }
.phone .fire-out { min-height: 220px; }
.phone .xls { height: auto; min-height: 100%; }
.phone .grid-wrap { overflow-x: auto; }
.phone .slot { min-height: 100%; height: auto; }
.phone .reel { width: 80px; height: 96px; } .phone .sym { height: 96px; } .phone .sym svg { width: 60px; height: 60px; }
.phone .lever { height: 120px; }
.phone .slot-info { grid-template-columns: 1fr; }
.phone .web { height: 100%; }
.phone .mine-grid { grid-template-columns: repeat(9, 34px); }
.phone .cell { width: 34px; height: 34px; }
.phone .org-row { flex-wrap: wrap; }
.phone .node { width: 100px; }
.phone .locked { grid-template-columns: 1fr; }

/* ---------- 5K / huge displays: scale the whole OS ---------- */
@media (min-width: 2200px) { .desktop { zoom: 1.4; } }
@media (min-width: 3000px) { .desktop { zoom: 1.9; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .bulbs, .ic.hot svg, .v-fly .paper { animation: none !important; }
}


/* =====================================================================================
   BUILDER 12-OS: main-site pass (first-screen fixes, Unemployed Corp. identity, new apps)
   ===================================================================================== */
/* --- identity: taskbar, start button, chrome --- */
.taskbar { background: linear-gradient(#18202c, #0d131c); border-top: 1px solid #2a3442; box-shadow: inset 0 2px 0 rgba(246,195,208,.9), 0 -6px 18px rgba(0,0,0,.35); }
.start-btn { height: 38px; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 0 16px 0 6px; border: 1px solid var(--pink); border-radius: 4px; background: linear-gradient(#222b39, #0b0f15); color: var(--pink); text-shadow: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px #000; }
.start-btn img { grid-row: 1 / 3; width: 42px; margin: 0; filter: drop-shadow(0 1px 1px #000); }
.start-btn span { font: 21px/1 var(--head); letter-spacing: .08em; align-self: end; }
.start-btn small { font: 700 8px/1 var(--mono); letter-spacing: .14em; color: #c4cad2; align-self: start; margin-top: 2px; }
.start-btn:hover, .start-btn[aria-expanded="true"] { filter: none; background: linear-gradient(#2c3749, #121822); }
.win.active .tb { border-bottom: 2px solid var(--pink); }
.tray-ca { font: 700 12px var(--mono); color: #f0f0ec; border-color: rgba(246,195,208,.55); }
.tray-ca b { color: var(--pink); }
.task.on { box-shadow: inset 0 2px 4px rgba(0,0,0,.6), inset 0 -2px 0 var(--pink); }
.start-o { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px; border-top: 1px solid #e1ded6; font-size: 12px; }
.start-o small { flex: 1 0 100%; font: 700 10px var(--mono); letter-spacing: .1em; color: #777; }
.start-o a { color: #1d4fc4; font-weight: 700; }
.start-d { font-size: 12px; color: #444; }
.loading { padding: 30px; font: 22px var(--lcd); color: #555; }
.p-only { display: none !important; }
.phone .p-only { display: inline-flex !important; }

/* --- sticky note: bigger, darker --- */
.sticky { width: 230px; }
.sticky-in { font: 700 15px/1.3 var(--mono); color: #1f1904; }
.sticky b { font-size: 24px; }
.sticky b small { font-size: 12px; opacity: .85; }
.sticky-hint { font-size: 13px; opacity: 1; color: #3d300a; text-decoration: underline; }

/* --- the email: coin line, slip, stamp, terms, CTA --- */
.coinbar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: #fff4c2; border-bottom: 1px solid #e0cf8a; color: #1a1d22; font: 15px/1.3 var(--ui); }
.coinbar-t { flex: 1; min-width: 0; }
.coinbar-t b { font-weight: 800; }
.ca-chip { flex: none; border: 1px solid #1a1d22; background: #fff; border-radius: 3px; padding: 4px 9px; font: 700 12px var(--mono); color: #1a1d22; letter-spacing: .02em; }
.ca-chip:hover { background: #1a1d22; color: #fff; }
.mail-h .subj { font-size: 15px; color: #1a1d22; }
.mail-b { padding: 14px 20px 18px; }
.mail-hello { font-size: 15px; }
.slip { padding: 20px 26px 22px; transform: none; }
.slip-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 0 16px; }
.slip-to { margin: 0 0 12px; font: 700 15px var(--mono); letter-spacing: .12em; }
.slip-to b { font: 26px/1 var(--head); letter-spacing: .04em; margin-left: 4px; }
.slip-h { margin: 0; font: clamp(76px, 7.4vw, 112px)/.9 var(--head); }
.stamp2 { --sc: #c4271d; position: relative; justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 18px 11px; border: 5px solid var(--sc); outline: 2px solid var(--sc); outline-offset: 3px; border-radius: 6px; color: var(--sc); text-align: center; transform: rotate(-7deg); mix-blend-mode: multiply; opacity: .93; margin-right: 8px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.15'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.15'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stamp2 b { font: 40px/.95 var(--head); letter-spacing: .03em; }
.stamp2 small { font: 800 11px/1.2 var(--mono); letter-spacing: .12em; }
.stamp2.slam { animation: slam2 .5s cubic-bezier(.2,1.2,.35,1) both; }
@keyframes slam2 { 0% { transform: rotate(-20deg) scale(2.6); opacity: 0; } 55% { opacity: .95; } 72% { transform: rotate(-6deg) scale(.95); } 100% { transform: rotate(-7deg) scale(1); opacity: .93; } }
.terms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 14px; }
.terms li { display: grid; grid-template-rows: auto auto; gap: 7px; }
.terms .k { font-size: 23px; white-space: normal; }
.terms .v, .terms li:last-child .v { background: var(--ink); color: #fff; outline: 0; padding: 9px 12px; font: 700 15px/1.2 var(--ui); text-transform: none; letter-spacing: 0; border-radius: 3px; white-space: nowrap; }
.terms .v::before { content: none; }
.terms li:last-child .v { background: #7a1a12; }
.mail-cta { gap: 12px; margin-top: 18px; align-items: stretch; }
.btn.two { flex-direction: column; gap: 2px; line-height: 1.1; padding: 8px 24px; }
.btn.two small { font: 700 12px var(--ui); letter-spacing: .02em; opacity: .92; text-transform: none; }
.mail-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.45; color: #333; }
.home-go { margin-top: 14px; width: 100%; }

/* --- HR assistant = a rubber stamp, not a character --- */
.hr { right: 26px; }
.hr-guy { width: 80px; height: 96px; }
.hr-guy:hover svg, .hr.talk .hr-guy svg { animation: thunk .55s cubic-bezier(.3,1.5,.5,1) 1; }
@keyframes thunk { 0% { transform: none; } 35% { transform: translateY(-12px) rotate(-3deg); } 60% { transform: translateY(3px) scaleY(.94); } 100% { transform: none; } }
.hr-bubble { margin-bottom: 40px; font-size: 14px; width: 270px; }
.hr-bubble b { color: #555; }

/* --- desktop printer (Fire Someone) + paper physics + shredding in the Recycle Bin --- */
.prn { position: absolute; z-index: 4400; width: 250px; height: 120px; pointer-events: none; transition: transform .45s cubic-bezier(.2,1.2,.4,1), opacity .3s; }
.prn.off { transform: translateY(150px); opacity: 0; }
.prn-body { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; border-radius: 10px 10px 6px 6px; background: linear-gradient(#e9e6df, #c9c5bb); border: 2px solid #15181d; box-shadow: 0 16px 30px -10px rgba(0,0,0,.8), inset 0 2px 0 #fff; }
.prn-slot { position: absolute; left: 20px; right: 20px; top: 0; height: 12px; background: #15181d; border-radius: 0 0 4px 4px; }
.prn-face { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px; font: 700 10px var(--mono); color: #333; letter-spacing: .1em; }
.prn-face b { font: 18px/1 var(--head); letter-spacing: .06em; color: #15181d; }
.prn-lcd { margin-left: auto; background: #1b2a1d; color: #9cff9c; font: 15px/1 var(--lcd); padding: 3px 7px; border-radius: 2px; min-width: 92px; text-align: right; }
.prn-led { width: 9px; height: 9px; border-radius: 50%; background: #2f8a57; box-shadow: 0 0 6px #2f8a57; }
.prn.busy .prn-led { background: #f6cf5c; box-shadow: 0 0 8px #f6cf5c; animation: blink .3s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.paper { position: absolute; left: 0; top: 0; z-index: 4300; width: 240px; touch-action: none; cursor: grab; user-select: none; -webkit-user-drag: none; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 8px 10px rgba(0,0,0,.55)); }
.paper img { display: block; width: 100%; border-radius: 2px; pointer-events: none; }
.paper.grab { cursor: grabbing; filter: drop-shadow(0 18px 18px rgba(0,0,0,.5)); }
.paper.feeding { z-index: 4350; }
.paper-hint { position: absolute; z-index: 4450; font: 700 12px var(--ui); color: #fff; background: rgba(17,25,35,.92); border: 1px solid var(--pink); border-radius: 4px; padding: 6px 9px; pointer-events: none; animation: startIn .2s ease-out both; max-width: 220px; }
.shred { position: absolute; z-index: 4320; pointer-events: none; display: flex; gap: 2px; }
.shred i { display: block; width: 10px; height: 140px; background: var(--pink); border: 1px solid rgba(74,16,34,.35); animation: shredFall .9s cubic-bezier(.5,0,.9,.6) both; }
@keyframes shredFall { to { transform: translateY(120px) rotate(var(--r, 8deg)); opacity: 0; } }
.ic.binhot svg { transform: scale(1.18) rotate(-4deg); }
.ic.eat svg { animation: eat .45s ease-out; }
@keyframes eat { 30% { transform: scale(1.2, .85); } 60% { transform: scale(.95, 1.08); } }
.fire-tip { text-align: center; max-width: 440px; font-size: 12.5px; color: #444; }
.fire-tip b { color: #1a1d22; }
/* phone: a small printer feeds the slip */
.mini-prn { width: 100%; max-width: 330px; position: relative; z-index: 2; }
.mp-body { position: relative; height: 54px; border-radius: 10px 10px 4px 4px; background: linear-gradient(#e9e6df, #c9c5bb); border: 2px solid #15181d; display: flex; align-items: center; gap: 8px; padding: 0 12px 10px; }
.mp-body b { font: 16px var(--head); letter-spacing: .06em; color: #15181d; }
.mp-led { width: 8px; height: 8px; border-radius: 50%; background: #f6cf5c; box-shadow: 0 0 6px #f6cf5c; }
.mp-slot { position: absolute; left: 14px; right: 14px; bottom: -2px; height: 9px; background: #15181d; border-radius: 4px 4px 0 0; }
.slipwrap.feed { max-width: 300px; margin-top: -14px; overflow: hidden; }
.slipwrap.feed img { animation: feedOut 1.3s steps(14) both; }
@keyframes feedOut { from { transform: translateY(-100%); } to { transform: none; } }

/* --- The Last Day.mov (media player) --- */
.film { display: flex; flex-direction: column; height: 100%; background: #07090c; color: #e8ebef; }
.film-screen { position: relative; flex: 1; min-height: 0; background: #000; overflow: hidden; }
.film-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.film-cover { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 45%, rgba(0,0,0,.2), rgba(0,0,0,.75)); border: 0; color: #fff; padding: 0; }
.film-cover span { display: grid; place-items: center; gap: 10px; font: 700 14px var(--mono); letter-spacing: .12em; }
.film-cover svg { width: 84px; height: 84px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.8)); }
.film-cover b { font: 44px/1 var(--head); letter-spacing: .04em; }
.film-stills { position: absolute; inset: 0; }
.film-stills figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s; display: grid; }
.film-stills figure.on { opacity: 1; }
.film-stills img { width: 100%; height: 100%; object-fit: cover; }
.film-stills figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; font: 40px/1 var(--head); color: #fff; text-shadow: 0 3px 12px #000; }
.film-stills figcaption small { display: block; font: 700 12px var(--mono); letter-spacing: .14em; color: var(--pink); margin-bottom: 4px; }
.film-ctl { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: linear-gradient(#2b303a, #15181d); border-top: 2px solid var(--pink); flex-wrap: wrap; }
.film-ctl .fb { width: 38px; height: 34px; border-radius: 4px; border: 1px solid #000; background: linear-gradient(var(--glass1), var(--glass2)); color: #15181d; display: grid; place-items: center; padding: 0; }
.film-ctl .fb svg { width: 16px; height: 16px; }
.film-bar { position: relative; flex: 1; min-width: 160px; height: 10px; border-radius: 5px; background: #3b4250; cursor: pointer; touch-action: none; }
.film-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, var(--pink), #ff8a9e); width: 0; }
.film-bar em { position: absolute; top: -3px; width: 2px; height: 16px; background: rgba(255,255,255,.55); }
.film-time { font: 700 12px var(--mono); color: #c4cad2; min-width: 92px; text-align: right; }
.film-ch { display: flex; gap: 4px; flex-wrap: wrap; }
.film-ch button { border: 1px solid #4b515c; background: #1f242c; color: #e8ebef; border-radius: 3px; font: 700 11px var(--ui); padding: 5px 8px; }
.film-ch button[aria-current="true"] { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.film-ctl a { color: #c4cad2; font-size: 12px; }
.phone .film { min-height: 100%; }
.phone .film-screen { min-height: calc(100svh - 230px); }
.phone .film-bar { flex-basis: 100%; order: 5; }

/* --- Benefits.xls: pay stub tab (from The Printer) --- */
.stub-wrap { padding: 18px; background: #e9e7e1; min-height: 100%; }
.stub { position: relative; max-width: 760px; margin: 0 auto; background: #fff; padding: 22px 24px; border: 2px solid #1b1418; color: #1b1418; font: 13px/1.4 var(--mono); box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); }
.stub-head { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; padding-bottom: 10px; border-bottom: 3px double #1b1418; }
.stub-head b { font: 46px/.9 var(--head); letter-spacing: .02em; width: 100%; }
.stub-head span { font-weight: 700; letter-spacing: .04em; font-size: 12px; }
.stub-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 14px 30px; padding: 16px 0 4px; }
.stub-sub { margin: 0 0 8px; font-weight: 700; letter-spacing: .12em; font-size: 12px; }
.stub-sub b { font: 22px var(--head); letter-spacing: 0; margin-left: 4px; }
.stub .li { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 3px; }
.stub .li span { font-weight: 700; }
.stub .li small { display: block; font-weight: 400; color: #555; font-size: 11px; }
.stub .li i { flex: 1; border-bottom: 2px dotted #999; transform: translateY(-4px); }
.stub .li b { font: 20px var(--head); }
.sbar { margin: 0 0 6px; height: 8px; background: #eee; border: 1px solid #1b1418; }
.sbar i { display: block; height: 100%; width: calc(var(--w) * 3.33%); background: #d64034; transform-origin: left; animation: grow .7s cubic-bezier(.2,.8,.2,1) both; }
.ded .sbar i { background: #4b515c; }
.stub-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px double #1b1418; margin: 12px 0 0; padding-top: 8px; font-weight: 700; letter-spacing: .1em; }
.stub-total b { font: 28px var(--head); letter-spacing: 0; }
.stub-rule { margin: 8px 0 0; font: 22px/1.1 var(--head); letter-spacing: .01em; }
.stub-tear { position: relative; height: 26px; margin: 18px -24px 10px; border-top: 2px dashed #1b1418; }
.stub-tear::before { content: "\2702  KEEP THIS PART"; position: absolute; left: 14px; top: -10px; background: #fff; padding: 0 8px; font: 700 11px/1.3 var(--mono); letter-spacing: .12em; }
.example { position: relative; }
.ex-h { margin: 0; font-weight: 700; letter-spacing: .1em; }
.ex-h span { display: block; font-weight: 400; letter-spacing: 0; color: #555; }
.ex-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.ex { display: flex; flex-direction: column; gap: 3px; border: 1px solid #1b1418; padding: 9px 11px; background: #fffdf2; }
.ex b { font-weight: 800; }
.ex-k { font-weight: 700; letter-spacing: .04em; border-bottom: 1px solid #ccc; padding-bottom: 4px; margin-bottom: 2px; }
.ex-note { margin: 10px 0 0; color: #444; }
.stub-stamp { position: absolute; right: -6px; top: -40px; padding: 6px 12px; border: 4px solid #c4271d; outline: 2px solid #c4271d; outline-offset: 2px; color: #c4271d; font: 24px/1 var(--head); letter-spacing: .03em; transform: rotate(-6deg); mix-blend-mode: multiply; opacity: .9; background: rgba(255,255,255,.4); }
.phone .stub-grid, .phone .ex-rows { grid-template-columns: 1fr; }
.phone .stub-wrap { padding: 10px; }
.phone .stub { padding: 16px 14px; }
.phone .stub-tear { margin: 18px -14px 10px; }
.phone .stub-stamp { top: -34px; font-size: 18px; }

/* --- phone first-screen fixes --- */
.p-coin { margin: 0; padding: 10px 14px; border-radius: 14px; background: #fff4c2; color: #1a1d22; font: 15px/1.3 var(--ui); box-shadow: 0 10px 24px -12px rgba(0,0,0,.8); }
.p-coin b { font-weight: 800; }
.p-widget::after { display: none; }
.p-w-h { font-size: 40px; line-height: .95; }
.p-widget { padding: 16px 18px 18px; border: 3px solid #f6c3d0; outline: 2px solid var(--ink); outline-offset: -6px; }
.p-home { gap: 14px; scrollbar-width: none; }
.p-home::-webkit-scrollbar, .sheet-b::-webkit-scrollbar { display: none; }
.sheet-b { scrollbar-width: none; }
.sheet-back { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--pink); color: var(--ink); border-radius: 18px; padding: 6px 14px; min-height: 36px; font-size: 15px; }
.sheet-back span { font-size: 18px; line-height: 1; }
.phone .coinbar { font-size: 14px; padding: 9px 12px; flex-wrap: wrap; gap: 6px; }
.phone .slip { padding: 16px 14px 16px; }
.phone .slip-main { grid-template-columns: 1fr; gap: 14px; padding: 12px 0 14px; }
.phone .slip-to { margin-bottom: 10px; }
.phone .slip-h { font-size: 74px; line-height: .94; }
.phone .stamp2 { justify-self: center; margin: 4px 0 6px; padding: 10px 14px 9px; max-width: calc(100% - 24px); transform: rotate(-4deg); }
.phone .stamp2 b { font-size: 32px; }
.phone .stamp2 small { font-size: 10px; }
.phone .stamp2.slam { animation-name: slam2p; }
@keyframes slam2p { 0% { transform: rotate(-16deg) scale(2.2); opacity: 0; } 72% { transform: rotate(-3deg) scale(.96); } 100% { transform: rotate(-4deg) scale(1); opacity: .93; } }
.phone .terms { grid-template-columns: 1fr; gap: 8px; }
.phone .terms li { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: auto; align-items: center; gap: 10px; }
.phone .terms .k { font-size: 20px; }
.phone .terms .v { font-size: 14px; padding: 8px 10px; }
.phone .mail-cta .btn { flex: 1 1 100%; }
.phone .mail-note { font-size: 14px; }

/* tighter mail so the whole email (incl. the disclaimer) fits a 900px-tall screen */
.mail-h { padding: 6px 16px; }
.mail-b { padding: 12px 20px 14px; }
.mail-hello { margin: 0 0 10px; }
.slip { padding: 16px 24px 18px; }
.slip-main { padding: 10px 0 12px; }
.slip-to { margin-bottom: 8px; }
.slip-h { font-size: clamp(70px, 6.3vw, 94px); }
.stamp2 b { font-size: 36px; }
.mail-cta { margin-top: 14px; }
.mail-note { flex: 1 1 240px; margin: 0; align-self: center; font-size: 13px; color: #2a2d33; }
.phone .mail-note { flex-basis: 100%; margin-top: 4px; }
.sticky-in::before { background: rgba(255,255,255,.28); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.prn { width: 290px; }
.prn-face { gap: 8px; white-space: nowrap; }
.prn-face b { font-size: 17px; }
.prn-face span:not(.prn-led):not(.prn-lcd) { font-size: 9px; }
.prn-lcd { font-size: 14px; min-width: 0; padding: 3px 6px; }
.paper { z-index: 4450; }
.paper.feeding { z-index: 4350; }
.film-cap { position: absolute; z-index: 1; left: 14px; bottom: 12px; max-width: min(560px, calc(100% - 28px)); margin: 0; padding: 8px 12px 9px; background: rgba(10,13,18,.82); border-left: 4px solid var(--pink); color: #f0f0ec; font: 600 14px/1.35 var(--ui); pointer-events: none; }
.film-cap small { display: block; font: 700 10px var(--mono); letter-spacing: .14em; color: var(--pink); }
.film-cap b { font: 22px/1.1 var(--head); letter-spacing: .03em; font-weight: 400; margin-right: 4px; }
/* phone: get the whole slip + the button onto the first screen */
.phone .mail .toolbar, .phone .mail-hello { display: none; }
.phone .mail-h { padding: 8px 12px; gap: 0 8px; font-size: 13px; }
.phone .mail-h dt:nth-of-type(2), .phone .mail-h dd:nth-of-type(2) { display: none; }
.phone .mail-h .att { margin-top: 6px; }
.phone .mail-b { padding: 10px 10px 18px; }
.phone .slip { padding: 12px 14px 14px; }
.phone .slip-top { padding-bottom: 8px; }
.phone .slip-top div { font-size: 10.5px; }
.phone .slip-main { padding: 10px 0 10px; gap: 10px; }
.phone .slip-to { margin-bottom: 4px; font-size: 13px; }
.phone .slip-to b { font-size: 22px; }
.phone .slip-h { font-size: 58px; line-height: .95; white-space: nowrap; }
.phone .slip-h br { display: none; }
.phone .stamp2 { padding: 8px 14px 7px; gap: 4px; }
.phone .stamp2 b { font-size: 27px; }
.phone .stamp2 b br:first-of-type { display: none; }
.phone .terms { padding-top: 10px; gap: 6px; }
.phone .terms .k { font-size: 19px; }
.phone .terms .v { padding: 6px 10px; }
.phone .mail-cta { margin-top: 12px; gap: 8px; }
.phone .film-ctl > * { order: 2; }
.phone .film-ctl > .film-bar { order: 1; flex-basis: 100%; margin: 4px 0 6px; height: 12px; }
.phone .film-gl .film-cap { display: none; }

.start-btn span { color: #ffd3de; }

/* ===================== builder 19: integration + clarity pass ===================== */
/* desktop: labelled icon groups (left and right columns) */
.icons { pointer-events: none; }
.grp-col { position: absolute; top: 10px; width: 300px; display: flex; flex-direction: column; gap: 10px; pointer-events: auto; max-height: calc(100% - 20px); }
.grp-col.l { left: 10px; } .grp-col.r { right: 10px; }
.grp { background: rgba(9,13,20,.62); border: 1px solid rgba(246,195,208,.38); border-radius: 8px; padding: 6px 4px 2px; box-shadow: 0 8px 22px -12px rgba(0,0,0,.8); }
.grp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 6px 2px; font: 17px/1.1 var(--head); letter-spacing: .08em; color: var(--pink); font-weight: 400; }
.grp-h small { font: 700 11px var(--ui); letter-spacing: .02em; color: #c4cad2; text-transform: none; }
.grp-start { border-color: var(--yellow); } .grp-start .grp-h { color: var(--yellow); }
.grp-i { display: grid; grid-template-columns: repeat(3, 1fr); }
.grp .ic { position: relative; width: auto; padding: 5px 2px 4px; }
.grp .ic svg { width: 42px; height: 42px; }
.grp .ic span { font-size: 12px; }
.grp .ic.is-locked svg { opacity: .8; }
.ic .badge.kcb, .pr-b.kcb { background: #111; color: var(--yellow); border-color: var(--yellow); }
.grp.flash { animation: grpflash .9s ease-out 1; }
@keyframes grpflash { 0% { box-shadow: 0 0 0 0 rgba(246,207,92,.95); } 100% { box-shadow: 0 0 0 16px rgba(246,207,92,0); } }
.ic-tip { position: absolute; z-index: 4600; max-width: 230px; background: #fffbe0; color: #1a1d22; border: 1px solid #1a1d22; border-radius: 4px; padding: 4px 8px; font: 700 12px/1.3 var(--ui); pointer-events: none; box-shadow: 0 6px 14px rgba(0,0,0,.45); }
.wall-logo { display: none; }
/* taskbar: What is this? + Plain version; START text never clipped */
.what-btn { height: 34px; padding: 0 12px; border: 1px solid var(--yellow); border-radius: 4px; background: var(--yellow); color: #111; font: 700 13px var(--ui); white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.what-btn:hover { filter: brightness(1.08); }
.tray-plain { color: #f0f0ec; font: 700 12px var(--ui); text-decoration: underline; white-space: nowrap; }
.start-btn { flex: 0 0 auto; overflow: visible; padding-right: 14px; }
.start-btn small { white-space: nowrap; font-size: 8.5px; letter-spacing: .1em; }
.start-btn span { white-space: nowrap; }
/* every app: one-sentence strip + status chip + keycard lines */
.whatbar { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 7px 12px; background: #fffbe0; color: #1a1d22; border-bottom: 1px solid #c9c2b3; font: 13px/1.35 var(--ui); }
.what-t { flex: 1 1 260px; font-weight: 700; }
.stchip { flex: 0 0 auto; font: 700 10.5px/1 var(--ui); letter-spacing: .08em; padding: 4px 7px; border-radius: 3px; border: 1px solid #111; }
.st-now { background: #2f8a57; color: #fff; } .st-test { background: #f6cf5c; color: #111; } .st-launch { background: #14202e; color: #f6c3d0; }
.kc-lines { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.kc-line { border: 0; background: none; padding: 0; font: 12px var(--ui); color: #4b515c; text-align: left; cursor: pointer; }
.kc-line:hover { text-decoration: underline; }
.kc { display: inline-block; margin-right: 5px; padding: 2px 5px; border-radius: 3px; background: #111; color: var(--yellow); font: 700 10px var(--mono); border: 1px solid var(--yellow); }
.gatebox { margin: 0 0 6px; border-bottom: 3px dashed #c4cad2; }
/* scrolling: tall windows always show a scrollbar (desktop + phone) */
.wb, .sheet-b { scrollbar-width: auto; scrollbar-color: #8d97a8 #e3e0d8; }
.wb::-webkit-scrollbar, .sheet-b::-webkit-scrollbar { display: block; width: 12px; height: 12px; }
.wb::-webkit-scrollbar-thumb, .sheet-b::-webkit-scrollbar-thumb { background: #8d97a8; border-radius: 6px; border: 2px solid #e3e0d8; }
.wb::-webkit-scrollbar-track, .sheet-b::-webkit-scrollbar-track { background: #e3e0d8; }
.sheet-b { scrollbar-width: thin; }
.sheet-b::-webkit-scrollbar { width: 6px; }
/* HR assistant never covers an app: it sits under windows, between the icon columns */
.hr { z-index: 15; right: 330px; }
/* mail: identity line + roomy bottom strip */
.coinbar-t small { display: block; font-weight: 400; opacity: .85; margin-top: 2px; }
.mail-cta { row-gap: 12px; }
.mail-cta .mail-note { flex: 1 1 100%; margin-top: 4px; padding-top: 10px; border-top: 1px dashed #c9c2b3; }
/* orientation */
.orient { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; background: rgba(5,8,12,.78); padding: 16px; animation: startIn .2s ease-out both; }
.or-card { width: min(860px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #f6f5f1; color: #1a1d22; border: 2px solid #06080b; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.or-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #14202e; color: var(--pink); }
.or-k { font: 18px/1 var(--head); letter-spacing: .08em; }
.or-skip { border: 1px solid #5b6a82; background: none; color: #f0f0ec; font: 700 13px var(--ui); padding: 6px 12px; border-radius: 4px; }
.or-prog { display: flex; gap: 6px; padding: 10px 14px 0; }
.or-prog i { flex: 1; height: 6px; border-radius: 3px; background: #dcd8cf; overflow: hidden; }
.or-prog i b { display: block; height: 100%; width: 0; background: var(--red); }
.or-prog i.done b { width: 100%; }
.or-prog i.now b { animation: orfill 3.6s linear forwards; }
@keyframes orfill { to { width: 100%; } }
.or-stage { padding: 14px 18px 6px; }
.or-c { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 18px; align-items: center; animation: startIn .25s ease-out both; }
.or-n { font: 110px/.85 var(--head); color: var(--red); grid-row: 1; }
.or-txt h2 { margin: 0 0 6px; font: 52px/.95 var(--head); letter-spacing: .01em; font-weight: 400; }
.or-txt p { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 700; max-width: 520px; }
.or-v { grid-column: 1 / -1; display: grid; place-items: center; min-height: 190px; padding: 10px 0 4px; }
.or-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0 4px; font: 700 13px var(--ui); color: #555; }
.or-final { text-align: center; padding: 18px 0 8px; }
.or-final h2 { margin: 0 0 16px; font: 50px/1 var(--head); font-weight: 400; }
.or-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 12px; }
.or-id { margin: 0; padding: 10px 18px 14px; font-size: 14px; color: #333; border-top: 1px dashed #c9c2b3; }
@media (max-width: 760px) {
  .orient { padding: 8px; align-items: start; }
  .or-card { max-height: calc(100dvh - 16px); }
  .or-n { font-size: 72px; } .or-txt h2 { font-size: 36px; } .or-txt p { font-size: 16px; }
  .or-v { min-height: 160px; transform: scale(.9); }
  .or-final h2 { font-size: 36px; } .or-btns .btn { flex: 1 1 100%; }
  .or-id { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .or-prog i.now b { animation: none; width: 100%; } }
/* phone: What is this? row, identity line, grouped sections with one-line subtitles */
.p-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-what { border: 1px solid #111; background: var(--yellow); color: #111; font: 700 14px var(--ui); border-radius: 18px; padding: 8px 14px; min-height: 40px; }
.p-plain { color: #fff; font: 700 13px var(--ui); text-decoration: underline; text-shadow: 0 1px 2px #000; }
.p-coin small { display: block; margin-top: 4px; font-weight: 400; opacity: .9; }
#p-grid.p-groups { display: flex; flex-direction: column; gap: 14px; }
.p-sec { background: rgba(9,13,20,.62); border: 1px solid rgba(246,195,208,.38); border-radius: 12px; padding: 8px 8px 6px; }
.p-sec h2 { margin: 0 4px 6px; display: flex; justify-content: space-between; align-items: baseline; font: 19px/1 var(--head); letter-spacing: .08em; color: var(--pink); font-weight: 400; }
.p-sec h2 small { font: 700 11px var(--ui); letter-spacing: 0; color: #c4cad2; }
.p-sec:first-child { border-color: var(--yellow); } .p-sec:first-child h2 { color: var(--yellow); }
.p-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pr { display: flex; align-items: center; gap: 8px; text-align: left; border: 0; background: rgba(255,255,255,.06); border-radius: 8px; padding: 6px; color: #fff; min-height: 52px; }
.pr:active { background: rgba(255,255,255,.16); }
.pr .tile { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; }
.pr .tile svg { width: 36px; height: 36px; }
.pr-t { min-width: 0; display: flex; flex-direction: column; }
.pr-t b { font: 700 13px/1.2 var(--ui); }
.pr-t small { font: 11px/1.25 var(--ui); color: #c4cad2; }
.pr-b { font: 700 9px/1 var(--ui); font-style: normal; background: var(--yellow); color: #111; border: 1px solid #111; padding: 2px 3px; border-radius: 3px; vertical-align: 1px; }
.sheet-what { justify-self: end; border: 1px solid var(--yellow); background: none; color: var(--yellow); font: 700 12px var(--ui); border-radius: 14px; padding: 5px 9px; white-space: nowrap; }
/* Company Values.txt */
.values .val-in { padding: 16px 20px 18px; background: #fff; }
.val-k { margin: 0 0 8px; font: 700 11px var(--mono); letter-spacing: .1em; color: #777; }
.val-list { margin: 0 0 14px; padding-left: 26px; font: 700 17px/1.35 var(--ui); }
.val-list li { padding: 5px 0; border-bottom: 1px dashed #ddd; }
.val-list li span { margin-right: 8px; }
.val-copy { border: 1px solid #bbb; background: #f4f1ea; border-radius: 3px; font: 11px var(--ui); color: #555; padding: 1px 6px; vertical-align: 2px; }
.val-f { font-size: 13px; color: #333; margin: 0 0 12px; }

.start-btn span { font-size: 19px; line-height: 1.05; padding-top: 2px; }
.desktop .win .slip-h { font-size: clamp(60px, 5.6vw, 86px); margin-bottom: 10px; }
.desktop .win .mail-hello { margin-top: 0; }

.win.more::after, .sheet.more::after { content: "scroll for more \2193"; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 30; background: #14202e; color: #fff; border: 1px solid var(--pink); border-radius: 14px; padding: 4px 12px; font: 700 12px var(--ui); pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,.45); }
.sheet.more::after { bottom: calc(env(safe-area-inset-bottom, 0px) + 30px); }
.win.max.more::after { bottom: 10px; }

.p-home > * { flex-shrink: 0; }
.or-skip { white-space: nowrap; }
@media (max-width: 760px) { .or-k { font-size: 16px; } }

.desk-id { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--tb) + 26px); transform: translateX(-50%); width: min(620px, calc(100% - 660px)); background: rgba(9,13,20,.78); border: 1px solid rgba(246,195,208,.45); border-radius: 8px; padding: 12px 16px; font: 700 17px/1.35 var(--ui); color: #f0f0ec; text-align: center; box-shadow: 0 10px 30px -10px #000; }
.desk-id b { color: var(--pink); }
.desk-id small { display: block; margin-top: 6px; font: 13px var(--ui); color: #c4cad2; }
.desk-id-q { border: 0; background: var(--yellow); color: #111; font: 700 12px var(--ui); border-radius: 3px; padding: 2px 7px; margin-left: 4px; }
@media (max-width: 1100px) { .desk-id { display: none; } }
