/* The past record stays in place; only the new work changes state. */
.studio-document main>.pool-opening{padding-top:40px;display:grid;grid-template-columns:.8fr 1.2fr;gap:46px;align-items:start}
.studio-document .pool-opening h1{font-size:clamp(38px,4.1vw,59px);line-height:1.08;letter-spacing:-.05em;margin:16px 0 24px}
.pool-opening h1 em{font:400 1em Georgia,serif;color:#a0570b;letter-spacing:-.04em}
.studio-document .pool-opening .lede{font-size:1rem;line-height:1.8;margin-bottom:24px}
.pool-opening .ask-inline{gap:9px;margin:20px 0 0}
.pool-opening .ask-inline .btn{font-size:.8rem;padding:12px 16px}
.pool-opening .pool-footnote{font-size:.82rem;line-height:1.65;margin-top:20px;color:#6f4c71}
.pool-intro{padding-top:24px}
.pool-workbench{min-width:0;position:relative;background:linear-gradient(140deg,#efe5e1,#f2e9e4);border:1px solid #cdc4bf;border-radius:18px;padding:24px;box-shadow:0 8px 0 #cbc2bd66,0 24px 50px #55265912}
.pool-bar{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:.65rem;color:#764c7a;letter-spacing:.08em;margin-bottom:18px}
.pool-bar strong{font-size:.7rem;color:#5c2862}
.pool-steps{display:flex;gap:6px;margin:0 0 22px}
.pool-workbench button{font:inherit;font-size:.78rem;line-height:1.5;min-height:44px;padding:9px 12px;border:1px solid #b4aba7;background:#fff7f3;color:#5b2860;border-radius:7px;cursor:pointer;text-align:left}
.pool-workbench button[aria-pressed=true]{background:#5d2662;color:#ffffff;border-color:#5d2662}
.pool-workbench button:disabled{opacity:.65;cursor:default}
.pool-workbench button:focus-visible{outline:3px solid #9e5506;outline-offset:3px}
.pool-steps button{flex:1;font-size:.7rem;padding:8px}
.pool-stage{perspective:1000px;position:relative}
.pool-history{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid #bdb4b0;background:#e7ded9;border-radius:8px 8px 0 0;box-shadow:4px 4px 0 #bab1ad55;transform:translateX(-6px) rotateY(2deg);position:relative;z-index:0}
.pool-history-mark{width:28px;height:28px;display:grid;place-items:center;border:1px solid #95549b;border-radius:50%;color:#78327f;flex:none}
.pool-history strong{display:block;font-size:.81rem;color:#5f2465}
.pool-history small{display:block;font-size:.69rem;line-height:1.6;color:#76487a;margin-top:3px}
.pool-record{position:relative;z-index:1;min-height:335px;background:#fffbf9;border:1px solid #bfb6b1;border-radius:0 8px 8px 8px;padding:25px 24px 20px;box-shadow:5px 7px 0 #beb5b166,0 15px 22px #4e265212;transform:translateX(3px);overflow:hidden}
.pool-record::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#b47848;transition:background .5s}
.pool-record .pool-actor{display:block;font-size:.61rem;letter-spacing:.12em;color:#745842;font-weight:700}
.studio-document .pool-record h2{font-size:clamp(23px,2.2vw,30px);line-height:1.2;letter-spacing:-.035em;margin:13px 0 14px}
.studio-document .pool-record p{font-size:.87rem;line-height:1.8;margin:0 0 17px;color:#68426b}
.pool-status{display:flex;align-items:center;gap:9px;border-top:1px solid #dcd3cf;padding-top:13px;color:#703476;font-size:.78rem;font-weight:700}
.pool-status::before{content:'';width:8px;height:8px;background:#aa7348;border-radius:50%;flex:none}
.pool-brief{margin:12px 0 18px;font-size:.74rem;line-height:1.6}
.pool-brief div{display:grid;grid-template-columns:80px 1fr;gap:10px;border-top:1px solid #ded5d0;padding:9px 0}
.pool-brief dt{color:#6e6c79}.pool-brief dd{margin:0;font-weight:600;color:#632868}
.pool-workbench[data-stage="1"] .pool-brief div:first-child,.pool-workbench[data-stage="3"] .pool-brief div:last-child,.pool-workbench[data-stage="4"] .pool-brief div:last-child{background:#eae1dc80;box-shadow:-7px 0 0 #eae1dc80,7px 0 0 #eae1dc80}
.pool-workbench[data-stage="3"] .pool-status::before{animation:pool-wait 1.7s ease-in-out infinite}
.pool-workbench[data-response=accepted] .pool-status::before,.pool-workbench[data-response=accepted] .pool-record::before{background:#86408d}
.pool-workbench[data-response=declined] .pool-status::before,.pool-workbench[data-response=declined] .pool-record::before{background:#a65a08}
.pool-workbench[data-enhanced=true] .pool-record{animation:pool-arrive .7s both}
.pool-workbench[data-stage="1"] .pool-record,.pool-workbench[data-stage="3"] .pool-record{animation-name:pool-arrive-next}
.pool-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.pool-actions small{width:100%;font-size:.73rem;line-height:1.65;color:#765379}
.pool-controls{margin-top:20px;display:flex;flex-wrap:wrap;gap:8px}
.pool-controls button{font-size:.71rem;background:transparent}
.pool-position{width:100%;font-size:.7rem;color:#6c3d70;margin-bottom:3px}
.pool-progress{width:100%;height:2px;background:#d2c9c5;margin-bottom:7px;overflow:hidden}
.pool-progress span{display:block;width:100%;height:100%;background:#8d603e;transform:scaleX(var(--pool-progress,0));transform-origin:left}
.studio-document .pool-effect{font-size:.8rem;line-height:1.7;color:#65336a;margin:20px 0 0;font-weight:600}
.studio-document .pool-boundary{font-size:.7rem;line-height:1.6;color:#784f7c;margin:10px 0 0}
.pool-workbench [hidden]{display:none!important}
.pool-announcement{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.pool-workbench[data-moving=false] *{animation-play-state:paused!important}
@keyframes pool-arrive{from{opacity:.5;transform:translate3d(3px,18px,-30px) rotateX(3deg)}to{opacity:1;transform:translate3d(3px,0,0)}}
@keyframes pool-arrive-next{from{opacity:.5;transform:translate3d(3px,18px,-30px) rotateX(3deg)}to{opacity:1;transform:translate3d(3px,0,0)}}
@keyframes pool-wait{50%{box-shadow:0 0 0 7px #aa734822}}
@media(max-width:1000px){.studio-document main>.pool-opening{grid-template-columns:1fr;gap:26px}.pool-intro{max-width:760px;padding-top:0}.studio-document .pool-opening h1{max-width:700px}.pool-workbench{max-width:780px;width:100%;box-sizing:border-box}}
@media(max-width:600px){.studio-document main>.pool-opening{padding-top:26px;gap:24px}.studio-document .pool-opening h1{font-size:40px;margin:12px 0 20px}.pool-workbench{padding:18px 15px;border-radius:12px}.pool-bar{font-size:.57rem;gap:8px}.pool-bar strong{font-size:.63rem}.pool-steps{gap:5px;margin-bottom:17px}.pool-steps button{font-size:.65rem;padding:8px 7px}.pool-history{padding:12px;gap:10px;transform:translateX(-3px)}.pool-history strong{font-size:.75rem}.pool-record{padding:21px 18px;min-height:340px;transform:none}.studio-document .pool-record h2{font-size:25px}.studio-document .pool-record p{font-size:.87rem}.pool-controls{padding-right:44px}.pool-position{line-height:1.5}.pool-actions button{font-size:.74rem}.pool-effect{min-height:2.8em}}
@media(prefers-reduced-motion:reduce){.pool-workbench .pool-record,.pool-workbench .pool-history,.pool-workbench .pool-status::before{animation:none!important;transform:none;transition:none}}
