/* Quiet, physical discoveries. No badges, extra collection grid or full-screen flashes. */
.hq-after-hours-pin{position:absolute;z-index:4;width:clamp(44px,8%,86px);height:clamp(44px,13%,86px);transform:translate(-50%,-50%);background:transparent;border:0;cursor:pointer;border-radius:50%;color:#f8dc93;isolation:isolate}
.hq-after-hours-pin::before{content:"";position:absolute;inset:12%;border:1px solid #f3d89699;border-radius:50%;opacity:0;box-shadow:0 0 15px #f8d47c44;transition:opacity .2s}
.hq-after-hours-pin::after{content:"";position:absolute;width:5px;height:5px;background:#ffe8a6;box-shadow:0 0 6px #ffdc71;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg);opacity:.65}
.hq-after-hours-pin.is-found::after{opacity:.18}.hq-after-hours-pin:hover::before,.hq-after-hours-pin:focus-visible::before{opacity:1}
.hq-after-hours-hush{display:flex;justify-content:space-between;align-items:center;margin:8px 0 5px;color:#a8a294;font:600 11px/1.3 system-ui;gap:12px;letter-spacing:.02em}
.hq-after-hours-hush button{background:none;border:none;color:#cdbb8d;font:inherit;padding:10px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
.hq-after-hours-dialog{padding:0;border:1px solid #6b5b41;background:#191612;color:#f5eee4;width:min(92vw,610px);max-height:88dvh;overflow:auto;box-shadow:0 24px 100px #000a;border-radius:3px}
.hq-after-hours-dialog::backdrop{background:#090806c9;backdrop-filter:blur(4px)}
.hq-after-hours-dialog[open]{animation:ps-hush-enter .33s cubic-bezier(.2,.8,.22,1) both}
@keyframes ps-hush-enter{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
.hq-after-hours-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px 12px;border-bottom:1px solid #71604555}
.hq-after-hours-header small{display:block;font:700 11px/1.4 monospace;letter-spacing:.09em;color:#b8a47f;text-transform:uppercase}
.hq-after-hours-header h2{font-size:clamp(23px,5vw,34px);line-height:1.05;margin:6px 0 0;letter-spacing:-.045em}
.hq-after-hours-header button{background:none;border:1px solid #6e6654;color:#f5eee4;width:44px;height:44px;font-size:26px;flex:0 0 44px;cursor:pointer}
.hq-after-hours-photo{height:clamp(110px,23vw,195px);background-size:250%;background-repeat:no-repeat;position:relative;box-shadow:inset 0 -38px 35px -20px #100d09}
.hq-after-hours-paper{position:relative;margin:-14px 14px 14px;padding:22px 18px 20px;color:#2f261b;background:repeating-linear-gradient(0deg,#765a2c0b 0 1px,transparent 1px 5px),linear-gradient(110deg,#ead8ac,#f2e4c1 48%,#ddc798);box-shadow:0 6px 18px #0008;border-radius:1px;transform-origin:top center;animation:ps-paper-pull .36s .1s cubic-bezier(.2,.8,.22,1) both}
.hq-after-hours-paper:before{content:"";position:absolute;left:48%;top:-10px;width:42px;height:20px;background:linear-gradient(#867452,#4f432e);box-shadow:0 3px 3px #0005;border-radius:2px}
@keyframes ps-paper-pull{from{transform:translateY(16px) rotate(-1deg)}to{transform:none}}
.hq-after-hours-paper small{display:block;border-bottom:1px solid #806e4b77;padding-bottom:10px;font:700 11px/1.4 monospace;letter-spacing:.055em}
.hq-after-hours-paper p{margin:14px 0;line-height:1.42;font-weight:600;font-size:16px}
.hq-after-hours-choices{display:flex;flex-direction:column;gap:8px}
.hq-after-hours-choices button{background:transparent;border:0;border-bottom:1px solid #76634688;text-align:left;color:#3b2e1d;padding:12px 3px;font:750 15px/1.3 system-ui;cursor:pointer}
.hq-after-hours-choices button::before{content:"";display:inline-block;box-sizing:border-box;width:12px;height:12px;border:1px solid #806b47;margin-right:9px;vertical-align:0;transform:rotate(-2deg)}
.hq-after-hours-choices button[aria-pressed=true]::before{background:linear-gradient(132deg,transparent 45%,#6b4327 46% 63%,transparent 64%) 0 0/100% 100%;border-color:#6b4327}.hq-after-hours-choices button[aria-pressed=true]{color:#69411a}
.hq-after-hours-result{margin-top:16px;border-top:1px solid #8d795a;padding-top:13px}
.hq-after-hours-stamp{display:inline-block;font:900 13px/1.2 monospace;border:2px solid #874732;color:#874732;padding:6px 9px;transform:rotate(-2deg);letter-spacing:.045em}
.is-stamped .hq-after-hours-stamp{animation:ps-stamp .23s cubic-bezier(.15,.75,.25,1) both}
@keyframes ps-stamp{from{transform:rotate(-2deg) scale(1.12);opacity:.3}to{transform:rotate(-2deg) scale(1);opacity:1}}
.hq-after-hours-result p{margin:10px 0 0;font-size:17px;font-weight:800}
.hq-after-hours-footer{display:flex;flex-wrap:wrap;gap:10px;padding:0 16px 16px;align-items:center}
.hq-after-hours-footer button,.hq-after-hours-footer a{padding:12px 0;background:none;border:0;color:#f8ce5c;font:700 14px/1.4 system-ui;text-align:left;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.hq-after-hours-footer blockquote{flex-basis:100%;font:500 14px/1.5 system-ui;color:#d7ccba;margin:0;border-left:2px solid #c39a42;padding-left:10px}
.hq-after-hours-dialog [hidden],.hq-after-hours-pin[hidden],.hq-after-hours-hush [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.hq-after-hours-dialog[open],.hq-after-hours-paper,.is-stamped .hq-after-hours-stamp{animation:none!important}.hq-after-hours-pin::before{transition:none}}

/* The paper is a different physical form in each department, not an interface status color. */
.hq-after-hours-paper[data-document="nina"]{background:repeating-linear-gradient(0deg,transparent 0 21px,#705e4322 21px 22px),linear-gradient(100deg,#eee6d5,#f3ecdd 65%,#ded3b7);border-left:3px solid #8c5346}
.hq-after-hours-paper[data-document="maks"]{background:repeating-linear-gradient(0deg,transparent 0 23px,#64786720 23px 24px),linear-gradient(100deg,#cdd0b6,#e3e1cb);border-top:3px solid #5c6250}
.hq-after-hours-paper[data-document="carl"]{border:5px double #977748;padding:19px 15px}
.hq-after-hours-paper[data-document="records"]{background:linear-gradient(115deg,#d9c39a,#e3cfa8 63%,#bfa67d);border-right:10px solid #b29a70}
.hq-after-hours-paper[data-document="breakroom"]{background:radial-gradient(ellipse at 90% 20%,#96714440 0 6%,transparent 7%),linear-gradient(110deg,#e7ddbd,#f3e8c8)}

/* Carbon copies are attached to the existing physical document. The receiving
   department must unfold its own copy; no separate progress screen. */
.hq-after-hours-pin.has-copy::after{width:7px;height:7px;opacity:.95;box-shadow:0 0 10px #ffdc71}
.hq-carbon-outgoing{margin:16px -18px -20px;padding:12px 18px 15px;border-top:1px dashed #8c7653;background:#7f623c14;display:flex;align-items:center;gap:8px 15px;flex-wrap:wrap;justify-content:space-between}
.hq-carbon-outgoing span{font:700 11px/1.3 monospace;letter-spacing:.06em;text-transform:uppercase}
.hq-carbon-outgoing button{border:0;border-bottom:1px solid #795a30;background:transparent;color:#563b20;font:800 14px/1.4 system-ui;padding:10px 0;cursor:pointer;text-align:left}
.hq-carbon-outgoing button::after{content:"";display:inline-block;width:8px;height:8px;margin-left:8px;transform:rotate(-45deg);border-right:2px solid currentColor;border-bottom:2px solid currentColor}
.hq-carbon-incoming{margin-top:20px;display:grid;gap:12px}
.hq-carbon-slip{background:repeating-linear-gradient(0deg,transparent 0 19px,#72734e1c 19px 20px),linear-gradient(116deg,#d3c8a8,#ede3c5);border-top:2px dotted #8b7854;box-shadow:2px 4px 8px #42341f30;padding:12px 13px 13px;transform:rotate(-.65deg);transform-origin:top left;position:relative}
.hq-carbon-slip:nth-child(even){transform:rotate(.65deg)}
.hq-carbon-label{font:800 10px/1.4 monospace;display:block;letter-spacing:.065em;color:#695a40}
.hq-carbon-slip button{padding:10px 0 2px;color:#563b20;background:none;border:0;border-bottom:1px solid currentColor;font:800 14px/1.4 system-ui;cursor:pointer}
.hq-carbon-slip .hq-carbon-reply{font:700 15px/1.5 system-ui;margin:12px 0 0;transform-origin:top;animation:ps-carbon-unfold .3s cubic-bezier(.2,.8,.2,1) both}
@keyframes ps-carbon-unfold{from{opacity:0;transform:translateY(-5px) scaleY(.93)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.hq-carbon-slip .hq-carbon-reply{animation:none}}

/* V137: A tiny practical set inside the existing document, never a new card.
   The final ink and punchline land on the material-specific Foley beat. */
.hq-after-hours-result{position:relative;isolation:isolate;min-height:126px}
.hq-payoff-practical{height:65px;position:relative;overflow:hidden;margin:0 0 10px;padding:0 12px;display:flex;align-items:center;font:800 11px/1.25 monospace;letter-spacing:.075em;color:#574b31;background:#a58e6016;border:1px solid #967e5366}
.hq-payoff-label{display:block;max-width:60%;position:relative;z-index:1}
.hq-payoff-tool{position:absolute;pointer-events:none;right:13px;top:9px;width:74px;height:46px;transform-origin:50% 70%;z-index:2}
.hq-after-hours-result[data-phase=working] .hq-after-hours-stamp,.hq-after-hours-result[data-phase=working] p{visibility:hidden}
.hq-after-hours-result[data-phase=landed] .hq-after-hours-stamp{animation:ps-payoff-ink .15s ease-out both}
.hq-after-hours-result[data-phase=landed] p{animation:ps-payoff-line .18s .035s ease-out both}
@keyframes ps-payoff-ink{from{opacity:.4;transform:rotate(-2deg) scale(1.035)}to{opacity:1;transform:rotate(-2deg) scale(1)}}
@keyframes ps-payoff-line{from{opacity:.2;transform:translateY(3px)}to{opacity:1;transform:none}}
/* Reception: a spring-loaded office punch bites a perforated admission slip. */
[data-beat=admission-punch] .hq-payoff-practical{background:repeating-linear-gradient(90deg,transparent 0 19px,#68593820 19px 20px),#f0e3c3;border-bottom:2px dashed #917950}
[data-beat=admission-punch] .hq-payoff-tool{height:33px;top:21px;border-radius:4px;background:linear-gradient(#666952,#393b2c);border:1px solid #363628;box-shadow:0 3px #98865b}
[data-beat=admission-punch] .hq-payoff-tool:before{content:"";position:absolute;left:5px;right:2px;top:-11px;height:15px;background:linear-gradient(#9c9a76,#545443);border-radius:4px;transform-origin:7px 95%;transform:rotate(0)}
[data-beat=admission-punch][data-phase=working] .hq-payoff-tool:before{animation:ps-punch var(--impact) both}
@keyframes ps-punch{0%,22%{transform:rotate(-28deg)}100%{transform:rotate(0)}}
/* Personnel: gold engraved plate settles onto its paper backing. */
[data-beat=brass-plate] .hq-payoff-practical{background:#6a593b1c;border-color:#987747}
[data-beat=brass-plate] .hq-payoff-tool{height:33px;top:15px;width:89px;border:2px solid #7d6033;border-radius:2px;background:linear-gradient(120deg,#a77c36,#f4d78b 38%,#b48942 67%,#e8c66e);box-shadow:2px 3px #66503377,inset 0 0 0 2px #efce8c}
[data-beat=brass-plate] .hq-payoff-tool:after{content:"";position:absolute;inset:7px;background:radial-gradient(circle at 2px 50%,#513f22 0 2px,transparent 3px),radial-gradient(circle at calc(100% - 2px) 50%,#513f22 0 2px,transparent 3px);border-block:1px solid #8e692d}
[data-beat=brass-plate][data-phase=working] .hq-payoff-tool{animation:ps-plate-seat var(--impact) cubic-bezier(.3,.75,.3,1) both}
@keyframes ps-plate-seat{0%{transform:translateY(-55px) rotate(-9deg)}100%{transform:none}}
/* Breakroom: coffee mug arrives on the memo and leaves its inevitable ring. */
[data-beat=coffee-ring] .hq-payoff-practical{background:radial-gradient(circle at calc(100% - 52px) center,transparent 0 19px,#a26a2e55 20px 23px,transparent 24px),#eadab5}
[data-beat=coffee-ring] .hq-payoff-tool{width:44px;height:44px;right:30px;top:10px;border-radius:50%;border:4px solid #faf0d4;background:radial-gradient(circle,#4f2d1c 0 58%,#835535 62%,#2d211a 70%);box-shadow:0 3px 7px #563a2570}
[data-beat=coffee-ring] .hq-payoff-tool:after{content:"";position:absolute;right:-13px;top:9px;width:13px;height:19px;border:4px solid #e9dfc0;border-left:0;border-radius:0 10px 10px 0}
[data-beat=coffee-ring][data-phase=working] .hq-payoff-tool{animation:ps-cup-seat var(--impact) cubic-bezier(.25,.65,.35,1) both}
@keyframes ps-cup-seat{0%{transform:translate(40px,-35px) scale(1.27);box-shadow:0 12px 13px #563a2550}100%{transform:none}}
/* Dispatch: three measured mechanical key depressions, no fake live signal. */
[data-beat=dispatch-print] .hq-payoff-practical{background:#202b24;color:#d2e0b4;border:2px solid #665e44;box-shadow:inset 0 0 0 3px #121e16}
[data-beat=dispatch-print] .hq-payoff-tool{height:34px;top:15px;width:76px;background:repeating-linear-gradient(90deg,#a2b387 0 17px,#202b24 17px 24px);border-block:5px solid #151e17;box-shadow:0 3px #090d08}
[data-beat=dispatch-print] .hq-payoff-tool:before{content:"";inset:0;position:absolute;background:linear-gradient(90deg,#151e17 0 100%);transform-origin:right}
[data-beat=dispatch-print][data-phase=working] .hq-payoff-tool:before{animation:ps-dispatch-keys var(--impact) steps(3,end) both}
[data-beat=dispatch-print][data-phase=landed] .hq-payoff-tool:before{transform:scaleX(0)}
@keyframes ps-dispatch-keys{from{transform:scaleX(1)}to{transform:scaleX(0)}}
/* Carl: pompous ribbon, slightly crooked on landing. */
[data-beat=executive-ribbon] .hq-payoff-practical{background:#e5c98a;border:3px double #99753c}
[data-beat=executive-ribbon] .hq-payoff-tool{right:27px;width:45px;height:45px;top:8px;border-radius:50%;background:repeating-conic-gradient(#a5792e 0 14deg,#ddba6a 14deg 28deg);border:2px solid #876128;box-shadow:0 3px 3px #74532355}
[data-beat=executive-ribbon] .hq-payoff-tool:before{content:"";position:absolute;inset:7px;background:radial-gradient(circle,#f4da96,#a17a37);border:1px solid #795b2a;border-radius:50%}
[data-beat=executive-ribbon] .hq-payoff-tool:after{content:"";position:absolute;z-index:-1;left:1px;right:1px;top:30px;height:25px;background:#6e4330;clip-path:polygon(7% 0,92% 0,100% 100%,73% 78%,54% 100%,39% 78%,0 100%)}
[data-beat=executive-ribbon][data-phase=working] .hq-payoff-tool{animation:ps-ribbon-seat var(--impact) cubic-bezier(.2,.7,.35,1) both}
@keyframes ps-ribbon-seat{0%{transform:translateY(-63px) rotate(40deg)}100%{transform:none}}
/* Nina: a red pencil actually traces across the ruled sheet. */
[data-beat=redline] .hq-payoff-practical{background:repeating-linear-gradient(0deg,#d7caae33 0 19px,#7e6b4f33 19px 20px),#f0e9d8;border-left:3px solid #885447}
[data-beat=redline] .hq-payoff-practical:after{content:"";position:absolute;left:15px;right:12px;bottom:10px;height:2px;background:#a33f32;transform-origin:left}
[data-beat=redline][data-phase=working] .hq-payoff-practical:after{animation:ps-redline var(--impact) linear both}
[data-beat=redline] .hq-payoff-tool{top:auto;bottom:11px;height:7px;width:76px;border-radius:1px;background:linear-gradient(90deg,#bda184 0 10%,#982f22 10% 88%,#5f584c 88%);transform:rotate(-22deg)}
[data-beat=redline][data-phase=working] .hq-payoff-tool{animation:ps-pencil var(--impact) linear both}
@keyframes ps-redline{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes ps-pencil{from{transform:translateX(-145%) rotate(-22deg)}to{transform:rotate(-22deg)}}
/* Interview: miniature production slate with a real hinge pivot. */
[data-beat=slate-take] .hq-payoff-practical{background:#342f29;color:#e9d6a7;border-color:#847354}
[data-beat=slate-take] .hq-payoff-tool{top:23px;height:31px;background:repeating-linear-gradient(0deg,#2c2925 0 7px,#8d8372 7px 8px);border:1px solid #8c8065}
[data-beat=slate-take] .hq-payoff-tool:before{content:"";position:absolute;left:-1px;right:-1px;top:-12px;height:13px;background:repeating-linear-gradient(128deg,#26231f 0 10px,#decdaa 10px 20px);border:1px solid #8c8065;transform-origin:3px 95%}
[data-beat=slate-take][data-phase=working] .hq-payoff-tool:before{animation:ps-small-slate var(--impact) both}
@keyframes ps-small-slate{0%,34%{transform:rotate(-31deg)}100%{transform:rotate(0)}}
/* Records: a tabbed folder rides into the drawer, ends against the stop. */
[data-beat=archive-folder] .hq-payoff-practical{background:linear-gradient(#7f795e,#b1a382);color:#211e14;border:2px solid #6c634c;box-shadow:inset 0 -5px #524b38}
[data-beat=archive-folder] .hq-payoff-tool{width:83px;top:15px;height:36px;background:linear-gradient(#d9c29b,#ab8f60);border:1px solid #8d7041;box-shadow:0 4px 4px #392e2555}
[data-beat=archive-folder] .hq-payoff-tool:before{content:"";position:absolute;top:-9px;left:5px;width:34px;height:9px;border-radius:1px 5px 0 0;background:#d9c29b;border:1px solid #967a4d;border-bottom:0}
[data-beat=archive-folder][data-phase=working] .hq-payoff-tool{animation:ps-folder-seat var(--impact) cubic-bezier(.3,.7,.3,1) both}
@keyframes ps-folder-seat{from{transform:translateX(120%) rotate(5deg)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.hq-after-hours-result *,.hq-after-hours-result *:before,.hq-after-hours-result *:after{animation:none!important}.hq-after-hours-result[data-phase=landed] .hq-after-hours-stamp,.hq-after-hours-result[data-phase=landed] p{opacity:1;transform:none}}

/* A physical folded carbon slip, present only when a visitor has unread mail.
   The current room and existing floor plan remain the navigational surface. */
.hq-interoffice-post[hidden]{display:none!important}
.hq-interoffice-post{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0 14px;margin:2px 0 8px;border-block:1px solid #b6a17044;isolation:isolate}
.hq-post-envelope{width:45px;height:33px;border:1px solid #927b50;background:repeating-linear-gradient(95deg,#d9c295 0 3px,#ddc79b 3px 5px);position:relative;box-shadow:2px 3px 5px #0008;transform:rotate(-5deg);overflow:hidden;flex:none}
.hq-post-envelope:before{content:"";position:absolute;inset:0 0 auto;height:23px;background:#e6d2a5;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 1px 0 #776545)}
.hq-post-envelope i{position:absolute;left:17px;top:14px;width:10px;height:10px;border-radius:50%;background:#856a3c;border:1px solid #5f4b2e;box-shadow:0 1px 2px #5e3c21}
.hq-post-address{display:flex;flex-direction:column;gap:4px;min-width:0}
.hq-post-address span{font:700 11px/1.2 monospace;letter-spacing:.065em;color:#c9b37e}
.hq-post-address strong{font:750 16px/1.15 system-ui;color:#f3eee5;overflow-wrap:anywhere}
.hq-post-address small{font:500 13px/1.25 system-ui;color:#b3ab99;overflow-wrap:anywhere}
.hq-interoffice-post button{border:0;border-bottom:1px solid #ad9150;background:transparent;padding:10px 2px;color:#f2ca66;font:750 14px/1.3 system-ui;min-height:44px;cursor:pointer;text-align:left}
.office-plan .map-room[data-post]{position:relative}
.office-plan .map-room[data-post]:after{content:attr(data-post) " COPY";position:absolute;inset:auto 3px 3px auto;line-height:1.25;padding:2px 4px;background:#e2c99a;color:#382b1a;font:700 9px/1.2 monospace;letter-spacing:0;border:1px solid #997b48;box-shadow:1px 1px 0 #0008;transform:rotate(-4deg);pointer-events:none}
.hq-carbon-slip .hq-carbon-reply p{margin:0 0 10px}
.hq-carbon-attachment{display:block;border-top:1px dashed #8a7857;padding:12px 0 2px;color:#51391b;font:750 14px/1.3 system-ui;text-decoration:underline;text-underline-offset:3px}
.hq-carbon-slip .hq-carbon-reply{animation:ps-carbon-paper-unfold .34s cubic-bezier(.18,.7,.23,1) both;transform-origin:50% 0}
@keyframes ps-carbon-paper-unfold{0%{clip-path:inset(0 0 94% 0);transform:perspective(550px) rotateX(-24deg) translateY(-3px)}100%{clip-path:inset(0);transform:none}}
@media(max-width:480px){.hq-interoffice-post{grid-template-columns:39px minmax(0,1fr);gap:8px;padding:10px 0}.hq-interoffice-post button{grid-column:2;justify-self:start}.hq-post-envelope{width:36px;height:29px}.hq-post-envelope i{left:13px;top:13px}}
@media(prefers-reduced-motion:reduce){.hq-carbon-slip .hq-carbon-reply{animation:none}}

/* The addressed reply itself is the destination; the unrelated local gag
   stays available as a separate optional discovery after the payoff. */
.hq-carbon-outgoing{display:block}
.hq-carbon-outgoing span{display:block;margin-bottom:7px;font:700 13px/1.4 system-ui;text-transform:none;letter-spacing:0}
.hq-carbon-outgoing button,.is-delivery .hq-carbon-slip>button,#hq-carbon-delivery-done{display:block;width:100%;text-align:center;min-height:46px;padding:12px 14px;background:#ffca30;border:1px solid #9e7830;border-bottom:3px solid #996718;color:#241a0b;font:800 14px/1.35 system-ui;clip-path:polygon(0 0,100% 0,100% 82%,97% 100%,0 100%);cursor:pointer}
.hq-carbon-outgoing button:after{display:none}
.is-delivery .hq-after-hours-photo{height:clamp(85px,18vw,140px)}
#hq-carbon-delivery h3{font-size:clamp(18px,4.5vw,23px);line-height:1.2;margin:12px 0 6px;letter-spacing:-.025em}
#hq-carbon-delivery p{font-size:14px;line-height:1.45;margin:8px 0}
#hq-carbon-delivery .hq-carbon-prior{font-weight:500;border-bottom:1px dashed #8e7a55;padding-bottom:10px}
.is-delivery .hq-carbon-incoming{margin-top:14px}
.is-delivery .hq-carbon-slip{transform:none;padding:15px 14px}
.is-delivery .hq-carbon-slip>button{margin-top:10px}
.hq-carbon-received{display:inline-block;padding:5px 8px;border:2px solid #814b34;color:#814b34;font:800 12px/1.2 monospace;transform:rotate(-2deg)}
.is-delivery .hq-carbon-reply p{margin-top:12px;font-size:17px;line-height:1.4}
#hq-carbon-delivery-finish{margin-top:18px}
#hq-carbon-delivery-explore{display:block;margin:8px auto 0;border:0;background:none;color:#594023;padding:12px 4px;min-height:44px;font:750 14px/1.3 system-ui;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.hq-interoffice-post button{font-size:14px;min-height:44px}
@media(max-width:480px){.is-delivery .hq-after-hours-header{position:sticky;top:0;z-index:3;background:#191612}.is-delivery .hq-after-hours-paper{margin-inline:10px;padding:18px 14px}.is-delivery .hq-carbon-slip{padding:11px}}

/* The recognition reply carries a real character photograph and its original
   episode, as a single attached print rather than a new card grid. */
.hq-award-story{display:grid;grid-template-columns:clamp(72px,24%,104px) minmax(0,1fr);gap:14px;align-items:start;margin:14px 0 0;padding:14px 0 0;border-top:1px dashed #947b51}
.hq-award-story img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 25%;border:4px solid #f3e7c8;box-shadow:1px 3px 6px #3d2b1d50;transform:rotate(-2deg)}
.hq-award-story small{display:block;color:#705836;font:800 10px/1.35 monospace;letter-spacing:.06em}
.hq-award-story strong{display:block;color:#312414;font:850 17px/1.2 system-ui;margin:4px 0}
.hq-award-story a{display:block;color:#51391b;min-height:44px;padding:9px 0;font:750 13px/1.35 system-ui;text-decoration:underline;text-underline-offset:3px}
.hq-award-story a+a{border-top:1px solid #a18a645c}

/* The completed punchline carries a real frame of released footage, like a
   film print attached to the paper. No separate player or autoplay. */
.hq-after-hours-payoff{margin:16px 0 10px;border-top:1px dashed #90744c;padding-top:14px}
.hq-after-hours-payoff[hidden],.hq-payoff-rank[hidden]{display:none!important}
.hq-payoff-screen{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);position:relative;align-items:stretch;background:#211c16;color:#f1e7d0;text-decoration:none;border:1px solid #6e5839;overflow:hidden}
.hq-payoff-screen img{width:100%;height:100%;object-fit:cover;min-height:96px}
.hq-payoff-screen-caption{align-self:center;display:grid;gap:4px;padding:10px 12px}
.hq-payoff-screen-caption small{color:#d1b267;font:750 10px/1.3 monospace}
.hq-payoff-screen-caption strong{font:800 16px/1.2 system-ui;color:#fff1d0}
.hq-payoff-screen-caption>span{font:700 12px/1.3 system-ui;color:#f1ca60}
.hq-payoff-play{position:absolute;top:50%;left:20%;width:35px;height:35px;transform:translate(-50%,-50%);background:#ffcb32;box-shadow:0 2px 5px #000b;display:grid;place-items:center;border-radius:2px}
.hq-payoff-play:before{content:'';width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid #241a0b;margin-left:3px}
.hq-after-hours-payoff>p{font-size:14px;line-height:1.45;color:#42331e;margin:9px 0}
.hq-payoff-rank{display:flex;align-items:center;min-height:44px;font-weight:800;font-size:14px;color:#4d3513;text-decoration:underline;text-underline-offset:3px}
.hq-payoff-screen:focus-visible,.hq-payoff-rank:focus-visible{outline:2px solid #76551c;outline-offset:3px}

/* The related exhibit is a simple reverse handoff, not a new card or overlay. */
#hq-after-hours-exhibit{flex-basis:100%;min-height:44px;border-top:1px solid #967c493b;text-decoration:none;text-align:left;color:#e8d7ad}
#hq-after-hours-exhibit::before{content:"‹";margin-right:9px;color:#f8ce5c;font-size:20px}
#hq-after-hours-exhibit:focus-visible{outline:2px solid #f8ce5c;outline-offset:3px}


/* A physical fold, not a second modal. The 120ms crease matches the existing
   quiet paper Foley, followed by a short 210ms settle. The type stays readable. */
.hq-carbon-slip .hq-carbon-fold{display:block;height:12px;margin:7px 0 3px;background:linear-gradient(180deg,#78664328,#f0e5c4 48%,#b09b6f 56%,#eddfbd);border-block:1px solid #8d795855;transform-origin:top;box-shadow:0 2px 3px #42341f28}
.hq-carbon-sender{display:block;color:#54442f;font:650 12px/1.45 system-ui;margin:4px 0}
.hq-carbon-read-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hq-carbon-slip[data-phase=unfolding] .hq-carbon-fold{animation:ps-carbon-lift .12s cubic-bezier(.25,.7,.35,1) both}
.hq-carbon-slip[data-phase=landed] .hq-carbon-fold{animation:ps-carbon-settle .21s cubic-bezier(.15,.8,.22,1) both}
.hq-carbon-slip[data-phase=landed] .hq-carbon-reply{animation:ps-carbon-land .21s cubic-bezier(.15,.8,.22,1) both;scroll-margin-top:98px}
.hq-carbon-slip[data-phase=landed] .hq-carbon-received{animation:ps-payoff-ink .15s ease-out both}
.hq-carbon-slip button[aria-busy=true]{cursor:wait}
.hq-carbon-slip>button:focus-visible,#hq-carbon-delivery-done:focus-visible,#hq-carbon-delivery-explore:focus-visible{outline:2px solid #654618;outline-offset:3px}
.hq-carbon-slip>button{min-height:44px}
@keyframes ps-carbon-lift{to{transform:perspective(340px) rotateX(-68deg);box-shadow:0 5px 7px #42341f45}}
@keyframes ps-carbon-settle{from{transform:perspective(340px) rotateX(-68deg)}to{transform:none}}
@keyframes ps-carbon-land{from{clip-path:inset(0 0 35% 0);transform:translateY(-4px)}to{clip-path:inset(0);transform:none}}
@media(prefers-reduced-motion:reduce){.hq-carbon-slip *, .hq-carbon-slip *:before, .hq-carbon-slip *:after{animation:none!important}}
