/* Chapter four only: Sunday base, approved desk composition, no global geometry edits. */
#stage.x4Live{--x4ink:#294c3c;--x4paper:#f1e9d2;--x4gold:#b9a26b}
#stage.x4Live #q4Deduction.x4Board{inset:9.6% 2.5% 26.5%!important;overflow:visible!important;border-radius:2px!important}
#stage.x4Live #q4Deduction.x4Board .m4Content{inset:15% 2% 3% 23%!important;overflow:visible!important;animation:none!important}
#stage.x4Live #q4Deduction.x4Board.has-action .m4Content{bottom:27%!important}
#stage.x4Live #dialogue{top:auto!important;bottom:2.5%!important;left:2.5%!important;right:2.5%!important;height:23%!important;min-height:0!important;padding:3.2% 3% 2.8%!important;box-sizing:border-box;z-index:80!important;overflow:visible!important}
#stage.x4Live #lineText{padding:0!important;margin:0!important;max-width:100%!important;line-height:1.65!important;font-size:clamp(20px,2.1vw,33px)!important;overflow-wrap:anywhere;max-height:none!important}
#stage.x4Live #speaker{top:0!important;left:2%!important;transform:translateY(-50%)!important}
#stage.x4Live #readabilityToggle{top:9px!important;right:16px!important;font-size:clamp(14px,1.15vw,19px)!important;padding:5px 14px!important;min-height:30px;box-shadow:0 2px 5px #213a2326}
#stage.x4Live #objective{left:3%!important;bottom:8px!important;max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:clamp(10px,.9vw,14px)!important}
#stage.x4Live #nextBtn{right:2%!important;bottom:8px!important;font-size:clamp(12px,1.1vw,18px)!important}
#stage.x4Live #q4Dais,#stage.x4Live .m4OfficialSeats{display:none!important}
#stage.x4Live .x4Guide{position:absolute!important;left:1.1%!important;bottom:-2.5%!important;max-width:none!important;max-height:none!important;overflow:visible!important;mask-image:none!important;pointer-events:none;z-index:62!important;filter:none!important}
#stage.x4Live .x4Guide img{width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important;animation:none!important;filter:drop-shadow(0 5px 4px #13291b45)!important;display:block}
.x4Board img{user-select:none;-webkit-user-drag:none;object-fit:contain}
.x4Board button{font-family:QFSystem,QFSimilarKai,serif;touch-action:none}
.x4Board .m4Header{height:13%;min-height:34px}.x4Board .m4Header h2{font-size:clamp(21px,2.15vw,35px)}
.x4Board .m4Paper{overflow:visible!important;transform:none!important;rotate:none!important}
.x4Board .m4PaperPixels{max-height:100%;height:auto!important;width:100%!important;max-width:100%;overflow:visible!important;flex:none}
.x4Board .m4PaperPixels img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;clip-path:none!important}
.x4Board .m4PaperPixels{display:flex;align-items:center;justify-content:center}
.x4Board .x4FullPaper{width:100%;height:100%}.x4Board .x4FullPaper .m4PaperPixels{height:100%!important;width:auto!important;max-width:100%}
.x4Board .m4EvidenceDesk{grid-template-columns:65% 31%;gap:4%;padding-bottom:9%}.x4Board .m4EvidenceAside{font-size:clamp(12px,1.1vw,18px);overflow:auto;max-height:90%}.x4Board .m4EvidenceAside h3{font-size:clamp(18px,1.7vw,27px)}
.x4Board .m4EvidenceRail{left:0!important;right:0!important;bottom:0!important;max-width:100%;height:8%;display:flex;gap:4px}.x4Board .m4EvidenceRail button{flex:1;min-width:0;font-size:clamp(10px,.95vw,15px);padding:3px;white-space:normal}
.x4Caption{position:absolute;left:0;right:0;bottom:0;min-height:12%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:5px 12px;background:linear-gradient(90deg,#142d25a0,#142d25df,#142d25a0);border-top:1px solid #d4bc8155;z-index:8;text-align:center}
.x4Caption b{font:500 clamp(16px,1.45vw,24px)/1.35 QFSystem,serif;color:#f2e7c9}.x4Caption span{font:400 clamp(11px,1vw,16px)/1.4 QFSystem,serif;color:#d3d3b7}
.x4Transit,.x4Map,.x4ObjectScene,.x4ThreeEvidence,.x4Document,.x4Grain,.x4Relief,.x4Contract,.x4People,.x4Witness{position:relative;height:100%;width:100%;isolation:isolate}
.x4SceneArt,.x4GrainBg,.x4ReliefHouse,.x4PeopleDoor{position:absolute;inset:0;background:center/cover no-repeat;z-index:-2}
.x4SceneArt:after,.x4GrainBg:after,.x4ReliefHouse:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#142d2580,transparent 45%,#142d2540)}
.x4Transit-origin .x4SceneArt{filter:brightness(.7)}
.x4OriginSheet{position:absolute;left:5%;top:9%;width:37%;height:61%;animation:x4PutIn 2.2s ease both}.x4OriginSheet img{width:100%;height:100%}
.x4DispatchRegister{position:absolute;top:6%;right:4%;width:28%;height:52%;padding:2%;box-sizing:border-box;display:flex;align-items:center;flex-direction:column;gap:6px;background:#efe4cce8;color:#294b3b;border:1px solid #b8a276;box-shadow:3px 5px 14px #10251d77;transform:rotate(2deg)}
.x4DispatchRegister strong{font-size:clamp(30px,4vw,65px);font-weight:500}.x4DispatchRegister b{font-size:clamp(18px,1.6vw,26px)}.x4DispatchRegister span{font-size:clamp(11px,1vw,15px)}
.x4DispatchBox{position:absolute;left:31%;bottom:9%;width:36%;height:52%;animation:x4Land 2.2s ease both}.x4DispatchBox img{width:100%;height:100%}
@keyframes x4PutIn{0%{translate:-12% -10%;rotate:-8deg;opacity:0}35%{opacity:1}100%{translate:27% 31%;rotate:0deg;scale:.7}}
@keyframes x4Land{0%{opacity:0;translate:0 15%}40%{opacity:0}100%{opacity:1;translate:0 0}}
.x4TravelBox{position:absolute;top:33%;width:25%;height:42%;animation:x4Travel 6s cubic-bezier(.3,.6,.35,1) both}.x4TravelBox img{width:100%;height:100%;animation:x4Bob .85s ease-in-out infinite alternate}
@keyframes x4Travel{from{left:0;scale:.7}to{left:65%;scale:1}}@keyframes x4Bob{from{translate:0 0;rotate:-1deg}to{translate:0 -5px;rotate:1deg}}
.x4ArrivalBox{position:absolute;left:8%;top:16%;width:50%;height:65%;animation:x4Arrive .9s ease both}.x4ArrivalBox img{width:100%;height:100%}.x4ArrivalSlip{position:absolute;right:7%;top:20%;padding:6% 3%;color:#294c3c;background:#e6d6b8;rotate:3deg;font-size:clamp(19px,2vw,30px);line-height:2;animation:x4Land 1s ease both}
@keyframes x4Arrive{from{translate:-35% 0;opacity:.3}to{translate:0 0;opacity:1}}
.x4CourtDoor{position:absolute;top:0;bottom:0;width:51%;background:repeating-linear-gradient(90deg,#24382edd 0 7%,#a28a5eaa 7.3% 7.8%,#24382eee 8% 15%);border:2px solid #aa9163;z-index:5;animation:x4Door 1.6s ease forwards}.x4CourtDoor.left{left:0;--door-shift:-102%}.x4CourtDoor.right{right:0;--door-shift:102%}.x4CourtTitle{position:absolute;inset:25% 0 auto;text-align:center;font:500 clamp(40px,6vw,90px) QFSystem;color:#f4e4bf;text-shadow:0 4px 10px #000;animation:x4CourtTitle 2.3s ease both}
@keyframes x4Door{to{translate:var(--door-shift) 0}}@keyframes x4CourtTitle{0%,30%{opacity:0;scale:1.15}60%,100%{opacity:1;scale:1}}
.x4MapArt{width:100%;height:100%;object-fit:cover!important;filter:brightness(.82)}.x4Map>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.x4MapRoad,.x4MapBranch{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:5;filter:drop-shadow(0 2px 2px #172d23)}.x4MapRoad{stroke:#f0d493;stroke-dasharray:1200;animation:x4Road 2.5s ease both}.x4MapBranch{stroke:#bb7054;stroke-dasharray:9 7;stroke-width:4}.x4MapPlace{position:absolute;padding:5px 14px;background:#1e3b30e0;border:1px solid #bba46d;font:500 clamp(15px,1.5vw,24px) QFSystem}.x4MapPlace.post{left:13%;top:50%}.x4MapPlace.store{left:62%;top:36%}@keyframes x4Road{from{stroke-dashoffset:1200}to{stroke-dashoffset:0}}
.x4ObjectPaper{position:absolute;left:0;top:0;width:41%;height:84%}.x4ObjectStage{position:absolute;left:46%;right:0;top:4%;height:75%;display:flex;align-items:center;justify-content:space-around;gap:8px}.x4ObjectStage>img{width:43%;height:70%}.x4ObjectStage>b{position:absolute;bottom:0;left:0;right:0;text-align:center;font:500 clamp(17px,1.6vw,25px) QFSystem}
.x4Hour{display:flex;flex-direction:column;gap:12px;align-items:center;z-index:2}.x4Hour span{font-size:clamp(15px,1.5vw,22px)}.x4Hour b{font:500 clamp(24px,2.5vw,38px) QFSystem;color:#e0c58a}.x4ReceiptBox{width:43%;height:55%;animation:x4Handoff 3s ease both}.x4ReceiptBox img{width:100%;height:100%}@keyframes x4Handoff{from{translate:-20% 0}to{translate:15% 0}}
.x4Object-materials .x4CordArt{width:55%}.x4Object-materials .x4ObjectStage>img:nth-child(2){width:35%}.x4EnclosureBox{position:absolute;inset:14% 0 8%}.x4EnclosureBox img{width:100%;height:100%}.x4EnclosureSheet{position:absolute;left:12%;top:0;width:55%;height:46%;animation:x4SlipIn 2s ease forwards}.x4EnclosureSheet img{width:100%;height:100%}@keyframes x4SlipIn{from{translate:0 -15%;rotate:-12deg}to{translate:24% 63%;rotate:0deg;scale:.65}}
.x4Confession{display:flex;flex-direction:column;gap:24px;text-align:center}.x4Confession b{font:500 clamp(24px,2.6vw,39px) QFSystem}.x4Confession small,.x4Confession span{font-size:clamp(13px,1.2vw,18px)}
.x4ThreeEvidence{display:grid;grid-template-columns:repeat(3,1fr);gap:3%;padding-bottom:19%;box-sizing:border-box}.x4ThreeEvidence section{min-height:0;display:flex;flex-direction:column;align-items:center;gap:6px;animation:x4EvidenceIn .7s calc(var(--i)*.15s) both}.x4ThreeEvidence .m4Paper{height:82%!important}.x4ThreeEvidence section>b{font:500 clamp(16px,1.5vw,24px) QFSystem}.x4ThreeEvidence small{font-size:clamp(11px,1vw,16px)}@keyframes x4EvidenceIn{from{translate:0 12px;opacity:0}to{translate:0 0;opacity:1}}
.x4Document{display:grid;grid-template-columns:66% 30%;gap:4%;padding-bottom:10%;box-sizing:border-box}.x4Original{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;rotate:0deg!important;transform:none!important;overflow:visible!important}.x4Original img{width:100%!important;height:100%!important;object-fit:contain!important;rotate:0deg!important;transform:none!important}.x4Document aside{align-self:center;color:#e9dfc4;font:400 clamp(13px,1.3vw,20px)/1.7 QFSystem}.x4Document aside h3{font:500 clamp(23px,2.2vw,33px) QFSystem;margin:.4em 0}.x4Document aside b{color:#e0c080}.x4Document aside button{background:transparent;border:1px solid #b5ac86;color:#e9dfc4;padding:6px 14px}.x4DocFinding{position:absolute;bottom:0;left:3%;right:32%;text-align:center;font:500 clamp(16px,1.5vw,22px) QFSystem;color:#e5c080;border-bottom:2px solid #b39d6c;padding:5px}
.x4Doc-verdict .x4DocFinding{border-left:4px solid #ad694a;border-bottom:0;text-align:left}.x4Doc-letter .x4DocFinding{border-top:1px dashed #cfb783;border-bottom:0}.x4Doc-ranking .x4DocFinding{border:2px solid #a44a39;color:#e7be9a}.x4Doc-slip .x4DocFinding{border-bottom:2px solid #a45c4b;color:#dfb19a}
.x4Action{position:absolute!important;left:23%!important;right:2%!important;bottom:1.8%!important;height:23%!important;min-height:0!important;box-sizing:border-box;background:linear-gradient(90deg,#172f26ed,#1e3b2fed)!important;border:0!important;border-top:1px solid #bba46c80!important;border-radius:0!important;padding:6px 9px!important;display:flex;flex-direction:column;gap:5px;z-index:25}
.x4Action header{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:0}.x4Action header b{font:500 clamp(13px,1.15vw,19px) QFSystem;max-width:58%;white-space:normal}.x4Action header span{font:400 clamp(10px,.9vw,14px)/1.35 QFSystem;max-width:42%;text-align:right;color:#e6d9b8}.x4ActionOptions{display:flex;gap:7px;flex:1;min-height:0}
.x4ActionOptions button{position:relative;flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 8px!important;background:#e9dfc7!important;border:1px solid #b6a371!important;border-radius:1px!important;color:#294b3b!important;font:500 clamp(12px,1.1vw,18px)/1.35 QFSystem;box-shadow:2px 3px 4px #091e1840}
.x4ActionOptions button i{font-style:normal;color:#8a7754;font-size:.8em}.x4ActionOptions button span{white-space:normal}.x4ActionOptions button.chosen{background:#dbcfb2!important;color:#566449!important;box-shadow:inset 0 -3px #9c8557!important}.x4ActionOptions button.chosen:after{content:'已递验';position:absolute;right:5px;top:1px;color:#a04d39;font-size:11px;transform:rotate(-7deg)}.x4Action.done .x4ActionOptions{opacity:.68}.x4ActionOptions button:hover{translate:0 -2px}
.x4Action[data-mode=limit] button{border-left:5px solid #ad9470!important}.x4Action[data-mode=sealcheck] button{border:2px double #9b5a48!important}.x4Action[data-mode=authority] button{border-top:4px solid #a98562!important}.x4Action[data-mode=order] button i{font-size:1.3em}.x4Action .q4Ink{display:none!important}
.x4Reject{position:absolute;inset:5% auto 5% 50%;height:90%;width:60px;transform:translateX(-50%);pointer-events:none}.x4Reject path{fill:none;stroke:#ba4939;stroke-width:7;stroke-linecap:round;stroke-dasharray:1;animation:x4Cross .65s ease both}@keyframes x4Cross{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.x4Lens{position:absolute;right:1%;bottom:3%;width:clamp(80px,9vw,142px);aspect-ratio:1;z-index:35;background:transparent!important;border:0!important;padding:0!important;cursor:grab;overflow:visible;touch-action:none}.x4LensGlass{position:absolute;inset:0;border-radius:50%;border:7px solid #7e6239;box-sizing:border-box;box-shadow:inset 0 0 0 2px #dac691,0 5px 8px #061c1955;overflow:hidden;background:radial-gradient(circle at 31% 24%,#ffffef66,transparent 70%)}.x4LensGlass>span{position:absolute;inset:0;border-radius:50%;background-repeat:no-repeat}.x4Lens>i{position:absolute;top:80%;left:78%;height:65%;width:12%;background:linear-gradient(90deg,#533a23,#a48658,#4b3322);border:2px solid #b99b61;border-radius:10px;transform-origin:top;rotate:-36deg;z-index:-1}.x4Lens small{position:absolute;bottom:-68%;left:0;right:-30%;font:500 12px QFSystem;color:#eee0bc;white-space:nowrap}.x4Lens.held{cursor:grabbing}.x4Lens.held small{display:none}
.x4Stock{position:absolute;left:6%;top:14%;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;width:46%;text-shadow:0 4px 9px #092016}.x4Stock small{width:100%;font:500 clamp(18px,2vw,30px) QFSystem}.x4Stock strong{font:500 clamp(65px,10.5vw,160px)/1.15 QFSystem;color:#f5dfa2}.x4Stock>span{font:500 clamp(19px,2vw,30px) QFSystem}.x4Rice{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.x4GrainNote{position:absolute;right:3%;top:16%;width:40%;padding:20px;box-sizing:border-box;background:#152f27df;border-left:2px solid #c0a26a;display:flex;flex-direction:column;gap:14px;font:500 clamp(17px,1.7vw,26px)/1.5 QFSystem}.x4GrainNote small{font-size:.7em;color:#c5cfaf}.x4GrainNote.challenged{border-color:#b95d44}.x4GrainNote .x4Reject{opacity:.8}.x4Equation{position:absolute;left:0;right:0;bottom:0;min-height:18%;display:flex;align-items:center;justify-content:space-around;gap:4px;background:#183429ed;padding:5px 10px;box-sizing:border-box}.x4Equation span{display:flex;flex-direction:column;gap:4px;align-items:center;font:400 clamp(12px,1vw,17px) QFSystem}.x4Equation b{font:500 clamp(23px,2.4vw,37px) QFSystem;color:#e9d8ac}.x4Equation i{font:500 22px QFSystem;color:#acaf87}
.x4ReliefHouse{opacity:.48}.x4ReliefReceipt{position:absolute;left:0;top:1%;width:45%;height:82%}.x4ReliefObjects{position:absolute;left:48%;right:0;top:0;height:85%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.x4ReliefObjects b{font:500 clamp(17px,1.5vw,24px) QFSystem;text-align:center}.x4HomeGrain,.x4WarehouseScale{width:90%;height:66%}.x4HomeGrain img,.x4WarehouseScale img{width:100%;height:100%}.x4ReliefObjects strong{font:500 clamp(40px,5vw,75px) QFSystem;color:#eddbab}.x4ReliefObjects small{font-size:.35em}.x4HouseCount{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:75%;height:60%}.x4HouseCount span{background:#d7c49a;border:1px solid #977e55;color:#294c3c;display:flex;align-items:center;justify-content:center;font:500 clamp(22px,3vw,40px) QFSystem;animation:x4EvidenceIn .4s calc(var(--i)*.13s) both}
.x4Contract{display:grid;grid-template-columns:52% 44%;gap:4%}.x4ContractOriginal{position:relative!important;width:100%!important;height:97%!important;inset:auto!important}.x4ContractObjects{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:56% 39%;gap:3%;min-height:0}.x4ContractObjects figure{margin:0;display:flex;flex-direction:column;align-items:center;min-height:0}.x4ContractObjects img{width:100%;height:80%;object-fit:contain}.x4ContractObjects figcaption{font:500 clamp(12px,1.2vw,18px) QFSystem;white-space:nowrap}.x4OldDebt{grid-column:1/4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-top:1px solid #ab9760}.x4OldDebt del{color:#d7997b;font:500 clamp(20px,2.1vw,30px) QFSystem;text-decoration-color:#a43e2c;text-decoration-thickness:3px}.x4OldDebt b{font:500 clamp(22px,2.1vw,32px) QFSystem;color:#f2d79c}.x4OldDebt span{font:400 clamp(11px,1vw,15px) QFSystem}
.x4People{overflow:hidden}.x4PeopleDoor{animation:x4PeopleMove 2s ease both}.x4PeopleLight{position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,#e8d89555 55%,transparent 76%);mix-blend-mode:screen;animation:x4PeopleMove 1.5s ease both}.x4HeldTicket{position:absolute;left:6%;top:11%;width:40%;height:72%;animation:x4Ticket 1s ease both}.x4PeopleCaption{position:absolute;right:3%;top:20%;width:47%;display:flex;flex-direction:column;gap:25px;padding:20px;box-sizing:border-box;background:#173329db}.x4PeopleCaption b{font:500 clamp(24px,2.6vw,39px)/1.7 QFSystem}.x4PeopleCaption span{font:400 clamp(12px,1.1vw,17px) QFSystem;color:#dfcda3}@keyframes x4PeopleMove{from{scale:1.04;filter:brightness(.5)}to{scale:1;filter:brightness(1)}}@keyframes x4Ticket{from{translate:0 30%;rotate:-14deg;opacity:0}to{translate:0 0;rotate:-3deg;opacity:1}}
.x4Witness{display:grid;grid-template-columns:47% 47%;gap:6%;padding-bottom:16%;box-sizing:border-box}.x4Witness>div:not(.x4Caption){display:flex;flex-direction:column;align-items:center;min-height:0}.x4Witness .m4Paper{height:88%}.x4Witness b{font:500 clamp(18px,1.7vw,26px) QFSystem}
/* Approved workbench fills the demonstration surface; dialogue is a separate native panel below. */
#stage.x4Live #q4Deduction[data-x4-type=sealLab],#stage.x4Live #q4Deduction[data-x4-type=sealPreview]{background:transparent!important;border:0!important;box-shadow:none!important;inset:8% 0 25.5%!important}
#stage.x4Live #q4Deduction[data-x4-type^=seal] .m4Content{inset:0!important;bottom:0!important}
#stage.x4Live #q4Deduction[data-x4-type^=seal]:before{display:none!important}
#stage.x4Live #q4Deduction[data-x4-type^=seal] .m4Header{position:absolute;left:2.5%;top:2%;right:2.5%;border:0;z-index:12;pointer-events:none;height:12%}
#stage.x4Live #q4Deduction[data-x4-type^=seal] .m4Header h2{color:#244c3b;text-shadow:0 1px 3px #f7f0d8;letter-spacing:.1em}
#stage.x4Live #q4Deduction[data-x4-type^=seal] .m4Header nav{pointer-events:auto;margin-top:0;align-self:center}
#stage.x4Live #q4Deduction[data-x4-type^=seal] .m4Header nav button:first-child{display:none}
.x4Seal{position:absolute;inset:0;font-family:QFSystem,serif;color:#2b4d3c;--light-x:50%}
.x4SealArt{position:absolute;inset:0;background:url('assets/chapter4/requested-20261130/seal-desk.webp') center/100% 100% no-repeat}
.x4Record{position:absolute;left:6.6%;top:31%;width:13.2%;height:28%;rotate:-.6deg;color:#365b45;display:flex;flex-direction:column;gap:5px}.x4Record>b{font:500 clamp(19px,2vw,29px) QFSystem;text-align:center;border-bottom:1px solid #886f50;padding-bottom:6px;margin-bottom:5px}.x4Record>div{display:flex;justify-content:space-between;align-items:center;gap:6px;font:500 clamp(12px,1.2vw,19px)/1.65 QFSystem}.x4Record em{font-style:normal;font-size:.85em;color:#8d8368}.x4Record em.noted{color:#a24734;animation:x4EvidenceIn .6s ease both;border-bottom:2px solid #a94a32}
.x4SealTabs{position:absolute;top:0;left:51%;right:15%;height:9%;display:flex;gap:8px;z-index:14}.x4SealTabs button{flex:1;min-width:0;background:#f0e8cf;border:1px solid #ac9463;color:#294c3c;padding:5px;font:500 clamp(14px,1.3vw,21px) QFSystem;box-shadow:0 3px 5px #1b372944}.x4SealTabs .active{background:#294f3f;color:#f2e4c3}.x4SealTabs button:disabled{opacity:.5}
.x4SealZoom{position:absolute;left:78.6%;top:24%;width:18.8%;height:37%;overflow:hidden;border-radius:7%;border:2px solid #b59e63;box-shadow:0 0 0 4px #254c3c;background:#2a4d3e;box-sizing:border-box;display:flex;flex-direction:column;z-index:7}.x4SealZoom>span{position:absolute;left:0;right:0;top:0;height:17%;display:flex;align-items:center;justify-content:center;color:#f2e8ca;background:#254837;font:500 clamp(13px,1.15vw,18px) QFSystem;z-index:4}.x4SealZoom>img{width:100%;height:100%;object-fit:cover!important}.x4SealZoom .x4FoundInk{position:absolute;inset:17% 3% 2%;pointer-events:none}.x4FoundInk svg{width:100%;height:100%}.x4Light{position:absolute;inset:18% 0 0;background:linear-gradient(105deg,transparent 25%,#ffedb77a 48%,transparent 70%);translate:calc(var(--light-x) - 50%) 0;opacity:0;mix-blend-mode:screen}.x4Seal[data-tab="2"].x4Aligned .x4Light{opacity:1}
.x4SealPrompt{position:absolute;left:78%;top:65%;width:20%;height:6.5%;box-sizing:border-box;padding:5px 8px;background:#244c3be8;border:1px solid #c0a76a;color:#eee3c5;display:flex;align-items:center;justify-content:center;text-align:center;font:500 clamp(11px,1.05vw,16px) QFSystem;z-index:8}
.x4SealTarget{position:absolute;left:57%;top:43%;width:13%;height:21%;border:2px dashed #afbb8c00;border-radius:50%;z-index:6;pointer-events:none}.x4Aligned .x4SealTarget{border-color:#d5c186aa;box-shadow:0 0 16px #eed39b70}.x4SealTarget:after{content:'';position:absolute;inset:-6px;border-radius:50%;background:conic-gradient(#e8c478 calc(var(--inspect-progress,0)*1turn),transparent 0);mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 0)}.x4InspectReady .x4SealTarget{border-color:#e9cf94;box-shadow:0 0 14px #edd39b99}
.x4SealTool{position:absolute;left:var(--tool-x);bottom:7%;width:7.5%;height:12%;padding:0!important;border:0!important;background:transparent!important;z-index:16;cursor:grab;touch-action:none;filter:drop-shadow(1px 3px 3px #392c1a80)}
.x4SealTool>img{width:100%;height:100%;object-fit:contain;pointer-events:none}.x4SealTool>span{display:none}.x4SealTool.held{cursor:grabbing;width:10%;height:16%;filter:drop-shadow(6px 10px 5px #142c2366)}
/* Seal bugfix: use the three objects already painted on the desk once. */
.x4SealInstruction{position:absolute;left:25%;right:24%;top:12%;min-height:12%;padding:7px 12px;box-sizing:border-box;background:#eee5cfeF;border:1px solid #ad9666;box-shadow:0 3px 12px #18312822;display:flex;flex-direction:column;justify-content:center;gap:4px;z-index:8;text-align:center;pointer-events:none}
.x4SealInstruction b{font:500 clamp(12px,1.25vw,19px)/1.45 QFSystem;color:#274a3b}.x4SealInstruction>span{font:400 clamp(10px,.95vw,14px)/1.4 QFSystem;color:#665e4d}
.x4Record>b small{font-size:.6em;white-space:nowrap}.x4SealTabs{left:40%;right:16%;gap:5px}.x4SealTabs button{font-size:clamp(11px,1.1vw,17px);white-space:nowrap}.x4SealTabs button:last-child{flex:1.45}.x4SealTabs button.noted{border-bottom:3px solid #994b38}
.x4SealTarget{transform:translate(-50%,-50%);pointer-events:auto;border:2px dashed #d1ba7c;background:#f8e6a40d!important;color:#f9e7b5;padding:0!important;cursor:pointer;box-sizing:border-box;box-shadow:0 0 0 4px #264b3b66,0 0 18px #f5d58b33;animation:x4SealBreathe 1.9s ease-in-out infinite;z-index:10}
.x4SealTarget>span{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);white-space:nowrap;font:500 clamp(11px,1vw,15px) QFSystem;color:#f4e5c0;background:#244b3beF;border:1px solid #ae9562;padding:3px 7px;pointer-events:none}
.x4SealTarget:after{pointer-events:none}.x4Seal[data-found=true] .x4SealTarget{animation:none;border-color:#b4bf9b;opacity:.65}
.x4SealTarget:focus-visible,.x4SealSample:focus-visible{outline:3px solid #fff0ba;outline-offset:4px}
.x4SealSample{position:absolute;left:var(--sample-x);top:80.5%;width:var(--sample-width);height:12%;transform:translateX(-50%);border:1px solid #d3be8a99!important;border-radius:18%;padding:0!important;background:transparent!important;z-index:16;touch-action:none;cursor:grab;box-shadow:0 0 0 2px #17362b33}
.x4SealSample>span{position:absolute;left:50%;bottom:calc(100% + 3px);transform:translateX(-50%);padding:3px 8px;white-space:nowrap;background:#e9dfc5;color:#35503b;border:1px solid #b29b68;font:500 clamp(11px,1.05vw,16px) QFSystem;pointer-events:none;box-shadow:0 2px 4px #18352b44}
.x4SealSample.active{border:2px solid #e1c987!important;box-shadow:0 0 13px #f6df9477}.x4SealSample.active>span{background:#2b5140;color:#f4e6bc}.x4SealSample.selected{border-style:dashed!important}.x4SealSample.noted>span:after{content:' · 已核';color:#bdc8a1;font-size:.8em}.x4SealSample:active{cursor:grabbing}
.x4SealCarry{position:absolute;display:none;align-items:center;justify-content:center;min-width:48px;padding:8px 14px;background:#eee1bede;color:#294b3a;border:1px solid #b79b62;box-shadow:3px 5px 10px #15332555;transform:translate(-50%,-50%);pointer-events:none;z-index:30;font:500 clamp(12px,1.2vw,18px) QFSystem;rotate:-4deg}
.x4SealPrompt{top:63%;height:13%;font-size:clamp(11px,1.05vw,16px);line-height:1.6}.x4SealNext{position:absolute;left:78%;top:79%;width:20%;padding:8px 5px!important;background:#eee3c6!important;color:#294c3b;border:1px solid #b29a65!important;font:500 clamp(12px,1.15vw,18px) QFSystem;z-index:14;cursor:pointer}.x4SealNext[hidden]{display:none!important}
.x4Inspecting .x4Light{opacity:1}.x4Inspecting .x4SealTarget{animation:none;box-shadow:0 0 20px #f4d48b88}.x4SampleSelected .x4SealTarget{border-color:#f9e2a7;box-shadow:0 0 0 5px #e3ca6c22,0 0 18px #ebce8b66}.x4SealZoom{cursor:crosshair}
@keyframes x4SealBreathe{0%,100%{box-shadow:0 0 0 3px #e8cf8a11,0 0 10px #edd18522}50%{box-shadow:0 0 0 7px #e8cf8a33,0 0 18px #edd18577}}
@media(prefers-reduced-motion:reduce){.x4SealTarget{animation:none}}
.x4ChestOld,.x4ChestNew{position:absolute;top:73%;color:#f4e7c7;font:500 clamp(13px,1.2vw,19px) QFSystem;text-shadow:0 2px 4px #183024}.x4ChestOld{left:35%}.x4ChestNew{left:61%}.x4SealConclusion{position:absolute;left:25%;right:24%;bottom:0;min-height:6%;margin:0;padding:4px 8px;box-sizing:border-box;color:#f1dfb4;text-align:center;background:#16352b99;font:500 clamp(12px,1.2vw,19px) QFSystem;display:flex;align-items:center;justify-content:center}
.x4Seal .x4ChestOld,.x4Seal .x4ChestNew{top:29%;background:#254a3bcc;border:1px solid #bba36d;padding:2px 8px;z-index:8;font-size:clamp(11px,1vw,16px);text-shadow:none}.x4Seal .x4ChestOld{left:29%}.x4Seal .x4ChestNew{left:53%}
.x4Board.has-action .x4Lens{bottom:32%!important;right:1%;width:clamp(70px,7.5vw,112px)}
.x4Board .x4Lens{bottom:15%;right:1%}.x4Lens small{display:none}
.x4MapArt{opacity:1!important;mix-blend-mode:normal!important}.x4MapRoad{stroke-width:7;stroke:#f6d383;filter:drop-shadow(0 2px 2px #182d24)}.x4MapBranch{stroke:#da8d62;stroke-width:5}
.x4Loan,.x4Silver,.x4Drafts,.x4Clerk,.x4DispatchRecords,.x4Archive,.x4Supply,.x4Ruling{position:relative;width:100%;height:100%;isolation:isolate}
.x4LoanOriginal{position:absolute;left:0;top:0;width:35%;height:79%}.x4LoanOriginal img{width:100%;height:100%}.x4LoanThen,.x4LoanNow{position:absolute;top:3%;height:72%;width:28%;display:flex;flex-direction:column;align-items:center;gap:5px}.x4LoanThen{left:38%}.x4LoanNow{right:0}.x4LoanThen img,.x4LoanNow img{width:100%;height:50%;object-fit:contain}.x4Loan strong{font:500 clamp(34px,4vw,62px) QFSystem;color:#f1db9f}.x4Loan strong span{font-size:.35em}.x4Loan small{font:400 clamp(11px,1vw,16px) QFSystem}.x4LoanHundred{position:absolute;left:35%;right:0;bottom:14%;display:flex;align-items:center;justify-content:center;gap:20px;color:#debd7c;font-family:QFSystem}.x4LoanHundred span{font-size:clamp(11px,1vw,16px)}
.x4SilverArt{position:absolute;inset:0;background:center/cover;z-index:-1;opacity:.38}.x4SilverPaper{position:absolute!important;inset:0 auto 17% 0!important;width:46%!important;height:80%!important}.x4SilverObject{position:absolute;right:2%;top:5%;width:47%;height:65%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}.x4SilverObject img{width:100%;height:85%;object-fit:contain}.x4SilverObject strong{font:500 clamp(23px,2.5vw,39px) QFSystem;color:#eddaaa}.x4Silver nav{position:absolute;bottom:13%;left:50%;right:0;display:flex;align-items:center;justify-content:space-around;font:400 clamp(12px,1.2vw,18px) QFSystem}.x4Silver nav .active{color:#f3d795;border-bottom:2px solid #cbad6b}.x4Silver nav i{font-style:normal;color:#a38d61}
.x4Drafts,.x4DispatchRecords{display:grid;grid-template-columns:46% 46%;gap:8%;padding-bottom:18%;box-sizing:border-box}.x4Drafts section,.x4DispatchRecords section{display:flex;flex-direction:column;align-items:center;min-height:0}.x4Drafts .m4Paper,.x4DispatchRecords .m4Paper{height:90%}.x4Drafts b,.x4DispatchRecords b{font:500 clamp(17px,1.5vw,24px) QFSystem}.x4DraftDifference{position:absolute;left:39%;right:39%;top:40%;text-align:center;color:#e3b28d;font:500 clamp(15px,1.4vw,22px) QFSystem;background:#23392be8;border-top:1px solid #be7251;border-bottom:1px solid #be7251;padding:6px 0}.x4RecordArrow{position:absolute;left:47%;top:38%;font-size:40px;color:#d3b57f}.x4Clerk{display:grid;grid-template-columns:55% 40%;gap:5%;padding-bottom:17%;box-sizing:border-box}.x4Clerk>div{min-height:0}.x4Clerk aside{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font:500 clamp(20px,2vw,30px) QFSystem}.x4Clerk aside small{font-size:.5em;color:#cfbd92}.x4Clerk aside b{text-align:center}.x4Clerk aside i{color:#bd7853;font-style:normal;font-size:38px}
.x4ArchiveShelves{position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr);gap:8px;background:#172b21;opacity:.8;z-index:-1}.x4ArchiveShelves i{border:6px ridge #6a4b2e;background:repeating-linear-gradient(90deg,#ab9671 0 8px,#5e4c30 9px 12px);filter:brightness(.45)}.x4ArchivePaper{position:absolute!important;left:0!important;top:0!important;width:54%!important;height:83%!important}.x4Archive aside{position:absolute;left:60%;right:3%;top:14%;display:flex;flex-direction:column;gap:16px;font:400 clamp(16px,1.6vw,25px)/1.7 QFSystem}.x4Archive aside small{font-size:.6em;color:#cabb99}.x4Archive aside b{font-size:1.25em;color:#edd7a6}.x4Archive aside p{margin:0}
.x4Supply{display:grid;grid-template-columns:repeat(3,1fr);gap:4%;padding:3% 2% 18%;box-sizing:border-box;background-position:center;background-size:cover}.x4Supply:before{content:'';position:absolute;inset:0;background:#18342899;z-index:-1}.x4Supply section{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:0;gap:12px}.x4Supply section>img,.x4Supply .m4Paper{height:83%;width:100%;object-fit:contain}.x4Supply section b{font:500 clamp(16px,1.5vw,22px) QFSystem}.x4Ruling{display:grid;grid-template-columns:54% 40%;gap:6%}.x4Ruling>div{min-height:0}.x4Ruling aside{align-self:center;font:400 clamp(17px,1.6vw,25px)/1.8 QFSystem}.x4Ruling h3{font:500 clamp(27px,2.8vw,42px) QFSystem;color:#ebd3a3}.x4Ruling small{font-size:.6em;color:#bcb48f}
/* Percentage vertical padding resolves against width; use fixed footer tracks instead. */
.x4Document{padding-bottom:38px;grid-template-rows:minmax(0,1fr)}
.x4Document aside{max-height:100%;overflow:auto}.x4DocFinding{bottom:0;height:28px;min-height:0;box-sizing:border-box}
.x4ThreeEvidence,.x4Drafts,.x4DispatchRecords{padding-bottom:58px;grid-template-rows:minmax(0,1fr)}
.x4Drafts section,.x4DispatchRecords section,.x4ThreeEvidence section{height:100%;overflow:visible}
.x4Drafts section .m4Paper,.x4DispatchRecords section .m4Paper{flex:1;min-height:0;height:auto!important}
.x4ThreeEvidence section .m4Paper{flex:1;min-height:0;height:auto!important}
.x4Clerk{padding-bottom:58px;grid-template-rows:minmax(0,1fr)}
.x4Witness{padding-bottom:58px;grid-template-rows:minmax(0,1fr)}
.x4Witness>div:not(.x4Caption) .m4Paper{flex:1;min-height:0;height:auto}
.x4Supply{padding:8px 12px 58px;grid-template-rows:minmax(0,1fr)}
.x4Caption{height:50px;min-height:0}.x4Caption b{font-size:clamp(15px,1.3vw,22px)}
.x4Board .x4FullPaper .m4PaperPixels{height:100%!important;max-height:100%!important;max-width:100%!important;width:auto!important;aspect-ratio:auto!important}
.x4Board .x4FullPaper img{height:100%!important;width:auto!important;max-width:100%!important;object-fit:contain!important;aspect-ratio:auto!important}
.x4Original{min-height:0;align-self:stretch}.x4Original img{max-height:100%!important;max-width:100%!important}
.x4LensGlass{border-width:6px}.x4Board.has-action .x4Lens{bottom:34%!important;right:1.5%!important;width:clamp(70px,7vw,105px)}
.x4Document aside{align-self:start;max-height:62%;padding-top:0}.x4Document aside h3{margin:.15em 0}.x4Document aside p{margin:.5em 0}.x4Document aside button{margin:0}
.x4Board .x4Lens{width:clamp(72px,7vw,108px);bottom:16%!important;right:1.5%!important}.x4Board.has-action .x4Lens{bottom:31%!important;width:clamp(65px,6vw,90px)}
.x4MaterialVerdict{position:absolute;right:4%;bottom:6%;z-index:6;padding:7px 13px;font:500 clamp(17px,1.7vw,25px) QFSystem;color:#873e2f;background:#e6d5b4;border:1px solid #a48d5e;box-shadow:3px 5px 5px #162d2355;pointer-events:none}
.x4Verdict-verdict{right:auto;left:3%;border-left:6px solid #a65f46;rotate:-4deg;animation:x4ClipIn .6s ease both}.x4Verdict-letter{background:#d0bc8e;clip-path:polygon(0 0,100% 0,100% 100%,50% 84%,0 100%);padding:6px 10px 16px;animation:x4TabIn .7s ease both}.x4Verdict-ranking{border:3px double #9b3c2c;background:#e3d8bb;color:#a04131;rotate:-9deg;animation:x4Stamp .45s ease both}.x4Verdict-slip{border:0;border-bottom:3px solid #a34d37;background:linear-gradient(90deg,#e1caa2,#f2e4c5);animation:x4SlipIn .6s ease both}
@keyframes x4ClipIn{from{translate:-55px 0;opacity:0}to{translate:0 0;opacity:1}}@keyframes x4TabIn{from{translate:0 -70px;opacity:0}to{translate:0 0;opacity:1}}@keyframes x4Stamp{0%{scale:1.8;opacity:0}70%{scale:.92;opacity:1}100%{scale:1;opacity:1}}@keyframes x4SlipIn{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.x4Custody{position:relative;width:100%;height:100%;display:grid;grid-template-columns:32% 28% 32%;gap:4%;padding-bottom:54px;box-sizing:border-box}.x4Custody section{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:0}.x4Custody section img{width:100%;height:65%;object-fit:contain}.x4Custody section b{font:500 clamp(18px,1.8vw,27px) QFSystem}.x4Custody small{font:400 clamp(12px,1.1vw,17px) QFSystem;color:#d2c6a3}.x4CustodyGap{align-self:center;display:flex;flex-direction:column;align-items:center;gap:10px;border-top:1px dashed #b29d6b;border-bottom:1px dashed #b29d6b;padding:12px 4px}.x4CustodyGap strong{font:500 clamp(50px,6vw,90px)/1 QFSystem;color:#d6b476}.x4CustodyGap b{font:500 clamp(17px,1.5vw,24px) QFSystem}.x4CustodyGap span{font:400 clamp(11px,1vw,16px) QFSystem;color:#c5bb99}
.x4Record{top:30%;height:24%;gap:0}.x4Record>b{font-size:clamp(17px,1.7vw,26px);padding-bottom:3px;margin-bottom:3px}.x4Record>div{font-size:clamp(11px,1.05vw,16px);line-height:1.25}
#stage.x4Live #dialogue{background:#f0ead8!important}
.x4ReliefMatch{height:100%;position:relative;display:grid;grid-template-rows:minmax(0,1fr) 26% 30px;gap:8px}.x4MatchDocs,.x4MatchSockets{display:grid;grid-template-columns:repeat(3,1fr);gap:5%}.x4MatchDocs button{background:none!important;border:0!important;padding:0!important;display:flex;flex-direction:column;min-height:0;align-items:center;position:relative;touch-action:none;cursor:grab;overflow:visible}.x4MatchDocs .m4Paper{flex:1;min-height:0;height:auto!important;pointer-events:none}.x4MatchDocs button>b{font:500 clamp(15px,1.5vw,23px) QFSystem;pointer-events:none}.x4MatchDocs button.held{cursor:grabbing;filter:drop-shadow(5px 8px 5px #132a2180)}.x4MatchDocs button.matched{opacity:.58;cursor:default}
.x4MatchSockets button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px!important;background:#dacba9!important;border:2px solid #ab9566!important;color:#2a4b3c!important;box-shadow:inset 0 2px 5px #67533344;min-height:0}.x4MatchSockets button b{font:500 clamp(17px,1.5vw,23px) QFSystem}.x4MatchSockets button span{font:400 clamp(10px,.9vw,14px) QFSystem}.x4MatchSockets button i{font:400 11px QFSystem;color:#9c6c46}.x4MatchSockets button.matched{border-color:#a05a3d!important;box-shadow:inset 0 0 0 1px #975337}.x4MatchNote{font:500 clamp(12px,1.1vw,17px) QFSystem;text-align:center;color:#dcc89b;display:flex;align-items:center;justify-content:center}.x4MatchFooter{justify-content:center;gap:10px}.x4MatchFooter small{font:400 clamp(11px,1vw,16px) QFSystem;color:#c6c7a7}
#stage.x4Live #dialogue{padding-top:2.6%!important}
#stage.x4Live #lineText{line-height:1.5!important}
#stage.x4Live.easyRead #lineText{font-size:clamp(20px,2.2vw,35px)!important}
@media(max-width:900px){#stage.x4Live #dialogue{padding-top:1.2%!important}}
.x4HandoffOverview{height:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:3%;padding-bottom:58px;position:relative}.x4HandoffOverview figure{margin:0;display:flex;flex-direction:column;min-height:0;gap:12px;animation:x4EvidenceIn .6s calc(var(--i)*.17s) both}.x4HandoffOverview img{width:100%;height:80%;object-fit:cover!important;box-shadow:0 6px 12px #10271f80}.x4HandoffOverview figcaption{font:500 clamp(16px,1.6vw,25px) QFSystem;text-align:center;color:#ebd6a7}
.x4Signature,.x4EnclosureQuestion{position:relative;height:100%;display:grid;grid-template-columns:53% 42%;gap:5%;padding-bottom:58px}.x4Signature>div,.x4EnclosureQuestion>div{min-height:0}.x4EnclosureQuestion>div>img{width:100%;height:100%}.x4Signature aside,.x4EnclosureQuestion aside{align-self:center;font:400 clamp(16px,1.5vw,23px)/1.7 QFSystem}.x4Signature aside>b{font:500 clamp(31px,3.1vw,47px) QFSystem;color:#ecd2a1;display:block}.x4Signature aside small{font-size:.65em;color:#d3c8a5}.x4Signature aside p{margin:.7em 0}.x4EnclosureQuestion aside p{border-left:2px solid #b8a06d;padding:5px 14px;display:flex;flex-direction:column;margin:10px 0;animation:x4EvidenceIn .6s calc(var(--i)*.3s) both}.x4EnclosureQuestion aside b{font-weight:500;font-size:1.2em;color:#e5cc9c}.x4EnclosureQuestion aside span{font-size:.55em;color:#bfc0a1}
.x4Authority{position:relative;height:100%;display:grid;grid-template-columns:42% 12% 42%;gap:2%;padding-bottom:54px}.x4Authority section{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:0}.x4Authority section img{width:100%;height:72%;object-fit:contain}.x4Authority section b{font:500 clamp(18px,1.6vw,25px) QFSystem;color:#e8d0a1}.x4Authority section span{font:400 clamp(11px,1vw,16px) QFSystem;color:#cdccb0}.x4AuthorityDivider{align-self:center;display:flex;align-items:center;flex-direction:column;gap:16px}.x4AuthorityDivider strong{font:500 clamp(40px,5vw,72px)/1 QFSystem;color:#bd7854}.x4AuthorityDivider b{font:500 clamp(12px,1.1vw,17px) QFSystem;writing-mode:vertical-rl;letter-spacing:.15em}
#stage.x4Live .x4RealLens{width:clamp(115px,11.2vw,175px)!important;height:auto!important;aspect-ratio:1;right:1%!important;bottom:2%!important;filter:drop-shadow(3px 5px 4px #152c2366)}
#stage.x4Live .x4Board.has-action .x4RealLens{width:clamp(108px,10.5vw,160px)!important;bottom:25%!important}
#stage.x4Live .x4RealLens .x4LensGlass{left:13.1%;top:11.1%;right:auto;bottom:auto;width:46.3%;height:46.3%;border:0!important;box-shadow:none;background:radial-gradient(circle at 30% 25%,#ffffef44,#d4e1d22a 75%);z-index:1}
.x4RealLens .x4LensFrame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:2}.x4RealLens>i{display:none!important}
/* Menu stays in the upper portion. The active dialogue is still visible at the bottom. */
#stage.x4Live.x4ModalOpen #modal{bottom:28%!important;top:10%!important;left:15%!important;right:8%!important;height:auto!important;max-height:62%!important;z-index:140!important;background:#172e25f7!important;backdrop-filter:none!important}
#stage.x4Live.x4ModalOpen #modal .modalPanel,#stage.x4Live.x4ModalOpen #modal .modalCard{max-height:100%!important;height:auto!important;margin:0!important;overflow:auto}
#stage.x4Live.x4ModalOpen #dialogue{visibility:visible!important;opacity:1!important;display:block!important}
@media(max-width:900px){.x4Action header span{display:none}.x4Action header b{max-width:100%;font-size:12px}.x4ActionOptions button{font-size:11px}.x4Board .m4Header nav button{font-size:11px;padding:4px}.x4Board .m4Header h2{font-size:19px}.x4Document aside p{font-size:12px}.x4Record>b{font-size:16px}.x4Record>div{font-size:11px}#stage.x4Live #lineText{font-size:clamp(14px,2.1vw,18px)!important}.x4Caption span{display:none}}
@media(max-width:900px){#stage.x4Live #lineText{line-height:1.35!important}#stage.x4Live.easyRead #lineText{font-size:clamp(14px,2.2vw,19px)!important}}
