/* Shared finished-task page for every engine, including the legacy PDF panel. */
body.pwt-completion-open{overflow:hidden!important}
.pwt-completion-shell{position:fixed;inset:0;z-index:60;overflow:auto;background:radial-gradient(ellipse at 75% 0,#e5edff 0,transparent 48%),#f7f9fd;color:#17243e;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;line-height:1.5;text-align:left}
.pwt-completion-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 30px;border-bottom:1px solid #e2e8f2;background:#ffffffed;backdrop-filter:blur(12px)}
.pwt-completion-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#14223f;font-size:15px;font-weight:850;text-decoration:none;letter-spacing:-.025em}.pwt-completion-brand span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#182644;color:#fff;font-size:11px;letter-spacing:-.06em}
.pwt-completion-header nav{display:flex!important;align-items:center;gap:22px;font-size:12px;font-weight:750;color:#53627c}.pwt-completion-header nav a{color:inherit;text-decoration:none}.pwt-completion-header nav a:hover{color:#3158e5}
.pwt-completion-main{max-width:1080px;margin:0 auto;padding:38px 30px 32px}.pwt-completion-intro{text-align:center;margin:0 auto 25px}.pwt-completion-check{display:grid;place-items:center;width:47px;height:47px;margin:0 auto 14px;border:1px solid #bce5d8;border-radius:50%;background:#e7f7ef;color:#138466;font-size:25px;font-weight:800}.pwt-completion-kicker{margin:0 0 8px!important;font-size:10px!important;letter-spacing:.14em;font-weight:850;color:#17836c!important}.pwt-completion-intro h1{margin:0 0 10px;font-size:clamp(28px,4vw,43px);line-height:1.1;letter-spacing:-.045em;color:#14223f;outline:none}.pwt-completion-intro>p:last-child{margin:0;color:#61718b;font-size:14px}
.pwt-completion-dock>.pwt-result-panel,.pwt-completion-dock>.tool-result{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px;margin:0!important;padding:28px;border:1px solid #dfe7f1;border-radius:19px;background:#fff;color:#17243e;box-shadow:0 14px 40px #243b650b}
.pwt-completion-shell .pwt-result-copy,.pwt-completion-shell .tool-result-copy{flex:1 1 240px;min-width:0;display:grid;gap:10px;color:#17243e}.pwt-completion-shell .pwt-result-copy>span,.pwt-completion-shell .tool-result-copy>span{display:none}.pwt-completion-shell .pwt-completion-filename{margin:0 0 4px!important;padding:10px 12px;border-radius:8px;background:#f2f5fb;font-size:12px!important;color:#4e607c!important;overflow-wrap:anywhere;letter-spacing:0;text-transform:none}.pwt-completion-shell .pwt-result-copy strong,.pwt-completion-shell .tool-result-copy strong{font-size:21px;color:#17243e;line-height:1.3}.pwt-completion-shell .pwt-result-copy>p,.pwt-completion-shell .tool-result-copy>p{color:#65728a;font-size:13px;line-height:1.6}.pwt-completion-shell .button{font-family:inherit;border-radius:10px;letter-spacing:0;text-transform:none;cursor:pointer}.pwt-completion-shell .button-primary{padding:13px 23px!important;background:#3158e5;color:#fff;font-size:15px!important;min-width:180px}.pwt-completion-shell .button-outline{border:1px solid #d5dfed;background:#fff;color:#314768;padding:9px 14px!important;font-size:12px!important}.pwt-completion-shell .pwt-result-next-tool{font-size:12px;color:#3158e5}.pwt-completion-shell .pwt-result-ad,.pwt-completion-shell .tool-result-ad{flex:0 0 322px;width:322px;max-width:100%;min-width:0;min-height:0!important;box-sizing:border-box;padding:10px 0;align-self:center;gap:8px;border:1px solid #e5eaf2;background:#f8faff;overflow:hidden}.pwt-completion-shell .ad-slot[hidden]{display:none!important}.pwt-completion-shell .ad-display-300{width:300px;min-height:250px}.pwt-completion-shell .ad-display-320{width:320px;min-height:50px}.pwt-completion-shell .ad-slot>span{color:#8190a5;font-size:9px;letter-spacing:.13em}.pwt-completion-footnote{text-align:center;margin:20px 0 0;color:#7a879c;font-size:11px}
@media(max-width:620px){.pwt-completion-header{padding:13px 16px;flex-wrap:wrap;gap:10px}.pwt-completion-header nav{gap:17px;font-size:11px}.pwt-completion-main{padding:25px 12px}.pwt-completion-dock>.pwt-result-panel,.pwt-completion-dock>.tool-result{padding:16px;gap:22px;justify-content:center}.pwt-completion-shell .pwt-result-copy,.pwt-completion-shell .tool-result-copy{flex-basis:100%}.pwt-completion-intro>p:last-child{font-size:12px}.pwt-completion-brand{font-size:13px}.pwt-completion-shell .button-primary{width:100%}.pwt-completion-shell .pwt-result-copy strong,.pwt-completion-shell .tool-result-copy strong{font-size:18px}}
body.pwt-completion-open>:not(#pwt-completion-shell):not(dialog):not(script):not(style){visibility:hidden!important}

.pwt-completion-shell .pwt-completion-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;max-width:1020px;margin:0 auto;padding:20px 0 30px;border-top:1px solid #dfe6f2;color:#72809a;background:transparent;font-size:12px}.pwt-completion-footer strong{font-size:13px;color:#354965}.pwt-completion-shell .pwt-completion-footer nav{display:flex!important;flex-wrap:wrap;gap:17px;font-size:11px;color:#5f708d}.pwt-completion-footer nav a{color:inherit;text-decoration:none}.pwt-completion-footer nav a:hover{color:#3158e5}@media(max-width:1080px){.pwt-completion-shell .pwt-completion-footer{margin:0 30px}}@media(max-width:620px){.pwt-completion-header nav{flex-wrap:wrap;gap:15px}.pwt-completion-shell .pwt-completion-footer{margin:0 20px;padding-bottom:22px;gap:12px}.pwt-completion-shell .pwt-completion-footer nav{gap:13px}}

/* Give the approved ad unit the full card width on small screens. At 320px
   this fits the 300px unit; at 360px and above the 320px unit can fit. */
@media(max-width:620px){
 .pwt-completion-main{padding-left:8px;padding-right:8px}
 .pwt-completion-shell .pwt-result-ad,.pwt-completion-shell .tool-result-ad{flex:0 0 calc(100% + 32px);width:calc(100% + 32px);max-width:calc(100% + 32px);margin:0 -16px -16px;border-width:1px 0 0;border-radius:0 0 18px 18px;padding:12px 0;display:flex;flex-direction:column;align-items:center}
}
.pwt-completion-shell a:focus-visible,.pwt-completion-shell button:focus-visible{outline:3px solid #88a4ff;outline-offset:4px}
